ath79: dts: Use PowerCloud CAP324 bicolor status LED

PowerCloud Systems CAP324 has a bicolor power LED and OpenWrt DTS files /
base files support using both colours to better inform user of state
and to better match stock firmware, so use green power to indicate
normal operation.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit is contained in:
Daniel F. Dickinson 2018-12-06 01:24:11 -05:00 committed by Mathias Kresin
parent 3358cae523
commit 32bc733796

View file

@ -14,7 +14,7 @@
serial0 = &uart; serial0 = &uart;
led-boot = &status; led-boot = &status;
led-failsafe = &status; led-failsafe = &status;
led-running = &status; led-running = &running;
led-upgrade = &status; led-upgrade = &status;
}; };
@ -36,13 +36,13 @@
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power_amber { status: power_amber {
label = "pcs:amber:power"; label = "pcs:amber:power";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
status: power_green { running: power_green {
label = "pcs:green:power"; label = "pcs:green:power";
gpios = <&gpio 12 GPIO_ACTIVE_LOW>; gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
default-state = "on"; default-state = "on";