From 43df31f64dfc68374093142cd51808655d6e8d50 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 18 Aug 2018 11:42:50 +0200 Subject: [PATCH] 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 --- target/linux/ramips/dts/ZBT-CPE102.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/ZBT-CPE102.dts b/target/linux/ramips/dts/ZBT-CPE102.dts index b7c7ab1c47..eeaf07e335 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>; }; -- 2.25.1