diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2018-09-09 00:33:40 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-09-20 23:30:03 +0200 |
commit | dcbf6b18d81bcdc51390ca1b258c17e2e13b7d0c (patch) | |
tree | 0f6ff154653f0b3e243b6c6c6a3646d75cab3971 /arch/arm/boot/dts/am335x-evm.dts | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-dcbf6b18d81bcdc51390ca1b258c17e2e13b7d0c.tar.xz linux-dcbf6b18d81bcdc51390ca1b258c17e2e13b7d0c.zip |
ARM: dts: am335x-evm: fix number of cpsw
am335x-evm has only one CPSW external port physically wired, but DT defines
2 ext. ports. As result, PHY connection failure reported for the second
ext. port.
Update DT to reflect am335x-evm board HW configuration, and, while here,
switch to use phy-handle instead of phy_id.
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-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index c87d01297a01..98ec9c3e49ba 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -713,6 +713,7 @@ pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; status = "okay"; + slaves = <1>; }; &davinci_mdio { @@ -720,15 +721,14 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; -}; -&cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; - phy-mode = "rgmii-txid"; + ethphy0: ethernet-phy@0 { + reg = <0>; + }; }; -&cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; +&cpsw_emac0 { + phy-handle = <ðphy0>; phy-mode = "rgmii-txid"; }; |