4072ae50cd2318d0d05e52f6d25d67abca4e6e4a
[openwrt/staging/chunkeey.git] / target / linux / mvebu / patches-3.8 / 011-arm_mvebu_add_pin_mux_options_a370.patch
1 The SDIO interface is available either on pins MPP9/11/12/13/14/15 or
2 MPP47/48/49/50/51/52 on the Armada 370. Even though all combinations
3 are potentially possible, those two muxing options are the most
4 probable ones, so we provide those at the SoC level .dtsi file.
5
6 In practice, in turns out the Armada 370 DB board uses the former,
7 while the Armada 370 Mirabox uses the latter.
8
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 ---
11 arch/arm/boot/dts/armada-370.dtsi | 12 ++++++++++++
12 1 file changed, 12 insertions(+)
13
14 --- a/arch/arm/boot/dts/armada-370.dtsi
15 +++ b/arch/arm/boot/dts/armada-370.dtsi
16 @@ -47,6 +47,18 @@
17 pinctrl {
18 compatible = "marvell,mv88f6710-pinctrl";
19 reg = <0xd0018000 0x38>;
20 +
21 + sdio_pins1: sdio-pins1 {
22 + marvell,pins = "mpp9", "mpp11", "mpp12",
23 + "mpp13", "mpp14", "mpp15";
24 + marvell,function = "sd0";
25 + };
26 +
27 + sdio_pins2: sdio-pins2 {
28 + marvell,pins = "mpp47", "mpp48", "mpp49",
29 + "mpp50", "mpp51", "mpp52";
30 + marvell,function = "sd0";
31 + };
32 };
33
34 gpio0: gpio@d0018100 {