ARM: dts: beagle-x15: switch to new cpsw switch drv
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 7 Sep 2020 20:21:22 +0000 (23:21 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Sep 2020 09:50:42 +0000 (12:50 +0300)
Switch all TI AM5728 BeagleBoard-X15 boards to use new cpsw switch driver.
Those boards have 2 Ext. port wired and 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-beagle-x15-common.dtsi

index 1809f97d491dd326f046bca5f5bef646e80f9224..6b82ecf803c5edd49551b1c76ae1972a7bc3137c 100644 (file)
                              <&dra7_pmx_core 0x3f8>;
 };
 
-&davinci_mdio {
+&davinci_mdio_sw {
        phy0: ethernet-phy@1 {
                reg = <1>;
        };
        };
 };
 
-&mac {
+&mac_sw {
        status = "okay";
-       dual_emac;
 };
 
-&cpsw_emac0 {
+&cpsw_port1 {
        phy-handle = <&phy0>;
        phy-mode = "rgmii-rxid";
-       dual_emac_res_vlan = <1>;
+       ti,dual-emac-pvid = <1>;
 };
 
-&cpsw_emac1 {
+&cpsw_port2 {
        phy-handle = <&phy1>;
        phy-mode = "rgmii-rxid";
-       dual_emac_res_vlan = <2>;
+       ti,dual-emac-pvid = <2>;
 };
 
 &mmc1 {