summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2018-02-21 13:15:17 +0100
committerPiotr Dymacz <pepe2k@gmail.com>2018-04-06 23:11:00 +0200
commitb834487203996e71c5ea25f83488873483b96522 (patch)
treed270217b9635720110c22d0548edeb3937b00b0f /target/linux/ar71xx/base-files/etc
parent6148c465561cb5ba0b05ba77ecfe7cd42faeb835 (diff)
downloadmtk-20170518-b834487203996e71c5ea25f83488873483b96522.zip
mtk-20170518-b834487203996e71c5ea25f83488873483b96522.tar.gz
mtk-20170518-b834487203996e71c5ea25f83488873483b96522.tar.bz2
ar71xx: add support for TP-Link TL-WR940N v6
Add support for TL-WR940N v6 board. It is pretty much the same as v5 except they only left WAN LED and removed other ones. Installation: flash factory image through WEB UI or use TFTP. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-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
3 files changed, 7 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 2a0af3c..58e2c97 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 5601127..ffdc90f 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 b5d07cd..bd0926c 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"
;;