Commit 35346b22 authored by Liu Ying's avatar Liu Ying Committed by Shawn Guo

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: default avatarLiu Ying <Ying.Liu@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 89ef8ef4
...@@ -10,11 +10,24 @@ ...@@ -10,11 +10,24 @@
* http://www.gnu.org/copyleft/gpl.html * http://www.gnu.org/copyleft/gpl.html
*/ */
#include <dt-bindings/gpio/gpio.h>
/ { / {
memory { memory {
reg = <0x10000000 0x80000000>; reg = <0x10000000 0x80000000>;
}; };
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>;
user {
label = "debug";
gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
};
};
sound-spdif { sound-spdif {
compatible = "fsl,imx-audio-spdif", compatible = "fsl,imx-audio-spdif",
"fsl,imx-sabreauto-spdif"; "fsl,imx-sabreauto-spdif";
...@@ -217,6 +230,12 @@ MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1 ...@@ -217,6 +230,12 @@ MX6QDL_PAD_GPIO_6__ENET_IRQ 0x000b1
>; >;
}; };
pinctrl_gpio_leds: gpioledsgrp {
fsl,pins = <
MX6QDL_PAD_DISP0_DAT21__GPIO5_IO15 0x80000000
>;
};
pinctrl_gpmi_nand: gpminandgrp { pinctrl_gpmi_nand: gpminandgrp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
......
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