arm: mvebu: enable the SDIO interface on the Globalscale Mirabox
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 Dec 2012 14:49:09 +0000 (15:49 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:10 +0000 (18:57 +0100)
The Globalscale Mirabox uses the SDIO interface of the Armada 370 to
connect to a Wifi/Bluetooth SD8787 chip, so we enable the SDIO
interface of this board in its Device Tree file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-mirabox.dts

index 3b40713365997a70cf93b61bb244d3e541651d79..1864820dde2527f9c6926c9202b92c8411456204 100644 (file)
                        phy = <&phy1>;
                        phy-mode = "rgmii-id";
                };
+
+               mvsdio@d00d4000 {
+                       pinctrl-0 = <&sdio_pins2>;
+                       pinctrl-names = "default";
+                       status = "okay";
+                       /*
+                        * No CD or WP GPIOs: SDIO interface used for
+                        * Wifi/Bluetooth chip
+                        */
+               };
        };
 };