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
/
3G150B.dts
diff --git
a/target/linux/ramips/dts/3G150B.dts
b/target/linux/ramips/dts/3G150B.dts
index afe9fafe9bea385769a43acadbbb93e980824c1c..48c715a459ad65d9c298bf27d092517537ce1b58 100644
(file)
--- a/
target/linux/ramips/dts/3G150B.dts
+++ b/
target/linux/ramips/dts/3G150B.dts
@@
-9,10
+9,14
@@
compatible = "tenda,3g150b", "ralink,rt5350-soc";
model = "Tenda 3G150B";
+ aliases {
+ led-status = &led_ap;
+ };
+
gpio-leds {
compatible = "gpio-leds";
- ap {
+
led_ap:
ap {
label = "3g150b:blue:ap";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};