ARM: dts: am335x-cm-t335: get rid of phy_id property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Sun, 9 Sep 2018 00:05:06 +0000 (19:05 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 21:36:42 +0000 (14:36 -0700)
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-cm-t335.dts

index 947c81b7aaafbf4b79bcdb84cb8490f5a430b9a9..c4d3e1f1a95e73a6bc345ee4863027b2a561cb74 100644 (file)
@@ -486,10 +486,14 @@ status = "okay";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";
+
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <0>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii-txid";
 };