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 4ace117..ce36cf4 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 59d1a9b..4ab6d3f 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 fa6d986..57cd2fa 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 d51f235..c802f9f 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 2a8b6fd..6e691b6 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 c6ef636..38e2ab9 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 479e0fd..c8978f4 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 f330d79..99d554f 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 cafa304..92a7616 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>;