diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-02-06 10:08:08 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-10 03:27:47 -0500 |
commit | 33106702ceba4943431b4286c488b2effcde3497 (patch) | |
tree | 1cbfe9d4f2e564c43f849620e9dc11d265e3bfc3 | |
parent | 44659021d2b3cc90e6e23a16f0d4c2ca624fb9f6 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/imx6sl-evk.dts | 19 |
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 @@ | |||
8 | 8 | ||
9 | /dts-v1/; | 9 | /dts-v1/; |
10 | 10 | ||
11 | #include <dt-bindings/gpio/gpio.h> | ||
11 | #include <dt-bindings/input/input.h> | 12 | #include <dt-bindings/input/input.h> |
12 | #include "imx6sl.dtsi" | 13 | #include "imx6sl.dtsi" |
13 | 14 | ||
@@ -19,6 +20,18 @@ | |||
19 | reg = <0x80000000 0x40000000>; | 20 | reg = <0x80000000 0x40000000>; |
20 | }; | 21 | }; |
21 | 22 | ||
23 | leds { | ||
24 | compatible = "gpio-leds"; | ||
25 | pinctrl-names = "default"; | ||
26 | pinctrl-0 = <&pinctrl_led>; | ||
27 | |||
28 | user { | ||
29 | label = "debug"; | ||
30 | gpios = <&gpio3 20 GPIO_ACTIVE_HIGH>; | ||
31 | linux,default-trigger = "heartbeat"; | ||
32 | }; | ||
33 | }; | ||
34 | |||
22 | regulators { | 35 | regulators { |
23 | compatible = "simple-bus"; | 36 | compatible = "simple-bus"; |
24 | #address-cells = <1>; | 37 | #address-cells = <1>; |
@@ -300,6 +313,12 @@ | |||
300 | >; | 313 | >; |
301 | }; | 314 | }; |
302 | 315 | ||
316 | pinctrl_led: ledgrp { | ||
317 | fsl,pins = < | ||
318 | MX6SL_PAD_HSIC_STROBE__GPIO3_IO20 0x17059 | ||
319 | >; | ||
320 | }; | ||
321 | |||
303 | pinctrl_kpp: kppgrp { | 322 | pinctrl_kpp: kppgrp { |
304 | fsl,pins = < | 323 | fsl,pins = < |
305 | MX6SL_PAD_KEY_ROW0__KEY_ROW0 0x1b010 | 324 | MX6SL_PAD_KEY_ROW0__KEY_ROW0 0x1b010 |