From: Mathias Kresin Date: Sat, 18 Aug 2018 09:42:50 +0000 (+0200) Subject: ramips: add missing zbt-cpe102 diag led X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=43df31f64dfc68374093142cd51808655d6e8d50;p=openwrt%2Fstaging%2Fjogo.git 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 --- 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>; };