From befc763ed142f1a415374a8d463c1fb6b4b43abf Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Wed, 5 Jul 2017 10:44:02 +0200 Subject: ar71xx: support LED in TP-Link TL-WR902AC RJ45 socket TP-Link TL-WR902AC has another one, tiny LED inside RJ45 socket which is attached to GPIO15. Add support for it, use it as a "lan" LED and rename old one to "internet". Also, fix uci option name for "lan" LED in system configuration ("wan" -> "lan"). Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar71xx/base-files/etc/board.d') 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 103002d54a..e5afd50e7d 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -751,7 +751,7 @@ tl-wr802n-v2) ucidef_set_led_wlan "wlan" "WLAN" "$board:green:system" "phy0tpt" ;; tl-wr902ac-v1) - ucidef_set_led_netdev "wan" "WAN" "$board:green:lan" "eth0" + ucidef_set_led_netdev "lan" "LAN" "$board:green:lan" "eth0" ucidef_set_led_usbdev "usb" "USB" "$board:green:usb" "1-1" ucidef_set_led_wlan "wlan2g" "WLAN2G" "$board:green:wlan2g" "phy1tpt" ;; -- cgit v1.2.3