ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_iodata_wn-ax1167gr.dts
index 57c4638f1665c7e421b27941ff2f4863b96a6c0e..1fabad5da60aae3a4e16282d6ebbd2fc3716336e 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&iNIC_rf 0x4>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0x4>;
+                       mtd-mac-address-increment = <1>;
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan1";
+               };
+       };
+};
+
 &state_default {
        gpio {
                groups = "uart2", "uart3", "jtag";