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,14 @@
|
||||
compatible = "hame,mpr-a1", "ralink,rt5350-soc";
|
||||
model = "HAME MPR-A1";
|
||||
|
||||
aliases {
|
||||
led-status = &led_system;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
system {
|
||||
led_system: system {
|
||||
label = "mpr-a1:blue:system";
|
||||
gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user