diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-11 00:57:50 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 23:42:32 +0200 |
commit | 4d80b7c5077b0fed6751b86c846aed4bd4da1e75 (patch) | |
tree | b67ff5858d9d45703392e39b5ba0ecbfa869e0d0 /arch/arm/boot/dts/dra7-evm.dts | |
parent | ARM: dts: dra71-evm: get rid of phy_id property (diff) | |
download | linux-4d80b7c5077b0fed6751b86c846aed4bd4da1e75.tar.xz linux-4d80b7c5077b0fed6751b86c846aed4bd4da1e75.zip |
ARM: dts: dra7-evm: get rid of phy_id property
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>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 6ed5f9156270..cc079064a23b 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -512,17 +512,27 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <2>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <3>; + phy-handle = <ðphy1>; 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"; |