* [PATCH] ARM: dts: imx6sll-evk: add debug LED support
@ 2018-11-21 7:03 Anson Huang
2018-11-28 8:22 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Anson Huang @ 2018-11-21 7:03 UTC (permalink / raw)
To: shawnguo, s.hauer, kernel, Fabio Estevam, robh+dt, mark.rutland,
linux-arm-kernel, devicetree, linux-kernel
Cc: dl-linux-imx
On i.MX6SLL EVK board, there is a debug LED controlled
by MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 pin, add support
for it.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
arch/arm/boot/dts/imx6sll-evk.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index c8e1155..9c90cbd 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -31,6 +31,18 @@
status = "okay";
};
+ leds {
+ compatible = "gpio-leds";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_led>;
+
+ user {
+ label = "debug";
+ gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
+
reg_usb_otg1_vbus: regulator-otg1-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -455,6 +467,12 @@
>;
};
+ pinctrl_led: ledgrp {
+ fsl,pins = <
+ MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 0x17059
+ >;
+ };
+
pinctrl_pwm1: pmw1grp {
fsl,pins = <
MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx6sll-evk: add debug LED support
2018-11-21 7:03 [PATCH] ARM: dts: imx6sll-evk: add debug LED support Anson Huang
@ 2018-11-28 8:22 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2018-11-28 8:22 UTC (permalink / raw)
To: Anson Huang
Cc: s.hauer, kernel, Fabio Estevam, robh+dt, mark.rutland,
linux-arm-kernel, devicetree, linux-kernel, dl-linux-imx
On Wed, Nov 21, 2018 at 07:03:44AM +0000, Anson Huang wrote:
> On i.MX6SLL EVK board, there is a debug LED controlled
> by MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 pin, add support
> for it.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-28 8:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 7:03 [PATCH] ARM: dts: imx6sll-evk: add debug LED support Anson Huang
2018-11-28 8:22 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).