diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-10 17:57:42 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 14:41:54 -0700 |
commit | 7c0373b16f045bf0940c32ab131fd1a3d2bb1962 (patch) | |
tree | 776310cf2ef6e438f2003938cf8ea2dee416a3e9 /arch/arm/boot/dts/am437x-sk-evm.dts | |
parent | 5925ae23541816b56b6c278bdfa7f0ada8f545b4 (diff) | |
download | linux-7c0373b16f045bf0940c32ab131fd1a3d2bb1962.tar.bz2 |
ARM: dts: am437x-sk-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/am437x-sk-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am437x-sk-evm.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts index d4be3fd0b6f4..088cba09d34d 100644 --- a/arch/arm/boot/dts/am437x-sk-evm.dts +++ b/arch/arm/boot/dts/am437x-sk-evm.dts @@ -799,16 +799,24 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; + + ethphy0: ethernet-phy@4 { + reg = <4>; + }; + + ethphy1: ethernet-phy@5 { + reg = <5>; + }; }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <4>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <5>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; |