Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: am335x-igep0033: 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 am335x-igep0033 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.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Grygorii Strashko and committed by
Tony Lindgren
45b2c44a 1d3e2798

+6 -6
+6 -6
arch/arm/boot/dts/am335x-igep0033.dtsi
··· 93 93 }; 94 94 }; 95 95 96 - &mac { 96 + &mac_sw { 97 97 status = "okay"; 98 98 }; 99 99 100 - &davinci_mdio { 101 - status = "okay"; 100 + &davinci_mdio_sw { 102 101 103 102 ethphy0: ethernet-phy@0 { 104 103 reg = <0>; ··· 108 109 }; 109 110 }; 110 111 111 - &cpsw_emac0 { 112 + &cpsw_port1 { 112 113 phy-handle = <&ethphy0>; 113 114 phy-mode = "rmii"; 114 - 115 + ti,dual-emac-pvid = <1>; 115 116 }; 116 117 117 - &cpsw_emac1 { 118 + &cpsw_port2 { 118 119 phy-handle = <&ethphy1>; 119 120 phy-mode = "rmii"; 121 + ti,dual-emac-pvid = <2>; 120 122 }; 121 123 122 124 &elm {