ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / mt7621_gnubee_gb-pc1.dts
index 8544e215280eb28f3bde33005a70b016f0f12c03..1cf121a7c3a47ed696693735281f657eb2fff023 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";