aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds1
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ath79/dts/qca9533_tplink_tl-wr841-v10.dts16
-rw-r--r--target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts3
-rw-r--r--target/linux/ath79/image/tiny-tp-link.mk8
5 files changed, 26 insertions, 3 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index be5d29d97c..78d48daf73 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -128,6 +128,7 @@ tplink,archer-c6-v2)
;;
tplink,archer-c25-v1|\
tplink,tl-wr841-v9|\
+tplink,tl-wr841-v10|\
tplink,tl-wr841-v11|\
tplink,tl-wr842n-v3)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index b342c8b5e4..b511aa0acd 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -75,6 +75,7 @@ ath79_setup_interfaces()
tplink,tl-mr3420-v1|\
tplink,tl-wr841-v7|\
tplink,tl-wr841-v9|\
+ tplink,tl-wr841-v10|\
tplink,tl-wr841-v11|\
tplink,tl-wr842n-v1|\
tplink,tl-wr842n-v3|\
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v10.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v10.dts
new file mode 100644
index 0000000000..2a4d0a1921
--- /dev/null
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v10.dts
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "qca9533_tplink_tl-wr841.dtsi"
+
+/ {
+ compatible = "tplink,tl-wr841-v10", "qca,qca9533";
+ model = "TP-Link TL-WR841N/ND v10";
+
+ aliases {
+ led-boot = &qss_led;
+ led-failsafe = &qss_led;
+ led-running = &qss_led;
+ led-upgrade = &qss_led;
+ };
+};
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
index a3284226a0..d8c4546f49 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts
@@ -1,9 +1,6 @@
// 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"
/ {
diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk
index fb8ab75cb1..d8ada5407c 100644
--- a/target/linux/ath79/image/tiny-tp-link.mk
+++ b/target/linux/ath79/image/tiny-tp-link.mk
@@ -153,6 +153,14 @@ define Device/tplink_tl-wr841-v9
endef
TARGET_DEVICES += tplink_tl-wr841-v9
+define Device/tplink_tl-wr841-v10
+ $(Device/tplink-4mlzma)
+ ATH_SOC := qca9533
+ DEVICE_TITLE := TP-Link TL-WR841N/ND v10
+ TPLINK_HWID := 0x08410010
+endef
+TARGET_DEVICES += tplink_tl-wr841-v10
+
define Device/tplink_tl-wr841-v11
$(Device/tplink-4mlzma)
ATH_SOC := qca9533