diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-01-08 17:01:49 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-01-08 17:01:49 -0500 |
commit | 97b5fe8e28d78779e35ac283bacb9eceffd5b4a3 (patch) | |
tree | 61f14f70b1de0ef0e48e9504d083754a82b71dca /arch/arm/mach-pxa/e750.c | |
parent | be680c716c465a173c1c783185e3d023899742fc (diff) | |
parent | bdbb861f75c2bd94480316d3318dff280f4f5ce4 (diff) |
Merge branch 'devel'
Diffstat (limited to 'arch/arm/mach-pxa/e750.c')
-rw-r--r-- | arch/arm/mach-pxa/e750.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e750.c b/arch/arm/mach-pxa/e750.c index 9a26f16c7866..be1ab8edb973 100644 --- a/arch/arm/mach-pxa/e750.c +++ b/arch/arm/mach-pxa/e750.c | |||
@@ -106,6 +106,57 @@ static struct platform_device e750_fb_device = { | |||
106 | .resource = e750_fb_resources, | 106 | .resource = e750_fb_resources, |
107 | }; | 107 | }; |
108 | 108 | ||
109 | /* -------------------- e750 MFP parameters -------------------- */ | ||
110 | |||
111 | static unsigned long e750_pin_config[] __initdata = { | ||
112 | /* Chip selects */ | ||
113 | GPIO15_nCS_1, /* CS1 - Flash */ | ||
114 | GPIO79_nCS_3, /* CS3 - IMAGEON */ | ||
115 | GPIO80_nCS_4, /* CS4 - TMIO */ | ||
116 | |||
117 | /* Clocks */ | ||
118 | GPIO11_3_6MHz, | ||
119 | |||
120 | /* BTUART */ | ||
121 | GPIO42_BTUART_RXD, | ||
122 | GPIO43_BTUART_TXD, | ||
123 | GPIO44_BTUART_CTS, | ||
124 | |||
125 | /* TMIO controller */ | ||
126 | GPIO19_GPIO, /* t7l66xb #PCLR */ | ||
127 | GPIO45_GPIO, /* t7l66xb #SUSPEND (NOT BTUART!) */ | ||
128 | |||
129 | /* UDC */ | ||
130 | GPIO13_GPIO, | ||
131 | GPIO3_GPIO, | ||
132 | |||
133 | /* IrDA */ | ||
134 | GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, | ||
135 | |||
136 | /* PC Card */ | ||
137 | GPIO8_GPIO, /* CD0 */ | ||
138 | GPIO44_GPIO, /* CD1 */ | ||
139 | GPIO11_GPIO, /* IRQ0 */ | ||
140 | GPIO6_GPIO, /* IRQ1 */ | ||
141 | GPIO27_GPIO, /* RST0 */ | ||
142 | GPIO24_GPIO, /* RST1 */ | ||
143 | GPIO20_GPIO, /* PWR0 */ | ||
144 | GPIO23_GPIO, /* PWR1 */ | ||
145 | GPIO48_nPOE, | ||
146 | GPIO49_nPWE, | ||
147 | GPIO50_nPIOR, | ||
148 | GPIO51_nPIOW, | ||
149 | GPIO52_nPCE_1, | ||
150 | GPIO53_nPCE_2, | ||
151 | GPIO54_nPSKTSEL, | ||
152 | GPIO55_nPREG, | ||
153 | GPIO56_nPWAIT, | ||
154 | GPIO57_nIOIS16, | ||
155 | |||
156 | /* wakeup */ | ||
157 | GPIO0_GPIO | WAKEUP_ON_EDGE_RISE, | ||
158 | }; | ||
159 | |||
109 | /* ----------------- e750 tc6393xb parameters ------------------ */ | 160 | /* ----------------- e750 tc6393xb parameters ------------------ */ |
110 | 161 | ||
111 | static struct tc6393xb_platform_data e750_tc6393xb_info = { | 162 | static struct tc6393xb_platform_data e750_tc6393xb_info = { |
@@ -138,6 +189,7 @@ static struct platform_device *devices[] __initdata = { | |||
138 | 189 | ||
139 | static void __init e750_init(void) | 190 | static void __init e750_init(void) |
140 | { | 191 | { |
192 | pxa2xx_mfp_config(ARRAY_AND_SIZE(e750_pin_config)); | ||
141 | clk_add_alias("CLK_CK3P6MI", &e750_tc6393xb_device.dev, | 193 | clk_add_alias("CLK_CK3P6MI", &e750_tc6393xb_device.dev, |
142 | "GPIO11_CLK", NULL), | 194 | "GPIO11_CLK", NULL), |
143 | eseries_get_tmio_gpios(); | 195 | eseries_get_tmio_gpios(); |