ARM: dts: renesas: Add compatible properties to KSZ8041 Ethernet PHYs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Sep 2021 08:49:37 +0000 (10:49 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Sep 2021 07:44:15 +0000 (09:44 +0200)
Add compatible values to Ethernet PHY subnodes representing Micrel
KSZ8041 PHYs on RZ/G1 and R-Car Gen2 boards.  This allows software to
identify the PHY model at any time, regardless of the state of the PHY
reset line.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/f9e26625924f90eff34fe6f6f02b15fa272c5d80.1631174218.git.geert+renesas@glider.be
arch/arm/boot/dts/r8a7743-sk-rzg1m.dts
arch/arm/boot/dts/r8a7745-sk-rzg1e.dts
arch/arm/boot/dts/r8a7790-lager.dts
arch/arm/boot/dts/r8a7790-stout.dts
arch/arm/boot/dts/r8a7791-koelsch.dts
arch/arm/boot/dts/r8a7791-porter.dts
arch/arm/boot/dts/r8a7793-gose.dts
arch/arm/boot/dts/r8a7794-alt.dts
arch/arm/boot/dts/r8a7794-silk.dts

index 4ace117470e800f8e8956d92cf49e8a329184658..ce36cf404fa2b1c495dd4ff6c11b725c927ce5f2 100644 (file)
@@ -69,6 +69,8 @@
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc>;
                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
index 59d1a9bfab05a27eeb1401f2c4fe8073c24e8a4e..4ab6d3fcc857f7db2f65e8cebfddce36d6999553 100644 (file)
@@ -64,6 +64,8 @@
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc>;
                interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
index fa6d986b5d4632cf16a3a4c7f40b23c7cd3245f8..57cd2fa722490b08cfe80a840fb2cb3500fc01be 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
index d51f23572d7fc7273afb7556565bfbf3644a01b0..c802f9f13c18b83769630765f2f250fd6b19ea59 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
index 2a8b6fd9095ccebab5bc146f31e43184c5b7389a..6e691b6cac05cdf4037bff297a9cef7f2dfdd0c8 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
index c6ef636965c16f39b9290e9051c9ecf5165f11fa..38e2ab928707d99edca9858a8ae7f9ebb1f003ef 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
index 479e0fdf0c37311e39d03d63e11242e845a6d8da..c8978f4f62e9f2dcf14ccf1614b2664b9df9de7a 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
index f330d796a772c394264020514873bf52aaca1682..99d554fe3329eb7a4e0d5a2046131cfdce264b41 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
index cafa3046daa4baf48fbf6871c6e7a8c22ebd4022..92a76164432a897618f70228b1644d3aa24048f6 100644 (file)
        status = "okay";
 
        phy1: ethernet-phy@1 {
+               compatible = "ethernet-phy-id0022.1537",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <1>;
                interrupt-parent = <&irqc0>;
                interrupts = <8 IRQ_TYPE_LEVEL_LOW>;