Commit 66155302 authored by Dan Murphy's avatar Dan Murphy Committed by Benoit Cousson

ARM: dts: omap5-uevm: Add LED support for uEVM blue LED

Add support for blue LED 1 off of GPIO 153.
Make the LED a heartbeat LED
Configure the MUX for GPIO output.
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
[r.sricharan@ti.com: Replaced constants with preprocessor macros]
Signed-off-by: default avatarSricharan R <r.sricharan@ti.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent ed7f8e8a
...@@ -59,6 +59,15 @@ hsusb3_phy: hsusb3_phy { ...@@ -59,6 +59,15 @@ hsusb3_phy: hsusb3_phy {
reset-supply = <&hsusb3_reset>; reset-supply = <&hsusb3_reset>;
}; };
leds {
compatible = "gpio-leds";
led@1 {
label = "omap5:blue:usr1";
gpios = <&gpio5 25 GPIO_ACTIVE_HIGH>; /* gpio5_153 D1 LED */
linux,default-trigger = "heartbeat";
default-state = "off";
};
};
}; };
&omap5_pmx_core { &omap5_pmx_core {
...@@ -70,6 +79,7 @@ &dmic_pins ...@@ -70,6 +79,7 @@ &dmic_pins
&mcbsp1_pins &mcbsp1_pins
&mcbsp2_pins &mcbsp2_pins
&usbhost_pins &usbhost_pins
&led_gpio_pins
>; >;
twl6040_pins: pinmux_twl6040_pins { twl6040_pins: pinmux_twl6040_pins {
...@@ -168,6 +178,12 @@ usbhost_pins: pinmux_usbhost_pins { ...@@ -168,6 +178,12 @@ usbhost_pins: pinmux_usbhost_pins {
0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */ 0x6e (PIN_OUTPUT | MUX_MODE6) /* gpio3_79 ETH_NRESET */
>; >;
}; };
led_gpio_pins: pinmux_led_gpio_pins {
pinctrl-single,pins = <
0x196 (PIN_OUTPUT | MUX_MODE6) /* uart3_cts_rctx.gpio5_153 */
>;
};
}; };
&omap5_pmx_wkup { &omap5_pmx_wkup {
......
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