Commit 9d9ef9a7 authored by Fabio Estevam's avatar Fabio Estevam Committed by Kamal Mostafa

ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO

commit cfe8c597 upstream.

On imx23-olinuxino the LED turns on when level logic high is aplied to
GPIO2_1.

Fix the gpios property accordingly.

Fixes: b34aa185 ("ARM: dts: imx23-olinuxino: Remove unneeded "default-on"")
Reported-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Tested-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 0e30b48e
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
*/ */
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "imx23.dtsi" #include "imx23.dtsi"
/ { / {
...@@ -119,7 +120,7 @@ leds { ...@@ -119,7 +120,7 @@ leds {
user { user {
label = "green"; label = "green";
gpios = <&gpio2 1 1>; gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment