ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_gnubee_gb-pc2.dts
index 0dae7b5ce7d968f4b9f4415b1e377872e3e77c8a..f279ccaae0fbb2d4bb76dadd7271ac9723acf42b 100644 (file)
        status = "okay";
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan2";
+               };
+       };
+};
+
 &state_default {
        gpio {
                groups = "jtag", "rgmii2", "uart3", "wdt";