diff options
author | John Crispin <john@openwrt.org> | 2015-02-04 06:10:20 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-04 06:10:20 +0000 |
commit | cde2225c7c0674fa1b334645cce8ada797cc6a24 (patch) | |
tree | 0e8d29130d2cc04dbbd173f3766868099fd06e3b /target/linux/ar71xx/base-files | |
parent | a63e94426de3c2768a9fcb6947702781394de7e1 (diff) | |
download | upstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.tar.gz upstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.tar.bz2 upstream-cde2225c7c0674fa1b334645cce8ada797cc6a24.zip |
ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44255
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index af6107b489..03ca8640e7 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -226,7 +226,8 @@ get_status_led() { tl-wr841n-v8 | \ tl-wa830re-v2 | \ tl-wr842n-v2 | \ - tl-wr941nd) + tl-wr941nd | \ + tl-wr941nd-v5) status_led="tp-link:green:system" ;; archer-c5 | \ diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index 4dfe652743..61d0314ee9 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -370,7 +370,8 @@ tl-wr741nd-v4) ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" ;; -tl-wr841n-v8) +tl-wr841n-v8 | \ +tl-wr941nd-v5) ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0" ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04" ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network index a223ae8fe5..e5228cf042 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network @@ -220,6 +220,7 @@ smart-300 |\ tl-mr3420-v2 |\ tl-wr841n-v8 |\ tl-wr842n-v2 |\ +tl-wr941nd-v5 |\ wnr2000-v3 |\ wnr2000-v4 |\ wnr2200 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 02872de145..b5224ae6fa 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -702,6 +702,9 @@ ar71xx_board_detect() { *TL-WR941ND) name="tl-wr941nd" ;; + *"TL-WR941N/ND v5") + name="tl-wr941nd-v5" + ;; *"TL-WR703N v1") name="tl-wr703n" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index bc6866da19..576ce56da3 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -333,6 +333,7 @@ platform_check_image() { tl-wr841n-v9 | \ tl-wr842n-v2 | \ tl-wr941nd | \ + tl-wr941nd-v5 | \ tl-wr1041n-v2 | \ tl-wr1043nd | \ tl-wr1043nd-v2 | \ |