ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_linksys_re6500.dts
index a97e64dbec3a5eabf050dfb5547083f4dd3e4747..c325b33f12880da43715bf8cfa7f02ab74506061 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0x2e>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+       };
+};
+
 &xhci {
        status = "disabled";
 };