diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-09 03:05:03 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-21 00:36:28 +0300 |
commit | 5ec73320abd72895e4e9ce37f764b31702483f1c (patch) | |
tree | 410a27f5466d5c3659b49ba09717c02339d9eeb1 /arch/arm/boot/dts/am335x-lxm.dts | |
parent | 5ef346bb8092a4d2a52f9eb1bb6f20d991df889e (diff) | |
download | linux-5ec73320abd72895e4e9ce37f764b31702483f1c.tar.xz |
ARM: dts: am335x-lxm: 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/am335x-lxm.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-lxm.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-lxm.dts b/arch/arm/boot/dts/am335x-lxm.dts index 1d6c6fa703e4..481edcfaf121 100644 --- a/arch/arm/boot/dts/am335x-lxm.dts +++ b/arch/arm/boot/dts/am335x-lxm.dts @@ -317,13 +317,13 @@ }; &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>; }; @@ -345,6 +345,14 @@ 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 { |