ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7621_elecom_wrc-1167ghbk2-s.dts
index c61ef885f2a9befda650b6c9a14b6b5d589e08e5..5a8ee2884c021184878e7d62060a8032689848a6 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe006>;
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "lan1";
+               };
+       };
+};
+
 &spi0 {
        status = "okay";