ramips: move dts-v1 statement to top-level DTSI files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_asiarf_ap7621-nv1.dts
index ec322d0e08c8848a5b44e42f9868398ef467c0c0..5a4c03fb7c0db5ad5cb9a2521cf91b25a5c8336e 100644 (file)
@@ -1,9 +1,29 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
-/dts-v1/;
 #include "mt7621_asiarf_ap7621.dtsi"
 
 / {
        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";
+               };
+       };
+};