aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2020-04-15 23:05:27 +0300
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-04-16 00:02:03 +0200
commita7423fef3206283ec09144932b04feff7b68461f (patch)
treec2a19ef2a48d6a5f3e10f3228a7e113894ae24a5
parent508462a399c8a68fdcdf599a1aa17441bdaad20b (diff)
downloadupstream-a7423fef3206283ec09144932b04feff7b68461f.tar.gz
upstream-a7423fef3206283ec09144932b04feff7b68461f.tar.bz2
upstream-a7423fef3206283ec09144932b04feff7b68461f.zip
ath79: improve status LED definitions for GL-AR750
Improve the status LED functionality in GL-AR750 by adding the definitions for different statuses (boot, failsafe, running, flashing). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
index 2697792123..dcffccf0a8 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
@@ -11,6 +11,10 @@
model = "GL.iNet GL-AR750";
aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
label-mac-device = &eth0;
};
@@ -36,7 +40,7 @@
leds {
compatible = "gpio-leds";
- power {
+ led_power: power {
label = "gl-ar750:white:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on";