ARM: dts: am57xx-cl-som-am57x: switch to new cpsw switch drv
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 7 Sep 2020 20:21:24 +0000 (23:21 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Sep 2020 09:51:32 +0000 (12:51 +0300)
Switch CompuLab CL-SOM-AM57x board to use new cpsw switch driver. Those
board 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>
arch/arm/boot/dts/am57xx-cl-som-am57x.dts

index 34ca761..0d5fe2b 100644 (file)
        };
 };
 
-&mac {
+&mac_sw {
        status = "okay";
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_pins_default>;
        pinctrl-1 = <&cpsw_pins_sleep>;
-       dual_emac;
 };
 
-&cpsw_emac0 {
+&cpsw_port1 {
        phy-handle = <&ethphy0>;
        phy-mode = "rgmii-txid";
-       dual_emac_res_vlan = <0>;
+       ti,dual-emac-pvid = <1>;
 };
 
-&cpsw_emac1 {
+&cpsw_port2 {
        phy-handle = <&ethphy1>;
        phy-mode = "rgmii-txid";
-       dual_emac_res_vlan = <1>;
+       ti,dual-emac-pvid = <2>;
 };
 
-&davinci_mdio {
+&davinci_mdio_sw {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_pins_default>;
        pinctrl-1 = <&davinci_mdio_pins_sleep>;