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 = "youhua,wr1200js", "mediatek,mt7621-soc";
model = "YouHua WR1200JS";
aliases {
led-status = &led_wps;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@ -26,7 +30,7 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
wps {
led_wps: wps {
label = "wr1200js:blue:wps";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};