1
2
3
4
5
6
7
8
9#include <linux/kernel.h>
10#include <linux/gpio.h>
11#include <cpu/sh7269.h>
12
13#include "sh_pfc.h"
14
15enum {
16 PINMUX_RESERVED = 0,
17
18 PINMUX_DATA_BEGIN,
19
20 PA1_DATA, PA0_DATA,
21
22 PB22_DATA, PB21_DATA, PB20_DATA,
23 PB19_DATA, PB18_DATA, PB17_DATA, PB16_DATA,
24 PB15_DATA, PB14_DATA, PB13_DATA, PB12_DATA,
25 PB11_DATA, PB10_DATA, PB9_DATA, PB8_DATA,
26 PB7_DATA, PB6_DATA, PB5_DATA, PB4_DATA,
27 PB3_DATA, PB2_DATA, PB1_DATA,
28
29 PC8_DATA,
30 PC7_DATA, PC6_DATA, PC5_DATA, PC4_DATA,
31 PC3_DATA, PC2_DATA, PC1_DATA, PC0_DATA,
32
33 PD15_DATA, PD14_DATA, PD13_DATA, PD12_DATA,
34 PD11_DATA, PD10_DATA, PD9_DATA, PD8_DATA,
35 PD7_DATA, PD6_DATA, PD5_DATA, PD4_DATA,
36 PD3_DATA, PD2_DATA, PD1_DATA, PD0_DATA,
37
38 PE7_DATA, PE6_DATA, PE5_DATA, PE4_DATA,
39 PE3_DATA, PE2_DATA, PE1_DATA, PE0_DATA,
40
41 PF23_DATA, PF22_DATA, PF21_DATA, PF20_DATA,
42 PF19_DATA, PF18_DATA, PF17_DATA, PF16_DATA,
43 PF15_DATA, PF14_DATA, PF13_DATA, PF12_DATA,
44 PF11_DATA, PF10_DATA, PF9_DATA, PF8_DATA,
45 PF7_DATA, PF6_DATA, PF5_DATA, PF4_DATA,
46 PF3_DATA, PF2_DATA, PF1_DATA, PF0_DATA,
47
48 PG27_DATA, PG26_DATA, PG25_DATA, PG24_DATA,
49 PG23_DATA, PG22_DATA, PG21_DATA, PG20_DATA,
50 PG19_DATA, PG18_DATA, PG17_DATA, PG16_DATA,
51 PG15_DATA, PG14_DATA, PG13_DATA, PG12_DATA,
52 PG11_DATA, PG10_DATA, PG9_DATA, PG8_DATA,
53 PG7_DATA, PG6_DATA, PG5_DATA, PG4_DATA,
54 PG3_DATA, PG2_DATA, PG1_DATA, PG0_DATA,
55
56
57
58 PH7_DATA, PH6_DATA, PH5_DATA, PH4_DATA,
59 PH3_DATA, PH2_DATA, PH1_DATA, PH0_DATA,
60
61
62 PJ31_DATA, PJ30_DATA, PJ29_DATA, PJ28_DATA,
63 PJ27_DATA, PJ26_DATA, PJ25_DATA, PJ24_DATA,
64 PJ23_DATA, PJ22_DATA, PJ21_DATA, PJ20_DATA,
65 PJ19_DATA, PJ18_DATA, PJ17_DATA, PJ16_DATA,
66 PJ15_DATA, PJ14_DATA, PJ13_DATA, PJ12_DATA,
67 PJ11_DATA, PJ10_DATA, PJ9_DATA, PJ8_DATA,
68 PJ7_DATA, PJ6_DATA, PJ5_DATA, PJ4_DATA,
69 PJ3_DATA, PJ2_DATA, PJ1_DATA, PJ0_DATA,
70 PINMUX_DATA_END,
71
72 PINMUX_INPUT_BEGIN,
73 FORCE_IN,
74
75 PA1_IN, PA0_IN,
76
77 PB22_IN, PB21_IN, PB20_IN,
78 PB19_IN, PB18_IN, PB17_IN, PB16_IN,
79 PB15_IN, PB14_IN, PB13_IN, PB12_IN,
80 PB11_IN, PB10_IN, PB9_IN, PB8_IN,
81 PB7_IN, PB6_IN, PB5_IN, PB4_IN,
82 PB3_IN, PB2_IN, PB1_IN,
83
84 PC8_IN,
85 PC7_IN, PC6_IN, PC5_IN, PC4_IN,
86 PC3_IN, PC2_IN, PC1_IN, PC0_IN,
87
88 PD15_IN, PD14_IN, PD13_IN, PD12_IN,
89 PD11_IN, PD10_IN, PD9_IN, PD8_IN,
90 PD7_IN, PD6_IN, PD5_IN, PD4_IN,
91 PD3_IN, PD2_IN, PD1_IN, PD0_IN,
92
93 PE7_IN, PE6_IN, PE5_IN, PE4_IN,
94 PE3_IN, PE2_IN, PE1_IN, PE0_IN,
95
96 PF23_IN, PF22_IN, PF21_IN, PF20_IN,
97 PF19_IN, PF18_IN, PF17_IN, PF16_IN,
98 PF15_IN, PF14_IN, PF13_IN, PF12_IN,
99 PF11_IN, PF10_IN, PF9_IN, PF8_IN,
100 PF7_IN, PF6_IN, PF5_IN, PF4_IN,
101 PF3_IN, PF2_IN, PF1_IN, PF0_IN,
102
103 PG27_IN, PG26_IN, PG25_IN, PG24_IN,
104 PG23_IN, PG22_IN, PG21_IN, PG20_IN,
105 PG19_IN, PG18_IN, PG17_IN, PG16_IN,
106 PG15_IN, PG14_IN, PG13_IN, PG12_IN,
107 PG11_IN, PG10_IN, PG9_IN, PG8_IN,
108 PG7_IN, PG6_IN, PG5_IN, PG4_IN,
109 PG3_IN, PG2_IN, PG1_IN, PG0_IN,
110
111
112
113 PJ31_IN, PJ30_IN, PJ29_IN, PJ28_IN,
114 PJ27_IN, PJ26_IN, PJ25_IN, PJ24_IN,
115 PJ23_IN, PJ22_IN, PJ21_IN, PJ20_IN,
116 PJ19_IN, PJ18_IN, PJ17_IN, PJ16_IN,
117 PJ15_IN, PJ14_IN, PJ13_IN, PJ12_IN,
118 PJ11_IN, PJ10_IN, PJ9_IN, PJ8_IN,
119 PJ7_IN, PJ6_IN, PJ5_IN, PJ4_IN,
120 PJ3_IN, PJ2_IN, PJ1_IN, PJ0_IN,
121 PINMUX_INPUT_END,
122
123 PINMUX_OUTPUT_BEGIN,
124 FORCE_OUT,
125
126 PA1_OUT, PA0_OUT,
127
128 PB22_OUT, PB21_OUT, PB20_OUT,
129 PB19_OUT, PB18_OUT, PB17_OUT, PB16_OUT,
130 PB15_OUT, PB14_OUT, PB13_OUT, PB12_OUT,
131 PB11_OUT, PB10_OUT, PB9_OUT, PB8_OUT,
132 PB7_OUT, PB6_OUT, PB5_OUT, PB4_OUT,
133 PB3_OUT, PB2_OUT, PB1_OUT,
134
135 PC8_OUT,
136 PC7_OUT, PC6_OUT, PC5_OUT, PC4_OUT,
137 PC3_OUT, PC2_OUT, PC1_OUT, PC0_OUT,
138
139 PD15_OUT, PD14_OUT, PD13_OUT, PD12_OUT,
140 PD11_OUT, PD10_OUT, PD9_OUT, PD8_OUT,
141 PD7_OUT, PD6_OUT, PD5_OUT, PD4_OUT,
142 PD3_OUT, PD2_OUT, PD1_OUT, PD0_OUT,
143
144 PE7_OUT, PE6_OUT, PE5_OUT, PE4_OUT,
145 PE3_OUT, PE2_OUT, PE1_OUT, PE0_OUT,
146
147 PF23_OUT, PF22_OUT, PF21_OUT, PF20_OUT,
148 PF19_OUT, PF18_OUT, PF17_OUT, PF16_OUT,
149 PF15_OUT, PF14_OUT, PF13_OUT, PF12_OUT,
150 PF11_OUT, PF10_OUT, PF9_OUT, PF8_OUT,
151 PF7_OUT, PF6_OUT, PF5_OUT, PF4_OUT,
152 PF3_OUT, PF2_OUT, PF1_OUT, PF0_OUT,
153
154 PG27_OUT, PG26_OUT, PG25_OUT, PG24_OUT,
155 PG23_OUT, PG22_OUT, PG21_OUT, PG20_OUT,
156 PG19_OUT, PG18_OUT, PG17_OUT, PG16_OUT,
157 PG15_OUT, PG14_OUT, PG13_OUT, PG12_OUT,
158 PG11_OUT, PG10_OUT, PG9_OUT, PG8_OUT,
159 PG7_OUT, PG6_OUT, PG5_OUT, PG4_OUT,
160 PG3_OUT, PG2_OUT, PG1_OUT, PG0_OUT,
161
162
163
164 PJ31_OUT, PJ30_OUT, PJ29_OUT, PJ28_OUT,
165 PJ27_OUT, PJ26_OUT, PJ25_OUT, PJ24_OUT,
166 PJ23_OUT, PJ22_OUT, PJ21_OUT, PJ20_OUT,
167 PJ19_OUT, PJ18_OUT, PJ17_OUT, PJ16_OUT,
168 PJ15_OUT, PJ14_OUT, PJ13_OUT, PJ12_OUT,
169 PJ11_OUT, PJ10_OUT, PJ9_OUT, PJ8_OUT,
170 PJ7_OUT, PJ6_OUT, PJ5_OUT, PJ4_OUT,
171 PJ3_OUT, PJ2_OUT, PJ1_OUT, PJ0_OUT,
172 PINMUX_OUTPUT_END,
173
174 PINMUX_FUNCTION_BEGIN,
175
176 PA1_IOR_IN, PA1_IOR_OUT,
177 PA0_IOR_IN, PA0_IOR_OUT,
178
179
180 PB22_IOR_IN, PB22_IOR_OUT,
181 PB21_IOR_IN, PB21_IOR_OUT,
182 PB20_IOR_IN, PB20_IOR_OUT,
183 PB19_IOR_IN, PB19_IOR_OUT,
184 PB18_IOR_IN, PB18_IOR_OUT,
185 PB17_IOR_IN, PB17_IOR_OUT,
186 PB16_IOR_IN, PB16_IOR_OUT,
187
188 PB15_IOR_IN, PB15_IOR_OUT,
189 PB14_IOR_IN, PB14_IOR_OUT,
190 PB13_IOR_IN, PB13_IOR_OUT,
191 PB12_IOR_IN, PB12_IOR_OUT,
192 PB11_IOR_IN, PB11_IOR_OUT,
193 PB10_IOR_IN, PB10_IOR_OUT,
194 PB9_IOR_IN, PB9_IOR_OUT,
195 PB8_IOR_IN, PB8_IOR_OUT,
196
197 PB7_IOR_IN, PB7_IOR_OUT,
198 PB6_IOR_IN, PB6_IOR_OUT,
199 PB5_IOR_IN, PB5_IOR_OUT,
200 PB4_IOR_IN, PB4_IOR_OUT,
201 PB3_IOR_IN, PB3_IOR_OUT,
202 PB2_IOR_IN, PB2_IOR_OUT,
203 PB1_IOR_IN, PB1_IOR_OUT,
204 PB0_IOR_IN, PB0_IOR_OUT,
205
206 PB22MD_000, PB22MD_001, PB22MD_010, PB22MD_011,
207 PB22MD_100, PB22MD_101, PB22MD_110, PB22MD_111,
208 PB21MD_00, PB21MD_01, PB21MD_10, PB21MD_11,
209 PB20MD_000, PB20MD_001, PB20MD_010, PB20MD_011,
210 PB20MD_100, PB20MD_101, PB20MD_110, PB20MD_111,
211 PB19MD_000, PB19MD_001, PB19MD_010, PB19MD_011,
212 PB19MD_100, PB19MD_101, PB19MD_110, PB19MD_111,
213 PB18MD_000, PB18MD_001, PB18MD_010, PB18MD_011,
214 PB18MD_100, PB18MD_101, PB18MD_110, PB18MD_111,
215 PB17MD_000, PB17MD_001, PB17MD_010, PB17MD_011,
216 PB17MD_100, PB17MD_101, PB17MD_110, PB17MD_111,
217 PB16MD_000, PB16MD_001, PB16MD_010, PB16MD_011,
218 PB16MD_100, PB16MD_101, PB16MD_110, PB16MD_111,
219 PB15MD_000, PB15MD_001, PB15MD_010, PB15MD_011,
220 PB15MD_100, PB15MD_101, PB15MD_110, PB15MD_111,
221 PB14MD_000, PB14MD_001, PB14MD_010, PB14MD_011,
222 PB14MD_100, PB14MD_101, PB14MD_110, PB14MD_111,
223 PB13MD_000, PB13MD_001, PB13MD_010, PB13MD_011,
224 PB13MD_100, PB13MD_101, PB13MD_110, PB13MD_111,
225 PB12MD_00, PB12MD_01, PB12MD_10, PB12MD_11,
226
227 PB11MD_00, PB11MD_01, PB11MD_10, PB11MD_11,
228 PB10MD_00, PB10MD_01, PB10MD_10, PB10MD_11,
229 PB9MD_00, PB9MD_01, PB9MD_10, PB9MD_11,
230 PB8MD_00, PB8MD_01, PB8MD_10, PB8MD_11,
231
232 PB7MD_00, PB7MD_01, PB7MD_10, PB7MD_11,
233 PB6MD_00, PB6MD_01, PB6MD_10, PB6MD_11,
234 PB5MD_00, PB5MD_01, PB5MD_10, PB5MD_11,
235 PB4MD_00, PB4MD_01, PB4MD_10, PB4MD_11,
236
237 PB3MD_00, PB3MD_01, PB3MD_10, PB3MD_11,
238 PB2MD_00, PB2MD_01, PB2MD_10, PB2MD_11,
239 PB1MD_00, PB1MD_01, PB1MD_10, PB1MD_11,
240
241
242 PC8_IOR_IN, PC8_IOR_OUT,
243 PC7_IOR_IN, PC7_IOR_OUT,
244 PC6_IOR_IN, PC6_IOR_OUT,
245 PC5_IOR_IN, PC5_IOR_OUT,
246 PC4_IOR_IN, PC4_IOR_OUT,
247 PC3_IOR_IN, PC3_IOR_OUT,
248 PC2_IOR_IN, PC2_IOR_OUT,
249 PC1_IOR_IN, PC1_IOR_OUT,
250 PC0_IOR_IN, PC0_IOR_OUT,
251
252 PC8MD_000, PC8MD_001, PC8MD_010, PC8MD_011,
253 PC8MD_100, PC8MD_101, PC8MD_110, PC8MD_111,
254 PC7MD_000, PC7MD_001, PC7MD_010, PC7MD_011,
255 PC7MD_100, PC7MD_101, PC7MD_110, PC7MD_111,
256 PC6MD_000, PC6MD_001, PC6MD_010, PC6MD_011,
257 PC6MD_100, PC6MD_101, PC6MD_110, PC6MD_111,
258 PC5MD_000, PC5MD_001, PC5MD_010, PC5MD_011,
259 PC5MD_100, PC5MD_101, PC5MD_110, PC5MD_111,
260 PC4MD_00, PC4MD_01, PC4MD_10, PC4MD_11,
261
262 PC3MD_00, PC3MD_01, PC3MD_10, PC3MD_11,
263 PC2MD_00, PC2MD_01, PC2MD_10, PC2MD_11,
264 PC1MD_0, PC1MD_1,
265 PC0MD_0, PC0MD_1,
266
267
268 PD15_IOR_IN, PD15_IOR_OUT,
269 PD14_IOR_IN, PD14_IOR_OUT,
270 PD13_IOR_IN, PD13_IOR_OUT,
271 PD12_IOR_IN, PD12_IOR_OUT,
272 PD11_IOR_IN, PD11_IOR_OUT,
273 PD10_IOR_IN, PD10_IOR_OUT,
274 PD9_IOR_IN, PD9_IOR_OUT,
275 PD8_IOR_IN, PD8_IOR_OUT,
276 PD7_IOR_IN, PD7_IOR_OUT,
277 PD6_IOR_IN, PD6_IOR_OUT,
278 PD5_IOR_IN, PD5_IOR_OUT,
279 PD4_IOR_IN, PD4_IOR_OUT,
280 PD3_IOR_IN, PD3_IOR_OUT,
281 PD2_IOR_IN, PD2_IOR_OUT,
282 PD1_IOR_IN, PD1_IOR_OUT,
283 PD0_IOR_IN, PD0_IOR_OUT,
284
285 PD15MD_00, PD15MD_01, PD15MD_10, PD15MD_11,
286 PD14MD_00, PD14MD_01, PD14MD_10, PD14MD_11,
287 PD13MD_00, PD13MD_01, PD13MD_10, PD13MD_11,
288 PD12MD_00, PD12MD_01, PD12MD_10, PD12MD_11,
289
290 PD11MD_00, PD11MD_01, PD11MD_10, PD11MD_11,
291 PD10MD_00, PD10MD_01, PD10MD_10, PD10MD_11,
292 PD9MD_00, PD9MD_01, PD9MD_10, PD9MD_11,
293 PD8MD_00, PD8MD_01, PD8MD_10, PD8MD_11,
294
295 PD7MD_00, PD7MD_01, PD7MD_10, PD7MD_11,
296 PD6MD_00, PD6MD_01, PD6MD_10, PD6MD_11,
297 PD5MD_00, PD5MD_01, PD5MD_10, PD5MD_11,
298 PD4MD_00, PD4MD_01, PD4MD_10, PD4MD_11,
299
300 PD3MD_00, PD3MD_01, PD3MD_10, PD3MD_11,
301 PD2MD_00, PD2MD_01, PD2MD_10, PD2MD_11,
302 PD1MD_00, PD1MD_01, PD1MD_10, PD1MD_11,
303 PD0MD_00, PD0MD_01, PD0MD_10, PD0MD_11,
304
305
306 PE7_IOR_IN, PE7_IOR_OUT,
307 PE6_IOR_IN, PE6_IOR_OUT,
308 PE5_IOR_IN, PE5_IOR_OUT,
309 PE4_IOR_IN, PE4_IOR_OUT,
310 PE3_IOR_IN, PE3_IOR_OUT,
311 PE2_IOR_IN, PE2_IOR_OUT,
312 PE1_IOR_IN, PE1_IOR_OUT,
313 PE0_IOR_IN, PE0_IOR_OUT,
314
315 PE7MD_00, PE7MD_01, PE7MD_10, PE7MD_11,
316 PE6MD_00, PE6MD_01, PE6MD_10, PE6MD_11,
317 PE5MD_00, PE5MD_01, PE5MD_10, PE5MD_11,
318 PE4MD_00, PE4MD_01, PE4MD_10, PE4MD_11,
319
320 PE3MD_000, PE3MD_001, PE3MD_010, PE3MD_011,
321 PE3MD_100, PE3MD_101, PE3MD_110, PE3MD_111,
322 PE2MD_000, PE2MD_001, PE2MD_010, PE2MD_011,
323 PE2MD_100, PE2MD_101, PE2MD_110, PE2MD_111,
324 PE1MD_000, PE1MD_001, PE1MD_010, PE1MD_011,
325 PE1MD_100, PE1MD_101, PE1MD_110, PE1MD_111,
326 PE0MD_00, PE0MD_01, PE0MD_10, PE0MD_11,
327
328
329 PF23_IOR_IN, PF23_IOR_OUT,
330 PF22_IOR_IN, PF22_IOR_OUT,
331 PF21_IOR_IN, PF21_IOR_OUT,
332 PF20_IOR_IN, PF20_IOR_OUT,
333 PF19_IOR_IN, PF19_IOR_OUT,
334 PF18_IOR_IN, PF18_IOR_OUT,
335 PF17_IOR_IN, PF17_IOR_OUT,
336 PF16_IOR_IN, PF16_IOR_OUT,
337 PF15_IOR_IN, PF15_IOR_OUT,
338 PF14_IOR_IN, PF14_IOR_OUT,
339 PF13_IOR_IN, PF13_IOR_OUT,
340 PF12_IOR_IN, PF12_IOR_OUT,
341 PF11_IOR_IN, PF11_IOR_OUT,
342 PF10_IOR_IN, PF10_IOR_OUT,
343 PF9_IOR_IN, PF9_IOR_OUT,
344 PF8_IOR_IN, PF8_IOR_OUT,
345 PF7_IOR_IN, PF7_IOR_OUT,
346 PF6_IOR_IN, PF6_IOR_OUT,
347 PF5_IOR_IN, PF5_IOR_OUT,
348 PF4_IOR_IN, PF4_IOR_OUT,
349 PF3_IOR_IN, PF3_IOR_OUT,
350 PF2_IOR_IN, PF2_IOR_OUT,
351 PF1_IOR_IN, PF1_IOR_OUT,
352 PF0_IOR_IN, PF0_IOR_OUT,
353
354 PF23MD_000, PF23MD_001, PF23MD_010, PF23MD_011,
355 PF23MD_100, PF23MD_101, PF23MD_110, PF23MD_111,
356 PF22MD_000, PF22MD_001, PF22MD_010, PF22MD_011,
357 PF22MD_100, PF22MD_101, PF22MD_110, PF22MD_111,
358 PF21MD_000, PF21MD_001, PF21MD_010, PF21MD_011,
359 PF21MD_100, PF21MD_101, PF21MD_110, PF21MD_111,
360 PF20MD_000, PF20MD_001, PF20MD_010, PF20MD_011,
361 PF20MD_100, PF20MD_101, PF20MD_110, PF20MD_111,
362
363 PF19MD_000, PF19MD_001, PF19MD_010, PF19MD_011,
364 PF19MD_100, PF19MD_101, PF19MD_110, PF19MD_111,
365 PF18MD_000, PF18MD_001, PF18MD_010, PF18MD_011,
366 PF18MD_100, PF18MD_101, PF18MD_110, PF18MD_111,
367 PF17MD_000, PF17MD_001, PF17MD_010, PF17MD_011,
368 PF17MD_100, PF17MD_101, PF17MD_110, PF17MD_111,
369 PF16MD_000, PF16MD_001, PF16MD_010, PF16MD_011,
370 PF16MD_100, PF16MD_101, PF16MD_110, PF16MD_111,
371
372 PF15MD_000, PF15MD_001, PF15MD_010, PF15MD_011,
373 PF15MD_100, PF15MD_101, PF15MD_110, PF15MD_111,
374 PF14MD_000, PF14MD_001, PF14MD_010, PF14MD_011,
375 PF14MD_100, PF14MD_101, PF14MD_110, PF14MD_111,
376 PF13MD_000, PF13MD_001, PF13MD_010, PF13MD_011,
377 PF13MD_100, PF13MD_101, PF13MD_110, PF13MD_111,
378 PF12MD_000, PF12MD_001, PF12MD_010, PF12MD_011,
379 PF12MD_100, PF12MD_101, PF12MD_110, PF12MD_111,
380
381 PF11MD_000, PF11MD_001, PF11MD_010, PF11MD_011,
382 PF11MD_100, PF11MD_101, PF11MD_110, PF11MD_111,
383 PF10MD_000, PF10MD_001, PF10MD_010, PF10MD_011,
384 PF10MD_100, PF10MD_101, PF10MD_110, PF10MD_111,
385 PF9MD_000, PF9MD_001, PF9MD_010, PF9MD_011,
386 PF9MD_100, PF9MD_101, PF9MD_110, PF9MD_111,
387 PF8MD_000, PF8MD_001, PF8MD_010, PF8MD_011,
388 PF8MD_100, PF8MD_101, PF8MD_110, PF8MD_111,
389
390 PF7MD_000, PF7MD_001, PF7MD_010, PF7MD_011,
391 PF7MD_100, PF7MD_101, PF7MD_110, PF7MD_111,
392 PF6MD_000, PF6MD_001, PF6MD_010, PF6MD_011,
393 PF6MD_100, PF6MD_101, PF6MD_110, PF6MD_111,
394 PF5MD_000, PF5MD_001, PF5MD_010, PF5MD_011,
395 PF5MD_100, PF5MD_101, PF5MD_110, PF5MD_111,
396 PF4MD_000, PF4MD_001, PF4MD_010, PF4MD_011,
397 PF4MD_100, PF4MD_101, PF4MD_110, PF4MD_111,
398
399 PF3MD_000, PF3MD_001, PF3MD_010, PF3MD_011,
400 PF3MD_100, PF3MD_101, PF3MD_110, PF3MD_111,
401 PF2MD_000, PF2MD_001, PF2MD_010, PF2MD_011,
402 PF2MD_100, PF2MD_101, PF2MD_110, PF2MD_111,
403 PF1MD_000, PF1MD_001, PF1MD_010, PF1MD_011,
404 PF1MD_100, PF1MD_101, PF1MD_110, PF1MD_111,
405 PF0MD_000, PF0MD_001, PF0MD_010, PF0MD_011,
406 PF0MD_100, PF0MD_101, PF0MD_110, PF0MD_111,
407
408
409 PG27_IOR_IN, PG27_IOR_OUT,
410 PG26_IOR_IN, PG26_IOR_OUT,
411 PG25_IOR_IN, PG25_IOR_OUT,
412 PG24_IOR_IN, PG24_IOR_OUT,
413 PG23_IOR_IN, PG23_IOR_OUT,
414 PG22_IOR_IN, PG22_IOR_OUT,
415 PG21_IOR_IN, PG21_IOR_OUT,
416 PG20_IOR_IN, PG20_IOR_OUT,
417 PG19_IOR_IN, PG19_IOR_OUT,
418 PG18_IOR_IN, PG18_IOR_OUT,
419 PG17_IOR_IN, PG17_IOR_OUT,
420 PG16_IOR_IN, PG16_IOR_OUT,
421 PG15_IOR_IN, PG15_IOR_OUT,
422 PG14_IOR_IN, PG14_IOR_OUT,
423 PG13_IOR_IN, PG13_IOR_OUT,
424 PG12_IOR_IN, PG12_IOR_OUT,
425 PG11_IOR_IN, PG11_IOR_OUT,
426 PG10_IOR_IN, PG10_IOR_OUT,
427 PG9_IOR_IN, PG9_IOR_OUT,
428 PG8_IOR_IN, PG8_IOR_OUT,
429 PG7_IOR_IN, PG7_IOR_OUT,
430 PG6_IOR_IN, PG6_IOR_OUT,
431 PG5_IOR_IN, PG5_IOR_OUT,
432 PG4_IOR_IN, PG4_IOR_OUT,
433 PG3_IOR_IN, PG3_IOR_OUT,
434 PG2_IOR_IN, PG2_IOR_OUT,
435 PG1_IOR_IN, PG1_IOR_OUT,
436 PG0_IOR_IN, PG0_IOR_OUT,
437
438 PG27MD_00, PG27MD_01, PG27MD_10, PG27MD_11,
439 PG26MD_00, PG26MD_01, PG26MD_10, PG26MD_11,
440 PG25MD_00, PG25MD_01, PG25MD_10, PG25MD_11,
441 PG24MD_00, PG24MD_01, PG24MD_10, PG24MD_11,
442
443 PG23MD_000, PG23MD_001, PG23MD_010, PG23MD_011,
444 PG23MD_100, PG23MD_101, PG23MD_110, PG23MD_111,
445 PG22MD_000, PG22MD_001, PG22MD_010, PG22MD_011,
446 PG22MD_100, PG22MD_101, PG22MD_110, PG22MD_111,
447 PG21MD_000, PG21MD_001, PG21MD_010, PG21MD_011,
448 PG21MD_100, PG21MD_101, PG21MD_110, PG21MD_111,
449 PG20MD_000, PG20MD_001, PG20MD_010, PG20MD_011,
450 PG20MD_100, PG20MD_101, PG20MD_110, PG20MD_111,
451
452 PG19MD_000, PG19MD_001, PG19MD_010, PG19MD_011,
453 PG19MD_100, PG19MD_101, PG19MD_110, PG19MD_111,
454 PG18MD_000, PG18MD_001, PG18MD_010, PG18MD_011,
455 PG18MD_100, PG18MD_101, PG18MD_110, PG18MD_111,
456 PG17MD_00, PG17MD_01, PG17MD_10, PG17MD_11,
457 PG16MD_00, PG16MD_01, PG16MD_10, PG16MD_11,
458
459 PG15MD_00, PG15MD_01, PG15MD_10, PG15MD_11,
460 PG14MD_00, PG14MD_01, PG14MD_10, PG14MD_11,
461 PG13MD_00, PG13MD_01, PG13MD_10, PG13MD_11,
462 PG12MD_00, PG12MD_01, PG12MD_10, PG12MD_11,
463
464 PG11MD_000, PG11MD_001, PG11MD_010, PG11MD_011,
465 PG11MD_100, PG11MD_101, PG11MD_110, PG11MD_111,
466 PG10MD_000, PG10MD_001, PG10MD_010, PG10MD_011,
467 PG10MD_100, PG10MD_101, PG10MD_110, PG10MD_111,
468 PG9MD_000, PG9MD_001, PG9MD_010, PG9MD_011,
469 PG9MD_100, PG9MD_101, PG9MD_110, PG9MD_111,
470 PG8MD_000, PG8MD_001, PG8MD_010, PG8MD_011,
471 PG8MD_100, PG8MD_101, PG8MD_110, PG8MD_111,
472
473 PG7MD_000, PG7MD_001, PG7MD_010, PG7MD_011,
474 PG7MD_100, PG7MD_101, PG7MD_110, PG7MD_111,
475 PG6MD_000, PG6MD_001, PG6MD_010, PG6MD_011,
476 PG6MD_100, PG6MD_101, PG6MD_110, PG6MD_111,
477 PG5MD_000, PG5MD_001, PG5MD_010, PG5MD_011,
478 PG5MD_100, PG5MD_101, PG5MD_110, PG5MD_111,
479 PG4MD_000, PG4MD_001, PG4MD_010, PG4MD_011,
480 PG4MD_100, PG4MD_101, PG4MD_110, PG4MD_111,
481
482 PG3MD_000, PG3MD_001, PG3MD_010, PG3MD_011,
483 PG3MD_100, PG3MD_101, PG3MD_110, PG3MD_111,
484 PG2MD_000, PG2MD_001, PG2MD_010, PG2MD_011,
485 PG2MD_100, PG2MD_101, PG2MD_110, PG2MD_111,
486 PG1MD_000, PG1MD_001, PG1MD_010, PG1MD_011,
487 PG1MD_100, PG1MD_101, PG1MD_110, PG1MD_111,
488 PG0MD_000, PG0MD_001, PG0MD_010, PG0MD_011,
489 PG0MD_100, PG0MD_101, PG0MD_110, PG0MD_111,
490
491
492 PH7MD_00, PH7MD_01, PH7MD_10, PH7MD_11,
493 PH6MD_00, PH6MD_01, PH6MD_10, PH6MD_11,
494 PH5MD_00, PH5MD_01, PH5MD_10, PH5MD_11,
495 PH4MD_00, PH4MD_01, PH4MD_10, PH4MD_11,
496
497 PH3MD_00, PH3MD_01, PH3MD_10, PH3MD_11,
498 PH2MD_00, PH2MD_01, PH2MD_10, PH2MD_11,
499 PH1MD_00, PH1MD_01, PH1MD_10, PH1MD_11,
500 PH0MD_00, PH0MD_01, PH0MD_10, PH0MD_11,
501
502
503
504
505 PJ31_IOR_IN, PJ31_IOR_OUT,
506 PJ30_IOR_IN, PJ30_IOR_OUT,
507 PJ29_IOR_IN, PJ29_IOR_OUT,
508 PJ28_IOR_IN, PJ28_IOR_OUT,
509 PJ27_IOR_IN, PJ27_IOR_OUT,
510 PJ26_IOR_IN, PJ26_IOR_OUT,
511 PJ25_IOR_IN, PJ25_IOR_OUT,
512 PJ24_IOR_IN, PJ24_IOR_OUT,
513 PJ23_IOR_IN, PJ23_IOR_OUT,
514 PJ22_IOR_IN, PJ22_IOR_OUT,
515 PJ21_IOR_IN, PJ21_IOR_OUT,
516 PJ20_IOR_IN, PJ20_IOR_OUT,
517 PJ19_IOR_IN, PJ19_IOR_OUT,
518 PJ18_IOR_IN, PJ18_IOR_OUT,
519 PJ17_IOR_IN, PJ17_IOR_OUT,
520 PJ16_IOR_IN, PJ16_IOR_OUT,
521 PJ15_IOR_IN, PJ15_IOR_OUT,
522 PJ14_IOR_IN, PJ14_IOR_OUT,
523 PJ13_IOR_IN, PJ13_IOR_OUT,
524 PJ12_IOR_IN, PJ12_IOR_OUT,
525 PJ11_IOR_IN, PJ11_IOR_OUT,
526 PJ10_IOR_IN, PJ10_IOR_OUT,
527 PJ9_IOR_IN, PJ9_IOR_OUT,
528 PJ8_IOR_IN, PJ8_IOR_OUT,
529 PJ7_IOR_IN, PJ7_IOR_OUT,
530 PJ6_IOR_IN, PJ6_IOR_OUT,
531 PJ5_IOR_IN, PJ5_IOR_OUT,
532 PJ4_IOR_IN, PJ4_IOR_OUT,
533 PJ3_IOR_IN, PJ3_IOR_OUT,
534 PJ2_IOR_IN, PJ2_IOR_OUT,
535 PJ1_IOR_IN, PJ1_IOR_OUT,
536 PJ0_IOR_IN, PJ0_IOR_OUT,
537
538 PJ31MD_0, PJ31MD_1,
539 PJ30MD_000, PJ30MD_001, PJ30MD_010, PJ30MD_011,
540 PJ30MD_100, PJ30MD_101, PJ30MD_110, PJ30MD_111,
541 PJ29MD_000, PJ29MD_001, PJ29MD_010, PJ29MD_011,
542 PJ29MD_100, PJ29MD_101, PJ29MD_110, PJ29MD_111,
543 PJ28MD_000, PJ28MD_001, PJ28MD_010, PJ28MD_011,
544 PJ28MD_100, PJ28MD_101, PJ28MD_110, PJ28MD_111,
545
546 PJ27MD_000, PJ27MD_001, PJ27MD_010, PJ27MD_011,
547 PJ27MD_100, PJ27MD_101, PJ27MD_110, PJ27MD_111,
548 PJ26MD_000, PJ26MD_001, PJ26MD_010, PJ26MD_011,
549 PJ26MD_100, PJ26MD_101, PJ26MD_110, PJ26MD_111,
550 PJ25MD_000, PJ25MD_001, PJ25MD_010, PJ25MD_011,
551 PJ25MD_100, PJ25MD_101, PJ25MD_110, PJ25MD_111,
552 PJ24MD_000, PJ24MD_001, PJ24MD_010, PJ24MD_011,
553 PJ24MD_100, PJ24MD_101, PJ24MD_110, PJ24MD_111,
554
555 PJ23MD_000, PJ23MD_001, PJ23MD_010, PJ23MD_011,
556 PJ23MD_100, PJ23MD_101, PJ23MD_110, PJ23MD_111,
557 PJ22MD_000, PJ22MD_001, PJ22MD_010, PJ22MD_011,
558 PJ22MD_100, PJ22MD_101, PJ22MD_110, PJ22MD_111,
559 PJ21MD_000, PJ21MD_001, PJ21MD_010, PJ21MD_011,
560 PJ21MD_100, PJ21MD_101, PJ21MD_110, PJ21MD_111,
561 PJ20MD_000, PJ20MD_001, PJ20MD_010, PJ20MD_011,
562 PJ20MD_100, PJ20MD_101, PJ20MD_110, PJ20MD_111,
563
564 PJ19MD_000, PJ19MD_001, PJ19MD_010, PJ19MD_011,
565 PJ19MD_100, PJ19MD_101, PJ19MD_110, PJ19MD_111,
566 PJ18MD_000, PJ18MD_001, PJ18MD_010, PJ18MD_011,
567 PJ18MD_100, PJ18MD_101, PJ18MD_110, PJ18MD_111,
568 PJ17MD_000, PJ17MD_001, PJ17MD_010, PJ17MD_011,
569 PJ17MD_100, PJ17MD_101, PJ17MD_110, PJ17MD_111,
570 PJ16MD_000, PJ16MD_001, PJ16MD_010, PJ16MD_011,
571 PJ16MD_100, PJ16MD_101, PJ16MD_110, PJ16MD_111,
572
573 PJ15MD_000, PJ15MD_001, PJ15MD_010, PJ15MD_011,
574 PJ15MD_100, PJ15MD_101, PJ15MD_110, PJ15MD_111,
575 PJ14MD_000, PJ14MD_001, PJ14MD_010, PJ14MD_011,
576 PJ14MD_100, PJ14MD_101, PJ14MD_110, PJ14MD_111,
577 PJ13MD_000, PJ13MD_001, PJ13MD_010, PJ13MD_011,
578 PJ13MD_100, PJ13MD_101, PJ13MD_110, PJ13MD_111,
579 PJ12MD_000, PJ12MD_001, PJ12MD_010, PJ12MD_011,
580 PJ12MD_100, PJ12MD_101, PJ12MD_110, PJ12MD_111,
581
582 PJ11MD_000, PJ11MD_001, PJ11MD_010, PJ11MD_011,
583 PJ11MD_100, PJ11MD_101, PJ11MD_110, PJ11MD_111,
584 PJ10MD_000, PJ10MD_001, PJ10MD_010, PJ10MD_011,
585 PJ10MD_100, PJ10MD_101, PJ10MD_110, PJ10MD_111,
586 PJ9MD_000, PJ9MD_001, PJ9MD_010, PJ9MD_011,
587 PJ9MD_100, PJ9MD_101, PJ9MD_110, PJ9MD_111,
588 PJ8MD_000, PJ8MD_001, PJ8MD_010, PJ8MD_011,
589 PJ8MD_100, PJ8MD_101, PJ8MD_110, PJ8MD_111,
590
591 PJ7MD_000, PJ7MD_001, PJ7MD_010, PJ7MD_011,
592 PJ7MD_100, PJ7MD_101, PJ7MD_110, PJ7MD_111,
593 PJ6MD_000, PJ6MD_001, PJ6MD_010, PJ6MD_011,
594 PJ6MD_100, PJ6MD_101, PJ6MD_110, PJ6MD_111,
595 PJ5MD_000, PJ5MD_001, PJ5MD_010, PJ5MD_011,
596 PJ5MD_100, PJ5MD_101, PJ5MD_110, PJ5MD_111,
597 PJ4MD_000, PJ4MD_001, PJ4MD_010, PJ4MD_011,
598 PJ4MD_100, PJ4MD_101, PJ4MD_110, PJ4MD_111,
599
600 PJ3MD_000, PJ3MD_001, PJ3MD_010, PJ3MD_011,
601 PJ3MD_100, PJ3MD_101, PJ3MD_110, PJ3MD_111,
602 PJ2MD_000, PJ2MD_001, PJ2MD_010, PJ2MD_011,
603 PJ2MD_100, PJ2MD_101, PJ2MD_110, PJ2MD_111,
604 PJ1MD_000, PJ1MD_001, PJ1MD_010, PJ1MD_011,
605 PJ1MD_100, PJ1MD_101, PJ1MD_110, PJ1MD_111,
606 PJ0MD_000, PJ0MD_001, PJ0MD_010, PJ0MD_011,
607 PJ0MD_100, PJ0MD_101, PJ0MD_110, PJ0MD_111,
608
609 PINMUX_FUNCTION_END,
610
611 PINMUX_MARK_BEGIN,
612
613 PHAN7_MARK, PHAN6_MARK, PHAN5_MARK, PHAN4_MARK,
614 PHAN3_MARK, PHAN2_MARK, PHAN1_MARK, PHAN0_MARK,
615
616
617 IRQ7_PG_MARK, IRQ6_PG_MARK, IRQ5_PG_MARK, IRQ4_PG_MARK,
618 IRQ3_PG_MARK, IRQ2_PG_MARK, IRQ1_PG_MARK, IRQ0_PG_MARK,
619 IRQ7_PF_MARK, IRQ6_PF_MARK, IRQ5_PF_MARK, IRQ4_PF_MARK,
620 IRQ3_PJ_MARK, IRQ2_PJ_MARK, IRQ1_PJ_MARK, IRQ0_PJ_MARK,
621 IRQ1_PC_MARK, IRQ0_PC_MARK,
622
623 PINT7_PG_MARK, PINT6_PG_MARK, PINT5_PG_MARK, PINT4_PG_MARK,
624 PINT3_PG_MARK, PINT2_PG_MARK, PINT1_PG_MARK, PINT0_PG_MARK,
625 PINT7_PH_MARK, PINT6_PH_MARK, PINT5_PH_MARK, PINT4_PH_MARK,
626 PINT3_PH_MARK, PINT2_PH_MARK, PINT1_PH_MARK, PINT0_PH_MARK,
627 PINT7_PJ_MARK, PINT6_PJ_MARK, PINT5_PJ_MARK, PINT4_PJ_MARK,
628 PINT3_PJ_MARK, PINT2_PJ_MARK, PINT1_PJ_MARK, PINT0_PJ_MARK,
629
630
631 SD_D0_MARK, SD_D1_MARK, SD_D2_MARK, SD_D3_MARK,
632 SD_WP_MARK, SD_CLK_MARK, SD_CMD_MARK, SD_CD_MARK,
633
634
635 MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
636 MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
637 MMC_CLK_MARK, MMC_CMD_MARK, MMC_CD_MARK,
638
639
640 PWM1A_MARK, PWM1B_MARK, PWM1C_MARK, PWM1D_MARK,
641 PWM1E_MARK, PWM1F_MARK, PWM1G_MARK, PWM1H_MARK,
642 PWM2A_MARK, PWM2B_MARK, PWM2C_MARK, PWM2D_MARK,
643 PWM2E_MARK, PWM2F_MARK, PWM2G_MARK, PWM2H_MARK,
644
645
646 IERXD_MARK, IETXD_MARK,
647
648
649 WDTOVF_MARK,
650
651
652 TEND0_MARK, DACK0_MARK, DREQ0_MARK,
653 TEND1_MARK, DACK1_MARK, DREQ1_MARK,
654
655
656 ADTRG_MARK,
657
658
659 A25_MARK, A24_MARK,
660 A23_MARK, A22_MARK, A21_MARK, A20_MARK,
661 A19_MARK, A18_MARK, A17_MARK, A16_MARK,
662 A15_MARK, A14_MARK, A13_MARK, A12_MARK,
663 A11_MARK, A10_MARK, A9_MARK, A8_MARK,
664 A7_MARK, A6_MARK, A5_MARK, A4_MARK,
665 A3_MARK, A2_MARK, A1_MARK, A0_MARK,
666 D31_MARK, D30_MARK, D29_MARK, D28_MARK,
667 D27_MARK, D26_MARK, D25_MARK, D24_MARK,
668 D23_MARK, D22_MARK, D21_MARK, D20_MARK,
669 D19_MARK, D18_MARK, D17_MARK, D16_MARK,
670 D15_MARK, D14_MARK, D13_MARK, D12_MARK,
671 D11_MARK, D10_MARK, D9_MARK, D8_MARK,
672 D7_MARK, D6_MARK, D5_MARK, D4_MARK,
673 D3_MARK, D2_MARK, D1_MARK, D0_MARK,
674 BS_MARK,
675 CS4_MARK, CS3_MARK, CS2_MARK, CS1_MARK, CS0_MARK,
676 CS5CE1A_MARK,
677 CE2A_MARK, CE2B_MARK,
678 RD_MARK, RDWR_MARK,
679 WE3ICIOWRAHDQMUU_MARK,
680 WE2ICIORDDQMUL_MARK,
681 WE1DQMUWE_MARK,
682 WE0DQML_MARK,
683 RAS_MARK, CAS_MARK, CKE_MARK,
684 WAIT_MARK, BREQ_MARK, BACK_MARK, IOIS16_MARK,
685
686
687 TIOC0A_MARK, TIOC0B_MARK, TIOC0C_MARK, TIOC0D_MARK,
688 TIOC1A_MARK, TIOC1B_MARK,
689 TIOC2A_MARK, TIOC2B_MARK,
690 TIOC3A_MARK, TIOC3B_MARK, TIOC3C_MARK, TIOC3D_MARK,
691 TIOC4A_MARK, TIOC4B_MARK, TIOC4C_MARK, TIOC4D_MARK,
692 TCLKA_MARK, TCLKB_MARK, TCLKC_MARK, TCLKD_MARK,
693
694
695 SCK0_MARK, RXD0_MARK, TXD0_MARK,
696 SCK1_MARK, RXD1_MARK, TXD1_MARK, RTS1_MARK, CTS1_MARK,
697 SCK2_MARK, RXD2_MARK, TXD2_MARK,
698 SCK3_MARK, RXD3_MARK, TXD3_MARK,
699 SCK4_MARK, RXD4_MARK, TXD4_MARK,
700 SCK5_MARK, RXD5_MARK, TXD5_MARK, RTS5_MARK, CTS5_MARK,
701 SCK6_MARK, RXD6_MARK, TXD6_MARK,
702 SCK7_MARK, RXD7_MARK, TXD7_MARK, RTS7_MARK, CTS7_MARK,
703
704
705 MISO0_PB20_MARK, MOSI0_PB19_MARK, SSL00_PB18_MARK, RSPCK0_PB17_MARK,
706 MISO0_PJ19_MARK, MOSI0_PJ18_MARK, SSL00_PJ17_MARK, RSPCK0_PJ16_MARK,
707 MISO1_MARK, MOSI1_MARK, SSL10_MARK, RSPCK1_MARK,
708
709
710 SCL0_MARK, SDA0_MARK,
711 SCL1_MARK, SDA1_MARK,
712 SCL2_MARK, SDA2_MARK,
713 SCL3_MARK, SDA3_MARK,
714
715
716 SSISCK0_MARK, SSIWS0_MARK, SSITXD0_MARK, SSIRXD0_MARK,
717 SSISCK1_MARK, SSIWS1_MARK, SSIDATA1_MARK,
718 SSISCK2_MARK, SSIWS2_MARK, SSIDATA2_MARK,
719 SSISCK3_MARK, SSIWS3_MARK, SSIDATA3_MARK,
720 SSISCK4_MARK, SSIWS4_MARK, SSIDATA4_MARK,
721 SSISCK5_MARK, SSIWS5_MARK, SSIDATA5_MARK,
722 AUDIO_CLK_MARK,
723 AUDIO_XOUT_MARK,
724
725
726 SIOFTXD_MARK, SIOFRXD_MARK, SIOFSYNC_MARK, SIOFSCK_MARK,
727
728
729 SPDIF_IN_MARK, SPDIF_OUT_MARK,
730 SPDIF_IN_PJ24_MARK, SPDIF_OUT_PJ25_MARK,
731
732
733 FCE_MARK,
734 FRB_MARK,
735
736
737 CRX0_MARK, CTX0_MARK,
738 CRX1_MARK, CTX1_MARK,
739 CRX2_MARK, CTX2_MARK,
740 CRX0_CRX1_MARK, CTX0_CTX1_MARK,
741 CRX0_CRX1_CRX2_MARK, CTX0_CTX1_CTX2_MARK,
742 CRX1_PJ22_MARK, CTX1_PJ23_MARK,
743 CRX2_PJ20_MARK, CTX2_PJ21_MARK,
744 CRX0_CRX1_PJ22_MARK, CTX0_CTX1_PJ23_MARK,
745 CRX0_CRX1_CRX2_PJ20_MARK, CTX0_CTX1_CTX2_PJ21_MARK,
746
747
748 DV_CLK_MARK,
749 DV_VSYNC_MARK, DV_HSYNC_MARK,
750 DV_DATA23_MARK, DV_DATA22_MARK, DV_DATA21_MARK, DV_DATA20_MARK,
751 DV_DATA19_MARK, DV_DATA18_MARK, DV_DATA17_MARK, DV_DATA16_MARK,
752 DV_DATA15_MARK, DV_DATA14_MARK, DV_DATA13_MARK, DV_DATA12_MARK,
753 DV_DATA11_MARK, DV_DATA10_MARK, DV_DATA9_MARK, DV_DATA8_MARK,
754 DV_DATA7_MARK, DV_DATA6_MARK, DV_DATA5_MARK, DV_DATA4_MARK,
755 DV_DATA3_MARK, DV_DATA2_MARK, DV_DATA1_MARK, DV_DATA0_MARK,
756 LCD_CLK_MARK, LCD_EXTCLK_MARK,
757 LCD_VSYNC_MARK, LCD_HSYNC_MARK, LCD_DE_MARK,
758 LCD_DATA23_PG23_MARK, LCD_DATA22_PG22_MARK, LCD_DATA21_PG21_MARK,
759 LCD_DATA20_PG20_MARK, LCD_DATA19_PG19_MARK, LCD_DATA18_PG18_MARK,
760 LCD_DATA17_PG17_MARK, LCD_DATA16_PG16_MARK, LCD_DATA15_PG15_MARK,
761 LCD_DATA14_PG14_MARK, LCD_DATA13_PG13_MARK, LCD_DATA12_PG12_MARK,
762 LCD_DATA11_PG11_MARK, LCD_DATA10_PG10_MARK, LCD_DATA9_PG9_MARK,
763 LCD_DATA8_PG8_MARK, LCD_DATA7_PG7_MARK, LCD_DATA6_PG6_MARK,
764 LCD_DATA5_PG5_MARK, LCD_DATA4_PG4_MARK, LCD_DATA3_PG3_MARK,
765 LCD_DATA2_PG2_MARK, LCD_DATA1_PG1_MARK, LCD_DATA0_PG0_MARK,
766 LCD_DATA23_PJ23_MARK, LCD_DATA22_PJ22_MARK, LCD_DATA21_PJ21_MARK,
767 LCD_DATA20_PJ20_MARK, LCD_DATA19_PJ19_MARK, LCD_DATA18_PJ18_MARK,
768 LCD_DATA17_PJ17_MARK, LCD_DATA16_PJ16_MARK, LCD_DATA15_PJ15_MARK,
769 LCD_DATA14_PJ14_MARK, LCD_DATA13_PJ13_MARK, LCD_DATA12_PJ12_MARK,
770 LCD_DATA11_PJ11_MARK, LCD_DATA10_PJ10_MARK, LCD_DATA9_PJ9_MARK,
771 LCD_DATA8_PJ8_MARK, LCD_DATA7_PJ7_MARK, LCD_DATA6_PJ6_MARK,
772 LCD_DATA5_PJ5_MARK, LCD_DATA4_PJ4_MARK, LCD_DATA3_PJ3_MARK,
773 LCD_DATA2_PJ2_MARK, LCD_DATA1_PJ1_MARK, LCD_DATA0_PJ0_MARK,
774 LCD_TCON6_MARK, LCD_TCON5_MARK, LCD_TCON4_MARK,
775 LCD_TCON3_MARK, LCD_TCON2_MARK, LCD_TCON1_MARK, LCD_TCON0_MARK,
776 LCD_M_DISP_MARK,
777 PINMUX_MARK_END,
778};
779
780static const u16 pinmux_data[] = {
781
782 PINMUX_DATA(PA1_DATA, PA1_IN),
783 PINMUX_DATA(PA0_DATA, PA0_IN),
784
785
786 PINMUX_DATA(PB22_DATA, PB22MD_000, PB22_IN, PB22_OUT),
787 PINMUX_DATA(A22_MARK, PB22MD_001),
788 PINMUX_DATA(CTX2_MARK, PB22MD_010),
789 PINMUX_DATA(IETXD_MARK, PB22MD_011),
790 PINMUX_DATA(CS4_MARK, PB22MD_100),
791
792 PINMUX_DATA(PB21_DATA, PB21MD_00, PB21_IN, PB21_OUT),
793 PINMUX_DATA(A21_MARK, PB21MD_01),
794 PINMUX_DATA(CRX2_MARK, PB21MD_10),
795 PINMUX_DATA(IERXD_MARK, PB21MD_11),
796
797 PINMUX_DATA(A20_MARK, PB20MD_001),
798 PINMUX_DATA(A19_MARK, PB19MD_001),
799 PINMUX_DATA(A18_MARK, PB18MD_001),
800 PINMUX_DATA(A17_MARK, PB17MD_001),
801 PINMUX_DATA(A16_MARK, PB16MD_001),
802 PINMUX_DATA(A15_MARK, PB15MD_001),
803 PINMUX_DATA(A14_MARK, PB14MD_001),
804 PINMUX_DATA(A13_MARK, PB13MD_001),
805 PINMUX_DATA(A12_MARK, PB12MD_01),
806 PINMUX_DATA(A11_MARK, PB11MD_01),
807 PINMUX_DATA(A10_MARK, PB10MD_01),
808 PINMUX_DATA(A9_MARK, PB9MD_01),
809 PINMUX_DATA(A8_MARK, PB8MD_01),
810 PINMUX_DATA(A7_MARK, PB7MD_01),
811 PINMUX_DATA(A6_MARK, PB6MD_01),
812 PINMUX_DATA(A5_MARK, PB5MD_01),
813 PINMUX_DATA(A4_MARK, PB4MD_01),
814 PINMUX_DATA(A3_MARK, PB3MD_01),
815 PINMUX_DATA(A2_MARK, PB2MD_01),
816 PINMUX_DATA(A1_MARK, PB1MD_01),
817
818
819 PINMUX_DATA(PC8_DATA, PC8MD_000),
820 PINMUX_DATA(CS3_MARK, PC8MD_001),
821 PINMUX_DATA(TXD7_MARK, PC8MD_010),
822 PINMUX_DATA(CTX1_MARK, PC8MD_011),
823 PINMUX_DATA(CTX0_CTX1_MARK, PC8MD_100),
824
825 PINMUX_DATA(PC7_DATA, PC7MD_000),
826 PINMUX_DATA(CKE_MARK, PC7MD_001),
827 PINMUX_DATA(RXD7_MARK, PC7MD_010),
828 PINMUX_DATA(CRX1_MARK, PC7MD_011),
829 PINMUX_DATA(CRX0_CRX1_MARK, PC7MD_100),
830 PINMUX_DATA(IRQ1_PC_MARK, PC7MD_101),
831
832 PINMUX_DATA(PC6_DATA, PC6MD_000),
833 PINMUX_DATA(CAS_MARK, PC6MD_001),
834 PINMUX_DATA(SCK7_MARK, PC6MD_010),
835 PINMUX_DATA(CTX0_MARK, PC6MD_011),
836 PINMUX_DATA(CTX0_CTX1_CTX2_MARK, PC6MD_100),
837
838 PINMUX_DATA(PC5_DATA, PC5MD_000),
839 PINMUX_DATA(RAS_MARK, PC5MD_001),
840 PINMUX_DATA(CRX0_MARK, PC5MD_011),
841 PINMUX_DATA(CTX0_CTX1_CTX2_MARK, PC5MD_100),
842 PINMUX_DATA(IRQ0_PC_MARK, PC5MD_101),
843
844 PINMUX_DATA(PC4_DATA, PC4MD_00),
845 PINMUX_DATA(WE1DQMUWE_MARK, PC4MD_01),
846 PINMUX_DATA(TXD6_MARK, PC4MD_10),
847
848 PINMUX_DATA(PC3_DATA, PC3MD_00),
849 PINMUX_DATA(WE0DQML_MARK, PC3MD_01),
850 PINMUX_DATA(RXD6_MARK, PC3MD_10),
851
852 PINMUX_DATA(PC2_DATA, PC2MD_00),
853 PINMUX_DATA(RDWR_MARK, PC2MD_01),
854 PINMUX_DATA(SCK5_MARK, PC2MD_10),
855
856 PINMUX_DATA(PC1_DATA, PC1MD_0),
857 PINMUX_DATA(RD_MARK, PC1MD_1),
858
859 PINMUX_DATA(PC0_DATA, PC0MD_0),
860 PINMUX_DATA(CS0_MARK, PC0MD_1),
861
862
863 PINMUX_DATA(D15_MARK, PD15MD_01),
864 PINMUX_DATA(D14_MARK, PD14MD_01),
865
866 PINMUX_DATA(PD13_DATA, PD13MD_00),
867 PINMUX_DATA(D13_MARK, PD13MD_01),
868 PINMUX_DATA(PWM2F_MARK, PD13MD_10),
869
870 PINMUX_DATA(PD12_DATA, PD12MD_00),
871 PINMUX_DATA(D12_MARK, PD12MD_01),
872 PINMUX_DATA(PWM2E_MARK, PD12MD_10),
873
874 PINMUX_DATA(D11_MARK, PD11MD_01),
875 PINMUX_DATA(D10_MARK, PD10MD_01),
876 PINMUX_DATA(D9_MARK, PD9MD_01),
877 PINMUX_DATA(D8_MARK, PD8MD_01),
878 PINMUX_DATA(D7_MARK, PD7MD_01),
879 PINMUX_DATA(D6_MARK, PD6MD_01),
880 PINMUX_DATA(D5_MARK, PD5MD_01),
881 PINMUX_DATA(D4_MARK, PD4MD_01),
882 PINMUX_DATA(D3_MARK, PD3MD_01),
883 PINMUX_DATA(D2_MARK, PD2MD_01),
884 PINMUX_DATA(D1_MARK, PD1MD_01),
885 PINMUX_DATA(D0_MARK, PD0MD_01),
886
887
888 PINMUX_DATA(PE7_DATA, PE7MD_00),
889 PINMUX_DATA(SDA3_MARK, PE7MD_01),
890 PINMUX_DATA(RXD7_MARK, PE7MD_10),
891
892 PINMUX_DATA(PE6_DATA, PE6MD_00),
893 PINMUX_DATA(SCL3_MARK, PE6MD_01),
894 PINMUX_DATA(RXD6_MARK, PE6MD_10),
895
896 PINMUX_DATA(PE5_DATA, PE5MD_00),
897 PINMUX_DATA(SDA2_MARK, PE5MD_01),
898 PINMUX_DATA(RXD5_MARK, PE5MD_10),
899 PINMUX_DATA(DV_HSYNC_MARK, PE5MD_11),
900
901 PINMUX_DATA(PE4_DATA, PE4MD_00),
902 PINMUX_DATA(SCL2_MARK, PE4MD_01),
903 PINMUX_DATA(DV_VSYNC_MARK, PE4MD_11),
904
905 PINMUX_DATA(PE3_DATA, PE3MD_000),
906 PINMUX_DATA(SDA1_MARK, PE3MD_001),
907 PINMUX_DATA(TCLKD_MARK, PE3MD_010),
908 PINMUX_DATA(ADTRG_MARK, PE3MD_011),
909 PINMUX_DATA(DV_HSYNC_MARK, PE3MD_100),
910
911 PINMUX_DATA(PE2_DATA, PE2MD_000),
912 PINMUX_DATA(SCL1_MARK, PE2MD_001),
913 PINMUX_DATA(TCLKD_MARK, PE2MD_010),
914 PINMUX_DATA(IOIS16_MARK, PE2MD_011),
915 PINMUX_DATA(DV_VSYNC_MARK, PE2MD_100),
916
917 PINMUX_DATA(PE1_DATA, PE1MD_000),
918 PINMUX_DATA(SDA0_MARK, PE1MD_001),
919 PINMUX_DATA(TCLKB_MARK, PE1MD_010),
920 PINMUX_DATA(AUDIO_CLK_MARK, PE1MD_010),
921 PINMUX_DATA(DV_CLK_MARK, PE1MD_100),
922
923 PINMUX_DATA(PE0_DATA, PE0MD_00),
924 PINMUX_DATA(SCL0_MARK, PE0MD_01),
925 PINMUX_DATA(TCLKA_MARK, PE0MD_10),
926 PINMUX_DATA(LCD_EXTCLK_MARK, PE0MD_11),
927
928
929 PINMUX_DATA(PF23_DATA, PF23MD_000),
930 PINMUX_DATA(SD_D2_MARK, PF23MD_001),
931 PINMUX_DATA(TXD3_MARK, PF23MD_100),
932 PINMUX_DATA(MMC_D2_MARK, PF23MD_101),
933
934 PINMUX_DATA(PF22_DATA, PF22MD_000),
935 PINMUX_DATA(SD_D3_MARK, PF22MD_001),
936 PINMUX_DATA(RXD3_MARK, PF22MD_100),
937 PINMUX_DATA(MMC_D3_MARK, PF22MD_101),
938
939 PINMUX_DATA(PF21_DATA, PF21MD_000),
940 PINMUX_DATA(SD_CMD_MARK, PF21MD_001),
941 PINMUX_DATA(SCK3_MARK, PF21MD_100),
942 PINMUX_DATA(MMC_CMD_MARK, PF21MD_101),
943
944 PINMUX_DATA(PF20_DATA, PF20MD_000),
945 PINMUX_DATA(SD_CLK_MARK, PF20MD_001),
946 PINMUX_DATA(SSIDATA3_MARK, PF20MD_010),
947 PINMUX_DATA(MMC_CLK_MARK, PF20MD_101),
948
949 PINMUX_DATA(PF19_DATA, PF19MD_000),
950 PINMUX_DATA(SD_D0_MARK, PF19MD_001),
951 PINMUX_DATA(SSIWS3_MARK, PF19MD_010),
952 PINMUX_DATA(IRQ7_PF_MARK, PF19MD_100),
953 PINMUX_DATA(MMC_D0_MARK, PF19MD_101),
954
955 PINMUX_DATA(PF18_DATA, PF18MD_000),
956 PINMUX_DATA(SD_D1_MARK, PF18MD_001),
957 PINMUX_DATA(SSISCK3_MARK, PF18MD_010),
958 PINMUX_DATA(IRQ6_PF_MARK, PF18MD_100),
959 PINMUX_DATA(MMC_D1_MARK, PF18MD_101),
960
961 PINMUX_DATA(PF17_DATA, PF17MD_000),
962 PINMUX_DATA(SD_WP_MARK, PF17MD_001),
963 PINMUX_DATA(FRB_MARK, PF17MD_011),
964 PINMUX_DATA(IRQ5_PF_MARK, PF17MD_100),
965
966 PINMUX_DATA(PF16_DATA, PF16MD_000),
967 PINMUX_DATA(SD_CD_MARK, PF16MD_001),
968 PINMUX_DATA(FCE_MARK, PF16MD_011),
969 PINMUX_DATA(IRQ4_PF_MARK, PF16MD_100),
970 PINMUX_DATA(MMC_CD_MARK, PF16MD_101),
971
972 PINMUX_DATA(PF15_DATA, PF15MD_000),
973 PINMUX_DATA(A0_MARK, PF15MD_001),
974 PINMUX_DATA(SSIDATA2_MARK, PF15MD_010),
975 PINMUX_DATA(WDTOVF_MARK, PF15MD_011),
976 PINMUX_DATA(TXD2_MARK, PF15MD_100),
977
978 PINMUX_DATA(PF14_DATA, PF14MD_000),
979 PINMUX_DATA(A25_MARK, PF14MD_001),
980 PINMUX_DATA(SSIWS2_MARK, PF14MD_010),
981 PINMUX_DATA(RXD2_MARK, PF14MD_100),
982
983 PINMUX_DATA(PF13_DATA, PF13MD_000),
984 PINMUX_DATA(A24_MARK, PF13MD_001),
985 PINMUX_DATA(SSISCK2_MARK, PF13MD_010),
986 PINMUX_DATA(SCK2_MARK, PF13MD_100),
987
988 PINMUX_DATA(PF12_DATA, PF12MD_000),
989 PINMUX_DATA(SSIDATA1_MARK, PF12MD_010),
990 PINMUX_DATA(DV_DATA12_MARK, PF12MD_011),
991 PINMUX_DATA(TXD1_MARK, PF12MD_100),
992 PINMUX_DATA(MMC_D7_MARK, PF12MD_101),
993
994 PINMUX_DATA(PF11_DATA, PF11MD_000),
995 PINMUX_DATA(SSIWS1_MARK, PF11MD_010),
996 PINMUX_DATA(DV_DATA2_MARK, PF11MD_011),
997 PINMUX_DATA(RXD1_MARK, PF11MD_100),
998 PINMUX_DATA(MMC_D6_MARK, PF11MD_101),
999
1000 PINMUX_DATA(PF10_DATA, PF10MD_000),
1001 PINMUX_DATA(CS1_MARK, PF10MD_001),
1002 PINMUX_DATA(SSISCK1_MARK, PF10MD_010),
1003 PINMUX_DATA(DV_DATA1_MARK, PF10MD_011),
1004 PINMUX_DATA(SCK1_MARK, PF10MD_100),
1005 PINMUX_DATA(MMC_D5_MARK, PF10MD_101),
1006
1007 PINMUX_DATA(PF9_DATA, PF9MD_000),
1008 PINMUX_DATA(BS_MARK, PF9MD_001),
1009 PINMUX_DATA(DV_DATA0_MARK, PF9MD_011),
1010 PINMUX_DATA(SCK0_MARK, PF9MD_100),
1011 PINMUX_DATA(MMC_D4_MARK, PF9MD_101),
1012 PINMUX_DATA(RTS1_MARK, PF9MD_110),
1013
1014 PINMUX_DATA(PF8_DATA, PF8MD_000),
1015 PINMUX_DATA(A23_MARK, PF8MD_001),
1016 PINMUX_DATA(TXD0_MARK, PF8MD_100),
1017
1018 PINMUX_DATA(PF7_DATA, PF7MD_000),
1019 PINMUX_DATA(SSIRXD0_MARK, PF7MD_010),
1020 PINMUX_DATA(RXD0_MARK, PF7MD_100),
1021 PINMUX_DATA(CTS1_MARK, PF7MD_110),
1022
1023 PINMUX_DATA(PF6_DATA, PF6MD_000),
1024 PINMUX_DATA(CE2A_MARK, PF6MD_001),
1025 PINMUX_DATA(SSITXD0_MARK, PF6MD_010),
1026
1027 PINMUX_DATA(PF5_DATA, PF5MD_000),
1028 PINMUX_DATA(SSIWS0_MARK, PF5MD_010),
1029
1030 PINMUX_DATA(PF4_DATA, PF4MD_000),
1031 PINMUX_DATA(CS5CE1A_MARK, PF4MD_001),
1032 PINMUX_DATA(SSISCK0_MARK, PF4MD_010),
1033
1034 PINMUX_DATA(PF3_DATA, PF3MD_000),
1035 PINMUX_DATA(CS2_MARK, PF3MD_001),
1036 PINMUX_DATA(MISO1_MARK, PF3MD_011),
1037 PINMUX_DATA(TIOC4D_MARK, PF3MD_100),
1038
1039 PINMUX_DATA(PF2_DATA, PF2MD_000),
1040 PINMUX_DATA(WAIT_MARK, PF2MD_001),
1041 PINMUX_DATA(MOSI1_MARK, PF2MD_011),
1042 PINMUX_DATA(TIOC4C_MARK, PF2MD_100),
1043 PINMUX_DATA(TEND0_MARK, PF2MD_101),
1044
1045 PINMUX_DATA(PF1_DATA, PF1MD_000),
1046 PINMUX_DATA(BACK_MARK, PF1MD_001),
1047 PINMUX_DATA(SSL10_MARK, PF1MD_011),
1048 PINMUX_DATA(TIOC4B_MARK, PF1MD_100),
1049 PINMUX_DATA(DACK0_MARK, PF1MD_101),
1050
1051 PINMUX_DATA(PF0_DATA, PF0MD_000),
1052 PINMUX_DATA(BREQ_MARK, PF0MD_001),
1053 PINMUX_DATA(RSPCK1_MARK, PF0MD_011),
1054 PINMUX_DATA(TIOC4A_MARK, PF0MD_100),
1055 PINMUX_DATA(DREQ0_MARK, PF0MD_101),
1056
1057
1058 PINMUX_DATA(PG27_DATA, PG27MD_00),
1059 PINMUX_DATA(LCD_TCON2_MARK, PG27MD_10),
1060 PINMUX_DATA(LCD_EXTCLK_MARK, PG27MD_11),
1061 PINMUX_DATA(LCD_DE_MARK, PG27MD_11),
1062
1063 PINMUX_DATA(PG26_DATA, PG26MD_00),
1064 PINMUX_DATA(LCD_TCON1_MARK, PG26MD_10),
1065 PINMUX_DATA(LCD_HSYNC_MARK, PG26MD_10),
1066
1067 PINMUX_DATA(PG25_DATA, PG25MD_00),
1068 PINMUX_DATA(LCD_TCON0_MARK, PG25MD_10),
1069 PINMUX_DATA(LCD_VSYNC_MARK, PG25MD_10),
1070
1071 PINMUX_DATA(PG24_DATA, PG24MD_00),
1072 PINMUX_DATA(LCD_CLK_MARK, PG24MD_10),
1073
1074 PINMUX_DATA(PG23_DATA, PG23MD_000),
1075 PINMUX_DATA(LCD_DATA23_PG23_MARK, PG23MD_010),
1076 PINMUX_DATA(LCD_TCON6_MARK, PG23MD_011),
1077 PINMUX_DATA(TXD5_MARK, PG23MD_100),
1078
1079 PINMUX_DATA(PG22_DATA, PG22MD_000),
1080 PINMUX_DATA(LCD_DATA22_PG22_MARK, PG22MD_010),
1081 PINMUX_DATA(LCD_TCON5_MARK, PG22MD_011),
1082 PINMUX_DATA(RXD5_MARK, PG22MD_100),
1083
1084 PINMUX_DATA(PG21_DATA, PG21MD_000),
1085 PINMUX_DATA(DV_DATA7_MARK, PG21MD_001),
1086 PINMUX_DATA(LCD_DATA21_PG21_MARK, PG21MD_010),
1087 PINMUX_DATA(LCD_TCON4_MARK, PG21MD_011),
1088 PINMUX_DATA(TXD4_MARK, PG21MD_100),
1089
1090 PINMUX_DATA(PG20_DATA, PG20MD_000),
1091 PINMUX_DATA(DV_DATA6_MARK, PG20MD_001),
1092 PINMUX_DATA(LCD_DATA20_PG20_MARK, PG21MD_010),
1093 PINMUX_DATA(LCD_TCON3_MARK, PG20MD_011),
1094 PINMUX_DATA(RXD4_MARK, PG20MD_100),
1095
1096 PINMUX_DATA(PG19_DATA, PG19MD_000),
1097 PINMUX_DATA(DV_DATA5_MARK, PG19MD_001),
1098 PINMUX_DATA(LCD_DATA19_PG19_MARK, PG19MD_010),
1099 PINMUX_DATA(SPDIF_OUT_MARK, PG19MD_011),
1100 PINMUX_DATA(SCK5_MARK, PG19MD_100),
1101
1102 PINMUX_DATA(PG18_DATA, PG18MD_000),
1103 PINMUX_DATA(DV_DATA4_MARK, PG18MD_001),
1104 PINMUX_DATA(LCD_DATA18_PG18_MARK, PG18MD_010),
1105 PINMUX_DATA(SPDIF_IN_MARK, PG18MD_011),
1106 PINMUX_DATA(SCK4_MARK, PG18MD_100),
1107
1108
1109
1110 PINMUX_DATA(PG17_DATA, PG17MD_00),
1111 PINMUX_DATA(WE3ICIOWRAHDQMUU_MARK, PG17MD_01),
1112 PINMUX_DATA(LCD_DATA17_PG17_MARK, PG17MD_10),
1113
1114
1115
1116 PINMUX_DATA(PG16_DATA, PG16MD_00),
1117 PINMUX_DATA(WE2ICIORDDQMUL_MARK, PG16MD_01),
1118 PINMUX_DATA(LCD_DATA16_PG16_MARK, PG16MD_10),
1119
1120 PINMUX_DATA(PG15_DATA, PG15MD_00),
1121 PINMUX_DATA(D31_MARK, PG15MD_01),
1122 PINMUX_DATA(LCD_DATA15_PG15_MARK, PG15MD_10),
1123 PINMUX_DATA(PINT7_PG_MARK, PG15MD_11),
1124
1125 PINMUX_DATA(PG14_DATA, PG14MD_00),
1126 PINMUX_DATA(D30_MARK, PG14MD_01),
1127 PINMUX_DATA(LCD_DATA14_PG14_MARK, PG14MD_10),
1128 PINMUX_DATA(PINT6_PG_MARK, PG14MD_11),
1129
1130 PINMUX_DATA(PG13_DATA, PG13MD_00),
1131 PINMUX_DATA(D29_MARK, PG13MD_01),
1132 PINMUX_DATA(LCD_DATA13_PG13_MARK, PG13MD_10),
1133 PINMUX_DATA(PINT5_PG_MARK, PG13MD_11),
1134
1135 PINMUX_DATA(PG12_DATA, PG12MD_00),
1136 PINMUX_DATA(D28_MARK, PG12MD_01),
1137 PINMUX_DATA(LCD_DATA12_PG12_MARK, PG12MD_10),
1138 PINMUX_DATA(PINT4_PG_MARK, PG12MD_11),
1139
1140 PINMUX_DATA(PG11_DATA, PG11MD_000),
1141 PINMUX_DATA(D27_MARK, PG11MD_001),
1142 PINMUX_DATA(LCD_DATA11_PG11_MARK, PG11MD_010),
1143 PINMUX_DATA(PINT3_PG_MARK, PG11MD_011),
1144 PINMUX_DATA(TIOC3D_MARK, PG11MD_100),
1145
1146 PINMUX_DATA(PG10_DATA, PG10MD_000),
1147 PINMUX_DATA(D26_MARK, PG10MD_001),
1148 PINMUX_DATA(LCD_DATA10_PG10_MARK, PG10MD_010),
1149 PINMUX_DATA(PINT2_PG_MARK, PG10MD_011),
1150 PINMUX_DATA(TIOC3C_MARK, PG10MD_100),
1151
1152 PINMUX_DATA(PG9_DATA, PG9MD_000),
1153 PINMUX_DATA(D25_MARK, PG9MD_001),
1154 PINMUX_DATA(LCD_DATA9_PG9_MARK, PG9MD_010),
1155 PINMUX_DATA(PINT1_PG_MARK, PG9MD_011),
1156 PINMUX_DATA(TIOC3B_MARK, PG9MD_100),
1157
1158 PINMUX_DATA(PG8_DATA, PG8MD_000),
1159 PINMUX_DATA(D24_MARK, PG8MD_001),
1160 PINMUX_DATA(LCD_DATA8_PG8_MARK, PG8MD_010),
1161 PINMUX_DATA(PINT0_PG_MARK, PG8MD_011),
1162 PINMUX_DATA(TIOC3A_MARK, PG8MD_100),
1163
1164 PINMUX_DATA(PG7_DATA, PG7MD_000),
1165 PINMUX_DATA(D23_MARK, PG7MD_001),
1166 PINMUX_DATA(LCD_DATA7_PG7_MARK, PG7MD_010),
1167 PINMUX_DATA(IRQ7_PG_MARK, PG7MD_011),
1168 PINMUX_DATA(TIOC2B_MARK, PG7MD_100),
1169
1170 PINMUX_DATA(PG6_DATA, PG6MD_000),
1171 PINMUX_DATA(D22_MARK, PG6MD_001),
1172 PINMUX_DATA(LCD_DATA6_PG6_MARK, PG6MD_010),
1173 PINMUX_DATA(IRQ6_PG_MARK, PG6MD_011),
1174 PINMUX_DATA(TIOC2A_MARK, PG6MD_100),
1175
1176 PINMUX_DATA(PG5_DATA, PG5MD_000),
1177 PINMUX_DATA(D21_MARK, PG5MD_001),
1178 PINMUX_DATA(LCD_DATA5_PG5_MARK, PG5MD_010),
1179 PINMUX_DATA(IRQ5_PG_MARK, PG5MD_011),
1180 PINMUX_DATA(TIOC1B_MARK, PG5MD_100),
1181
1182 PINMUX_DATA(PG4_DATA, PG4MD_000),
1183 PINMUX_DATA(D20_MARK, PG4MD_001),
1184 PINMUX_DATA(LCD_DATA4_PG4_MARK, PG4MD_010),
1185 PINMUX_DATA(IRQ4_PG_MARK, PG4MD_011),
1186 PINMUX_DATA(TIOC1A_MARK, PG4MD_100),
1187
1188 PINMUX_DATA(PG3_DATA, PG3MD_000),
1189 PINMUX_DATA(D19_MARK, PG3MD_001),
1190 PINMUX_DATA(LCD_DATA3_PG3_MARK, PG3MD_010),
1191 PINMUX_DATA(IRQ3_PG_MARK, PG3MD_011),
1192 PINMUX_DATA(TIOC0D_MARK, PG3MD_100),
1193
1194 PINMUX_DATA(PG2_DATA, PG2MD_000),
1195 PINMUX_DATA(D18_MARK, PG2MD_001),
1196 PINMUX_DATA(LCD_DATA2_PG2_MARK, PG2MD_010),
1197 PINMUX_DATA(IRQ2_PG_MARK, PG2MD_011),
1198 PINMUX_DATA(TIOC0C_MARK, PG2MD_100),
1199
1200 PINMUX_DATA(PG1_DATA, PG1MD_000),
1201 PINMUX_DATA(D17_MARK, PG1MD_001),
1202 PINMUX_DATA(LCD_DATA1_PG1_MARK, PG1MD_010),
1203 PINMUX_DATA(IRQ1_PG_MARK, PG1MD_011),
1204 PINMUX_DATA(TIOC0B_MARK, PG1MD_100),
1205
1206 PINMUX_DATA(PG0_DATA, PG0MD_000),
1207 PINMUX_DATA(D16_MARK, PG0MD_001),
1208 PINMUX_DATA(LCD_DATA0_PG0_MARK, PG0MD_010),
1209 PINMUX_DATA(IRQ0_PG_MARK, PG0MD_011),
1210 PINMUX_DATA(TIOC0A_MARK, PG0MD_100),
1211
1212
1213 PINMUX_DATA(PH7_DATA, PH7MD_00),
1214 PINMUX_DATA(PHAN7_MARK, PH7MD_01),
1215 PINMUX_DATA(PINT7_PH_MARK, PH7MD_10),
1216
1217 PINMUX_DATA(PH6_DATA, PH6MD_00),
1218 PINMUX_DATA(PHAN6_MARK, PH6MD_01),
1219 PINMUX_DATA(PINT6_PH_MARK, PH6MD_10),
1220
1221 PINMUX_DATA(PH5_DATA, PH5MD_00),
1222 PINMUX_DATA(PHAN5_MARK, PH5MD_01),
1223 PINMUX_DATA(PINT5_PH_MARK, PH5MD_10),
1224 PINMUX_DATA(LCD_EXTCLK_MARK, PH5MD_11),
1225
1226 PINMUX_DATA(PH4_DATA, PH4MD_00),
1227 PINMUX_DATA(PHAN4_MARK, PH4MD_01),
1228 PINMUX_DATA(PINT4_PH_MARK, PH4MD_10),
1229
1230 PINMUX_DATA(PH3_DATA, PH3MD_00),
1231 PINMUX_DATA(PHAN3_MARK, PH3MD_01),
1232 PINMUX_DATA(PINT3_PH_MARK, PH3MD_10),
1233
1234 PINMUX_DATA(PH2_DATA, PH2MD_00),
1235 PINMUX_DATA(PHAN2_MARK, PH2MD_01),
1236 PINMUX_DATA(PINT2_PH_MARK, PH2MD_10),
1237
1238 PINMUX_DATA(PH1_DATA, PH1MD_00),
1239 PINMUX_DATA(PHAN1_MARK, PH1MD_01),
1240 PINMUX_DATA(PINT1_PH_MARK, PH1MD_10),
1241
1242 PINMUX_DATA(PH0_DATA, PH0MD_00),
1243 PINMUX_DATA(PHAN0_MARK, PH0MD_01),
1244 PINMUX_DATA(PINT0_PH_MARK, PH0MD_10),
1245
1246
1247
1248
1249 PINMUX_DATA(PJ31_DATA, PJ31MD_0),
1250 PINMUX_DATA(DV_CLK_MARK, PJ31MD_1),
1251
1252 PINMUX_DATA(PJ30_DATA, PJ30MD_000),
1253 PINMUX_DATA(SSIDATA5_MARK, PJ30MD_010),
1254 PINMUX_DATA(TIOC2B_MARK, PJ30MD_100),
1255 PINMUX_DATA(IETXD_MARK, PJ30MD_101),
1256
1257 PINMUX_DATA(PJ29_DATA, PJ29MD_000),
1258 PINMUX_DATA(SSIWS5_MARK, PJ29MD_010),
1259 PINMUX_DATA(TIOC2A_MARK, PJ29MD_100),
1260 PINMUX_DATA(IERXD_MARK, PJ29MD_101),
1261
1262 PINMUX_DATA(PJ28_DATA, PJ28MD_000),
1263 PINMUX_DATA(SSISCK5_MARK, PJ28MD_010),
1264 PINMUX_DATA(TIOC1B_MARK, PJ28MD_100),
1265 PINMUX_DATA(RTS7_MARK, PJ28MD_101),
1266
1267 PINMUX_DATA(PJ27_DATA, PJ27MD_000),
1268 PINMUX_DATA(TIOC1A_MARK, PJ27MD_100),
1269 PINMUX_DATA(CTS7_MARK, PJ27MD_101),
1270
1271 PINMUX_DATA(PJ26_DATA, PJ26MD_000),
1272 PINMUX_DATA(SSIDATA4_MARK, PJ26MD_010),
1273 PINMUX_DATA(LCD_TCON5_MARK, PJ26MD_011),
1274 PINMUX_DATA(TXD7_MARK, PJ26MD_101),
1275
1276 PINMUX_DATA(PJ25_DATA, PJ25MD_000),
1277 PINMUX_DATA(SSIWS4_MARK, PJ25MD_010),
1278 PINMUX_DATA(LCD_TCON4_MARK, PJ25MD_011),
1279 PINMUX_DATA(SPDIF_OUT_MARK, PJ25MD_100),
1280 PINMUX_DATA(RXD7_MARK, PJ25MD_101),
1281
1282 PINMUX_DATA(PJ24_DATA, PJ24MD_000),
1283 PINMUX_DATA(SSISCK4_MARK, PJ24MD_010),
1284 PINMUX_DATA(LCD_TCON3_MARK, PJ24MD_011),
1285 PINMUX_DATA(SPDIF_IN_MARK, PJ24MD_100),
1286 PINMUX_DATA(SCK7_MARK, PJ24MD_101),
1287
1288 PINMUX_DATA(PJ23_DATA, PJ23MD_000),
1289 PINMUX_DATA(DV_DATA23_MARK, PJ23MD_001),
1290 PINMUX_DATA(LCD_DATA23_PJ23_MARK, PJ23MD_010),
1291 PINMUX_DATA(LCD_TCON6_MARK, PJ23MD_011),
1292 PINMUX_DATA(IRQ3_PJ_MARK, PJ23MD_100),
1293 PINMUX_DATA(CTX1_PJ23_MARK, PJ23MD_101),
1294 PINMUX_DATA(CTX0_CTX1_PJ23_MARK, PJ23MD_110),
1295
1296 PINMUX_DATA(PJ22_DATA, PJ22MD_000),
1297 PINMUX_DATA(DV_DATA22_MARK, PJ22MD_001),
1298 PINMUX_DATA(LCD_DATA22_PJ22_MARK, PJ22MD_010),
1299 PINMUX_DATA(LCD_TCON5_MARK, PJ22MD_011),
1300 PINMUX_DATA(IRQ2_PJ_MARK, PJ22MD_100),
1301 PINMUX_DATA(CRX1_PJ22_MARK, PJ22MD_101),
1302 PINMUX_DATA(CRX0_CRX1_PJ22_MARK, PJ22MD_110),
1303
1304 PINMUX_DATA(PJ21_DATA, PJ21MD_000),
1305 PINMUX_DATA(DV_DATA21_MARK, PJ21MD_001),
1306 PINMUX_DATA(LCD_DATA21_PJ21_MARK, PJ21MD_010),
1307 PINMUX_DATA(LCD_TCON4_MARK, PJ21MD_011),
1308 PINMUX_DATA(IRQ1_PJ_MARK, PJ21MD_100),
1309 PINMUX_DATA(CTX2_PJ21_MARK, PJ21MD_101),
1310 PINMUX_DATA(CTX0_CTX1_CTX2_PJ21_MARK, PJ21MD_110),
1311
1312 PINMUX_DATA(PJ20_DATA, PJ20MD_000),
1313 PINMUX_DATA(DV_DATA20_MARK, PJ20MD_001),
1314 PINMUX_DATA(LCD_DATA20_PJ20_MARK, PJ20MD_010),
1315 PINMUX_DATA(LCD_TCON3_MARK, PJ20MD_011),
1316 PINMUX_DATA(IRQ0_PJ_MARK, PJ20MD_100),
1317 PINMUX_DATA(CRX2_PJ20_MARK, PJ20MD_101),
1318 PINMUX_DATA(CRX0_CRX1_CRX2_PJ20_MARK, PJ20MD_110),
1319
1320 PINMUX_DATA(PJ19_DATA, PJ19MD_000),
1321 PINMUX_DATA(DV_DATA19_MARK, PJ19MD_001),
1322 PINMUX_DATA(LCD_DATA19_PJ19_MARK, PJ19MD_010),
1323 PINMUX_DATA(MISO0_PJ19_MARK, PJ19MD_011),
1324 PINMUX_DATA(TIOC0D_MARK, PJ19MD_100),
1325 PINMUX_DATA(SIOFRXD_MARK, PJ19MD_101),
1326 PINMUX_DATA(AUDIO_XOUT_MARK, PJ19MD_110),
1327
1328 PINMUX_DATA(PJ18_DATA, PJ18MD_000),
1329 PINMUX_DATA(DV_DATA18_MARK, PJ18MD_001),
1330 PINMUX_DATA(LCD_DATA18_PJ18_MARK, PJ18MD_010),
1331 PINMUX_DATA(MOSI0_PJ18_MARK, PJ18MD_011),
1332 PINMUX_DATA(TIOC0C_MARK, PJ18MD_100),
1333 PINMUX_DATA(SIOFTXD_MARK, PJ18MD_101),
1334
1335 PINMUX_DATA(PJ17_DATA, PJ17MD_000),
1336 PINMUX_DATA(DV_DATA17_MARK, PJ17MD_001),
1337 PINMUX_DATA(LCD_DATA17_PJ17_MARK, PJ17MD_010),
1338 PINMUX_DATA(SSL00_PJ17_MARK, PJ17MD_011),
1339 PINMUX_DATA(TIOC0B_MARK, PJ17MD_100),
1340 PINMUX_DATA(SIOFSYNC_MARK, PJ17MD_101),
1341
1342 PINMUX_DATA(PJ16_DATA, PJ16MD_000),
1343 PINMUX_DATA(DV_DATA16_MARK, PJ16MD_001),
1344 PINMUX_DATA(LCD_DATA16_PJ16_MARK, PJ16MD_010),
1345 PINMUX_DATA(RSPCK0_PJ16_MARK, PJ16MD_011),
1346 PINMUX_DATA(TIOC0A_MARK, PJ16MD_100),
1347 PINMUX_DATA(SIOFSCK_MARK, PJ16MD_101),
1348
1349 PINMUX_DATA(PJ15_DATA, PJ15MD_000),
1350 PINMUX_DATA(DV_DATA15_MARK, PJ15MD_001),
1351 PINMUX_DATA(LCD_DATA15_PJ15_MARK, PJ15MD_010),
1352 PINMUX_DATA(PINT7_PJ_MARK, PJ15MD_011),
1353 PINMUX_DATA(PWM2H_MARK, PJ15MD_100),
1354 PINMUX_DATA(TXD7_MARK, PJ15MD_101),
1355
1356 PINMUX_DATA(PJ14_DATA, PJ14MD_000),
1357 PINMUX_DATA(DV_DATA14_MARK, PJ14MD_001),
1358 PINMUX_DATA(LCD_DATA14_PJ14_MARK, PJ14MD_010),
1359 PINMUX_DATA(PINT6_PJ_MARK, PJ14MD_011),
1360 PINMUX_DATA(PWM2G_MARK, PJ14MD_100),
1361 PINMUX_DATA(TXD6_MARK, PJ14MD_101),
1362
1363 PINMUX_DATA(PJ13_DATA, PJ13MD_000),
1364 PINMUX_DATA(DV_DATA13_MARK, PJ13MD_001),
1365 PINMUX_DATA(LCD_DATA13_PJ13_MARK, PJ13MD_010),
1366 PINMUX_DATA(PINT5_PJ_MARK, PJ13MD_011),
1367 PINMUX_DATA(PWM2F_MARK, PJ13MD_100),
1368 PINMUX_DATA(TXD5_MARK, PJ13MD_101),
1369
1370 PINMUX_DATA(PJ12_DATA, PJ12MD_000),
1371 PINMUX_DATA(DV_DATA12_MARK, PJ12MD_001),
1372 PINMUX_DATA(LCD_DATA12_PJ12_MARK, PJ12MD_010),
1373 PINMUX_DATA(PINT4_PJ_MARK, PJ12MD_011),
1374 PINMUX_DATA(PWM2E_MARK, PJ12MD_100),
1375 PINMUX_DATA(SCK7_MARK, PJ12MD_101),
1376
1377 PINMUX_DATA(PJ11_DATA, PJ11MD_000),
1378 PINMUX_DATA(DV_DATA11_MARK, PJ11MD_001),
1379 PINMUX_DATA(LCD_DATA11_PJ11_MARK, PJ11MD_010),
1380 PINMUX_DATA(PINT3_PJ_MARK, PJ11MD_011),
1381 PINMUX_DATA(PWM2D_MARK, PJ11MD_100),
1382 PINMUX_DATA(SCK6_MARK, PJ11MD_101),
1383
1384 PINMUX_DATA(PJ10_DATA, PJ10MD_000),
1385 PINMUX_DATA(DV_DATA10_MARK, PJ10MD_001),
1386 PINMUX_DATA(LCD_DATA10_PJ10_MARK, PJ10MD_010),
1387 PINMUX_DATA(PINT2_PJ_MARK, PJ10MD_011),
1388 PINMUX_DATA(PWM2C_MARK, PJ10MD_100),
1389 PINMUX_DATA(SCK5_MARK, PJ10MD_101),
1390
1391 PINMUX_DATA(PJ9_DATA, PJ9MD_000),
1392 PINMUX_DATA(DV_DATA9_MARK, PJ9MD_001),
1393 PINMUX_DATA(LCD_DATA9_PJ9_MARK, PJ9MD_010),
1394 PINMUX_DATA(PINT1_PJ_MARK, PJ9MD_011),
1395 PINMUX_DATA(PWM2B_MARK, PJ9MD_100),
1396 PINMUX_DATA(RTS5_MARK, PJ9MD_101),
1397
1398 PINMUX_DATA(PJ8_DATA, PJ8MD_000),
1399 PINMUX_DATA(DV_DATA8_MARK, PJ8MD_001),
1400 PINMUX_DATA(LCD_DATA8_PJ8_MARK, PJ8MD_010),
1401 PINMUX_DATA(PINT0_PJ_MARK, PJ8MD_011),
1402 PINMUX_DATA(PWM2A_MARK, PJ8MD_100),
1403 PINMUX_DATA(CTS5_MARK, PJ8MD_101),
1404
1405 PINMUX_DATA(PJ7_DATA, PJ7MD_000),
1406 PINMUX_DATA(DV_DATA7_MARK, PJ7MD_001),
1407 PINMUX_DATA(LCD_DATA7_PJ7_MARK, PJ7MD_010),
1408 PINMUX_DATA(SD_D2_MARK, PJ7MD_011),
1409 PINMUX_DATA(PWM1H_MARK, PJ7MD_100),
1410
1411 PINMUX_DATA(PJ6_DATA, PJ6MD_000),
1412 PINMUX_DATA(DV_DATA6_MARK, PJ6MD_001),
1413 PINMUX_DATA(LCD_DATA6_PJ6_MARK, PJ6MD_010),
1414 PINMUX_DATA(SD_D3_MARK, PJ6MD_011),
1415 PINMUX_DATA(PWM1G_MARK, PJ6MD_100),
1416
1417 PINMUX_DATA(PJ5_DATA, PJ5MD_000),
1418 PINMUX_DATA(DV_DATA5_MARK, PJ5MD_001),
1419 PINMUX_DATA(LCD_DATA5_PJ5_MARK, PJ5MD_010),
1420 PINMUX_DATA(SD_CMD_MARK, PJ5MD_011),
1421 PINMUX_DATA(PWM1F_MARK, PJ5MD_100),
1422
1423 PINMUX_DATA(PJ4_DATA, PJ4MD_000),
1424 PINMUX_DATA(DV_DATA4_MARK, PJ4MD_001),
1425 PINMUX_DATA(LCD_DATA4_PJ4_MARK, PJ4MD_010),
1426 PINMUX_DATA(SD_CLK_MARK, PJ4MD_011),
1427 PINMUX_DATA(PWM1E_MARK, PJ4MD_100),
1428
1429 PINMUX_DATA(PJ3_DATA, PJ3MD_000),
1430 PINMUX_DATA(DV_DATA3_MARK, PJ3MD_001),
1431 PINMUX_DATA(LCD_DATA3_PJ3_MARK, PJ3MD_010),
1432 PINMUX_DATA(SD_D0_MARK, PJ3MD_011),
1433 PINMUX_DATA(PWM1D_MARK, PJ3MD_100),
1434
1435 PINMUX_DATA(PJ2_DATA, PJ2MD_000),
1436 PINMUX_DATA(DV_DATA2_MARK, PJ2MD_001),
1437 PINMUX_DATA(LCD_DATA2_PJ2_MARK, PJ2MD_010),
1438 PINMUX_DATA(SD_D1_MARK, PJ2MD_011),
1439 PINMUX_DATA(PWM1C_MARK, PJ2MD_100),
1440
1441 PINMUX_DATA(PJ1_DATA, PJ1MD_000),
1442 PINMUX_DATA(DV_DATA1_MARK, PJ1MD_001),
1443 PINMUX_DATA(LCD_DATA1_PJ1_MARK, PJ1MD_010),
1444 PINMUX_DATA(SD_WP_MARK, PJ1MD_011),
1445 PINMUX_DATA(PWM1B_MARK, PJ1MD_100),
1446
1447 PINMUX_DATA(PJ0_DATA, PJ0MD_000),
1448 PINMUX_DATA(DV_DATA0_MARK, PJ0MD_001),
1449 PINMUX_DATA(LCD_DATA0_PJ0_MARK, PJ0MD_010),
1450 PINMUX_DATA(SD_CD_MARK, PJ0MD_011),
1451 PINMUX_DATA(PWM1A_MARK, PJ0MD_100),
1452};
1453
1454static const struct sh_pfc_pin pinmux_pins[] = {
1455
1456 PINMUX_GPIO(PA1),
1457 PINMUX_GPIO(PA0),
1458
1459
1460 PINMUX_GPIO(PB22),
1461 PINMUX_GPIO(PB21),
1462 PINMUX_GPIO(PB20),
1463 PINMUX_GPIO(PB19),
1464 PINMUX_GPIO(PB18),
1465 PINMUX_GPIO(PB17),
1466 PINMUX_GPIO(PB16),
1467 PINMUX_GPIO(PB15),
1468 PINMUX_GPIO(PB14),
1469 PINMUX_GPIO(PB13),
1470 PINMUX_GPIO(PB12),
1471 PINMUX_GPIO(PB11),
1472 PINMUX_GPIO(PB10),
1473 PINMUX_GPIO(PB9),
1474 PINMUX_GPIO(PB8),
1475 PINMUX_GPIO(PB7),
1476 PINMUX_GPIO(PB6),
1477 PINMUX_GPIO(PB5),
1478 PINMUX_GPIO(PB4),
1479 PINMUX_GPIO(PB3),
1480 PINMUX_GPIO(PB2),
1481 PINMUX_GPIO(PB1),
1482
1483
1484 PINMUX_GPIO(PC8),
1485 PINMUX_GPIO(PC7),
1486 PINMUX_GPIO(PC6),
1487 PINMUX_GPIO(PC5),
1488 PINMUX_GPIO(PC4),
1489 PINMUX_GPIO(PC3),
1490 PINMUX_GPIO(PC2),
1491 PINMUX_GPIO(PC1),
1492 PINMUX_GPIO(PC0),
1493
1494
1495 PINMUX_GPIO(PD15),
1496 PINMUX_GPIO(PD14),
1497 PINMUX_GPIO(PD13),
1498 PINMUX_GPIO(PD12),
1499 PINMUX_GPIO(PD11),
1500 PINMUX_GPIO(PD10),
1501 PINMUX_GPIO(PD9),
1502 PINMUX_GPIO(PD8),
1503 PINMUX_GPIO(PD7),
1504 PINMUX_GPIO(PD6),
1505 PINMUX_GPIO(PD5),
1506 PINMUX_GPIO(PD4),
1507 PINMUX_GPIO(PD3),
1508 PINMUX_GPIO(PD2),
1509 PINMUX_GPIO(PD1),
1510 PINMUX_GPIO(PD0),
1511
1512
1513 PINMUX_GPIO(PE7),
1514 PINMUX_GPIO(PE6),
1515 PINMUX_GPIO(PE5),
1516 PINMUX_GPIO(PE4),
1517 PINMUX_GPIO(PE3),
1518 PINMUX_GPIO(PE2),
1519 PINMUX_GPIO(PE1),
1520 PINMUX_GPIO(PE0),
1521
1522
1523 PINMUX_GPIO(PF23),
1524 PINMUX_GPIO(PF22),
1525 PINMUX_GPIO(PF21),
1526 PINMUX_GPIO(PF20),
1527 PINMUX_GPIO(PF19),
1528 PINMUX_GPIO(PF18),
1529 PINMUX_GPIO(PF17),
1530 PINMUX_GPIO(PF16),
1531 PINMUX_GPIO(PF15),
1532 PINMUX_GPIO(PF14),
1533 PINMUX_GPIO(PF13),
1534 PINMUX_GPIO(PF12),
1535 PINMUX_GPIO(PF11),
1536 PINMUX_GPIO(PF10),
1537 PINMUX_GPIO(PF9),
1538 PINMUX_GPIO(PF8),
1539 PINMUX_GPIO(PF7),
1540 PINMUX_GPIO(PF6),
1541 PINMUX_GPIO(PF5),
1542 PINMUX_GPIO(PF4),
1543 PINMUX_GPIO(PF3),
1544 PINMUX_GPIO(PF2),
1545 PINMUX_GPIO(PF1),
1546 PINMUX_GPIO(PF0),
1547
1548
1549 PINMUX_GPIO(PG27),
1550 PINMUX_GPIO(PG26),
1551 PINMUX_GPIO(PG25),
1552 PINMUX_GPIO(PG24),
1553 PINMUX_GPIO(PG23),
1554 PINMUX_GPIO(PG22),
1555 PINMUX_GPIO(PG21),
1556 PINMUX_GPIO(PG20),
1557 PINMUX_GPIO(PG19),
1558 PINMUX_GPIO(PG18),
1559 PINMUX_GPIO(PG17),
1560 PINMUX_GPIO(PG16),
1561 PINMUX_GPIO(PG15),
1562 PINMUX_GPIO(PG14),
1563 PINMUX_GPIO(PG13),
1564 PINMUX_GPIO(PG12),
1565 PINMUX_GPIO(PG11),
1566 PINMUX_GPIO(PG10),
1567 PINMUX_GPIO(PG9),
1568 PINMUX_GPIO(PG8),
1569 PINMUX_GPIO(PG7),
1570 PINMUX_GPIO(PG6),
1571 PINMUX_GPIO(PG5),
1572 PINMUX_GPIO(PG4),
1573 PINMUX_GPIO(PG3),
1574 PINMUX_GPIO(PG2),
1575 PINMUX_GPIO(PG1),
1576 PINMUX_GPIO(PG0),
1577
1578
1579
1580
1581
1582
1583 PINMUX_GPIO(PJ31),
1584 PINMUX_GPIO(PJ30),
1585 PINMUX_GPIO(PJ29),
1586 PINMUX_GPIO(PJ28),
1587 PINMUX_GPIO(PJ27),
1588 PINMUX_GPIO(PJ26),
1589 PINMUX_GPIO(PJ25),
1590 PINMUX_GPIO(PJ24),
1591 PINMUX_GPIO(PJ23),
1592 PINMUX_GPIO(PJ22),
1593 PINMUX_GPIO(PJ21),
1594 PINMUX_GPIO(PJ20),
1595 PINMUX_GPIO(PJ19),
1596 PINMUX_GPIO(PJ18),
1597 PINMUX_GPIO(PJ17),
1598 PINMUX_GPIO(PJ16),
1599 PINMUX_GPIO(PJ15),
1600 PINMUX_GPIO(PJ14),
1601 PINMUX_GPIO(PJ13),
1602 PINMUX_GPIO(PJ12),
1603 PINMUX_GPIO(PJ11),
1604 PINMUX_GPIO(PJ10),
1605 PINMUX_GPIO(PJ9),
1606 PINMUX_GPIO(PJ8),
1607 PINMUX_GPIO(PJ7),
1608 PINMUX_GPIO(PJ6),
1609 PINMUX_GPIO(PJ5),
1610 PINMUX_GPIO(PJ4),
1611 PINMUX_GPIO(PJ3),
1612 PINMUX_GPIO(PJ2),
1613 PINMUX_GPIO(PJ1),
1614 PINMUX_GPIO(PJ0),
1615};
1616
1617#define PINMUX_FN_BASE ARRAY_SIZE(pinmux_pins)
1618
1619static const struct pinmux_func pinmux_func_gpios[] = {
1620
1621 GPIO_FN(IRQ7_PG),
1622 GPIO_FN(IRQ6_PG),
1623 GPIO_FN(IRQ5_PG),
1624 GPIO_FN(IRQ4_PG),
1625 GPIO_FN(IRQ3_PG),
1626 GPIO_FN(IRQ2_PG),
1627 GPIO_FN(IRQ1_PG),
1628 GPIO_FN(IRQ0_PG),
1629 GPIO_FN(IRQ7_PF),
1630 GPIO_FN(IRQ6_PF),
1631 GPIO_FN(IRQ5_PF),
1632 GPIO_FN(IRQ4_PF),
1633 GPIO_FN(IRQ3_PJ),
1634 GPIO_FN(IRQ2_PJ),
1635 GPIO_FN(IRQ1_PJ),
1636 GPIO_FN(IRQ0_PJ),
1637 GPIO_FN(IRQ1_PC),
1638 GPIO_FN(IRQ0_PC),
1639
1640 GPIO_FN(PINT7_PG),
1641 GPIO_FN(PINT6_PG),
1642 GPIO_FN(PINT5_PG),
1643 GPIO_FN(PINT4_PG),
1644 GPIO_FN(PINT3_PG),
1645 GPIO_FN(PINT2_PG),
1646 GPIO_FN(PINT1_PG),
1647 GPIO_FN(PINT0_PG),
1648 GPIO_FN(PINT7_PH),
1649 GPIO_FN(PINT6_PH),
1650 GPIO_FN(PINT5_PH),
1651 GPIO_FN(PINT4_PH),
1652 GPIO_FN(PINT3_PH),
1653 GPIO_FN(PINT2_PH),
1654 GPIO_FN(PINT1_PH),
1655 GPIO_FN(PINT0_PH),
1656 GPIO_FN(PINT7_PJ),
1657 GPIO_FN(PINT6_PJ),
1658 GPIO_FN(PINT5_PJ),
1659 GPIO_FN(PINT4_PJ),
1660 GPIO_FN(PINT3_PJ),
1661 GPIO_FN(PINT2_PJ),
1662 GPIO_FN(PINT1_PJ),
1663 GPIO_FN(PINT0_PJ),
1664
1665
1666 GPIO_FN(WDTOVF),
1667
1668
1669 GPIO_FN(CTX2),
1670 GPIO_FN(CRX2),
1671 GPIO_FN(CTX1),
1672 GPIO_FN(CRX1),
1673 GPIO_FN(CTX0),
1674 GPIO_FN(CRX0),
1675 GPIO_FN(CTX0_CTX1),
1676 GPIO_FN(CRX0_CRX1),
1677 GPIO_FN(CTX0_CTX1_CTX2),
1678 GPIO_FN(CRX0_CRX1_CRX2),
1679 GPIO_FN(CTX2_PJ21),
1680 GPIO_FN(CRX2_PJ20),
1681 GPIO_FN(CTX1_PJ23),
1682 GPIO_FN(CRX1_PJ22),
1683 GPIO_FN(CTX0_CTX1_PJ23),
1684 GPIO_FN(CRX0_CRX1_PJ22),
1685 GPIO_FN(CTX0_CTX1_CTX2_PJ21),
1686 GPIO_FN(CRX0_CRX1_CRX2_PJ20),
1687
1688
1689 GPIO_FN(TEND0),
1690 GPIO_FN(DACK0),
1691 GPIO_FN(DREQ0),
1692 GPIO_FN(TEND1),
1693 GPIO_FN(DACK1),
1694 GPIO_FN(DREQ1),
1695
1696
1697 GPIO_FN(ADTRG),
1698
1699
1700 GPIO_FN(A25),
1701 GPIO_FN(A24),
1702 GPIO_FN(A23),
1703 GPIO_FN(A22),
1704 GPIO_FN(A21),
1705 GPIO_FN(A20),
1706 GPIO_FN(A19),
1707 GPIO_FN(A18),
1708 GPIO_FN(A17),
1709 GPIO_FN(A16),
1710 GPIO_FN(A15),
1711 GPIO_FN(A14),
1712 GPIO_FN(A13),
1713 GPIO_FN(A12),
1714 GPIO_FN(A11),
1715 GPIO_FN(A10),
1716 GPIO_FN(A9),
1717 GPIO_FN(A8),
1718 GPIO_FN(A7),
1719 GPIO_FN(A6),
1720 GPIO_FN(A5),
1721 GPIO_FN(A4),
1722 GPIO_FN(A3),
1723 GPIO_FN(A2),
1724 GPIO_FN(A1),
1725 GPIO_FN(A0),
1726
1727 GPIO_FN(D15),
1728 GPIO_FN(D14),
1729 GPIO_FN(D13),
1730 GPIO_FN(D12),
1731 GPIO_FN(D11),
1732 GPIO_FN(D10),
1733 GPIO_FN(D9),
1734 GPIO_FN(D8),
1735 GPIO_FN(D7),
1736 GPIO_FN(D6),
1737 GPIO_FN(D5),
1738 GPIO_FN(D4),
1739 GPIO_FN(D3),
1740 GPIO_FN(D2),
1741 GPIO_FN(D1),
1742 GPIO_FN(D0),
1743
1744 GPIO_FN(BS),
1745 GPIO_FN(CS4),
1746 GPIO_FN(CS3),
1747 GPIO_FN(CS2),
1748 GPIO_FN(CS1),
1749 GPIO_FN(CS0),
1750 GPIO_FN(CS5CE1A),
1751 GPIO_FN(CE2A),
1752 GPIO_FN(CE2B),
1753 GPIO_FN(RD),
1754 GPIO_FN(RDWR),
1755 GPIO_FN(WE3ICIOWRAHDQMUU),
1756 GPIO_FN(WE2ICIORDDQMUL),
1757 GPIO_FN(WE1DQMUWE),
1758 GPIO_FN(WE0DQML),
1759 GPIO_FN(RAS),
1760 GPIO_FN(CAS),
1761 GPIO_FN(CKE),
1762 GPIO_FN(WAIT),
1763 GPIO_FN(BREQ),
1764 GPIO_FN(BACK),
1765 GPIO_FN(IOIS16),
1766
1767
1768 GPIO_FN(TIOC4D),
1769 GPIO_FN(TIOC4C),
1770 GPIO_FN(TIOC4B),
1771 GPIO_FN(TIOC4A),
1772 GPIO_FN(TIOC3D),
1773 GPIO_FN(TIOC3C),
1774 GPIO_FN(TIOC3B),
1775 GPIO_FN(TIOC3A),
1776 GPIO_FN(TIOC2B),
1777 GPIO_FN(TIOC1B),
1778 GPIO_FN(TIOC2A),
1779 GPIO_FN(TIOC1A),
1780 GPIO_FN(TIOC0D),
1781 GPIO_FN(TIOC0C),
1782 GPIO_FN(TIOC0B),
1783 GPIO_FN(TIOC0A),
1784 GPIO_FN(TCLKD),
1785 GPIO_FN(TCLKC),
1786 GPIO_FN(TCLKB),
1787 GPIO_FN(TCLKA),
1788
1789
1790 GPIO_FN(SCK0),
1791 GPIO_FN(TXD0),
1792 GPIO_FN(RXD0),
1793 GPIO_FN(SCK1),
1794 GPIO_FN(TXD1),
1795 GPIO_FN(RXD1),
1796 GPIO_FN(RTS1),
1797 GPIO_FN(CTS1),
1798 GPIO_FN(SCK2),
1799 GPIO_FN(TXD2),
1800 GPIO_FN(RXD2),
1801 GPIO_FN(SCK3),
1802 GPIO_FN(TXD3),
1803 GPIO_FN(RXD3),
1804 GPIO_FN(SCK4),
1805 GPIO_FN(TXD4),
1806 GPIO_FN(RXD4),
1807 GPIO_FN(SCK5),
1808 GPIO_FN(TXD5),
1809 GPIO_FN(RXD5),
1810 GPIO_FN(RTS5),
1811 GPIO_FN(CTS5),
1812 GPIO_FN(SCK6),
1813 GPIO_FN(TXD6),
1814 GPIO_FN(RXD6),
1815 GPIO_FN(SCK7),
1816 GPIO_FN(TXD7),
1817 GPIO_FN(RXD7),
1818 GPIO_FN(RTS7),
1819 GPIO_FN(CTS7),
1820
1821
1822 GPIO_FN(RSPCK0_PJ16),
1823 GPIO_FN(SSL00_PJ17),
1824 GPIO_FN(MOSI0_PJ18),
1825 GPIO_FN(MISO0_PJ19),
1826 GPIO_FN(RSPCK0_PB17),
1827 GPIO_FN(SSL00_PB18),
1828 GPIO_FN(MOSI0_PB19),
1829 GPIO_FN(MISO0_PB20),
1830 GPIO_FN(RSPCK1),
1831 GPIO_FN(MOSI1),
1832 GPIO_FN(MISO1),
1833 GPIO_FN(SSL10),
1834
1835
1836 GPIO_FN(SCL0),
1837 GPIO_FN(SCL1),
1838 GPIO_FN(SCL2),
1839 GPIO_FN(SDA0),
1840 GPIO_FN(SDA1),
1841 GPIO_FN(SDA2),
1842
1843
1844 GPIO_FN(SSISCK0),
1845 GPIO_FN(SSIWS0),
1846 GPIO_FN(SSITXD0),
1847 GPIO_FN(SSIRXD0),
1848 GPIO_FN(SSIWS1),
1849 GPIO_FN(SSIWS2),
1850 GPIO_FN(SSIWS3),
1851 GPIO_FN(SSISCK1),
1852 GPIO_FN(SSISCK2),
1853 GPIO_FN(SSISCK3),
1854 GPIO_FN(SSIDATA1),
1855 GPIO_FN(SSIDATA2),
1856 GPIO_FN(SSIDATA3),
1857 GPIO_FN(AUDIO_CLK),
1858 GPIO_FN(AUDIO_XOUT),
1859
1860
1861 GPIO_FN(SIOFTXD),
1862 GPIO_FN(SIOFRXD),
1863 GPIO_FN(SIOFSYNC),
1864 GPIO_FN(SIOFSCK),
1865
1866
1867 GPIO_FN(SPDIF_IN),
1868 GPIO_FN(SPDIF_OUT),
1869
1870
1871 GPIO_FN(FCE),
1872 GPIO_FN(FRB),
1873
1874
1875 GPIO_FN(DV_CLK),
1876 GPIO_FN(DV_VSYNC),
1877 GPIO_FN(DV_HSYNC),
1878
1879 GPIO_FN(DV_DATA23),
1880 GPIO_FN(DV_DATA22),
1881 GPIO_FN(DV_DATA21),
1882 GPIO_FN(DV_DATA20),
1883 GPIO_FN(DV_DATA19),
1884 GPIO_FN(DV_DATA18),
1885 GPIO_FN(DV_DATA17),
1886 GPIO_FN(DV_DATA16),
1887 GPIO_FN(DV_DATA15),
1888 GPIO_FN(DV_DATA14),
1889 GPIO_FN(DV_DATA13),
1890 GPIO_FN(DV_DATA12),
1891 GPIO_FN(DV_DATA11),
1892 GPIO_FN(DV_DATA10),
1893 GPIO_FN(DV_DATA9),
1894 GPIO_FN(DV_DATA8),
1895 GPIO_FN(DV_DATA7),
1896 GPIO_FN(DV_DATA6),
1897 GPIO_FN(DV_DATA5),
1898 GPIO_FN(DV_DATA4),
1899 GPIO_FN(DV_DATA3),
1900 GPIO_FN(DV_DATA2),
1901 GPIO_FN(DV_DATA1),
1902 GPIO_FN(DV_DATA0),
1903
1904 GPIO_FN(LCD_CLK),
1905 GPIO_FN(LCD_EXTCLK),
1906 GPIO_FN(LCD_VSYNC),
1907 GPIO_FN(LCD_HSYNC),
1908 GPIO_FN(LCD_DE),
1909
1910 GPIO_FN(LCD_DATA23_PG23),
1911 GPIO_FN(LCD_DATA22_PG22),
1912 GPIO_FN(LCD_DATA21_PG21),
1913 GPIO_FN(LCD_DATA20_PG20),
1914 GPIO_FN(LCD_DATA19_PG19),
1915 GPIO_FN(LCD_DATA18_PG18),
1916 GPIO_FN(LCD_DATA17_PG17),
1917 GPIO_FN(LCD_DATA16_PG16),
1918 GPIO_FN(LCD_DATA15_PG15),
1919 GPIO_FN(LCD_DATA14_PG14),
1920 GPIO_FN(LCD_DATA13_PG13),
1921 GPIO_FN(LCD_DATA12_PG12),
1922 GPIO_FN(LCD_DATA11_PG11),
1923 GPIO_FN(LCD_DATA10_PG10),
1924 GPIO_FN(LCD_DATA9_PG9),
1925 GPIO_FN(LCD_DATA8_PG8),
1926 GPIO_FN(LCD_DATA7_PG7),
1927 GPIO_FN(LCD_DATA6_PG6),
1928 GPIO_FN(LCD_DATA5_PG5),
1929 GPIO_FN(LCD_DATA4_PG4),
1930 GPIO_FN(LCD_DATA3_PG3),
1931 GPIO_FN(LCD_DATA2_PG2),
1932 GPIO_FN(LCD_DATA1_PG1),
1933 GPIO_FN(LCD_DATA0_PG0),
1934
1935 GPIO_FN(LCD_DATA23_PJ23),
1936 GPIO_FN(LCD_DATA22_PJ22),
1937 GPIO_FN(LCD_DATA21_PJ21),
1938 GPIO_FN(LCD_DATA20_PJ20),
1939 GPIO_FN(LCD_DATA19_PJ19),
1940 GPIO_FN(LCD_DATA18_PJ18),
1941 GPIO_FN(LCD_DATA17_PJ17),
1942 GPIO_FN(LCD_DATA16_PJ16),
1943 GPIO_FN(LCD_DATA15_PJ15),
1944 GPIO_FN(LCD_DATA14_PJ14),
1945 GPIO_FN(LCD_DATA13_PJ13),
1946 GPIO_FN(LCD_DATA12_PJ12),
1947 GPIO_FN(LCD_DATA11_PJ11),
1948 GPIO_FN(LCD_DATA10_PJ10),
1949 GPIO_FN(LCD_DATA9_PJ9),
1950 GPIO_FN(LCD_DATA8_PJ8),
1951 GPIO_FN(LCD_DATA7_PJ7),
1952 GPIO_FN(LCD_DATA6_PJ6),
1953 GPIO_FN(LCD_DATA5_PJ5),
1954 GPIO_FN(LCD_DATA4_PJ4),
1955 GPIO_FN(LCD_DATA3_PJ3),
1956 GPIO_FN(LCD_DATA2_PJ2),
1957 GPIO_FN(LCD_DATA1_PJ1),
1958 GPIO_FN(LCD_DATA0_PJ0),
1959
1960 GPIO_FN(LCD_M_DISP),
1961};
1962
1963static const struct pinmux_cfg_reg pinmux_config_regs[] = {
1964
1965
1966
1967
1968
1969
1970 { PINMUX_CFG_REG("PAIOR0", 0xfffe3812, 16, 1, GROUP(
1971 0, 0, 0, 0, 0, 0, 0, 0,
1972 0, 0, 0, 0, 0, 0, PA1_IN, PA1_OUT,
1973 0, 0, 0, 0, 0, 0, 0, 0,
1974 0, 0, 0, 0, 0, 0, PA0_IN, PA0_OUT ))
1975 },
1976 { PINMUX_CFG_REG("PBCR5", 0xfffe3824, 16, 4, GROUP(
1977 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1978
1979 PB22MD_000, PB22MD_001, PB22MD_010, PB22MD_011,
1980 PB22MD_100, PB22MD_101, PB22MD_110, PB22MD_111,
1981 0, 0, 0, 0, 0, 0, 0, 0,
1982
1983 PB21MD_00, PB21MD_01, PB21MD_10, PB21MD_11, 0, 0, 0, 0,
1984 0, 0, 0, 0, 0, 0, 0, 0,
1985
1986 PB20MD_000, PB20MD_001, PB20MD_010, PB20MD_011,
1987 PB20MD_100, PB20MD_101, PB20MD_110, PB20MD_111,
1988 0, 0, 0, 0, 0, 0, 0, 0 ))
1989 },
1990 { PINMUX_CFG_REG("PBCR4", 0xfffe3826, 16, 4, GROUP(
1991 PB19MD_000, PB19MD_001, PB19MD_010, PB19MD_011,
1992 PB19MD_100, PB19MD_101, PB19MD_110, PB19MD_111,
1993 0, 0, 0, 0, 0, 0, 0, 0,
1994
1995 PB18MD_000, PB18MD_001, PB18MD_010, PB18MD_011,
1996 PB18MD_100, PB18MD_101, PB18MD_110, PB18MD_111,
1997 0, 0, 0, 0, 0, 0, 0, 0,
1998
1999 PB17MD_000, PB17MD_001, PB17MD_010, PB17MD_011,
2000 PB17MD_100, PB17MD_101, PB17MD_110, PB17MD_111,
2001 0, 0, 0, 0, 0, 0, 0, 0,
2002
2003 PB16MD_000, PB16MD_001, PB16MD_010, PB16MD_011,
2004 PB16MD_100, PB16MD_101, PB16MD_110, PB16MD_111,
2005 0, 0, 0, 0, 0, 0, 0, 0 ))
2006 },
2007 { PINMUX_CFG_REG("PBCR3", 0xfffe3828, 16, 4, GROUP(
2008 PB15MD_000, PB15MD_001, PB15MD_010, PB15MD_011,
2009 PB15MD_100, PB15MD_101, PB15MD_110, PB15MD_111,
2010 0, 0, 0, 0, 0, 0, 0, 0,
2011
2012 PB14MD_000, PB14MD_001, PB14MD_010, PB14MD_011,
2013 PB14MD_100, PB14MD_101, PB14MD_110, PB14MD_111,
2014 0, 0, 0, 0, 0, 0, 0, 0,
2015
2016 PB13MD_000, PB13MD_001, PB13MD_010, PB13MD_011,
2017 PB13MD_100, PB13MD_101, PB13MD_110, PB13MD_111,
2018 0, 0, 0, 0, 0, 0, 0, 0,
2019
2020 PB12MD_00, PB12MD_01, PB12MD_10, PB12MD_11, 0, 0, 0, 0,
2021 0, 0, 0, 0, 0, 0, 0, 0 ))
2022 },
2023 { PINMUX_CFG_REG("PBCR2", 0xfffe382a, 16, 4, GROUP(
2024 PB11MD_00, PB11MD_01, PB11MD_10, PB11MD_11, 0, 0, 0, 0,
2025 0, 0, 0, 0, 0, 0, 0, 0,
2026
2027 PB10MD_00, PB10MD_01, PB10MD_10, PB10MD_11, 0, 0, 0, 0,
2028 0, 0, 0, 0, 0, 0, 0, 0,
2029
2030 PB9MD_00, PB9MD_01, PB9MD_10, PB9MD_11, 0, 0, 0, 0,
2031 0, 0, 0, 0, 0, 0, 0, 0,
2032
2033 PB8MD_00, PB8MD_01, PB8MD_10, PB8MD_11, 0, 0, 0, 0,
2034 0, 0, 0, 0, 0, 0, 0, 0 ))
2035 },
2036 { PINMUX_CFG_REG("PBCR1", 0xfffe382c, 16, 4, GROUP(
2037 PB7MD_00, PB7MD_01, PB7MD_10, PB7MD_11, 0, 0, 0, 0,
2038 0, 0, 0, 0, 0, 0, 0, 0,
2039
2040 PB6MD_00, PB6MD_01, PB6MD_10, PB6MD_11, 0, 0, 0, 0,
2041 0, 0, 0, 0, 0, 0, 0, 0,
2042
2043 PB5MD_00, PB5MD_01, PB5MD_10, PB5MD_11, 0, 0, 0, 0,
2044 0, 0, 0, 0, 0, 0, 0, 0,
2045
2046 PB4MD_00, PB4MD_01, PB4MD_10, PB4MD_11, 0, 0, 0, 0,
2047 0, 0, 0, 0, 0, 0, 0, 0 ))
2048 },
2049 { PINMUX_CFG_REG("PBCR0", 0xfffe382e, 16, 4, GROUP(
2050 PB3MD_00, PB3MD_01, PB3MD_10, PB3MD_11, 0, 0, 0, 0,
2051 0, 0, 0, 0, 0, 0, 0, 0,
2052
2053 PB2MD_00, PB2MD_01, PB2MD_10, PB2MD_11, 0, 0, 0, 0,
2054 0, 0, 0, 0, 0, 0, 0, 0,
2055
2056 PB1MD_00, PB1MD_01, PB1MD_10, PB1MD_11, 0, 0, 0, 0,
2057 0, 0, 0, 0, 0, 0, 0, 0,
2058
2059 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
2060 },
2061
2062 { PINMUX_CFG_REG("PBIOR1", 0xfffe3830, 16, 1, GROUP(
2063 0, 0, 0, 0, 0, 0, 0, 0,
2064 0, 0, 0, 0, 0, 0, 0, 0,
2065 0, 0,
2066 PB22_IN, PB22_OUT,
2067 PB21_IN, PB21_OUT,
2068 PB20_IN, PB20_OUT,
2069 PB19_IN, PB19_OUT,
2070 PB18_IN, PB18_OUT,
2071 PB17_IN, PB17_OUT,
2072 PB16_IN, PB16_OUT ))
2073 },
2074 { PINMUX_CFG_REG("PBIOR0", 0xfffe3832, 16, 1, GROUP(
2075 PB15_IN, PB15_OUT,
2076 PB14_IN, PB14_OUT,
2077 PB13_IN, PB13_OUT,
2078 PB12_IN, PB12_OUT,
2079 PB11_IN, PB11_OUT,
2080 PB10_IN, PB10_OUT,
2081 PB9_IN, PB9_OUT,
2082 PB8_IN, PB8_OUT,
2083 PB7_IN, PB7_OUT,
2084 PB6_IN, PB6_OUT,
2085 PB5_IN, PB5_OUT,
2086 PB4_IN, PB4_OUT,
2087 PB3_IN, PB3_OUT,
2088 PB2_IN, PB2_OUT,
2089 PB1_IN, PB1_OUT,
2090 0, 0 ))
2091 },
2092
2093 { PINMUX_CFG_REG("PCCR2", 0xfffe384a, 16, 4, GROUP(
2094 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2095
2096 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2097
2098 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2099
2100 PC8MD_000, PC8MD_001, PC8MD_010, PC8MD_011,
2101 PC8MD_100, PC8MD_101, PC8MD_110, PC8MD_111,
2102 0, 0, 0, 0, 0, 0, 0, 0 ))
2103 },
2104 { PINMUX_CFG_REG("PCCR1", 0xfffe384c, 16, 4, GROUP(
2105 PC7MD_000, PC7MD_001, PC7MD_010, PC7MD_011,
2106 PC7MD_100, PC7MD_101, PC7MD_110, PC7MD_111,
2107 0, 0, 0, 0, 0, 0, 0, 0,
2108
2109 PC6MD_000, PC6MD_001, PC6MD_010, PC6MD_011,
2110 PC6MD_100, PC6MD_101, PC6MD_110, PC6MD_111,
2111 0, 0, 0, 0, 0, 0, 0, 0,
2112
2113 PC5MD_000, PC5MD_001, PC5MD_010, PC5MD_011,
2114 PC5MD_100, PC5MD_101, PC5MD_110, PC5MD_111,
2115 0, 0, 0, 0, 0, 0, 0, 0,
2116
2117 PC4MD_00, PC4MD_01, PC4MD_10, PC4MD_11, 0, 0, 0, 0,
2118 0, 0, 0, 0, 0, 0, 0, 0 ))
2119 },
2120 { PINMUX_CFG_REG("PCCR0", 0xfffe384e, 16, 4, GROUP(
2121 PC3MD_00, PC3MD_01, PC3MD_10, PC3MD_11, 0, 0, 0, 0,
2122 0, 0, 0, 0, 0, 0, 0, 0,
2123
2124 PC2MD_00, PC2MD_01, PC2MD_10, PC2MD_11, 0, 0, 0, 0,
2125 0, 0, 0, 0, 0, 0, 0, 0,
2126
2127 PC1MD_0, PC1MD_1, 0, 0, 0, 0, 0, 0,
2128 0, 0, 0, 0, 0, 0, 0, 0,
2129
2130 PC0MD_0, PC0MD_1, 0, 0, 0, 0, 0, 0,
2131 0, 0, 0, 0, 0, 0, 0, 0 ))
2132 },
2133
2134 { PINMUX_CFG_REG("PCIOR0", 0xfffe3852, 16, 1, GROUP(
2135 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2136 PC8_IN, PC8_OUT,
2137 PC7_IN, PC7_OUT,
2138 PC6_IN, PC6_OUT,
2139 PC5_IN, PC5_OUT,
2140 PC4_IN, PC4_OUT,
2141 PC3_IN, PC3_OUT,
2142 PC2_IN, PC2_OUT,
2143 PC1_IN, PC1_OUT,
2144 PC0_IN, PC0_OUT ))
2145 },
2146
2147 { PINMUX_CFG_REG("PDCR3", 0xfffe3868, 16, 4, GROUP(
2148 PD15MD_00, PD15MD_01, PD15MD_10, PD15MD_11, 0, 0, 0, 0,
2149 0, 0, 0, 0, 0, 0, 0, 0,
2150
2151 PD14MD_00, PD14MD_01, PD14MD_10, PD14MD_11, 0, 0, 0, 0,
2152 0, 0, 0, 0, 0, 0, 0, 0,
2153
2154 PD13MD_00, PD13MD_01, PD13MD_10, PD13MD_11, 0, 0, 0, 0,
2155 0, 0, 0, 0, 0, 0, 0, 0,
2156
2157 PD12MD_00, PD12MD_01, PD12MD_10, PD12MD_11, 0, 0, 0, 0,
2158 0, 0, 0, 0, 0, 0, 0, 0 ))
2159 },
2160 { PINMUX_CFG_REG("PDCR2", 0xfffe386a, 16, 4, GROUP(
2161 PD11MD_00, PD11MD_01, PD11MD_10, PD11MD_11, 0, 0, 0, 0,
2162 0, 0, 0, 0, 0, 0, 0, 0,
2163
2164 PD10MD_00, PD10MD_01, PD10MD_10, PD10MD_11, 0, 0, 0, 0,
2165 0, 0, 0, 0, 0, 0, 0, 0,
2166
2167 PD9MD_00, PD9MD_01, PD9MD_10, PD9MD_11, 0, 0, 0, 0,
2168 0, 0, 0, 0, 0, 0, 0, 0,
2169
2170 PD8MD_00, PD8MD_01, PD8MD_10, PD8MD_11, 0, 0, 0, 0,
2171 0, 0, 0, 0, 0, 0, 0, 0 ))
2172 },
2173 { PINMUX_CFG_REG("PDCR1", 0xfffe386c, 16, 4, GROUP(
2174 PD7MD_00, PD7MD_01, PD7MD_10, PD7MD_11, 0, 0, 0, 0,
2175 0, 0, 0, 0, 0, 0, 0, 0,
2176
2177 PD6MD_00, PD6MD_01, PD6MD_10, PD6MD_11, 0, 0, 0, 0,
2178 0, 0, 0, 0, 0, 0, 0, 0,
2179
2180 PD5MD_00, PD5MD_01, PD5MD_10, PD5MD_11, 0, 0, 0, 0,
2181 0, 0, 0, 0, 0, 0, 0, 0,
2182
2183 PD4MD_00, PD4MD_01, PD4MD_10, PD4MD_11, 0, 0, 0, 0,
2184 0, 0, 0, 0, 0, 0, 0, 0 ))
2185 },
2186 { PINMUX_CFG_REG("PDCR0", 0xfffe386e, 16, 4, GROUP(
2187 PD3MD_00, PD3MD_01, PD3MD_10, PD3MD_11, 0, 0, 0, 0,
2188 0, 0, 0, 0, 0, 0, 0, 0,
2189
2190 PD2MD_00, PD2MD_01, PD2MD_10, PD2MD_11, 0, 0, 0, 0,
2191 0, 0, 0, 0, 0, 0, 0, 0,
2192
2193 PD1MD_00, PD1MD_01, PD1MD_10, PD1MD_11, 0, 0, 0, 0,
2194 0, 0, 0, 0, 0, 0, 0, 0,
2195
2196 PD0MD_00, PD0MD_01, PD0MD_10, PD0MD_11, 0, 0, 0, 0,
2197 0, 0, 0, 0, 0, 0, 0, 0 ))
2198 },
2199
2200 { PINMUX_CFG_REG("PDIOR0", 0xfffe3872, 16, 1, GROUP(
2201 PD15_IN, PD15_OUT,
2202 PD14_IN, PD14_OUT,
2203 PD13_IN, PD13_OUT,
2204 PD12_IN, PD12_OUT,
2205 PD11_IN, PD11_OUT,
2206 PD10_IN, PD10_OUT,
2207 PD9_IN, PD9_OUT,
2208 PD8_IN, PD8_OUT,
2209 PD7_IN, PD7_OUT,
2210 PD6_IN, PD6_OUT,
2211 PD5_IN, PD5_OUT,
2212 PD4_IN, PD4_OUT,
2213 PD3_IN, PD3_OUT,
2214 PD2_IN, PD2_OUT,
2215 PD1_IN, PD1_OUT,
2216 PD0_IN, PD0_OUT ))
2217 },
2218
2219 { PINMUX_CFG_REG("PECR1", 0xfffe388c, 16, 4, GROUP(
2220 PE7MD_00, PE7MD_01, PE7MD_10, PE7MD_11, 0, 0, 0, 0,
2221 0, 0, 0, 0, 0, 0, 0, 0,
2222
2223 PE6MD_00, PE6MD_01, PE6MD_10, PE6MD_11, 0, 0, 0, 0,
2224 0, 0, 0, 0, 0, 0, 0, 0,
2225
2226 PE5MD_00, PE5MD_01, PE5MD_10, PE5MD_11, 0, 0, 0, 0,
2227 0, 0, 0, 0, 0, 0, 0, 0,
2228
2229 PE4MD_00, PE4MD_01, PE4MD_10, PE4MD_11, 0, 0, 0, 0,
2230 0, 0, 0, 0, 0, 0, 0, 0 ))
2231 },
2232 { PINMUX_CFG_REG("PECR0", 0xfffe388e, 16, 4, GROUP(
2233 PE3MD_000, PE3MD_001, PE3MD_010, PE3MD_011,
2234 PE3MD_100, PE3MD_101, PE3MD_110, PE3MD_111,
2235 0, 0, 0, 0, 0, 0, 0, 0,
2236
2237 PE2MD_000, PE2MD_001, PE2MD_010, PE2MD_011,
2238 PE2MD_100, PE2MD_101, PE2MD_110, PE2MD_111,
2239 0, 0, 0, 0, 0, 0, 0, 0,
2240
2241 PE1MD_000, PE1MD_001, PE1MD_010, PE1MD_011,
2242 PE1MD_100, PE1MD_101, PE1MD_110, PE1MD_111,
2243 0, 0, 0, 0, 0, 0, 0, 0,
2244
2245 PE0MD_00, PE0MD_01, PE0MD_10, PE0MD_11, 0, 0, 0, 0,
2246 0, 0, 0, 0, 0, 0, 0, 0 ))
2247 },
2248 { PINMUX_CFG_REG("PEIOR0", 0xfffe3892, 16, 1, GROUP(
2249 0, 0, 0, 0, 0, 0, 0, 0,
2250 0, 0, 0, 0, 0, 0, 0, 0,
2251 PE7_IN, PE7_OUT,
2252 PE6_IN, PE6_OUT,
2253 PE5_IN, PE5_OUT,
2254 PE4_IN, PE4_OUT,
2255 PE3_IN, PE3_OUT,
2256 PE2_IN, PE2_OUT,
2257 PE1_IN, PE1_OUT,
2258 PE0_IN, PE0_OUT ))
2259 },
2260
2261 { PINMUX_CFG_REG("PFCR6", 0xfffe38a2, 16, 4, GROUP(
2262 PF23MD_000, PF23MD_001, PF23MD_010, PF23MD_011,
2263 PF23MD_100, PF23MD_101, PF23MD_110, PF23MD_111,
2264 0, 0, 0, 0, 0, 0, 0, 0,
2265
2266 PF22MD_000, PF22MD_001, PF22MD_010, PF22MD_011,
2267 PF22MD_100, PF22MD_101, PF22MD_110, PF22MD_111,
2268 0, 0, 0, 0, 0, 0, 0, 0,
2269
2270 PF21MD_000, PF21MD_001, PF21MD_010, PF21MD_011,
2271 PF21MD_100, PF21MD_101, PF21MD_110, PF21MD_111,
2272 0, 0, 0, 0, 0, 0, 0, 0,
2273
2274 PF20MD_000, PF20MD_001, PF20MD_010, PF20MD_011,
2275 PF20MD_100, PF20MD_101, PF20MD_110, PF20MD_111,
2276 0, 0, 0, 0, 0, 0, 0, 0 ))
2277 },
2278 { PINMUX_CFG_REG("PFCR5", 0xfffe38a4, 16, 4, GROUP(
2279 PF19MD_000, PF19MD_001, PF19MD_010, PF19MD_011,
2280 PF19MD_100, PF19MD_101, PF19MD_110, PF19MD_111,
2281 0, 0, 0, 0, 0, 0, 0, 0,
2282
2283 PF18MD_000, PF18MD_001, PF18MD_010, PF18MD_011,
2284 PF18MD_100, PF18MD_101, PF18MD_110, PF18MD_111,
2285 0, 0, 0, 0, 0, 0, 0, 0,
2286
2287 PF17MD_000, PF17MD_001, PF17MD_010, PF17MD_011,
2288 PF17MD_100, PF17MD_101, PF17MD_110, PF17MD_111,
2289 0, 0, 0, 0, 0, 0, 0, 0,
2290
2291 PF16MD_000, PF16MD_001, PF16MD_010, PF16MD_011,
2292 PF16MD_100, PF16MD_101, PF16MD_110, PF16MD_111,
2293 0, 0, 0, 0, 0, 0, 0, 0 ))
2294 },
2295 { PINMUX_CFG_REG("PFCR4", 0xfffe38a6, 16, 4, GROUP(
2296 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2297
2298 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2299
2300 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2301
2302 PF15MD_000, PF15MD_001, PF15MD_010, PF15MD_011,
2303 PF15MD_100, PF15MD_101, PF15MD_110, PF15MD_111,
2304 0, 0, 0, 0, 0, 0, 0, 0 ))
2305 },
2306 { PINMUX_CFG_REG("PFCR3", 0xfffe38a8, 16, 4, GROUP(
2307 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
2308
2309 PF14MD_000, PF14MD_001, PF14MD_010, PF14MD_011,
2310 PF14MD_100, PF14MD_101, PF14MD_110, PF14MD_111,
2311 0, 0, 0, 0, 0, 0, 0, 0,
2312
2313 PF13MD_000, PF13MD_001, PF13MD_010, PF13MD_011,
2314 PF13MD_100, PF13MD_101, PF13MD_110, PF13MD_111,
2315 0, 0, 0, 0, 0, 0, 0, 0,
2316
2317 PF12MD_000, PF12MD_001, PF12MD_010, PF12MD_011,
2318 PF12MD_100, PF12MD_101, PF12MD_110, PF12MD_111,
2319 0, 0, 0, 0, 0, 0, 0, 0 ))
2320 },
2321 { PINMUX_CFG_REG("PFCR2", 0xfffe38aa, 16, 4, GROUP(
2322 PF11MD_000, PF11MD_001, PF11MD_010, PF11MD_011,
2323 PF11MD_100, PF11MD_101, PF11MD_110, PF11MD_111,
2324 0, 0, 0, 0, 0, 0, 0, 0,
2325
2326 PF10MD_000, PF10MD_001, PF10MD_010, PF10MD_011,
2327 PF10MD_100, PF10MD_101, PF10MD_110, PF10MD_111,
2328 0, 0, 0, 0, 0, 0, 0, 0,
2329
2330 PF9MD_000, PF9MD_001, PF9MD_010, PF9MD_011,
2331 PF9MD_100, PF9MD_101, PF9MD_110, PF9MD_111,
2332 0, 0, 0, 0, 0, 0, 0, 0,
2333
2334 PF8MD_000, PF8MD_001, PF8MD_010, PF8MD_011,
2335 PF8MD_100, PF8MD_101, PF8MD_110, PF8MD_111,
2336 0, 0, 0, 0, 0, 0, 0, 0 ))
2337 },
2338 { PINMUX_CFG_REG("PFCR1", 0xfffe38ac, 16, 4, GROUP(
2339 PF7MD_000, PF7MD_001, PF7MD_010, PF7MD_011,
2340 PF7MD_100, PF7MD_101, PF7MD_110, PF7MD_111,
2341 0, 0, 0, 0, 0, 0, 0, 0,
2342
2343 PF6MD_000, PF6MD_001, PF6MD_010, PF6MD_011,
2344 PF6MD_100, PF6MD_101, PF6MD_110, PF6MD_111,
2345 0, 0, 0, 0, 0, 0, 0, 0,
2346
2347 PF5MD_000, PF5MD_001, PF5MD_010, PF5MD_011,
2348 PF5MD_100, PF5MD_101, PF5MD_110, PF5MD_111,
2349 0, 0, 0, 0, 0, 0, 0, 0,
2350
2351 PF4MD_000, PF4MD_001, PF4MD_010, PF4MD_011,
2352 PF4MD_100, PF4MD_101, PF4MD_110, PF4MD_111,
2353 0, 0, 0, 0, 0, 0, 0, 0 ))
2354 },
2355 { PINMUX_CFG_REG("PFCR0", 0xfffe38ae, 16, 4, GROUP(
2356 PF3MD_000, PF3MD_001, PF3MD_010, PF3MD_011,
2357 PF3MD_100, PF3MD_101, PF3MD_110, PF3MD_111,
2358 0, 0, 0, 0, 0, 0, 0, 0,
2359
2360 PF2MD_000, PF2MD_001, PF2MD_010, PF2MD_011,
2361 PF2MD_100, PF2MD_101, PF2MD_110, PF2MD_111,
2362 0, 0, 0, 0, 0, 0, 0, 0,
2363
2364 PF1MD_000, PF1MD_001, PF1MD_010, PF1MD_011,
2365 PF1MD_100, PF1MD_101, PF1MD_110, PF1MD_111,
2366 0, 0, 0, 0, 0, 0, 0, 0,
2367
2368 PF0MD_000, PF0MD_001, PF0MD_010, PF0MD_011,
2369 PF0MD_100, PF0MD_101, PF0MD_110, PF0MD_111,
2370 0, 0, 0, 0, 0, 0, 0, 0 ))
2371 },
2372
2373 { PINMUX_CFG_REG("PFIOR1", 0xfffe38b0, 16, 1, GROUP(
2374 0, 0, 0, 0, 0, 0, 0, 0,
2375 0, 0, 0, 0, 0, 0, 0, 0,
2376 PF23_IN, PF23_OUT,
2377 PF22_IN, PF22_OUT,
2378 PF21_IN, PF21_OUT,
2379 PF20_IN, PF20_OUT,
2380 PF19_IN, PF19_OUT,
2381 PF18_IN, PF18_OUT,
2382 PF17_IN, PF17_OUT,
2383 PF16_IN, PF16_OUT ))
2384 },
2385 { PINMUX_CFG_REG("PFIOR0", 0xfffe38b2, 16, 1, GROUP(
2386 PF15_IN, PF15_OUT,
2387 PF14_IN, PF14_OUT,
2388 PF13_IN, PF13_OUT,
2389 PF12_IN, PF12_OUT,
2390 PF11_IN, PF11_OUT,
2391 PF10_IN, PF10_OUT,
2392 PF9_IN, PF9_OUT,
2393 PF8_IN, PF8_OUT,
2394 PF7_IN, PF7_OUT,
2395 PF6_IN, PF6_OUT,
2396 PF5_IN, PF5_OUT,
2397 PF4_IN, PF4_OUT,
2398 PF3_IN, PF3_OUT,
2399 PF2_IN, PF2_OUT,
2400 PF1_IN, PF1_OUT,
2401 PF0_IN, PF0_OUT ))
2402 },
2403
2404 { PINMUX_CFG_REG("PGCR6", 0xfffe38c2, 16, 4, GROUP(
2405 PG27MD_00, PG27MD_01, PG27MD_10, PG27MD_11, 0, 0, 0, 0,
2406 0, 0, 0, 0, 0, 0, 0, 0,
2407
2408 PG26MD_00, PG26MD_01, PG26MD_10, PG26MD_11, 0, 0, 0, 0,
2409 0, 0, 0, 0, 0, 0, 0, 0,
2410
2411 PG25MD_00, PG25MD_01, PG25MD_10, PG25MD_11, 0, 0, 0, 0,
2412 0, 0, 0, 0, 0, 0, 0, 0,
2413
2414 PG24MD_00, PG24MD_01, PG24MD_10, PG24MD_11, 0, 0, 0, 0,
2415 0, 0, 0, 0, 0, 0, 0, 0 ))
2416 },
2417 { PINMUX_CFG_REG("PGCR5", 0xfffe38c4, 16, 4, GROUP(
2418 PG23MD_000, PG23MD_001, PG23MD_010, PG23MD_011,
2419 PG23MD_100, PG23MD_101, PG23MD_110, PG23MD_111,
2420 0, 0, 0, 0, 0, 0, 0, 0,
2421
2422 PG22MD_000, PG22MD_001, PG22MD_010, PG22MD_011,
2423 PG22MD_100, PG22MD_101, PG22MD_110, PG22MD_111,
2424 0, 0, 0, 0, 0, 0, 0, 0,
2425
2426 PG21MD_000, PG21MD_001, PG21MD_010, PG21MD_011,
2427 PG21MD_100, PG21MD_101, PG21MD_110, PG21MD_111,
2428 0, 0, 0, 0, 0, 0, 0, 0,
2429
2430 PG20MD_000, PG20MD_001, PG20MD_010, PG20MD_011,
2431 PG20MD_100, PG20MD_101, PG20MD_110, PG20MD_111,
2432 0, 0, 0, 0, 0, 0, 0, 0 ))
2433 },
2434 { PINMUX_CFG_REG("PGCR4", 0xfffe38c6, 16, 4, GROUP(
2435 PG19MD_000, PG19MD_001, PG19MD_010, PG19MD_011,
2436 PG19MD_100, PG19MD_101, PG19MD_110, PG19MD_111,
2437 0, 0, 0, 0, 0, 0, 0, 0,
2438
2439 PG18MD_000, PG18MD_001, PG18MD_010, PG18MD_011,
2440 PG18MD_100, PG18MD_101, PG18MD_110, PG18MD_111,
2441 0, 0, 0, 0, 0, 0, 0, 0,
2442
2443 PG17MD_00, PG17MD_01, PG17MD_10, PG17MD_11, 0, 0, 0, 0,
2444 0, 0, 0, 0, 0, 0, 0, 0,
2445
2446 PG16MD_00, PG16MD_01, PG16MD_10, PG16MD_11, 0, 0, 0, 0,
2447 0, 0, 0, 0, 0, 0, 0, 0 ))
2448 },
2449 { PINMUX_CFG_REG("PGCR3", 0xfffe38c8, 16, 4, GROUP(
2450 PG15MD_00, PG15MD_01, PG15MD_10, PG15MD_11, 0, 0, 0, 0,
2451 0, 0, 0, 0, 0, 0, 0, 0,
2452
2453 PG14MD_00, PG14MD_01, PG14MD_10, PG14MD_11, 0, 0, 0, 0,
2454 0, 0, 0, 0, 0, 0, 0, 0,
2455
2456 PG13MD_00, PG13MD_01, PG13MD_10, PG13MD_11, 0, 0, 0, 0,
2457 0, 0, 0, 0, 0, 0, 0, 0,
2458
2459 PG12MD_00, PG12MD_01, PG12MD_10, PG12MD_11, 0, 0, 0, 0,
2460 0, 0, 0, 0, 0, 0, 0, 0 ))
2461 },
2462 { PINMUX_CFG_REG("PGCR2", 0xfffe38ca, 16, 4, GROUP(
2463 PG11MD_000, PG11MD_001, PG11MD_010, PG11MD_011,
2464 PG11MD_100, PG11MD_101, PG11MD_110, PG11MD_111,
2465 0, 0, 0, 0, 0, 0, 0, 0,
2466
2467 PG10MD_000, PG10MD_001, PG10MD_010, PG10MD_011,
2468 PG10MD_100, PG10MD_101, PG10MD_110, PG10MD_111,
2469 0, 0, 0, 0, 0, 0, 0, 0,
2470
2471 PG9MD_000, PG9MD_001, PG9MD_010, PG9MD_011,
2472 PG9MD_100, PG9MD_101, PG9MD_110, PG9MD_111,
2473 0, 0, 0, 0, 0, 0, 0, 0,
2474
2475 PG8MD_000, PG8MD_001, PG8MD_010, PG8MD_011,
2476 PG8MD_100, PG8MD_101, PG8MD_110, PG8MD_111,
2477 0, 0, 0, 0, 0, 0, 0, 0 ))
2478 },
2479
2480 { PINMUX_CFG_REG("PGCR1", 0xfffe38cc, 16, 4, GROUP(
2481 PG7MD_000, PG7MD_001, PG7MD_010, PG7MD_011,
2482 PG7MD_100, PG7MD_101, PG7MD_110, PG7MD_111,
2483 0, 0, 0, 0, 0, 0, 0, 0,
2484
2485 PG6MD_000, PG6MD_001, PG6MD_010, PG6MD_011,
2486 PG6MD_100, PG6MD_101, PG6MD_110, PG6MD_111,
2487 0, 0, 0, 0, 0, 0, 0, 0,
2488
2489 PG5MD_000, PG5MD_001, PG5MD_010, PG5MD_011,
2490 PG5MD_100, PG5MD_101, PG5MD_110, PG5MD_111,
2491 0, 0, 0, 0, 0, 0, 0, 0,
2492
2493 PG4MD_000, PG4MD_001, PG4MD_010, PG4MD_011,
2494 PG4MD_100, PG4MD_101, PG4MD_110, PG4MD_111,
2495 0, 0, 0, 0, 0, 0, 0, 0 ))
2496 },
2497 { PINMUX_CFG_REG("PGCR0", 0xfffe38ce, 16, 4, GROUP(
2498 PG3MD_000, PG3MD_001, PG3MD_010, PG3MD_011,
2499 PG3MD_100, PG3MD_101, PG3MD_110, PG3MD_111,
2500 0, 0, 0, 0, 0, 0, 0, 0,
2501
2502 PG2MD_000, PG2MD_001, PG2MD_010, PG2MD_011,
2503 PG2MD_100, PG2MD_101, PG2MD_110, PG2MD_111,
2504 0, 0, 0, 0, 0, 0, 0, 0,
2505
2506 PG1MD_000, PG1MD_001, PG1MD_010, PG1MD_011,
2507 PG1MD_100, PG1MD_101, PG1MD_110, PG1MD_111,
2508 0, 0, 0, 0, 0, 0, 0, 0,
2509
2510 PG0MD_000, PG0MD_001, PG0MD_010, PG0MD_011,
2511 PG0MD_100, PG0MD_101, PG0MD_110, PG0MD_111,
2512 0, 0, 0, 0, 0, 0, 0, 0 ))
2513 },
2514
2515 { PINMUX_CFG_REG("PGIOR1", 0xfffe38d0, 16, 1, GROUP(
2516 0, 0, 0, 0, 0, 0, 0, 0,
2517 PG27_IN, PG27_OUT,
2518 PG26_IN, PG26_OUT,
2519 PG25_IN, PG25_OUT,
2520 PG24_IN, PG24_OUT,
2521 PG23_IN, PG23_OUT,
2522 PG22_IN, PG22_OUT,
2523 PG21_IN, PG21_OUT,
2524 PG20_IN, PG20_OUT,
2525 PG19_IN, PG19_OUT,
2526 PG18_IN, PG18_OUT,
2527 PG17_IN, PG17_OUT,
2528 PG16_IN, PG16_OUT ))
2529 },
2530 { PINMUX_CFG_REG("PGIOR0", 0xfffe38d2, 16, 1, GROUP(
2531 PG15_IN, PG15_OUT,
2532 PG14_IN, PG14_OUT,
2533 PG13_IN, PG13_OUT,
2534 PG12_IN, PG12_OUT,
2535 PG11_IN, PG11_OUT,
2536 PG10_IN, PG10_OUT,
2537 PG9_IN, PG9_OUT,
2538 PG8_IN, PG8_OUT,
2539 PG7_IN, PG7_OUT,
2540 PG6_IN, PG6_OUT,
2541 PG5_IN, PG5_OUT,
2542 PG4_IN, PG4_OUT,
2543 PG3_IN, PG3_OUT,
2544 PG2_IN, PG2_OUT,
2545 PG1_IN, PG1_OUT,
2546 PG0_IN, PG0_OUT ))
2547 },
2548
2549 { PINMUX_CFG_REG("PHCR1", 0xfffe38ec, 16, 4, GROUP(
2550 PH7MD_00, PH7MD_01, PH7MD_10, PH7MD_11, 0, 0, 0, 0,
2551 0, 0, 0, 0, 0, 0, 0, 0,
2552
2553 PH6MD_00, PH6MD_01, PH6MD_10, PH6MD_11, 0, 0, 0, 0,
2554 0, 0, 0, 0, 0, 0, 0, 0,
2555
2556 PH5MD_00, PH5MD_01, PH5MD_10, PH5MD_11, 0, 0, 0, 0,
2557 0, 0, 0, 0, 0, 0, 0, 0,
2558
2559 PH4MD_00, PH4MD_01, PH4MD_10, PH4MD_11, 0, 0, 0, 0,
2560 0, 0, 0, 0, 0, 0, 0, 0 ))
2561 },
2562
2563 { PINMUX_CFG_REG("PHCR0", 0xfffe38ee, 16, 4, GROUP(
2564 PH3MD_00, PH3MD_01, PH3MD_10, PH3MD_11, 0, 0, 0, 0,
2565 0, 0, 0, 0, 0, 0, 0, 0,
2566
2567 PH2MD_00, PH2MD_01, PH2MD_10, PH2MD_11, 0, 0, 0, 0,
2568 0, 0, 0, 0, 0, 0, 0, 0,
2569
2570 PH1MD_00, PH1MD_01, PH1MD_10, PH1MD_11, 0, 0, 0, 0,
2571 0, 0, 0, 0, 0, 0, 0, 0,
2572
2573 PH0MD_00, PH0MD_01, PH0MD_10, PH0MD_11, 0, 0, 0, 0,
2574 0, 0, 0, 0, 0, 0, 0, 0 ))
2575 },
2576
2577 { PINMUX_CFG_REG("PJCR7", 0xfffe3900, 16, 4, GROUP(
2578 PJ31MD_0, PJ31MD_1, 0, 0, 0, 0, 0, 0,
2579 0, 0, 0, 0, 0, 0, 0, 0,
2580
2581 PJ30MD_000, PJ30MD_001, PJ30MD_010, PJ30MD_011,
2582 PJ30MD_100, PJ30MD_101, PJ30MD_110, PJ30MD_111,
2583 0, 0, 0, 0, 0, 0, 0, 0,
2584
2585 PJ29MD_000, PJ29MD_001, PJ29MD_010, PJ29MD_011,
2586 PJ29MD_100, PJ29MD_101, PJ29MD_110, PJ29MD_111,
2587 0, 0, 0, 0, 0, 0, 0, 0,
2588
2589 PJ28MD_000, PJ28MD_001, PJ28MD_010, PJ28MD_011,
2590 PJ28MD_100, PJ28MD_101, PJ28MD_110, PJ28MD_111,
2591 0, 0, 0, 0, 0, 0, 0, 0 ))
2592 },
2593 { PINMUX_CFG_REG("PJCR6", 0xfffe3902, 16, 4, GROUP(
2594 PJ27MD_000, PJ27MD_001, PJ27MD_010, PJ27MD_011,
2595 PJ27MD_100, PJ27MD_101, PJ27MD_110, PJ27MD_111,
2596 0, 0, 0, 0, 0, 0, 0, 0,
2597
2598 PJ26MD_000, PJ26MD_001, PJ26MD_010, PJ26MD_011,
2599 PJ26MD_100, PJ26MD_101, PJ26MD_110, PJ26MD_111,
2600 0, 0, 0, 0, 0, 0, 0, 0,
2601
2602 PJ25MD_000, PJ25MD_001, PJ25MD_010, PJ25MD_011,
2603 PJ25MD_100, PJ25MD_101, PJ25MD_110, PJ25MD_111,
2604 0, 0, 0, 0, 0, 0, 0, 0,
2605
2606 PJ24MD_000, PJ24MD_001, PJ24MD_010, PJ24MD_011,
2607 PJ24MD_100, PJ24MD_101, PJ24MD_110, PJ24MD_111,
2608 0, 0, 0, 0, 0, 0, 0, 0 ))
2609 },
2610 { PINMUX_CFG_REG("PJCR5", 0xfffe3904, 16, 4, GROUP(
2611 PJ23MD_000, PJ23MD_001, PJ23MD_010, PJ23MD_011,
2612 PJ23MD_100, PJ23MD_101, PJ23MD_110, PJ23MD_111,
2613 0, 0, 0, 0, 0, 0, 0, 0,
2614
2615 PJ22MD_000, PJ22MD_001, PJ22MD_010, PJ22MD_011,
2616 PJ22MD_100, PJ22MD_101, PJ22MD_110, PJ22MD_111,
2617 0, 0, 0, 0, 0, 0, 0, 0,
2618
2619 PJ21MD_000, PJ21MD_001, PJ21MD_010, PJ21MD_011,
2620 PJ21MD_100, PJ21MD_101, PJ21MD_110, PJ21MD_111,
2621 0, 0, 0, 0, 0, 0, 0, 0,
2622
2623 PJ20MD_000, PJ20MD_001, PJ20MD_010, PJ20MD_011,
2624 PJ20MD_100, PJ20MD_101, PJ20MD_110, PJ20MD_111,
2625 0, 0, 0, 0, 0, 0, 0, 0 ))
2626 },
2627 { PINMUX_CFG_REG("PJCR4", 0xfffe3906, 16, 4, GROUP(
2628 PJ19MD_000, PJ19MD_001, PJ19MD_010, PJ19MD_011,
2629 PJ19MD_100, PJ19MD_101, PJ19MD_110, PJ19MD_111,
2630 0, 0, 0, 0, 0, 0, 0, 0,
2631
2632 PJ18MD_000, PJ18MD_001, PJ18MD_010, PJ18MD_011,
2633 PJ18MD_100, PJ18MD_101, PJ18MD_110, PJ18MD_111,
2634 0, 0, 0, 0, 0, 0, 0, 0,
2635
2636 PJ17MD_000, PJ17MD_001, PJ17MD_010, PJ17MD_011,
2637 PJ17MD_100, PJ17MD_101, PJ17MD_110, PJ17MD_111,
2638 0, 0, 0, 0, 0, 0, 0, 0,
2639
2640 PJ16MD_000, PJ16MD_001, PJ16MD_010, PJ16MD_011,
2641 PJ16MD_100, PJ16MD_101, PJ16MD_110, PJ16MD_111,
2642 0, 0, 0, 0, 0, 0, 0, 0 ))
2643 },
2644 { PINMUX_CFG_REG("PJCR3", 0xfffe3908, 16, 4, GROUP(
2645 PJ15MD_000, PJ15MD_001, PJ15MD_010, PJ15MD_011,
2646 PJ15MD_100, PJ15MD_101, PJ15MD_110, PJ15MD_111,
2647 0, 0, 0, 0, 0, 0, 0, 0,
2648
2649 PJ14MD_000, PJ14MD_001, PJ14MD_010, PJ14MD_011,
2650 PJ14MD_100, PJ14MD_101, PJ14MD_110, PJ14MD_111,
2651 0, 0, 0, 0, 0, 0, 0, 0,
2652
2653 PJ13MD_000, PJ13MD_001, PJ13MD_010, PJ13MD_011,
2654 PJ13MD_100, PJ13MD_101, PJ13MD_110, PJ13MD_111,
2655 0, 0, 0, 0, 0, 0, 0, 0,
2656
2657 PJ12MD_000, PJ12MD_001, PJ12MD_010, PJ12MD_011,
2658 PJ12MD_100, PJ12MD_101, PJ12MD_110, PJ12MD_111,
2659 0, 0, 0, 0, 0, 0, 0, 0 ))
2660 },
2661 { PINMUX_CFG_REG("PJCR2", 0xfffe390a, 16, 4, GROUP(
2662 PJ11MD_000, PJ11MD_001, PJ11MD_010, PJ11MD_011,
2663 PJ11MD_100, PJ11MD_101, PJ11MD_110, PJ11MD_111,
2664 0, 0, 0, 0, 0, 0, 0, 0,
2665
2666 PJ10MD_000, PJ10MD_001, PJ10MD_010, PJ10MD_011,
2667 PJ10MD_100, PJ10MD_101, PJ10MD_110, PJ10MD_111,
2668 0, 0, 0, 0, 0, 0, 0, 0,
2669
2670 PJ9MD_000, PJ9MD_001, PJ9MD_010, PJ9MD_011,
2671 PJ9MD_100, PJ9MD_101, PJ9MD_110, PJ9MD_111,
2672 0, 0, 0, 0, 0, 0, 0, 0,
2673
2674 PJ8MD_000, PJ8MD_001, PJ8MD_010, PJ8MD_011,
2675 PJ8MD_100, PJ8MD_101, PJ8MD_110, PJ8MD_111,
2676 0, 0, 0, 0, 0, 0, 0, 0 ))
2677 },
2678 { PINMUX_CFG_REG("PJCR1", 0xfffe390c, 16, 4, GROUP(
2679 PJ7MD_000, PJ7MD_001, PJ7MD_010, PJ7MD_011,
2680 PJ7MD_100, PJ7MD_101, PJ7MD_110, PJ7MD_111,
2681 0, 0, 0, 0, 0, 0, 0, 0,
2682
2683 PJ6MD_000, PJ6MD_001, PJ6MD_010, PJ6MD_011,
2684 PJ6MD_100, PJ6MD_101, PJ6MD_110, PJ6MD_111,
2685 0, 0, 0, 0, 0, 0, 0, 0,
2686
2687 PJ5MD_000, PJ5MD_001, PJ5MD_010, PJ5MD_011,
2688 PJ5MD_100, PJ5MD_101, PJ5MD_110, PJ5MD_111,
2689 0, 0, 0, 0, 0, 0, 0, 0,
2690
2691 PJ4MD_000, PJ4MD_001, PJ4MD_010, PJ4MD_011,
2692 PJ4MD_100, PJ4MD_101, PJ4MD_110, PJ4MD_111,
2693 0, 0, 0, 0, 0, 0, 0, 0 ))
2694 },
2695 { PINMUX_CFG_REG("PJCR0", 0xfffe390e, 16, 4, GROUP(
2696 PJ3MD_000, PJ3MD_001, PJ3MD_010, PJ3MD_011,
2697 PJ3MD_100, PJ3MD_101, PJ3MD_110, PJ3MD_111,
2698 0, 0, 0, 0, 0, 0, 0, 0,
2699
2700 PJ2MD_000, PJ2MD_001, PJ2MD_010, PJ2MD_011,
2701 PJ2MD_100, PJ2MD_101, PJ2MD_110, PJ2MD_111,
2702 0, 0, 0, 0, 0, 0, 0, 0,
2703
2704 PJ1MD_000, PJ1MD_001, PJ1MD_010, PJ1MD_011,
2705 PJ1MD_100, PJ1MD_101, PJ1MD_110, PJ1MD_111,
2706 0, 0, 0, 0, 0, 0, 0, 0,
2707
2708 PJ0MD_000, PJ0MD_001, PJ0MD_010, PJ0MD_011,
2709 PJ0MD_100, PJ0MD_101, PJ0MD_110, PJ0MD_111,
2710 0, 0, 0, 0, 0, 0, 0, 0 ))
2711 },
2712
2713 { PINMUX_CFG_REG("PJIOR1", 0xfffe3910, 16, 1, GROUP(
2714 PJ31_IN, PJ31_OUT,
2715 PJ30_IN, PJ30_OUT,
2716 PJ29_IN, PJ29_OUT,
2717 PJ28_IN, PJ28_OUT,
2718 PJ27_IN, PJ27_OUT,
2719 PJ26_IN, PJ26_OUT,
2720 PJ25_IN, PJ25_OUT,
2721 PJ24_IN, PJ24_OUT,
2722 PJ23_IN, PJ23_OUT,
2723 PJ22_IN, PJ22_OUT,
2724 PJ21_IN, PJ21_OUT,
2725 PJ20_IN, PJ20_OUT,
2726 PJ19_IN, PJ19_OUT,
2727 PJ18_IN, PJ18_OUT,
2728 PJ17_IN, PJ17_OUT,
2729 PJ16_IN, PJ16_OUT ))
2730 },
2731 { PINMUX_CFG_REG("PJIOR0", 0xfffe3912, 16, 1, GROUP(
2732 PJ15_IN, PJ15_OUT,
2733 PJ14_IN, PJ14_OUT,
2734 PJ13_IN, PJ13_OUT,
2735 PJ12_IN, PJ12_OUT,
2736 PJ11_IN, PJ11_OUT,
2737 PJ10_IN, PJ10_OUT,
2738 PJ9_IN, PJ9_OUT,
2739 PJ8_IN, PJ8_OUT,
2740 PJ7_IN, PJ7_OUT,
2741 PJ6_IN, PJ6_OUT,
2742 PJ5_IN, PJ5_OUT,
2743 PJ4_IN, PJ4_OUT,
2744 PJ3_IN, PJ3_OUT,
2745 PJ2_IN, PJ2_OUT,
2746 PJ1_IN, PJ1_OUT,
2747 PJ0_IN, PJ0_OUT ))
2748 },
2749
2750 {}
2751};
2752
2753static const struct pinmux_data_reg pinmux_data_regs[] = {
2754 { PINMUX_DATA_REG("PADR0", 0xfffe3816, 16, GROUP(
2755 0, 0, 0, 0, 0, 0, 0, PA1_DATA,
2756 0, 0, 0, 0, 0, 0, 0, PA0_DATA ))
2757 },
2758
2759 { PINMUX_DATA_REG("PBDR1", 0xfffe3834, 16, GROUP(
2760 0, 0, 0, 0, 0, 0, 0, 0,
2761 0, PB22_DATA, PB21_DATA, PB20_DATA,
2762 PB19_DATA, PB18_DATA, PB17_DATA, PB16_DATA ))
2763 },
2764 { PINMUX_DATA_REG("PBDR0", 0xfffe3836, 16, GROUP(
2765 PB15_DATA, PB14_DATA, PB13_DATA, PB12_DATA,
2766 PB11_DATA, PB10_DATA, PB9_DATA, PB8_DATA,
2767 PB7_DATA, PB6_DATA, PB5_DATA, PB4_DATA,
2768 PB3_DATA, PB2_DATA, PB1_DATA, 0 ))
2769 },
2770
2771 { PINMUX_DATA_REG("PCDR0", 0xfffe3856, 16, GROUP(
2772 0, 0, 0, 0,
2773 0, 0, 0, PC8_DATA,
2774 PC7_DATA, PC6_DATA, PC5_DATA, PC4_DATA,
2775 PC3_DATA, PC2_DATA, PC1_DATA, PC0_DATA ))
2776 },
2777
2778 { PINMUX_DATA_REG("PDDR0", 0xfffe3876, 16, GROUP(
2779 PD15_DATA, PD14_DATA, PD13_DATA, PD12_DATA,
2780 PD11_DATA, PD10_DATA, PD9_DATA, PD8_DATA,
2781 PD7_DATA, PD6_DATA, PD5_DATA, PD4_DATA,
2782 PD3_DATA, PD2_DATA, PD1_DATA, PD0_DATA ))
2783 },
2784
2785 { PINMUX_DATA_REG("PEDR0", 0xfffe3896, 16, GROUP(
2786 0, 0, 0, 0, 0, 0, 0, 0,
2787 PE7_DATA, PE6_DATA, PE5_DATA, PE4_DATA,
2788 PE3_DATA, PE2_DATA, PE1_DATA, PE0_DATA ))
2789 },
2790
2791 { PINMUX_DATA_REG("PFDR1", 0xfffe38b4, 16, GROUP(
2792 0, 0, 0, 0, 0, 0, 0, 0,
2793 PF23_DATA, PF22_DATA, PF21_DATA, PF20_DATA,
2794 PF19_DATA, PF18_DATA, PF17_DATA, PF16_DATA ))
2795 },
2796 { PINMUX_DATA_REG("PFDR0", 0xfffe38b6, 16, GROUP(
2797 PF15_DATA, PF14_DATA, PF13_DATA, PF12_DATA,
2798 PF11_DATA, PF10_DATA, PF9_DATA, PF8_DATA,
2799 PF7_DATA, PF6_DATA, PF5_DATA, PF4_DATA,
2800 PF3_DATA, PF2_DATA, PF1_DATA, PF0_DATA ))
2801 },
2802
2803 { PINMUX_DATA_REG("PGDR1", 0xfffe38d4, 16, GROUP(
2804 0, 0, 0, 0,
2805 PG27_DATA, PG26_DATA, PG25_DATA, PG24_DATA,
2806 PG23_DATA, PG22_DATA, PG21_DATA, PG20_DATA,
2807 PG19_DATA, PG18_DATA, PG17_DATA, PG16_DATA ))
2808 },
2809 { PINMUX_DATA_REG("PGDR0", 0xfffe38d6, 16, GROUP(
2810 PG15_DATA, PG14_DATA, PG13_DATA, PG12_DATA,
2811 PG11_DATA, PG10_DATA, PG9_DATA, PG8_DATA,
2812 PG7_DATA, PG6_DATA, PG5_DATA, PG4_DATA,
2813 PG3_DATA, PG2_DATA, PG1_DATA, PG0_DATA ))
2814 },
2815
2816 { PINMUX_DATA_REG("PJDR1", 0xfffe3914, 16, GROUP(
2817 PJ31_DATA, PJ30_DATA, PJ29_DATA, PJ28_DATA,
2818 PJ27_DATA, PJ26_DATA, PJ25_DATA, PJ24_DATA,
2819 PJ23_DATA, PJ22_DATA, PJ21_DATA, PJ20_DATA,
2820 PJ19_DATA, PJ18_DATA, PJ17_DATA, PJ16_DATA ))
2821 },
2822 { PINMUX_DATA_REG("PJDR0", 0xfffe3916, 16, GROUP(
2823 PJ15_DATA, PJ14_DATA, PJ13_DATA, PJ12_DATA,
2824 PJ11_DATA, PJ10_DATA, PJ9_DATA, PJ8_DATA,
2825 PJ7_DATA, PJ6_DATA, PJ5_DATA, PJ4_DATA,
2826 PJ3_DATA, PJ2_DATA, PJ1_DATA, PJ0_DATA ))
2827 },
2828
2829 { }
2830};
2831
2832const struct sh_pfc_soc_info sh7269_pinmux_info = {
2833 .name = "sh7269_pfc",
2834 .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END, FORCE_IN },
2835 .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END, FORCE_OUT },
2836 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
2837
2838 .pins = pinmux_pins,
2839 .nr_pins = ARRAY_SIZE(pinmux_pins),
2840 .func_gpios = pinmux_func_gpios,
2841 .nr_func_gpios = ARRAY_SIZE(pinmux_func_gpios),
2842
2843 .cfg_regs = pinmux_config_regs,
2844 .data_regs = pinmux_data_regs,
2845
2846 .pinmux_data = pinmux_data,
2847 .pinmux_data_size = ARRAY_SIZE(pinmux_data),
2848};
2849