diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2021-06-12 04:14:33 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-08-06 09:25:37 +0300 |
commit | a71c1446b5ca9e01a6f43714027765022df76134 (patch) | |
tree | a3ae2924e48b4a68c3b10d03f6db11b1c0c08604 /arch/arm/boot/dts/am335x-phycore-som.dtsi | |
parent | 2bd433270566871f71d9ad74babdf4fe2aa3adcc (diff) | |
download | linux-a71c1446b5ca9e01a6f43714027765022df76134.tar.xz |
ARM: dts: am335x-phycore: switch to new cpsw switch drv
The dual_mac mode has been preserved the same way between legacy and new
driver, and one port devices works the same as 1 dual_mac port - it's safe
to switch drivers.
So, switch Phytec AM335x phyCORE SOM, phyBOARD-WEGA, phyBOARD-REGOR,
PCM-953 to use new cpsw switch driver. Those boards have or 2 Ext. port
wired and configured in dual_mac mode by default, or only 1 Ext. port.
Cc: Teresa Remmet <t.remmet@phytec.de>
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-phycore-som.dtsi')
-rw-r--r-- | arch/arm/boot/dts/am335x-phycore-som.dtsi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi index 7e46b4c02709..f65cd1331315 100644 --- a/arch/arm/boot/dts/am335x-phycore-som.dtsi +++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi @@ -97,24 +97,26 @@ }; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <&phy0>; phy-mode = "rmii"; - dual_emac_res_vlan = <1>; + ti,dual-emac-pvid = <1>; }; -&davinci_mdio { +&cpsw_port2 { + status = "disabled"; +}; + +&davinci_mdio_sw { pinctrl-names = "default"; pinctrl-0 = <&mdio_pins>; - status = "okay"; phy0: ethernet-phy@0 { reg = <0>; }; }; -&mac { - slaves = <1>; +&mac_sw { pinctrl-names = "default"; pinctrl-0 = <ðernet0_pins>; status = "okay"; |