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:
parent
1ef65ceeaf
commit
c9c4b2116c
208 changed files with 1035 additions and 555 deletions
|
@ -9,6 +9,10 @@
|
|||
compatible = "ohyeah,oy-0001", "ralink,mt7620a-soc";
|
||||
model = "OY-0001";
|
||||
|
||||
aliases {
|
||||
led-status = &led_power;
|
||||
};
|
||||
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200";
|
||||
};
|
||||
|
@ -16,7 +20,7 @@
|
|||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
powerled {
|
||||
led_power: powerled {
|
||||
label = "oy-0001:green:power";
|
||||
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue