ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_telco-electronics_x1.dts
index fa85cf10178dac9a0b05a2e34e3aaa9b6f2c9f41..7c94db8dcb39b6879cf45144464acd97dbcd8ddc 100644 (file)
        status = "okay";
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe006>;
-       mediatek,portmap = "llllw";
+};
+
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe006>;
+                       mtd-mac-address-increment = <1>;
+               };
+       };
 };
 
 &state_default {