kirkwood: pogo_e02: use mainline led definitions

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47385
This commit is contained in:
Luka Perkov 2015-11-04 22:28:42 +00:00
parent 122fadaa00
commit 805492bda9
2 changed files with 4 additions and 4 deletions

View 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"

View file

@ -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>;
+ };
+ };