diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2021-06-12 04:14:22 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2021-08-06 09:25:33 +0300 |
commit | 1c7ba565e70365763ea780666a3eee679344b962 (patch) | |
tree | e2dde9fa2d5f7934c1f09f796bb7dcb55393db15 /arch/arm/boot/dts/am335x-netcan-plus-1xx.dts | |
parent | 8c054cd2818ea08555efe24a2ffde330833c2f3f (diff) | |
download | linux-1c7ba565e70365763ea780666a3eee679344b962.tar.xz |
ARM: dts: am335x-baltos: 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 OnRISC Baltos and NetCom/Cam boards 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: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Christina Quast <cquast@hanoverdisplays.com>
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-netcan-plus-1xx.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-netcan-plus-1xx.dts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts b/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts index 8303b832aa50..57e756b0f192 100644 --- a/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts +++ b/arch/arm/boot/dts/am335x-netcan-plus-1xx.dts @@ -61,21 +61,21 @@ dr_mode = "host"; }; -&davinci_mdio { +&davinci_mdio_sw { phy0: ethernet-phy@0 { reg = <1>; }; }; -&cpsw_emac0 { +&cpsw_port1 { phy-mode = "rmii"; - dual_emac_res_vlan = <1>; + ti,dual-emac-pvid = <1>; phy-handle = <&phy0>; }; -&cpsw_emac1 { +&cpsw_port2 { phy-mode = "rgmii-id"; - dual_emac_res_vlan = <2>; + ti,dual-emac-pvid = <2>; phy-handle = <&phy1>; }; |