diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-11 01:57:51 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-21 00:42:37 +0300 |
commit | adfcf71b9f5c1b366c2a97a3d77a5edd8129b319 (patch) | |
tree | 96b5507fbd79fbacc48391f61efef82228eba738 /arch/arm | |
parent | 4d80b7c5077b0fed6751b86c846aed4bd4da1e75 (diff) | |
download | linux-adfcf71b9f5c1b366c2a97a3d77a5edd8129b319.tar.xz |
ARM: dts: am57xx-idk-common: 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')
-rw-r--r-- | arch/arm/boot/dts/am57xx-idk-common.dtsi | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index c9063ffca524..6682e52aadae 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -372,17 +372,27 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; +&davinci_mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; +}; + &usb2_phy1 { phy-supply = <&ldousb_reg>; }; |