aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-11-04 22:28:42 +0000
committerLuka Perkov <luka@openwrt.org>2015-11-04 22:28:42 +0000
commit0d674c4be60d4ff5f403abfacb7cb17881bd0c5e (patch)
treeeda03863c2cb8b6e4fb5e29ed175d5c3d2800216 /target/linux/kirkwood
parent33d26603faa1f53dd6370f873b5584b346fb2ad8 (diff)
downloadmaster-187ad058-0d674c4be60d4ff5f403abfacb7cb17881bd0c5e.tar.gz
master-187ad058-0d674c4be60d4ff5f403abfacb7cb17881bd0c5e.tar.bz2
master-187ad058-0d674c4be60d4ff5f403abfacb7cb17881bd0c5e.zip
kirkwood: pogo_e02: use mainline led definitions
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47385 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds4
-rw-r--r--target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
index a8ba1f6c3d..e0ae6591d3 100644
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
@@ -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"
diff --git a/target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch b/target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch
index 561c07f41c..eb570738f4 100644
--- a/target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch
+++ b/target/linux/kirkwood/patches-3.18/150-pogoplug_e02.patch
@@ -55,12 +55,12 @@
+ 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>;
+ };
+ };