ARM: dts: cm-t3x: add gpio-led pinmux
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Sun, 12 Jan 2014 13:22:48 +0000 (15:22 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Feb 2014 22:09:10 +0000 (14:09 -0800)
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>
arch/arm/boot/dts/omap3-cm-t3x.dtsi

index 842201c235e6438b3de3c1e3b28cf1bc146cb3a2..abda4939c0b39986d365d9c29f5e56578464660f 100644 (file)
@@ -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 */
                        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 {