--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "tp9343_tplink_tl-wr94x.dtsi"
+
+/ {
+ compatible = "tplink,tl-wr940n-v6", "qca,tp9343";
+ model = "TP-Link TL-WR940N v6";
+
+ aliases {
+ led-boot = &led_diag_orange;
+ led-failsafe = &led_diag_orange;
+ led-running = &led_diag_orange;
+ led-upgrade = &led_diag_orange;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ wan_blue {
+ label = "tp-link:blue:wan";
+ gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+ };
+
+ led_diag_orange: diag_orange {
+ label = "tp-link:orange:diag";
+ gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
+};
+
+ð1 {
+ mtd-mac-address = <&uboot 0x1fc00>;
+};
endef
TARGET_DEVICES += tplink_tl-wr940n-v4
+define Device/tplink_tl-wr940n-v6
+ $(Device/tplink-4mlzma)
+ SOC := tp9343
+ DEVICE_MODEL := TL-WR940N
+ DEVICE_VARIANT := v6
+ TPLINK_HWID := 0x09400006
+ SUPPORTED_DEVICES += tl-wr940n-v6
+ IMAGES += factory-us.bin factory-eu.bin factory-br.bin
+ IMAGE/factory-us.bin := tplink-v1-image factory -C US
+ IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
+ IMAGE/factory-br.bin := tplink-v1-image factory -C BR
+endef
+TARGET_DEVICES += tplink_tl-wr940n-v6
+
define Device/tplink_tl-wr941-v2
$(Device/tplink-4m)
SOC := ar9132