Browse Source

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 <[email protected]>
Mathias Kresin 7 years ago
parent
commit
43df31f64d
1 changed files with 6 additions and 1 deletions
  1. 6 1
      target/linux/ramips/dts/ZBT-CPE102.dts

+ 6 - 1
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>;
 		};