Commit 702bfbef authored by Vincent Stehlé's avatar Vincent Stehlé Committed by Shawn Guo

ARM: dts: imx6qdl-sabresd.dtsi: Add red led

Make the red gpio led available to the user.

This can be toggled with the sysfs for example, or used as a heartbeat or mmc
activity light by changing the trigger.
Signed-off-by: default avatarVincent Stehlé <vincent.stehle@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 2c405689
...@@ -105,6 +105,17 @@ backlight { ...@@ -105,6 +105,17 @@ backlight {
default-brightness-level = <7>; default-brightness-level = <7>;
status = "okay"; status = "okay";
}; };
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio_leds>;
red {
gpios = <&gpio1 2 0>;
default-state = "on";
};
};
}; };
&audmux { &audmux {
...@@ -422,6 +433,14 @@ MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 ...@@ -422,6 +433,14 @@ MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
>; >;
}; };
}; };
gpio_leds {
pinctrl_gpio_leds: gpioledsgrp {
fsl,pins = <
MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000
>;
};
};
}; };
&ldb { &ldb {
......
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