diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-04-14 11:05:04 -0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-06-09 13:43:29 -0400 |
commit | 0fc6b2a34fb22a979a53d4da7d5d632691f5ddac (patch) | |
tree | 87af070b9ff323f51ce7e4c514d3d636ed6d9bdd /arch | |
parent | 90a235929e099e390e75648404527e97234678cc (diff) |
ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO
[ Upstream commit cfe8c59762244251fd9a5e281d48808095ff4090 ]
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>
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch')
-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 3b2d74dfcdcf..82045398bf1f 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" / { @@ -123,7 +124,7 @@ user { label = "green"; - gpios = <&gpio2 1 1>; + gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; }; }; }; |