diff options
author | Jason Cooper <jason@lakedaemon.net> | 2013-01-26 15:50:10 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:16 -0500 |
commit | 0dbe6ce0373394ff79744684b78e37bc4430daac (patch) | |
tree | 405276546560cd1350e6cea25eb078074d5aa3be | |
parent | 4ded65751c262e4897dbaf8c11d11d85332eecf3 (diff) |
ARM: kirkwood: topkick: init mvsdio via DT
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Andrew Lunn <andrew@lunn.ch>
-rw-r--r-- | arch/arm/boot/dts/kirkwood-topkick.dts | 7 | ||||
-rw-r--r-- | arch/arm/mach-kirkwood/board-usi_topkick.c | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts index 754f7efc0eec..842ff95d60df 100644 --- a/arch/arm/boot/dts/kirkwood-topkick.dts +++ b/arch/arm/boot/dts/kirkwood-topkick.dts | |||
@@ -149,6 +149,13 @@ | |||
149 | i2c@11000 { | 149 | i2c@11000 { |
150 | status = "ok"; | 150 | status = "ok"; |
151 | }; | 151 | }; |
152 | |||
153 | mvsdio@90000 { | ||
154 | pinctrl-0 = <&pmx_sdio>; | ||
155 | pinctrl-names = "default"; | ||
156 | status = "okay"; | ||
157 | /* No CD or WP GPIOs */ | ||
158 | }; | ||
152 | }; | 159 | }; |
153 | 160 | ||
154 | gpio-leds { | 161 | gpio-leds { |
diff --git a/arch/arm/mach-kirkwood/board-usi_topkick.c b/arch/arm/mach-kirkwood/board-usi_topkick.c index 3fce1d018966..1cc04ec33f0b 100644 --- a/arch/arm/mach-kirkwood/board-usi_topkick.c +++ b/arch/arm/mach-kirkwood/board-usi_topkick.c | |||
@@ -14,22 +14,16 @@ | |||
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/mv643xx_eth.h> | 15 | #include <linux/mv643xx_eth.h> |
16 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
17 | #include <linux/platform_data/mmc-mvsdio.h> | ||
18 | #include "common.h" | 17 | #include "common.h" |
19 | 18 | ||
20 | static struct mv643xx_eth_platform_data topkick_ge00_data = { | 19 | static struct mv643xx_eth_platform_data topkick_ge00_data = { |
21 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), | 20 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), |
22 | }; | 21 | }; |
23 | 22 | ||
24 | static struct mvsdio_platform_data topkick_mvsdio_data = { | ||
25 | /* unfortunately the CD signal has not been connected */ | ||
26 | }; | ||
27 | |||
28 | void __init usi_topkick_init(void) | 23 | void __init usi_topkick_init(void) |
29 | { | 24 | { |
30 | /* | 25 | /* |
31 | * Basic setup. Needs to be called early. | 26 | * Basic setup. Needs to be called early. |
32 | */ | 27 | */ |
33 | kirkwood_ge00_init(&topkick_ge00_data); | 28 | kirkwood_ge00_init(&topkick_ge00_data); |
34 | kirkwood_sdio_init(&topkick_mvsdio_data); | ||
35 | } | 29 | } |