ramips: Use dts alias based status led

Also fix several typos in led node name.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
Chuanhong Guo
2018-07-16 16:27:22 +08:00
committed by John Crispin
parent 1ef65ceeaf
commit c9c4b2116c
208 changed files with 1035 additions and 555 deletions

View File

@@ -9,6 +9,10 @@
compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
model = "D-Link DIR-810L";
aliases {
led-status = &led_power_green;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -31,7 +35,7 @@
gpio-leds {
compatible = "gpio-leds";
power {
led_power_green: power {
label = "dir-810l:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
@@ -41,7 +45,7 @@
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
status {
power2 {
label = "dir-810l:orange:power";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};