diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-09-07 22:21:20 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-09-10 11:50:35 +0200 |
commit | 67e97cc60d8a366216d33a9284d9f704dfb331f7 (patch) | |
tree | ee5b3bb254ad83d0f0a1d834e0918acf0500d2d4 /arch/arm | |
parent | ARM: dts: am43xx: replace status value "ok" by "okay" (diff) | |
download | linux-67e97cc60d8a366216d33a9284d9f704dfb331f7.tar.xz linux-67e97cc60d8a366216d33a9284d9f704dfb331f7.zip |
ARM: dts: am5729: beagleboneai: switch to new cpsw switch drv
Switch BeagleBone AI to use new cpsw switch driver.
It has one Ext. port only and fits dual_mac mode with no issues.
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/am5729-beagleboneai.dts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am5729-beagleboneai.dts b/arch/arm/boot/dts/am5729-beagleboneai.dts index e9c7f44126e7..149cfafb90bf 100644 --- a/arch/arm/boot/dts/am5729-beagleboneai.dts +++ b/arch/arm/boot/dts/am5729-beagleboneai.dts @@ -488,25 +488,29 @@ status = "okay"; }; -&davinci_mdio { +&davinci_mdio_sw { reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; reset-delay-us = <2>; - phy0: ethernet-phy@1 { + phy0: ethernet-phy@4 { reg = <4>; eee-broken-100tx; eee-broken-1000t; }; }; -&mac { - slaves = <1>; +&mac_sw { status = "okay"; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <&phy0>; phy-mode = "rgmii-rxid"; + ti,dual-emac-pvid = <1>; +}; + +&cpsw_port2 { + status = "disabled"; }; &ocp { |