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 = "prolink,pwh2004", "ralink,rt3052-soc";
model = "Prolink PWH2004";
aliases {
led-status = &led_power;
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -49,7 +53,7 @@
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
power {
led_power: power {
label = "pwh2004:green:power";
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};