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