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,10 +9,15 @@
|
||||
compatible = "asiarf,awapn2403", "ralink,rt3052-soc";
|
||||
model = "AsiaRF AWAPN2403";
|
||||
|
||||
aliases {
|
||||
led-status = &led_wps;
|
||||
};
|
||||
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
link {
|
||||
led_wps: wps {
|
||||
label = "awapn2403:green:wps";
|
||||
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user