aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-ib62x0.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-11-17 11:00:52 -0500
committerJason Cooper <jason@lakedaemon.net>2012-11-23 21:58:25 -0500
commitd1d0c04b951e8eb650e84925bcbd78c6b331cfc0 (patch)
tree5c91abe6e63a50a909aaaa2c5cfa4c52af6eb38d /arch/arm/mach-kirkwood/board-ib62x0.c
parent5d183ef9100ca6005b4bb250db75bc006110b18a (diff)
ARM: Kirkwood: Convert ib62x0 to pinctrl.
Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Simon Baatz <gmbnomis@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-ib62x0.c')
-rw-r--r--arch/arm/mach-kirkwood/board-ib62x0.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-kirkwood/board-ib62x0.c b/arch/arm/mach-kirkwood/board-ib62x0.c
index 2a58b4fc453b..b6e5db9c7ed0 100644
--- a/arch/arm/mach-kirkwood/board-ib62x0.c
+++ b/arch/arm/mach-kirkwood/board-ib62x0.c
@@ -22,36 +22,15 @@
22#include <asm/mach/arch.h> 22#include <asm/mach/arch.h>
23#include <mach/kirkwood.h> 23#include <mach/kirkwood.h>
24#include "common.h" 24#include "common.h"
25#include "mpp.h"
26 25
27static struct mv643xx_eth_platform_data ib62x0_ge00_data = { 26static struct mv643xx_eth_platform_data ib62x0_ge00_data = {
28 .phy_addr = MV643XX_ETH_PHY_ADDR(8), 27 .phy_addr = MV643XX_ETH_PHY_ADDR(8),
29}; 28};
30 29
31static unsigned int ib62x0_mpp_config[] __initdata = {
32 MPP0_NF_IO2,
33 MPP1_NF_IO3,
34 MPP2_NF_IO4,
35 MPP3_NF_IO5,
36 MPP4_NF_IO6,
37 MPP5_NF_IO7,
38 MPP18_NF_IO0,
39 MPP19_NF_IO1,
40 MPP22_GPIO, /* OS LED red */
41 MPP24_GPIO, /* Power off device */
42 MPP25_GPIO, /* OS LED green */
43 MPP27_GPIO, /* USB transfer LED */
44 MPP28_GPIO, /* Reset button */
45 MPP29_GPIO, /* USB Copy button */
46 0
47};
48
49void __init ib62x0_init(void) 30void __init ib62x0_init(void)
50{ 31{
51 /* 32 /*
52 * Basic setup. Needs to be called early. 33 * Basic setup. Needs to be called early.
53 */ 34 */
54 kirkwood_mpp_conf(ib62x0_mpp_config);
55
56 kirkwood_ge00_init(&ib62x0_ge00_data); 35 kirkwood_ge00_init(&ib62x0_ge00_data);
57} 36}