ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_edimax_rx21s.dtsi
index 3cef0026b4d0ecd3315046a44115581c1f5ce134..b52ead09d3c1371ed2789a14f2d3524b340952b0 100644 (file)
@@ -8,7 +8,7 @@
 
 / {
        aliases {
-               label-mac-device = &ethernet;
+               label-mac-device = &gmac0;
        };
 
        chosen {
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0x4>;
+};
+
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan4";
+               };
 
-       mediatek,portmap = "wllll";
-       port@5 {
-               status = "disabled";
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan1";
+               };
        };
 };