]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 14 Apr 2015 14:05:04 +0000 (11:05 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 27 Apr 2015 11:45:11 +0000 (19:45 +0800)
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>
arch/arm/boot/dts/imx23-olinuxino.dts

index 7e6eef2488e807c12c36aaebfd3e64b076f7622f..839a3b96910d4321f10351f5375b591ce2d9d8f5 100644 (file)
@@ -12,6 +12,7 @@
  */
 
 /dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
 #include "imx23.dtsi"
 
 / {
 
                user {
                        label = "green";
-                       gpios = <&gpio2 1 1>;
+                       gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
                };
        };
 };