From b834487203996e71c5ea25f83488873483b96522 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Wed, 21 Feb 2018 13:15:17 +0100 Subject: 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 --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 +++ target/linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/etc/diag.sh | 3 +++ 3 files changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc') 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" ;; -- cgit v1.2.3