aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
5 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 2a0af3c409..58e2c9743c 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -889,6 +889,9 @@ tl-wr840n-v3)
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x1E"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
+tl-wr940n-v6)
+ ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
+ ;;
tl-wr942n-v1)
ucidef_set_led_switch "lan1" "LAN1" "$board:green:lan1" "switch0" "0x04"
ucidef_set_led_switch "lan2" "LAN2" "$board:green:lan2" "switch0" "0x08"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 560112756a..ffdc90fbfc 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -341,6 +341,7 @@ ar71xx_setup_interfaces()
smart-300|\
tl-wdr6500-v2|\
tl-wr940n-v4|\
+ tl-wr940n-v6|\
tl-wr941nd-v6|\
wnr1000-v2|\
wnr2000-v4|\
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index b5d07cddfc..bd0926c213 100644
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -468,6 +468,9 @@ get_status_led() {
tl-wr841n-v9)
status_led="tp-link:green:qss"
;;
+ tl-wr940n-v6)
+ status_led="tp-link:orange:diag"
+ ;;
tl-wdr6500-v2)
status_led="tp-link:white:system"
;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index f56494ca46..b711150ee9 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -1301,6 +1301,9 @@ ar71xx_board_detect() {
*"TL-WR940N v4")
name="tl-wr940n-v4"
;;
+ *"TL-WR940N v6")
+ name="tl-wr940n-v6"
+ ;;
*"TL-WR941N/ND v5")
name="tl-wr941nd-v5"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 4b71a19a9c..fe927ea550 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -470,6 +470,7 @@ platform_check_image() {
tl-wr842n-v3|\
tl-wr902ac-v1|\
tl-wr940n-v4|\
+ tl-wr940n-v6|\
tl-wr941nd|\
tl-wr941nd-v5|\
tl-wr941nd-v6|\