ARM: ux500: fix spi2 pin group
authorPatrice Chotard <patrice.chotard@stericsson.com>
Mon, 17 Sep 2012 16:52:15 +0000 (18:52 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Sep 2012 13:19:16 +0000 (15:19 +0200)
GPIO216_AG12 is configured as a gpio for SPI2, so select
the spi2_oc1_2 pin group instead of spi2_oc1_1

Signed-off-by: Patrice Chotard <patrice.chotard@stericsson.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500-pins.c

index f0affc397c034561ac7a0ae4cc5a5d37c05d37e4..a96b945976e40c01ffd86b787ba8e3c7ad211c32 100644 (file)
@@ -219,7 +219,7 @@ static struct pinctrl_map __initdata mop500_family_pinmap[] = {
        DB8500_MUX("usb_a_1", "usb", "musb-ux500.0"),
        DB8500_PIN("GPIO257_AE29", out_hi, "musb-ux500.0"), /* STP */
        /* Mux in SPI2 pins on the "other C1" altfunction */
-       DB8500_MUX("spi2_oc1_1", "spi2", "spi2"),
+       DB8500_MUX("spi2_oc1_2", "spi2", "spi2"),
        DB8500_PIN("GPIO216_AG12", gpio_out_hi, "spi2"), /* FRM */
        DB8500_PIN("GPIO218_AH11", in_pd, "spi2"), /* RXD */
        DB8500_PIN("GPIO215_AH13", out_lo, "spi2"), /* TXD */