summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx23-olinuxino.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-04-14 11:05:04 -0300
committerShawn Guo <shawn.guo@linaro.org>2015-04-27 19:45:11 +0800
commitcfe8c59762244251fd9a5e281d48808095ff4090 (patch)
tree5c0de95a8b6eed63c5eaf5ec20593c474cec0d74 /arch/arm/boot/dts/imx23-olinuxino.dts
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO
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>
Diffstat (limited to 'arch/arm/boot/dts/imx23-olinuxino.dts')
-rw-r--r--arch/arm/boot/dts/imx23-olinuxino.dts3
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 7e6eef2488e8..839a3b96910d 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"
/ {
@@ -122,7 +123,7 @@
user {
label = "green";
- gpios = <&gpio2 1 1>;
+ gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
};
};
};