Commit b65e0fb3 authored by Andreas Henriksson's avatar Andreas Henriksson Committed by Nicolas Ferre

ARM: at91: fix at91sam9263ek DT mmc pinmuxing settings

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: default avatarAndreas Henriksson <andreas.henriksson@endian.se>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Cc: <stable@vger.kernel.org>  # 3.11+
parent 7d1311b9
...@@ -834,6 +834,7 @@ mmc0: mmc@fff80000 { ...@@ -834,6 +834,7 @@ mmc0: mmc@fff80000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfff80000 0x600>; reg = <0xfff80000 0x600>;
interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
pinctrl-names = "default";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&mci0_clk>; clocks = <&mci0_clk>;
...@@ -845,6 +846,7 @@ mmc1: mmc@fff84000 { ...@@ -845,6 +846,7 @@ mmc1: mmc@fff84000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfff84000 0x600>; reg = <0xfff84000 0x600>;
interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
pinctrl-names = "default";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&mci1_clk>; clocks = <&mci1_clk>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment