From: huang zhibao Date: Tue, 17 Mar 2015 01:29:06 +0000 (+0800) Subject: dts: add work and power led in rk3128-box.dts X-Git-Tag: firefly_0821_release~4260 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3cfc69712b4d62829738c1e75bcdb72a47063223;p=firefly-linux-kernel-4.4.55.git dts: add work and power led in rk3128-box.dts --- diff --git a/arch/arm/boot/dts/rk3128-box-rk88.dts b/arch/arm/boot/dts/rk3128-box-rk88.dts index fe9fe56ec1f0..080336f2e02b 100755 --- a/arch/arm/boot/dts/rk3128-box-rk88.dts +++ b/arch/arm/boot/dts/rk3128-box-rk88.dts @@ -61,11 +61,11 @@ power-led { compatible = "gpio-leds"; - green { + power { gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>; default-state = "on"; }; - red { + work { gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>; default-state = "on"; }; diff --git a/arch/arm/boot/dts/rk3128-box.dts b/arch/arm/boot/dts/rk3128-box.dts index 8798722f25e9..844e0c473f87 100755 --- a/arch/arm/boot/dts/rk3128-box.dts +++ b/arch/arm/boot/dts/rk3128-box.dts @@ -67,7 +67,17 @@ }; }; }; - + power-led { + compatible = "gpio-leds"; + power { + gpios = <&gpio0 GPIO_B0 GPIO_ACTIVE_LOW>; + default-state = "on"; + }; + work { + gpios = <&gpio0 GPIO_D2 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; usb_control { compatible = "rockchip,rk3126-usb-control"; host_drv_gpio = <&gpio3 GPIO_C4 GPIO_ACTIVE_LOW>;