ramips: add missing zbt-cpe102 diag led
authorMathias Kresin <[email protected]>
Sat, 18 Aug 2018 09:42:50 +0000 (11:42 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:47:50 +0000 (17:47 +0100)
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 <[email protected]>
(backported from 43df31f64dfc68374093142cd51808655d6e8d50)

target/linux/ramips/dts/ZBT-CPE102.dts

index b7c7ab1c4781c107b9c3e1655a0dd1c32fd8e21f..eeaf07e3352a6e365ecdee4d90d6859b5a69707a 100644 (file)
                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>;
                };