From: blb <blb@rock-chips.com>
Date: Fri, 5 Dec 2014 05:59:29 +0000 (+0800)
Subject: rk3128 & rk3036 : change the led color when power up and down
X-Git-Tag: firefly_0821_release~4415
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=190da48d208b2b9fe6996649a60f0cae24a26229;p=firefly-linux-kernel-4.4.55.git

rk3128 & rk3036 : change the led color when power up and down

Signed-off-by:blb <blb@rockchips.com>
---

diff --git a/arch/arm/boot/dts/rk3036-rk88.dts b/arch/arm/boot/dts/rk3036-rk88.dts
index 5bedb7b3e965..cc2b5f58eb33 100755
--- a/arch/arm/boot/dts/rk3036-rk88.dts
+++ b/arch/arm/boot/dts/rk3036-rk88.dts
@@ -45,7 +45,7 @@
 		compatible = "gpio-leds";
 		power {
 			label = "standby";
-			gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_HIGH>;
+			gpios = <&gpio1 GPIO_A3 GPIO_ACTIVE_LOW>;
 			default-state = "on";
 		};
 	};
diff --git a/arch/arm/boot/dts/rk3128-box-rk88.dts b/arch/arm/boot/dts/rk3128-box-rk88.dts
index ede13f97f3a3..498c747c2e75 100755
--- a/arch/arm/boot/dts/rk3128-box-rk88.dts
+++ b/arch/arm/boot/dts/rk3128-box-rk88.dts
@@ -59,13 +59,11 @@
 	power-led {
 		compatible = "gpio-leds";
 		green {
-			label = "standby";
-			gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_HIGH>;
+			gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>;
 			default-state = "on";
 		};
 		red {
-			label = "normal";
-			gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_LOW>;
+			gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 	};