ARM: dts: am335x-pdu001: get rid of phy_id property
authorGrygorii Strashko <grygorii.strashko@ti.com>
Sun, 9 Sep 2018 00:05:00 +0000 (19:05 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Sep 2018 21:36:13 +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-pdu001.dts

index 1ad530a39a957228e6e334ea9b04515789edec19..2ee460ab4d1a933ee2c0a88cf25244ade41cdfa8 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&davinci_mdio_default>;
        status = "okay";
+
+       ethphy0: ethernet-phy@0 {
+               reg = <0>;
+       };
+
+       ethphy1: ethernet-phy@1 {
+               reg = <1>;
+       };
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <0>;
+       phy-handle = <&ethphy0>;
        phy-mode = "mii";
        dual_emac_res_vlan = <1>;
 };
 
 &cpsw_emac1 {
-       phy_id = <&davinci_mdio>, <1>;
+       phy-handle = <&ethphy1>;
        phy-mode = "mii";
        dual_emac_res_vlan = <2>;
 };