projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Use dts alias based status led
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
WNCE2001.dts
diff --git
a/target/linux/ramips/dts/WNCE2001.dts
b/target/linux/ramips/dts/WNCE2001.dts
index 0421ee660b13a6d7fc2f5472381442bacc5f0b2c..55edbd705abdd5da3178c7e9aeb1715de59f18fc 100644
(file)
--- a/
target/linux/ramips/dts/WNCE2001.dts
+++ b/
target/linux/ramips/dts/WNCE2001.dts
@@
-9,6
+9,10
@@
compatible = "netgear,wnce2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
compatible = "netgear,wnce2001", "ralink,rt3052-soc";
model = "Netgear WNCE2001";
+ aliases {
+ led-status = &led_power_green;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@
-16,7
+20,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- power-green {
+
led_power_green:
power-green {
label = "wnce2001:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};
label = "wnce2001:green:power";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
};