aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2018-10-07 12:21:45 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 15:44:19 +0200
commitadbd9d1f1f07f77b0f511027c1cfea87cefe47be (patch)
tree20ac803227cdf236c23bef962aabac566b3352a4 /target/linux/ath79/base-files/etc/board.d/01_leds
parentebd57de1f9894a91991fe19f200dba7b1104390c (diff)
downloadupstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.tar.gz
upstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.tar.bz2
upstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.zip
ath79: Add support for TP-Link TL-WR842N-v2
This PR adds support for TP-Link TL-WR842N-v2 router which is supported by ar71xx to ath79. This is a low cost model with following specs: CPU: Atheros AR9341 SoC RAM: 32 MB DDR1 Flash: 8 MB NOR SPI Switch: Internal AR9341 5 port 10/100 Mbit Ports: 5x 10/100 Mbit(1x WAN, 4x LAN) USB: 1x USB2.0 WLAN: 2.4 GHZ AR9341 Installation: Simply flash the factory image through stock firmware WEB UI. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index 99646ad678..f04eb7f5c6 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -77,7 +77,8 @@ tplink,tl-wr941-v4)
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
;;
tplink,tl-wr740nd-v4|\
-tplink,tl-wr741nd-v4)
+tplink,tl-wr741nd-v4|\
+tplink,tl-wr842n-v2)
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"