summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sl-evk.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-02-06 16:08:08 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-10 09:27:47 +0100
commit33106702ceba4943431b4286c488b2effcde3497 (patch)
tree1cbfe9d4f2e564c43f849620e9dc11d265e3bfc3 /arch/arm/boot/dts/imx6sl-evk.dts
parentARM: dts: imx6qdl-sabreauto: Add PFUZE100 support (diff)
downloadlinux-33106702ceba4943431b4286c488b2effcde3497.tar.xz
linux-33106702ceba4943431b4286c488b2effcde3497.zip
ARM: dts: imx6sl-evk: Add debug LED support
GPIO3_20 is connected to a debug LED. Add support for it. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sl-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx6sl-evk.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
index 3216edec46e9..889422cc2c24 100644
--- a/arch/arm/boot/dts/imx6sl-evk.dts
+++ b/arch/arm/boot/dts/imx6sl-evk.dts
@@ -8,6 +8,7 @@
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "imx6sl.dtsi"
@@ -19,6 +20,18 @@
reg = <0x80000000 0x40000000>;
};
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_led>;
+
+ user {
+ label = "debug";
+ gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
+
regulators {
compatible = "simple-bus";
#address-cells = <1>;
@@ -300,6 +313,12 @@
>;
};
+ pinctrl_led: ledgrp {
+ fsl,pins = <
+ MX6SL_PAD_HSIC_STROBE__GPIO3_IO20 0x17059
+ >;
+ };
+
pinctrl_kpp: kppgrp {
fsl,pins = <
MX6SL_PAD_KEY_ROW0__KEY_ROW0 0x1b010