ARM: dts: dm8148-t410: get rid of phy_id property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 10 Sep 2018 22:57:54 +0000 (17:57 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 21:42:51 +0000 (14:42 -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/dm8148-t410.dts

index c46a227b543dd9af35afabe29bf0f33890df1fd5..63301bcacf19ac00e0172de02f3b25f46c05aed8 100644 (file)
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <0>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii";
 };
 
 &cpsw_emac1 {
-       phy_id = <&davinci_mdio>, <1>;
+       phy-handle = <&ethphy1>;
        phy-mode = "rgmii";
 };
 
+&davinci_mdio {
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+
+       ethphy1: ethernet-phy@1 {
+               reg = <1>;
+       };
+};
+
 &mmc1 {
        status = "disabled";
 };