ramips: mt7621: update dts/defconfig for DSA
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_iptime_a8004t.dts
index 179a9cda4c6e16abc8bc55c5184a834350a3dfc1..b948236c15869c15c15bb29301c9a6aeef797007 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&uboot 0x1fc20>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&uboot 0x1fc40>;
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan1";
+               };
+       };
+};
+
 &pcie {
        status = "okay";
 };