aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am57xx-idk-common.dtsi
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-09-07 23:21:21 +0300
committerTony Lindgren <tony@atomide.com>2020-09-10 12:50:38 +0300
commitd56fe359e6b60a1075c61319e18b3315fbf9a960 (patch)
treef157276907f6dc9f96e12f850c15b6d986575052 /arch/arm/boot/dts/am57xx-idk-common.dtsi
parentARM: dts: am5729: beagleboneai: switch to new cpsw switch drv (diff)
downloadlinux-dev-d56fe359e6b60a1075c61319e18b3315fbf9a960.tar.xz
linux-dev-d56fe359e6b60a1075c61319e18b3315fbf9a960.zip
ARM: dts: am57xx-idk: switch to new cpsw switch drv
Switch all am571/2/4-idk 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>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-idk-common.dtsi')
-rw-r--r--arch/arm/boot/dts/am57xx-idk-common.dtsi14
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi
index 1c77006cccd1..9fcb8944aa3e 100644
--- a/arch/arm/boot/dts/am57xx-idk-common.dtsi
+++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi
@@ -448,19 +448,23 @@
ext-clk-src;
};
-&cpsw_emac0 {
+&mac_sw {
+ status = "okay";
+};
+
+&cpsw_port1 {
phy-handle = <&ethphy0>;
phy-mode = "rgmii-rxid";
- dual_emac_res_vlan = <1>;
+ ti,dual-emac-pvid = <1>;
};
-&cpsw_emac1 {
+&cpsw_port2 {
phy-handle = <&ethphy1>;
phy-mode = "rgmii-rxid";
- dual_emac_res_vlan = <2>;
+ ti,dual-emac-pvid = <2>;
};
-&davinci_mdio {
+&davinci_mdio_sw {
ethphy0: ethernet-phy@0 {
reg = <0>;
};