aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-05-31 12:46:26 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-03 15:28:50 +0200
commite36bdd5dc5bf48fc0102394736c24a075959bc53 (patch)
tree65ca24d6be26fa13b0253dd8a29e4bec898fc2e9 /target/linux/ath79/base-files/etc/board.d/01_leds
parent21454a772bd8ccf13923db37a9bf02e48abeb278 (diff)
downloadupstream-e36bdd5dc5bf48fc0102394736c24a075959bc53.tar.gz
upstream-e36bdd5dc5bf48fc0102394736c24a075959bc53.tar.bz2
upstream-e36bdd5dc5bf48fc0102394736c24a075959bc53.zip
ath79: fix LEDs for GL.inet GL-AR150
Since the wireless LED was used for boot and set up with a DT trigger, the WiFi indication hasn't worked on ath79 at all. In addition, a look into the manual revealed that the OEM configuration is as follows: LED 1 (green): power LED 2 (green): configurable LED 3 (red): wireless So, let's just keep the WiFi trigger and convert the rest to its "intended" use. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 705fe43522c756962589b360141d4c398363ce1c)
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds4
1 files changed, 0 insertions, 4 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 c3fa7f6a61..058ab006e5 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -74,10 +74,6 @@ etactica,eg200)
ucidef_set_led_oneshot "modbus" "Modbus" "$boardname:red:modbus" "100" "33"
ucidef_set_led_default "etactica" "etactica" "$boardname:red:etactica" "ignore"
;;
-glinet,gl-ar150)
- ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth1"
- ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02"
- ;;
glinet,gl-ar300m-nand|\
glinet,gl-ar300m-nor)
ucidef_set_led_netdev "lan" "LAN" "gl-ar300m:green:lan" "eth0"