From 190da48d208b2b9fe6996649a60f0cae24a26229 Mon Sep 17 00:00:00 2001 From: blb Date: Fri, 5 Dec 2014 13:59:29 +0800 Subject: [PATCH] rk3128 & rk3036 : change the led color when power up and down Signed-off-by:blb --- arch/arm/boot/dts/rk3036-rk88.dts | 2 +- arch/arm/boot/dts/rk3128-box-rk88.dts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) 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"; }; }; -- 2.34.1