ARM: at91: fix at91sam9263ek DT mmc pinmuxing settings
authorAndreas Henriksson <andreas.henriksson@endian.se>
Tue, 23 Sep 2014 15:12:52 +0000 (17:12 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 24 Sep 2014 15:47:21 +0000 (17:47 +0200)
As discovered on a custom board similar to at91sam9263ek and basing
its devicetree on that one apparently the pin muxing doesn't get
set up properly. This was discovered since the custom boards u-boot
does funky stuff with the pin muxing and leaved it set to SPI
which made the MMC driver not work under Linux.
The fix is simply to define the given configuration as the default.
This probably worked by pure luck before, but it's better to
make the muxing explicitly set.

Signed-off-by: Andreas Henriksson <andreas.henriksson@endian.se>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: <stable@vger.kernel.org> # 3.11+
arch/arm/boot/dts/at91sam9263.dtsi

index bb23c2d33cf8edacd928da1e2650027886d60d6e..5e95a805344594eceb324a412bfe9f142ac9af63 100644 (file)
                                compatible = "atmel,hsmci";
                                reg = <0xfff80000 0x600>;
                                interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
+                               pinctrl-names = "default";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&mci0_clk>;
                                compatible = "atmel,hsmci";
                                reg = <0xfff84000 0x600>;
                                interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
+                               pinctrl-names = "default";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&mci1_clk>;