ARM: dts: omap3-igep0030: add mux conf for GPIO LED
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 20 Jun 2013 14:42:32 +0000 (16:42 +0200)
committerBenoit Cousson <bcousson@baylibre.com>
Tue, 8 Oct 2013 15:51:39 +0000 (17:51 +0200)
The IGEP COM MOdule has a GPIO LED connected to OMAP
pins. Configure this pin as output GPIO.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/omap3-igep0030.dts

index 644d05383836f45dfe5612ad760d100fb12e9072..eee3c632b260ed887d31427f8402b1f5b7c2cf48 100644 (file)
        compatible = "isee,omap3-igep0030", "ti,omap3";
 
        leds {
+               pinctrl-names = "default";
+               pinctrl-0 = <&leds_pins>;
                compatible = "gpio-leds";
+
                boot {
                         label = "omap3:green:boot";
                         gpios = <&twl_gpio 13 GPIO_ACTIVE_LOW>;
        };
 };
 
+&leds_pins {
+       pinctrl-single,pins = <
+               0x5b0 (PIN_OUTPUT | MUX_MODE4) /* etk_d2.gpio_16 */
+       >;
+};
+
 &gpmc {
        ranges = <0 0 0x00000000 0x20000000>;