Skip to content

Commit

Permalink
ARM: kirkwood: topkick: init mvsdio via DT
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Andrew Lunn <andrew@lunn.ch>
  • Loading branch information
Jason Cooper authored and Arnd Bergmann committed Feb 28, 2013
1 parent 4ded657 commit 0dbe6ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/kirkwood-topkick.dts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@
i2c@11000 {
status = "ok";
};

mvsdio@90000 {
pinctrl-0 = <&pmx_sdio>;
pinctrl-names = "default";
status = "okay";
/* No CD or WP GPIOs */
};
};

gpio-leds {
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/mach-kirkwood/board-usi_topkick.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,16 @@
#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);
}

0 comments on commit 0dbe6ce

Please sign in to comment.