diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-11 01:57:50 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-21 00:42:32 +0300 |
commit | 4d80b7c5077b0fed6751b86c846aed4bd4da1e75 (patch) | |
tree | b67ff5858d9d45703392e39b5ba0ecbfa869e0d0 /arch/arm/boot/dts/dra7-evm.dts | |
parent | c4ab246845652db29ae9dfd3c3b7c8e048cc9b72 (diff) | |
download | linux-4d80b7c5077b0fed6751b86c846aed4bd4da1e75.tar.xz |
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"; |