diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-09-07 23:21:23 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-09-10 12:51:22 +0300 |
commit | 56d6c721f2dc618b0aa19f457c3e19547390e4a7 (patch) | |
tree | c863771f0d179c55001af1458680ba367659c077 /arch/arm/boot/dts/dra7-evm.dts | |
parent | ea952beb292b5a66b3e636c5936b979a3af77cc0 (diff) | |
download | linux-56d6c721f2dc618b0aa19f457c3e19547390e4a7.tar.xz |
ARM: dts: dra7x-evm: switch to new cpsw switch drv
Switch all TI DRA7x boards to use new cpsw switch driver. Those boards
configured in dual_mac mode by default. Hence, dual_mac mode has been
preserved the same way between legacy and new driver it's safe to switch
drivers.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dra7-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index bda6f7eeef4f..38530dbb89a0 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -537,24 +537,23 @@ ti,no-idle-on-init; }; -&mac { +&mac_sw { status = "okay"; - dual_emac; }; -&cpsw_emac0 { +&cpsw_port1 { phy-handle = <ðphy0>; phy-mode = "rgmii"; - dual_emac_res_vlan = <1>; + ti,dual-emac-pvid = <1>; }; -&cpsw_emac1 { +&cpsw_port2 { phy-handle = <ðphy1>; phy-mode = "rgmii"; - dual_emac_res_vlan = <2>; + ti,dual-emac-pvid = <2>; }; -&davinci_mdio { +&davinci_mdio_sw { ethphy0: ethernet-phy@2 { reg = <2>; }; |