ath79: use both WNDR3x00 power leds for boot status indication

Use the orange led by default to match the bootloader/stock firmware
behaviour. Turn on the green power led after boot to indicate a
finished boot and the orange one off.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
[reword commit message, keep orange power led enabled during early
kernel boot]
Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Dmitry Tunin 2018-08-14 15:55:15 +03:00 committed by Mathias Kresin
parent 3d9610aa13
commit ae9c3105a3

View file

@ -8,10 +8,10 @@
/ { / {
aliases { aliases {
led-boot = &power_green; led-boot = &power_orange;
led-failsafe = &power_green; led-failsafe = &power_orange;
led-running = &power_green; led-running = &power_green;
led-upgrade = &power_green; led-upgrade = &power_orange;
}; };
chosen { chosen {
@ -51,10 +51,10 @@
default-state = "off"; default-state = "off";
}; };
power_orange { power_orange: power_orange {
label = "netgear:orange:power"; label = "netgear:orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>; gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "on";
}; };
wps_green { wps_green {