OSDN Git Service

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

index 6ed5f91..cc07906 100644 (file)
 };
 
 &cpsw_emac0 {
-       phy_id = <&davinci_mdio>, <2>;
+       phy-handle = <&ethphy0>;
        phy-mode = "rgmii";
        dual_emac_res_vlan = <1>;
 };
 
 &cpsw_emac1 {
-       phy_id = <&davinci_mdio>, <3>;
+       phy-handle = <&ethphy1>;
        phy-mode = "rgmii";
        dual_emac_res_vlan = <2>;
 };
 
+&davinci_mdio {
+       ethphy0: ethernet-phy@2 {
+               reg = <2>;
+       };
+
+       ethphy1: ethernet-phy@3 {
+               reg = <3>;
+       };
+};
+
 &dcan1 {
        status = "ok";
        pinctrl-names = "default", "sleep", "active";