12 #include <linux/module.h>
13 #include <linux/kernel.h>
22 #include <mach/hardware.h>
25 #include <mach/reset.h>
33 static struct mfp_addr_map pxa95x_mfp_addr_map[]
__initdata = {
35 MFP_ADDR(
GPIO0, 0x02e0),
36 MFP_ADDR(
GPIO1, 0x02dc),
37 MFP_ADDR(
GPIO2, 0x02e8),
38 MFP_ADDR(
GPIO3, 0x02d8),
39 MFP_ADDR(
GPIO4, 0x02e4),
40 MFP_ADDR(
GPIO5, 0x02ec),
41 MFP_ADDR(
GPIO6, 0x02f8),
42 MFP_ADDR(
GPIO7, 0x02fc),
43 MFP_ADDR(
GPIO8, 0x0300),
44 MFP_ADDR(
GPIO9, 0x02d4),
148 MFP_ADDR(GPIO170, 0x0550),
149 MFP_ADDR(GPIO171, 0x0554),
150 MFP_ADDR(GPIO172, 0x0558),
151 MFP_ADDR(GPIO173, 0x055c),
153 MFP_ADDR(nXCVREN, 0x0204),
154 MFP_ADDR(DF_CLE_nOE, 0x020c),
155 MFP_ADDR(DF_nADV1_ALE, 0x0218),
156 MFP_ADDR(DF_SCLK_E, 0x0214),
157 MFP_ADDR(DF_SCLK_S, 0x0210),
158 MFP_ADDR(nBE0, 0x021c),
159 MFP_ADDR(nBE1, 0x0220),
160 MFP_ADDR(DF_nADV2_ALE, 0x0224),
161 MFP_ADDR(DF_INT_RnB, 0x0228),
162 MFP_ADDR(DF_nCS0, 0x022c),
163 MFP_ADDR(DF_nCS1, 0x0230),
164 MFP_ADDR(nLUA, 0x0254),
165 MFP_ADDR(nLLA, 0x0258),
166 MFP_ADDR(DF_nWE, 0x0234),
167 MFP_ADDR(DF_nRE_nOE, 0x0238),
168 MFP_ADDR(DF_ADDR0, 0x024c),
169 MFP_ADDR(DF_ADDR1, 0x0250),
170 MFP_ADDR(DF_ADDR2, 0x025c),
171 MFP_ADDR(DF_ADDR3, 0x0260),
172 MFP_ADDR(DF_IO0, 0x023c),
173 MFP_ADDR(DF_IO1, 0x0240),
174 MFP_ADDR(DF_IO2, 0x0244),
175 MFP_ADDR(DF_IO3, 0x0248),
176 MFP_ADDR(DF_IO4, 0x0264),
177 MFP_ADDR(DF_IO5, 0x0268),
178 MFP_ADDR(DF_IO6, 0x026c),
179 MFP_ADDR(DF_IO7, 0x0270),
180 MFP_ADDR(DF_IO8, 0x0274),
181 MFP_ADDR(DF_IO9, 0x0278),
182 MFP_ADDR(DF_IO10, 0x027c),
183 MFP_ADDR(DF_IO11, 0x0280),
184 MFP_ADDR(DF_IO12, 0x0284),
185 MFP_ADDR(DF_IO13, 0x0288),
186 MFP_ADDR(DF_IO14, 0x028c),
187 MFP_ADDR(DF_IO15, 0x0290),
189 MFP_ADDR(GSIM_UIO, 0x0314),
190 MFP_ADDR(GSIM_UCLK, 0x0318),
191 MFP_ADDR(GSIM_UDET, 0x031c),
192 MFP_ADDR(GSIM_nURST, 0x0320),
196 MFP_ADDR(RDY, 0x0200),
203 static DEFINE_PXA3_CKEN(pxa95x_ffuart,
FFUART, 14857000, 1);
204 static DEFINE_PXA3_CKEN(pxa95x_btuart,
BTUART, 14857000, 1);
205 static DEFINE_PXA3_CKEN(pxa95x_stuart,
STUART, 14857000, 1);
206 static DEFINE_PXA3_CKEN(pxa95x_i2c,
I2C, 32842000, 0);
207 static DEFINE_PXA3_CKEN(pxa95x_keypad, KEYPAD, 32768, 0);
208 static DEFINE_PXA3_CKEN(pxa95x_ssp1,
SSP1, 13000000, 0);
209 static DEFINE_PXA3_CKEN(pxa95x_ssp2,
SSP2, 13000000, 0);
210 static DEFINE_PXA3_CKEN(pxa95x_ssp3,
SSP3, 13000000, 0);
211 static DEFINE_PXA3_CKEN(pxa95x_ssp4, SSP4, 13000000, 0);
212 static DEFINE_PXA3_CKEN(pxa95x_pwm0,
PWM0, 13000000, 0);
213 static DEFINE_PXA3_CKEN(pxa95x_pwm1,
PWM1, 13000000, 0);
214 static DEFINE_PXA3_CKEN(pxa95x_gpio,
GPIO, 13000000, 0);
224 INIT_CLKREG(&clk_pxa95x_stuart,
"pxa2xx-ir",
"UARTCLK"),
263 static int __init pxa95x_init(
void)