]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: kirkwood: topkick: init mvsdio via DT
authorJason Cooper <jason@lakedaemon.net>
Sat, 26 Jan 2013 20:50:10 +0000 (20:50 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sat, 16 Feb 2013 16:24:11 +0000 (16:24 +0000)
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 754f7efc0eecea808bfee21f6058f52628eae061..842ff95d60df1f392347abb9b5a1d44981a309be 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 3fce1d01896667cd65e01b23ca4ac135096dcdd5..1cc04ec33f0b77d2363694e62fa8f81a153716fe 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);
 }