diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-11-17 11:00:49 -0500 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-11-23 21:58:05 -0500 |
commit | 1bf370a827175665d9b0e591a99243de0f6bb4e3 (patch) | |
tree | 0629edd5675b3bdf005e9d89b37e46e4b6db82d1 /arch/arm/mach-kirkwood | |
parent | f83065fa43c19600752a380f6d861b787a30d905 (diff) |
ARM: Kirkwood: Convert dockstar to pinctrl.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r-- | arch/arm/mach-kirkwood/board-dockstar.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-kirkwood/board-dockstar.c b/arch/arm/mach-kirkwood/board-dockstar.c index 410452acf323..726cfc4b8921 100644 --- a/arch/arm/mach-kirkwood/board-dockstar.c +++ b/arch/arm/mach-kirkwood/board-dockstar.c | |||
@@ -31,25 +31,15 @@ | |||
31 | #include <mach/bridge-regs.h> | 31 | #include <mach/bridge-regs.h> |
32 | #include <linux/platform_data/mmc-mvsdio.h> | 32 | #include <linux/platform_data/mmc-mvsdio.h> |
33 | #include "common.h" | 33 | #include "common.h" |
34 | #include "mpp.h" | ||
35 | 34 | ||
36 | static struct mv643xx_eth_platform_data dockstar_ge00_data = { | 35 | static struct mv643xx_eth_platform_data dockstar_ge00_data = { |
37 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), | 36 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), |
38 | }; | 37 | }; |
39 | 38 | ||
40 | static unsigned int dockstar_mpp_config[] __initdata = { | ||
41 | MPP29_GPIO, /* USB Power Enable */ | ||
42 | MPP46_GPIO, /* LED green */ | ||
43 | MPP47_GPIO, /* LED orange */ | ||
44 | 0 | ||
45 | }; | ||
46 | |||
47 | void __init dockstar_dt_init(void) | 39 | void __init dockstar_dt_init(void) |
48 | { | 40 | { |
49 | /* | 41 | /* |
50 | * Basic setup. Needs to be called early. | 42 | * Basic setup. Needs to be called early. |
51 | */ | 43 | */ |
52 | kirkwood_mpp_conf(dockstar_mpp_config); | ||
53 | |||
54 | kirkwood_ge00_init(&dockstar_ge00_data); | 44 | kirkwood_ge00_init(&dockstar_ge00_data); |
55 | } | 45 | } |