summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-18 11:42:50 +0200
committerMathias Kresin <dev@kresin.me>2018-08-29 09:34:09 +0200
commit43df31f64dfc68374093142cd51808655d6e8d50 (patch)
tree3f5ac884e326da17cc6c40a75ba9f69756fdc95a
parent99045dfc5989e732f671de5d145532f0fe8c0ce1 (diff)
downloadmtk-20170518-43df31f64dfc68374093142cd51808655d6e8d50.zip
mtk-20170518-43df31f64dfc68374093142cd51808655d6e8d50.tar.gz
mtk-20170518-43df31f64dfc68374093142cd51808655d6e8d50.tar.bz2
ramips: add missing zbt-cpe102 diag led
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>
-rw-r--r--target/linux/ramips/dts/ZBT-CPE102.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/ZBT-CPE102.dts b/target/linux/ramips/dts/ZBT-CPE102.dts
index b7c7ab1..eeaf07e 100644
--- 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>;
};