--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7621.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+/ {
+ compatible = "actiontec,web7200", "mediatek,mt7621-soc";
+ model = "Actiontec WEB7200";
+
+ aliases {
+/* led-boot = &led_white;
+ led-failsafe = &led_white;
+ led-running = &led_blue;
+ led-upgrade = &led_blue;
+ label-mac-device = &gmac0;*/
+ };
+
+ chosen {
+ bootargs = "console=ttyS0,115200";
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ wan_green {
+ label = "wan:green";
+ gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
+ };
+
+ lan_green {
+ label = "lan:green";
+ gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
+ keys {
+ compatible = "gpio-keys";
+
+ reset {
+ label = "reset";
+ gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ };
+
+ wps {
+ label = "wps";
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_WPS_BUTTON>;
+ };
+ };
+
+};
+
+&nand {
+ status = "okay";
+
+ mediatek,nmbm;
+ mediatek,bmt-remap-range =
+ <0x0 0x580000>,
+ <0x3180000 0x3580000>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x00 0x80000>;
+ read-only;
+ };
+
+ partition@80000 {
+ label = "u-boot-env";
+ reg = <0x80000 0x80000>;
+ };
+
+ factory: partition@100000 {
+ label = "factory";
+ reg = <0x100000 0x80000>;
+ };
+
+ partition@180000 {
+ compatible = "denx,fit";
+ label = "firmware";
+ openwrt,cmdline-match = "bootselect=0";
+ reg = <0x180000 0x3000000>;
+ };
+
+ partition@3180000 {
+ compatible = "denx,fit";
+ label = "firmware2";
+ openwrt,cmdline-match = "bootselect=1";
+ reg = <0x3180000 0x3000000>;
+ };
+
+ partition@6980000 {
+ label = "aei_data";
+ reg = <0x6980000 0x400000>;
+ };
+
+ partition@6180000 {
+ label = "aei_data_ext";
+ reg = <0x6180000 0x800000>;
+ };
+ };
+};
+
+&pcie {
+ status = "okay";
+};
+
+&pcie1 {
+ wlan_5g: wifi@0,0 {
+ compatible = "mediatek,mt76";
+ reg = <0x0 0 0 0 0>;
+ mediatek,mtd-eeprom = <&factory 0x0>;
+ };
+};
+
+&i2c {
+ status = "okay";
+};
+
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan";
+ };
+ port@1 {
+ status = "okay";
+ label = "wan";
+ };
+ };
+};