]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: ux500: Add Snowball pin configuration for user LED
authorLee Jones <lee.jones@linaro.org>
Wed, 9 Jan 2013 10:06:05 +0000 (10:06 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Mar 2013 13:50:01 +0000 (14:50 +0100)
Here we setup the GPIO pin responsible for illuminating the user
LED on the Snowball low-cost development board.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500-pins.c

index ac9932670ca22e08b5a70a6ad1392523627238ea..97f6366c3a26e97ebae15fae482f51fe073b50e8 100644 (file)
@@ -747,6 +747,8 @@ static struct pinctrl_map __initdata snowball_pinmap[] = {
        DB8500_PIN_HOG("GPIO21_AB3", out_hi),
        /* Mux in "SM" which is used for the SMSC911x Ethernet adapter */
        DB8500_MUX_HOG("sm_b_1", "sm"),
+       /* User LED */
+       DB8500_PIN_HOG("GPIO142_C11", gpio_out_hi),
        /* Drive RSTn_LAN high */
        DB8500_PIN_HOG("GPIO141_C12", gpio_out_hi),
        /*  Accelerometer/Magnetometer */