ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_ubnt_unifi-nanohd.dts
index 9b3a5be4449ccf254040e54639639e1b5da87da1..6292762ea7a8c7dd8e49b5a5425b1fff47028c06 100644 (file)
@@ -15,8 +15,7 @@
                led-failsafe = &led_white;
                led-running = &led_blue;
                led-upgrade = &led_blue;
-
-               label-mac-device = &ethernet;
+               label-mac-device = &gmac0;
        };
 
        chosen {
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&eeprom 0x0>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan";
+               };
+       };
+};
+
 &state_default {
        gpio {
                groups = "i2c", "uart2";