ramips: mt7621: reenable rbm11g
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_mikrotik_rbm33g.dts
index 90093c501c592c8f0473df91672e2d6cb4594948..f7889bd68a9f0041bd60811fd0ee5f40d5556be7 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&hard_config 0x0010>;
        mtd-mac-address-increment = <1>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&hard_config 0x0010>;
+                       mtd-mac-address-increment = <2>;
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan2";
+               };
+       };
+};
+
 &state_default {
        gpio {
-               ralink,group = "uart2", "wdt";
-               ralink,function = "gpio";
+               groups = "uart2", "wdt";
+               function = "gpio";
        };
 };