ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_mtc_wr1201.dts
index 6e1c6eabaaaeddc155cb92a224dd474378bc9df4..eca7b3b0bbfa3af294e153ac11e1802849abe9ff 100644 (file)
@@ -14,7 +14,7 @@
                led-failsafe = &led_power;
                led-running = &led_power;
                led-upgrade = &led_power;
-               label-mac-device = &ethernet;
+               label-mac-device = &gmac0;
        };
 
        chosen {
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0x4>;
 };
 
+&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 0x4>;
+                       mtd-mac-address-increment = <1>;
+               };
+       };
+};
+
 &sdhci {
        status = "okay";
 };