diff options
author | Dmitry Lifshitz <lifshitz@compulab.co.il> | 2014-01-12 15:22:48 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-02-28 14:09:10 -0800 |
commit | dc897926c95b258eff6989cc2017643352e36786 (patch) | |
tree | 5d92cf541f7e5761fe19cd8d0bf0fa48908c404f /arch/arm/boot/dts/omap3-cm-t3x.dtsi | |
parent | d2063843553fab2d3f2b7a166f51140e401568bf (diff) | |
download | linux-dc897926c95b258eff6989cc2017643352e36786.tar.bz2 |
ARM: dts: cm-t3x: add gpio-led pinmux
GPIO186 is used for the heartbeat led.
Setup the pinmux for the GPIO186.
Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-cm-t3x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap3-cm-t3x.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi index 842201c235e6..abda4939c0b3 100644 --- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi @@ -11,6 +11,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&green_led_pins>; ledb { label = "cm-t3x:green"; gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */ @@ -38,6 +40,12 @@ OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + green_led_pins: pinmux_green_led_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ + >; + }; }; &uart3 { |