ARM: kirkwood: topkick: init mvsdio via DT
authorJason Cooper <jason@lakedaemon.net>
Sat, 26 Jan 2013 20:50:10 +0000 (20:50 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:16 +0000 (18:57 +0100)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/boot/dts/kirkwood-topkick.dts
arch/arm/mach-kirkwood/board-usi_topkick.c

index 754f7ef..842ff95 100644 (file)
                i2c@11000 {
                        status = "ok";
                };
+
+               mvsdio@90000 {
+                       pinctrl-0 = <&pmx_sdio>;
+                       pinctrl-names = "default";
+                       status = "okay";
+                       /* No CD or WP GPIOs */
+               };
        };
 
        gpio-leds {
index 3fce1d0..1cc04ec 100644 (file)
 #include <linux/init.h>
 #include <linux/mv643xx_eth.h>
 #include <linux/gpio.h>
-#include <linux/platform_data/mmc-mvsdio.h>
 #include "common.h"
 
 static struct mv643xx_eth_platform_data topkick_ge00_data = {
        .phy_addr       = MV643XX_ETH_PHY_ADDR(0),
 };
 
-static struct mvsdio_platform_data topkick_mvsdio_data = {
-       /* unfortunately the CD signal has not been connected */
-};
-
 void __init usi_topkick_init(void)
 {
        /*
         * Basic setup. Needs to be called early.
         */
        kirkwood_ge00_init(&topkick_ge00_data);
-       kirkwood_sdio_init(&topkick_mvsdio_data);
 }