aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorIan Molton <ian@mnementh.co.uk>2008-12-30 18:22:41 -0500
committerIan Molton <ian@mnementh.co.uk>2008-12-30 22:06:57 -0500
commite1c4a2d7b381f8f6212888a15a69f8fce8d0a08f (patch)
tree35cdc62abbd57c0ccae9da71e9a205816ec39870 /arch/arm/mach-pxa
parenta48d196191c2d78d6cbd6f8509285af8ec1edcbc (diff)
[ARM] pxa: add e750 MFP config
Adds MFP configuration for supported e750 hardware. Signed-off-by: Ian Molton <ian@mnementh.co.uk>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/e750.c52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e750.c b/arch/arm/mach-pxa/e750.c
index 84d7c1aac58d..7ad76539c841 100644
--- a/arch/arm/mach-pxa/e750.c
+++ b/arch/arm/mach-pxa/e750.c
@@ -105,6 +105,57 @@ static struct platform_device e750_fb_device = {
105 .resource = e750_fb_resources, 105 .resource = e750_fb_resources,
106}; 106};
107 107
108/* -------------------- e750 MFP parameters -------------------- */
109
110static unsigned long e750_pin_config[] __initdata = {
111 /* Chip selects */
112 GPIO15_nCS_1, /* CS1 - Flash */
113 GPIO79_nCS_3, /* CS3 - IMAGEON */
114 GPIO80_nCS_4, /* CS4 - TMIO */
115
116 /* Clocks */
117 GPIO11_3_6MHz,
118
119 /* BTUART */
120 GPIO42_BTUART_RXD,
121 GPIO43_BTUART_TXD,
122 GPIO44_BTUART_CTS,
123
124 /* TMIO controller */
125 GPIO19_GPIO, /* t7l66xb #PCLR */
126 GPIO45_GPIO, /* t7l66xb #SUSPEND (NOT BTUART!) */
127
128 /* UDC */
129 GPIO13_GPIO,
130 GPIO3_GPIO,
131
132 /* IrDA */
133 GPIO38_GPIO | MFP_LPM_DRIVE_HIGH,
134
135 /* PC Card */
136 GPIO8_GPIO, /* CD0 */
137 GPIO44_GPIO, /* CD1 */
138 GPIO11_GPIO, /* IRQ0 */
139 GPIO6_GPIO, /* IRQ1 */
140 GPIO27_GPIO, /* RST0 */
141 GPIO24_GPIO, /* RST1 */
142 GPIO20_GPIO, /* PWR0 */
143 GPIO23_GPIO, /* PWR1 */
144 GPIO48_nPOE,
145 GPIO49_nPWE,
146 GPIO50_nPIOR,
147 GPIO51_nPIOW,
148 GPIO52_nPCE_1,
149 GPIO53_nPCE_2,
150 GPIO54_nPSKTSEL,
151 GPIO55_nPREG,
152 GPIO56_nPWAIT,
153 GPIO57_nIOIS16,
154
155 /* wakeup */
156 GPIO0_GPIO | WAKEUP_ON_EDGE_RISE,
157};
158
108/* ----------------- e750 tc6393xb parameters ------------------ */ 159/* ----------------- e750 tc6393xb parameters ------------------ */
109 160
110static struct tc6393xb_platform_data e750_tc6393xb_info = { 161static struct tc6393xb_platform_data e750_tc6393xb_info = {
@@ -137,6 +188,7 @@ static struct platform_device *devices[] __initdata = {
137 188
138static void __init e750_init(void) 189static void __init e750_init(void)
139{ 190{
191 pxa2xx_mfp_config(ARRAY_AND_SIZE(e750_pin_config));
140 clk_add_alias("CLK_CK3P6MI", &e750_tc6393xb_device.dev, 192 clk_add_alias("CLK_CK3P6MI", &e750_tc6393xb_device.dev,
141 "GPIO11_CLK", NULL), 193 "GPIO11_CLK", NULL),
142 eseries_get_tmio_gpios(); 194 eseries_get_tmio_gpios();