kirkwood: pogo_e02: use mainline led definitions
authorLuka Perkov <luka@openwrt.org>
Wed, 4 Nov 2015 22:28:42 +0000 (22:28 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 4 Nov 2015 22:28:42 +0000 (22:28 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47385

target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch

index a8ba1f6c3db5b9bb15337e5a4426f14f6be51b85..e0ae6591d36093cfea93fda82cd325280c78fd6b 100644 (file)
@@ -30,8 +30,8 @@ case "$board" in
        ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
        ;;
 "pogo_e02")
-       ucidef_set_led_default "health" "health" "status:green:health" "1"
-       ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
+       ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
+       ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
        ;;
 "guruplug-server-plus")
        ucidef_set_led_timer "health" "health" "guruplug:red:health" "200" "800"
index 561c07f41c009eb9531f0fde142dc82bcdc24999..eb570738f40e04dd40dff42632fb0ef3efe666fd 100644 (file)
 +              pinctrl-names = "default";
 +
 +              health {
-+                      label = "status:green:health";
++                      label = "pogo_e02:green:health";
 +                      gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
 +                      default-state = "keep";
 +              };
 +              fault {
-+                      label = "status:orange:fault";
++                      label = "pogo_e02:orange:fault";
 +                      gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
 +              };
 +      };