summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorCezary Jackiewicz <cezary.jackiewicz@gmail.com>2016-05-14 18:12:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-05-14 21:45:16 +0200
commit0b45bec22c59cc6e6b2fa71dc9a88386c5587132 (patch)
tree037f45eb949092cb48137d1606c86acb714ea049 /target/linux/ar71xx/base-files/etc/board.d/01_leds
parent5d0eff98018561fb68010adde33552d3310c46a1 (diff)
downloadmaster-31e0f0ae-0b45bec22c59cc6e6b2fa71dc9a88386c5587132.tar.gz
master-31e0f0ae-0b45bec22c59cc6e6b2fa71dc9a88386c5587132.tar.bz2
master-31e0f0ae-0b45bec22c59cc6e6b2fa71dc9a88386c5587132.zip
ar71xx: add support for TP-LINK TL-WR842N/ND v3
- CPU QCA9531-BL3A - RAM: 64MB - flash: 16MB - USB AP143 platform, similar to tl-wr841n v10/v11, but with USB Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/01_leds10
1 files changed, 10 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 39b21ca519..f6ea9a8501 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -626,6 +626,16 @@ tl-wr842n-v2)
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
+tl-wr842n-v3)
+ ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
+ ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+ ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
+ ;;
+
tl-wa801nd-v2 | \
tl-wa901nd-v3)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"