ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_asiarf_ap7621-nv1.dts
index ec322d0e08c8848a5b44e42f9868398ef467c0c0..977f43e114c7235bf09b7f2e85cbf5248a0bf4fc 100644 (file)
@@ -7,3 +7,24 @@
        compatible = "asiarf,ap7621-nv1", "mediatek,mt7621-soc";
        model = "AsiaRF AP7621-NV1";
 };
+
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe000>;
+                       mtd-mac-address-increment = <1>;
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan2";
+               };
+       };
+};