projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99045df
)
ramips: add missing zbt-cpe102 diag led
author
Mathias Kresin
<dev@kresin.me>
Sat, 18 Aug 2018 09:42:50 +0000
(11:42 +0200)
committer
Mathias Kresin
<dev@kresin.me>
Wed, 29 Aug 2018 07:34:09 +0000
(09:34 +0200)
Based on the userspace led configuration it's quite obvious that the
4g-0 led should be used for boot status indication.
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/ZBT-CPE102.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/ZBT-CPE102.dts
b/target/linux/ramips/dts/ZBT-CPE102.dts
index b7c7ab1c4781c107b9c3e1655a0dd1c32fd8e21f..eeaf07e3352a6e365ecdee4d90d6859b5a69707a 100644
(file)
--- a/
target/linux/ramips/dts/ZBT-CPE102.dts
+++ b/
target/linux/ramips/dts/ZBT-CPE102.dts
@@
-13,10
+13,15
@@
bootargs = "console=ttyS0,115200";
};
+
+ aliases {
+ led-status = &led_4g_0;
+ };
+
gpio-leds {
compatible = "gpio-leds";
- 4g-0 {
+
led_4g_0:
4g-0 {
label = "zbt-cpe102:green:4g-0";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};