summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6sll-evk.dts
diff options
context:
space:
mode:
authorAnson Huang <anson.huang@nxp.com>2018-11-21 07:03:44 +0000
committerShawn Guo <shawnguo@kernel.org>2018-12-10 10:02:38 +0800
commit366a209c928a80c68f4a608f2f172b06ba9f9f9e (patch)
tree36988832bf2ea06423d08be0c8d65e543bd541c7 /arch/arm/boot/dts/imx6sll-evk.dts
parent4f6de45f1eee524d0230e49ca1c1c26865b33a31 (diff)
ARM: dts: imx6sll-evk: add debug LED support
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> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sll-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx6sll-evk.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index 0c2406ac8a63..da6c5ea67d03 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -32,6 +32,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";
@@ -456,6 +468,12 @@
>;
};
+ pinctrl_led: ledgrp {
+ fsl,pins = <
+ MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 0x17059
+ >;
+ };
+
pinctrl_pwm1: pmw1grp {
fsl,pins = <
MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0