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
/
WIDORA-NEO.dtsi
diff --git
a/target/linux/ramips/dts/WIDORA-NEO.dtsi
b/target/linux/ramips/dts/WIDORA-NEO.dtsi
index 3334c88e22ad6815f484a7bfe88f536fcccccada..b5001c9774a58c72bca03d7cd240871749ece195 100644
(file)
--- a/
target/linux/ramips/dts/WIDORA-NEO.dtsi
+++ b/
target/linux/ramips/dts/WIDORA-NEO.dtsi
@@
-6,6
+6,10
@@
/ {
compatible = "widora,neo", "mediatek,mt7628an-soc";
/ {
compatible = "widora,neo", "mediatek,mt7628an-soc";
+ aliases {
+ led-status = &led_wifi;
+ };
+
chosen {
bootargs = "console=ttyS0,115200";
};
chosen {
bootargs = "console=ttyS0,115200";
};
@@
-18,7
+22,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- wifi {
+
led_wifi:
wifi {
label = "widora:orange:wifi";
gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";
label = "widora:orange:wifi";
gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";