--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "qca9533_tplink_tl-wr841.dtsi"
+
+/ {
+ compatible = "tplink,tl-wr841-v11", "qca,qca9533";
+ model = "TP-Link TL-WR841N/ND Version 11";
+
+ aliases {
+ led-status = &system_led;
+ };
+};
+
+&gpio_leds {
+ system_led: system {
+ label = "tp-link:green:system";
+ gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ wan_orange {
+ label = "tp-link:orange:wan";
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+};
endef
TARGET_DEVICES += tplink_tl-wr841-v9
+define Device/tplink_tl-wr841-v11
+ $(Device/tplink-4mlzma)
+ ATH_SOC := qca9533
+ DEVICE_TITLE := TP-LINK TL-WR841N/ND v11
+ TPLINK_HWID := 0x08410011
+ IMAGES += factory-us.bin factory-eu.bin
+ IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
+ IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
+endef
+TARGET_DEVICES += tplink_tl-wr841-v11
+
define Device/tplink_tl-wr941-v4
$(Device/tplink-4m)
ATH_SOC := ar7240