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>
This commit is contained in:
Hannu Nyman 2020-04-15 23:05:27 +03:00 committed by Adrian Schmutzler
parent 508462a399
commit a7423fef32

View File

@ -11,6 +11,10 @@
model = "GL.iNet GL-AR750"; model = "GL.iNet GL-AR750";
aliases { aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
label-mac-device = &eth0; label-mac-device = &eth0;
}; };
@ -36,7 +40,7 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power { led_power: power {
label = "gl-ar750:white:power"; label = "gl-ar750:white:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";