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>
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <5>;
+       phy-handle = <ðphy0>;
        phy-mode = "rmii";
        dual_emac_res_vlan = <2>;
 };
 
 &cpsw_emac1 {
-       phy_id = <&davinci_mdio>, <4>;
+       phy-handle = <ðphy1>;
        phy-mode = "rmii";
        dual_emac_res_vlan = <3>;
 };
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";
+
+       ethphy0: ethernet-phy@5 {
+               reg = <5>;
+       };
+
+       ethphy1: ethernet-phy@4 {
+               reg = <4>;
+       };
 };
 
 &mmc1 {