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

ARM: dts: am57xx-cl-som-am57x: switch to new cpsw switch drv

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>

authored by

Grygorii Strashko and committed by
Tony Lindgren
fa46e7e7 56d6c721

+6 -7
+6 -7
arch/arm/boot/dts/am57xx-cl-som-am57x.dts
··· 546 546 }; 547 547 }; 548 548 549 - &mac { 549 + &mac_sw { 550 550 status = "okay"; 551 551 pinctrl-names = "default", "sleep"; 552 552 pinctrl-0 = <&cpsw_pins_default>; 553 553 pinctrl-1 = <&cpsw_pins_sleep>; 554 - dual_emac; 555 554 }; 556 555 557 - &cpsw_emac0 { 556 + &cpsw_port1 { 558 557 phy-handle = <&ethphy0>; 559 558 phy-mode = "rgmii-txid"; 560 - dual_emac_res_vlan = <0>; 559 + ti,dual-emac-pvid = <1>; 561 560 }; 562 561 563 - &cpsw_emac1 { 562 + &cpsw_port2 { 564 563 phy-handle = <&ethphy1>; 565 564 phy-mode = "rgmii-txid"; 566 - dual_emac_res_vlan = <1>; 565 + ti,dual-emac-pvid = <2>; 567 566 }; 568 567 569 - &davinci_mdio { 568 + &davinci_mdio_sw { 570 569 pinctrl-names = "default", "sleep"; 571 570 pinctrl-0 = <&davinci_mdio_pins_default>; 572 571 pinctrl-1 = <&davinci_mdio_pins_sleep>;