mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
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:
parent
508462a399
commit
a7423fef32
@ -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 = ð0;
|
label-mac-device = ð0;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user