ARM: dts: renesas: Add compatible properties to LAN8710A Ethernet PHYs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 9 Sep 2021 08:49:40 +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 SMSC
LAN8710A PHYs on RZ/A1 and R-Mobile A1 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/247dc2074dae149af07b6d014985ad30eb362eda.1631174218.git.geert+renesas@glider.be
arch/arm/boot/dts/r7s72100-gr-peach.dts
arch/arm/boot/dts/r8a7740-armadillo800eva.dts

index 2562cc9b535649151d904255383154ece15f7931..105f9c71f9fd54f4ba3ecfc9cb58d98d60303450 100644 (file)
        phy-handle = <&phy0>;
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0007.c0f0",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <0>;
 
                reset-gpios = <&port4 2 GPIO_ACTIVE_LOW>;
index d960c2767f61bf0b8ef2da2ce44bc73e9ad766eb..9470446401574140ec5479443716db6738e73206 100644 (file)
        status = "okay";
 
        phy0: ethernet-phy@0 {
+               compatible = "ethernet-phy-id0007.c0f1",
+                            "ethernet-phy-ieee802.3-c22";
                reg = <0>;
        };
 };