aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-02-19 02:15:48 -0500
committerShawn Guo <shawn.guo@linaro.org>2014-02-19 20:38:07 -0500
commit35346b229332b7a03399b256d28dfc9a951a4bc3 (patch)
tree27748f13021e2795520be4d4f0309151b517c8be
parent89ef8ef45e96a784fc41768f73af12c965933935 (diff)
ARM: dts: imx6qdl-sabreauto: Support debug LED
The D9 LED controlled by gpio on the imx6qdl-sabreauto CPU board is a debug LED according to the board design. This patch adds the relevant device tree nodes to the imx6qdl-sabreauto device tree file to support this LED. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx6qdl-sabreauto.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
index 33e9bff9b076..009abd69385d 100644
--- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
@@ -10,11 +10,24 @@
10 * http://www.gnu.org/copyleft/gpl.html 10 * http://www.gnu.org/copyleft/gpl.html
11 */ 11 */
12 12
13#include <dt-bindings/gpio/gpio.h>
14
13/ { 15/ {
14 memory { 16 memory {
15 reg = <0x10000000 0x80000000>; 17 reg = <0x10000000 0x80000000>;
16 }; 18 };
17 19
20 leds {
21 compatible = "gpio-leds";
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_gpio_leds>;
24
25 user {
26 label = "debug";
27 gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
28 };
29 };
30
18 sound-spdif { 31 sound-spdif {
19 compatible = "fsl,imx-audio-spdif", 32 compatible = "fsl,imx-audio-spdif",
20 "fsl,imx-sabreauto-spdif"; 33 "fsl,imx-sabreauto-spdif";
@@ -217,6 +230,12 @@
217 >; 230 >;
218 }; 231 };
219 232
233 pinctrl_gpio_leds: gpioledsgrp {
234 fsl,pins = <
235 MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15 0x80000000
236 >;
237 };
238
220 pinctrl_gpmi_nand: gpminandgrp { 239 pinctrl_gpmi_nand: gpminandgrp {
221 fsl,pins = < 240 fsl,pins = <
222 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 241 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1