]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x-moxa-uc-8100-me-t: get rid of phy_id property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Sun, 9 Sep 2018 00:05:02 +0000 (19:05 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 21:36:23 +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-moxa-uc-8100-me-t.dts

index f82233cd18e0bf5b7ddd9c673a15bd28dd7d1994..5a58efc0c87433b5c2cc576ef1b27ce29568e53b 100644 (file)
@@ -422,18 +422,26 @@ &davinci_mdio {
        pinctrl-names = "default";
        pinctrl-0 = <&davinci_mdio_default>;
        status = "okay";
+
+       ethphy0: ethernet-phy@4 {
+               reg = <4>;
+       };
+
+       ethphy1: ethernet-phy@5 {
+               reg = <5>;
+       };
 };
 
 &cpsw_emac0 {
        status = "okay";
-       phy_id = <&davinci_mdio>, <4>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rmii";
        dual_emac_res_vlan = <1>;
 };
 
 &cpsw_emac1 {
        status = "okay";
-       phy_id = <&davinci_mdio>, <5>;
+       phy-handle = <&ethphy1>;
        phy-mode = "rmii";
        dual_emac_res_vlan = <2>;
 };