mvebu: add inital support for Marvell Armada XP/370 SoCs
[openwrt/staging/wigyori.git] / target / linux / mvebu / patches-3.8 / 015-arm_mvebu_enable_sd_card_slot_mirabox.patch
1 The Globalscale Mirabox uses the SDIO interface of the Armada 370 to
2 connect to a Wifi/Bluetooth SD8787 chip, so we enable the SDIO
3 interface of this board in its Device Tree file.
4
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 ---
7 arch/arm/boot/dts/armada-370-mirabox.dts | 10 ++++++++++
8 1 file changed, 10 insertions(+)
9
10 diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts
11 index 3b40713..1864820 100644
12 --- a/arch/arm/boot/dts/armada-370-mirabox.dts
13 +++ b/arch/arm/boot/dts/armada-370-mirabox.dts
14 @@ -52,5 +52,15 @@
15 phy = <&phy1>;
16 phy-mode = "rgmii-id";
17 };
18 +
19 + mvsdio@d00d4000 {
20 + pinctrl-0 = <&sdio_pins2>;
21 + pinctrl-names = "default";
22 + status = "okay";
23 + /*
24 + * No CD or WP GPIOs: SDIO interface used for
25 + * Wifi/Bluetooth chip
26 + */
27 + };
28 };
29 };
30 --
31 1.7.9.5