diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-04-14 11:05:04 -0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-05-16 09:12:45 +0200 |
commit | d8354736bc0e37737ff1b06e56a1018006756d05 (patch) | |
tree | dbadf5da82e4bf5fbd5c49da9a419b57d903f8d5 /arch/arm | |
parent | a77374f8c2a293569167ade7589c7b26e574ecf2 (diff) | |
download | lwn-d8354736bc0e37737ff1b06e56a1018006756d05.tar.gz lwn-d8354736bc0e37737ff1b06e56a1018006756d05.zip |
ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO
commit cfe8c59762244251fd9a5e281d48808095ff4090 upstream.
On imx23-olinuxino the LED turns on when level logic high is aplied to
GPIO2_1.
Fix the gpios property accordingly.
Fixes: b34aa1850244 ("ARM: dts: imx23-olinuxino: Remove unneeded "default-on"")
Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx23-olinuxino.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index 353d6f336212..a4b59727bff5 100644 --- a/arch/arm/boot/dts/imx23-olinuxino.dts +++ b/arch/arm/boot/dts/imx23-olinuxino.dts @@ -12,6 +12,7 @@ */ /dts-v1/; +#include <dt-bindings/gpio/gpio.h> /include/ "imx23.dtsi" / { @@ -120,7 +121,7 @@ user { label = "green"; - gpios = <&gpio2 1 1>; + gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; }; }; }; |