aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-01 14:12:20 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-01-01 14:12:20 -0500
commitbdbb861f75c2bd94480316d3318dff280f4f5ce4 (patch)
tree111d7b7f6a61b5c91256a3c495af2bfd3850edd8 /arch
parent613e09b46a86d454fb53f7e9eac5e240f1e3bacf (diff)
parente1c4a2d7b381f8f6212888a15a69f8fce8d0a08f (diff)
Merge branch 'for_rmk' of git://git.mnementh.co.uk/linux-2.6-im into devel
Diffstat (limited to 'arch')
-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();