From: Hannu Nyman Date: Wed, 15 Apr 2020 20:05:27 +0000 (+0300) Subject: ath79: improve status LED definitions for GL-AR750 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7423fef3206283ec09144932b04feff7b68461f;p=openwrt%2Fstaging%2Fjogo.git 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 --- 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";