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:
committed by
John Crispin
parent
1ef65ceeaf
commit
c9c4b2116c
@@ -9,6 +9,10 @@
|
||||
compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
|
||||
model = "Comfast CF-WR800N";
|
||||
|
||||
aliases {
|
||||
led-status = &led_wps;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
@@ -26,7 +30,7 @@
|
||||
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wps {
|
||||
led_wps: wps {
|
||||
label = "cf-wr800n:white:wps";
|
||||
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user