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 = "dlink,dch-m225", "ralink,mt7620a-soc";
|
||||
model = "D-Link DCH-M225";
|
||||
|
||||
aliases {
|
||||
led-status = &led_power;
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
@@ -31,7 +35,7 @@
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power {
|
||||
led_power: power {
|
||||
label = "dch-m225:green:power";
|
||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user