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,dir-645", "ralink,rt3883-soc";
|
||||
model = "D-Link DIR-645";
|
||||
|
||||
aliases {
|
||||
led-status = &led_wps;
|
||||
};
|
||||
|
||||
rtl8367b {
|
||||
compatible = "realtek,rtl8367b";
|
||||
gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
|
||||
@@ -43,7 +47,7 @@
|
||||
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wps {
|
||||
led_wps: wps {
|
||||
label = "dir-645:green:wps";
|
||||
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user