Commit 366a209c authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

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: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4f6de45f
......@@ -32,6 +32,18 @@ backlight_display: backlight-display {
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 @@ MX6SLL_PAD_LCD_RESET__LCD_RESET 0x79
>;
};
pinctrl_led: ledgrp {
fsl,pins = <
MX6SLL_PAD_EPDC_VCOM1__GPIO2_IO04 0x17059
>;
};
pinctrl_pwm1: pmw1grp {
fsl,pins = <
MX6SLL_PAD_PWM1__PWM1_OUT 0x110b0
......
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