From a7423fef3206283ec09144932b04feff7b68461f Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Wed, 15 Apr 2020 23:05:27 +0300 Subject: [PATCH] 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 --- target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 = ð0; }; @@ -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"; -- 2.25.1