Lines Matching +full:0 +full:x6

22 	SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 0),
23 SUNXI_FUNCTION(0x0, "gpio_in"),
24 SUNXI_FUNCTION(0x1, "gpio_out"),
25 SUNXI_FUNCTION(0x2, "gmac"), /* TXD0 */
26 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
28 SUNXI_FUNCTION(0x4, "uart1"), /* DTR */
29 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 0)), /* PA_EINT0 */
31 SUNXI_FUNCTION(0x0, "gpio_in"),
32 SUNXI_FUNCTION(0x1, "gpio_out"),
33 SUNXI_FUNCTION(0x2, "gmac"), /* TXD1 */
34 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
36 SUNXI_FUNCTION(0x4, "uart1"), /* DSR */
37 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 1)), /* PA_EINT1 */
39 SUNXI_FUNCTION(0x0, "gpio_in"),
40 SUNXI_FUNCTION(0x1, "gpio_out"),
41 SUNXI_FUNCTION(0x2, "gmac"), /* TXD2 */
42 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
44 SUNXI_FUNCTION(0x4, "uart1"), /* DCD */
45 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 2)), /* PA_EINT2 */
47 SUNXI_FUNCTION(0x0, "gpio_in"),
48 SUNXI_FUNCTION(0x1, "gpio_out"),
49 SUNXI_FUNCTION(0x2, "gmac"), /* TXD3 */
50 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
52 SUNXI_FUNCTION(0x4, "uart1"), /* RING */
53 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 3)), /* PA_EINT3 */
55 SUNXI_FUNCTION(0x0, "gpio_in"),
56 SUNXI_FUNCTION(0x1, "gpio_out"),
57 SUNXI_FUNCTION(0x2, "gmac"), /* TXD4 */
58 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
60 SUNXI_FUNCTION(0x4, "uart1"), /* TX */
61 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 4)), /* PA_EINT4 */
63 SUNXI_FUNCTION(0x0, "gpio_in"),
64 SUNXI_FUNCTION(0x1, "gpio_out"),
65 SUNXI_FUNCTION(0x2, "gmac"), /* TXD5 */
66 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
68 SUNXI_FUNCTION(0x4, "uart1"), /* RX */
69 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 5)), /* PA_EINT5 */
71 SUNXI_FUNCTION(0x0, "gpio_in"),
72 SUNXI_FUNCTION(0x1, "gpio_out"),
73 SUNXI_FUNCTION(0x2, "gmac"), /* TXD6 */
74 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
76 SUNXI_FUNCTION(0x4, "uart1"), /* RTS */
77 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 6)), /* PA_EINT6 */
79 SUNXI_FUNCTION(0x0, "gpio_in"),
80 SUNXI_FUNCTION(0x1, "gpio_out"),
81 SUNXI_FUNCTION(0x2, "gmac"), /* TXD7 */
82 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
84 SUNXI_FUNCTION(0x4, "uart1"), /* CTS */
85 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 7)), /* PA_EINT7 */
87 SUNXI_FUNCTION(0x0, "gpio_in"),
88 SUNXI_FUNCTION(0x1, "gpio_out"),
89 SUNXI_FUNCTION(0x2, "gmac"), /* TXCLK */
90 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
92 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 8)), /* PA_EINT8 */
94 SUNXI_FUNCTION(0x0, "gpio_in"),
95 SUNXI_FUNCTION(0x1, "gpio_out"),
96 SUNXI_FUNCTION(0x2, "gmac"), /* TXEN */
97 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
99 SUNXI_FUNCTION(0x4, "mmc3"), /* CMD */
100 SUNXI_FUNCTION(0x5, "mmc2"), /* CMD */
101 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 9)), /* PA_EINT9 */
103 SUNXI_FUNCTION(0x0, "gpio_in"),
104 SUNXI_FUNCTION(0x1, "gpio_out"),
105 SUNXI_FUNCTION(0x2, "gmac"), /* GTXCLK */
106 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
108 SUNXI_FUNCTION(0x4, "mmc3"), /* CLK */
109 SUNXI_FUNCTION(0x5, "mmc2"), /* CLK */
110 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 10)), /* PA_EINT10 */
112 SUNXI_FUNCTION(0x0, "gpio_in"),
113 SUNXI_FUNCTION(0x1, "gpio_out"),
114 SUNXI_FUNCTION(0x2, "gmac"), /* RXD0 */
115 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
117 SUNXI_FUNCTION(0x4, "mmc3"), /* D0 */
118 SUNXI_FUNCTION(0x5, "mmc2"), /* D0 */
119 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 11)), /* PA_EINT11 */
121 SUNXI_FUNCTION(0x0, "gpio_in"),
122 SUNXI_FUNCTION(0x1, "gpio_out"),
123 SUNXI_FUNCTION(0x2, "gmac"), /* RXD1 */
124 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
126 SUNXI_FUNCTION(0x4, "mmc3"), /* D1 */
127 SUNXI_FUNCTION(0x5, "mmc2"), /* D1 */
128 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 12)), /* PA_EINT12 */
130 SUNXI_FUNCTION(0x0, "gpio_in"),
131 SUNXI_FUNCTION(0x1, "gpio_out"),
132 SUNXI_FUNCTION(0x2, "gmac"), /* RXD2 */
133 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
135 SUNXI_FUNCTION(0x4, "mmc3"), /* D2 */
136 SUNXI_FUNCTION(0x5, "mmc2"), /* D2 */
137 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 13)), /* PA_EINT13 */
139 SUNXI_FUNCTION(0x0, "gpio_in"),
140 SUNXI_FUNCTION(0x1, "gpio_out"),
141 SUNXI_FUNCTION(0x2, "gmac"), /* RXD3 */
142 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
144 SUNXI_FUNCTION(0x4, "mmc3"), /* D3 */
145 SUNXI_FUNCTION(0x5, "mmc2"), /* D3 */
146 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 14)), /* PA_EINT14 */
148 SUNXI_FUNCTION(0x0, "gpio_in"),
149 SUNXI_FUNCTION(0x1, "gpio_out"),
150 SUNXI_FUNCTION(0x2, "gmac"), /* RXD4 */
151 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
153 SUNXI_FUNCTION(0x4, "clk_out_a"),
154 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 15)), /* PA_EINT15 */
156 SUNXI_FUNCTION(0x0, "gpio_in"),
157 SUNXI_FUNCTION(0x1, "gpio_out"),
158 SUNXI_FUNCTION(0x2, "gmac"), /* RXD5 */
159 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
161 SUNXI_FUNCTION(0x4, "dmic"), /* CLK */
162 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 16)), /* PA_EINT16 */
164 SUNXI_FUNCTION(0x0, "gpio_in"),
165 SUNXI_FUNCTION(0x1, "gpio_out"),
166 SUNXI_FUNCTION(0x2, "gmac"), /* RXD6 */
167 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
169 SUNXI_FUNCTION(0x4, "dmic"), /* DIN */
170 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 17)), /* PA_EINT17 */
172 SUNXI_FUNCTION(0x0, "gpio_in"),
173 SUNXI_FUNCTION(0x1, "gpio_out"),
174 SUNXI_FUNCTION(0x2, "gmac"), /* RXD7 */
175 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
177 SUNXI_FUNCTION(0x4, "clk_out_b"),
178 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 18)), /* PA_EINT18 */
180 SUNXI_FUNCTION(0x0, "gpio_in"),
181 SUNXI_FUNCTION(0x1, "gpio_out"),
182 SUNXI_FUNCTION(0x2, "gmac"), /* RXDV */
183 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
185 SUNXI_FUNCTION(0x4, "pwm3"), /* Positive */
186 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 19)), /* PA_EINT19 */
188 SUNXI_FUNCTION(0x0, "gpio_in"),
189 SUNXI_FUNCTION(0x1, "gpio_out"),
190 SUNXI_FUNCTION(0x2, "gmac"), /* RXCLK */
191 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
193 SUNXI_FUNCTION(0x4, "pwm3"), /* Negative */
194 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 20)), /* PA_EINT20 */
196 SUNXI_FUNCTION(0x0, "gpio_in"),
197 SUNXI_FUNCTION(0x1, "gpio_out"),
198 SUNXI_FUNCTION(0x2, "gmac"), /* TXERR */
199 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
201 SUNXI_FUNCTION(0x4, "spi3"), /* CS0 */
202 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 21)), /* PA_EINT21 */
204 SUNXI_FUNCTION(0x0, "gpio_in"),
205 SUNXI_FUNCTION(0x1, "gpio_out"),
206 SUNXI_FUNCTION(0x2, "gmac"), /* RXERR */
207 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
209 SUNXI_FUNCTION(0x4, "spi3"), /* CLK */
210 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 22)), /* PA_EINT22 */
212 SUNXI_FUNCTION(0x0, "gpio_in"),
213 SUNXI_FUNCTION(0x1, "gpio_out"),
214 SUNXI_FUNCTION(0x2, "gmac"), /* COL */
215 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
217 SUNXI_FUNCTION(0x4, "spi3"), /* MOSI */
218 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 23)), /* PA_EINT23 */
220 SUNXI_FUNCTION(0x0, "gpio_in"),
221 SUNXI_FUNCTION(0x1, "gpio_out"),
222 SUNXI_FUNCTION(0x2, "gmac"), /* CRS */
223 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
225 SUNXI_FUNCTION(0x4, "spi3"), /* MISO */
226 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 24)), /* PA_EINT24 */
228 SUNXI_FUNCTION(0x0, "gpio_in"),
229 SUNXI_FUNCTION(0x1, "gpio_out"),
230 SUNXI_FUNCTION(0x2, "gmac"), /* CLKIN */
231 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
233 SUNXI_FUNCTION(0x4, "spi3"), /* CS1 */
234 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 25)), /* PA_EINT25 */
236 SUNXI_FUNCTION(0x0, "gpio_in"),
237 SUNXI_FUNCTION(0x1, "gpio_out"),
238 SUNXI_FUNCTION(0x2, "gmac"), /* MDC */
239 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
241 SUNXI_FUNCTION(0x4, "clk_out_c"),
242 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 26)), /* PA_EINT26 */
244 SUNXI_FUNCTION(0x0, "gpio_in"),
245 SUNXI_FUNCTION(0x1, "gpio_out"),
246 SUNXI_FUNCTION(0x2, "gmac"), /* MDIO */
247 SUNXI_FUNCTION_VARIANT(0x3, "lcd1",
249 SUNXI_FUNCTION_IRQ_BANK(0x6, 0, 27)), /* PA_EINT27 */
251 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
252 SUNXI_FUNCTION(0x0, "gpio_in"),
253 SUNXI_FUNCTION(0x1, "gpio_out"),
254 SUNXI_FUNCTION(0x2, "i2s0"), /* MCLK */
255 SUNXI_FUNCTION(0x3, "uart3"), /* CTS */
256 SUNXI_FUNCTION_VARIANT(0x4, "csi",
258 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 0)), /* PB_EINT0 */
260 SUNXI_FUNCTION(0x0, "gpio_in"),
261 SUNXI_FUNCTION(0x1, "gpio_out"),
262 SUNXI_FUNCTION(0x2, "i2s0"), /* BCLK */
263 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 1)), /* PB_EINT1 */
265 SUNXI_FUNCTION(0x0, "gpio_in"),
266 SUNXI_FUNCTION(0x1, "gpio_out"),
267 SUNXI_FUNCTION(0x2, "i2s0"), /* LRCK */
268 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 2)), /* PB_EINT2 */
270 SUNXI_FUNCTION(0x0, "gpio_in"),
271 SUNXI_FUNCTION(0x1, "gpio_out"),
272 SUNXI_FUNCTION(0x2, "i2s0"), /* DO0 */
273 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 3)), /* PB_EINT3 */
275 SUNXI_FUNCTION(0x0, "gpio_in"),
276 SUNXI_FUNCTION(0x1, "gpio_out"),
277 SUNXI_FUNCTION(0x2, "i2s0"), /* DO1 */
278 SUNXI_FUNCTION(0x3, "uart3"), /* RTS */
279 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 4)), /* PB_EINT4 */
281 SUNXI_FUNCTION(0x0, "gpio_in"),
282 SUNXI_FUNCTION(0x1, "gpio_out"),
283 SUNXI_FUNCTION(0x2, "i2s0"), /* DO2 */
284 SUNXI_FUNCTION(0x3, "uart3"), /* TX */
285 SUNXI_FUNCTION(0x4, "i2c3"), /* SCK */
286 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 5)), /* PB_EINT5 */
288 SUNXI_FUNCTION(0x0, "gpio_in"),
289 SUNXI_FUNCTION(0x1, "gpio_out"),
290 SUNXI_FUNCTION(0x2, "i2s0"), /* DO3 */
291 SUNXI_FUNCTION(0x3, "uart3"), /* RX */
292 SUNXI_FUNCTION(0x4, "i2c3"), /* SDA */
293 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 6)), /* PB_EINT6 */
295 SUNXI_FUNCTION(0x0, "gpio_in"),
296 SUNXI_FUNCTION(0x1, "gpio_out"),
297 SUNXI_FUNCTION(0x3, "i2s0"), /* DI */
298 SUNXI_FUNCTION_IRQ_BANK(0x6, 1, 7)), /* PB_EINT7 */
300 SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 0),
301 SUNXI_FUNCTION(0x0, "gpio_in"),
302 SUNXI_FUNCTION(0x1, "gpio_out"),
303 SUNXI_FUNCTION(0x2, "nand0"), /* WE */
304 SUNXI_FUNCTION(0x3, "spi0")), /* MOSI */
306 SUNXI_FUNCTION(0x0, "gpio_in"),
307 SUNXI_FUNCTION(0x1, "gpio_out"),
308 SUNXI_FUNCTION(0x2, "nand0"), /* ALE */
309 SUNXI_FUNCTION(0x3, "spi0")), /* MISO */
311 SUNXI_FUNCTION(0x0, "gpio_in"),
312 SUNXI_FUNCTION(0x1, "gpio_out"),
313 SUNXI_FUNCTION(0x2, "nand0"), /* CLE */
314 SUNXI_FUNCTION(0x3, "spi0")), /* CLK */
316 SUNXI_FUNCTION(0x0, "gpio_in"),
317 SUNXI_FUNCTION(0x1, "gpio_out"),
318 SUNXI_FUNCTION(0x2, "nand0")), /* CE1 */
320 SUNXI_FUNCTION(0x0, "gpio_in"),
321 SUNXI_FUNCTION(0x1, "gpio_out"),
322 SUNXI_FUNCTION(0x2, "nand0")), /* CE0 */
324 SUNXI_FUNCTION(0x0, "gpio_in"),
325 SUNXI_FUNCTION(0x1, "gpio_out"),
326 SUNXI_FUNCTION(0x2, "nand0")), /* RE */
328 SUNXI_FUNCTION(0x0, "gpio_in"),
329 SUNXI_FUNCTION(0x1, "gpio_out"),
330 SUNXI_FUNCTION(0x2, "nand0"), /* RB0 */
331 SUNXI_FUNCTION(0x3, "mmc2"), /* CMD */
332 SUNXI_FUNCTION(0x4, "mmc3")), /* CMD */
334 SUNXI_FUNCTION(0x0, "gpio_in"),
335 SUNXI_FUNCTION(0x1, "gpio_out"),
336 SUNXI_FUNCTION(0x2, "nand0"), /* RB1 */
337 SUNXI_FUNCTION(0x3, "mmc2"), /* CLK */
338 SUNXI_FUNCTION(0x4, "mmc3")), /* CLK */
340 SUNXI_FUNCTION(0x0, "gpio_in"),
341 SUNXI_FUNCTION(0x1, "gpio_out"),
342 SUNXI_FUNCTION(0x2, "nand0"), /* DQ0 */
343 SUNXI_FUNCTION(0x3, "mmc2"), /* D0 */
344 SUNXI_FUNCTION(0x4, "mmc3")), /* D0 */
346 SUNXI_FUNCTION(0x0, "gpio_in"),
347 SUNXI_FUNCTION(0x1, "gpio_out"),
348 SUNXI_FUNCTION(0x2, "nand0"), /* DQ1 */
349 SUNXI_FUNCTION(0x3, "mmc2"), /* D1 */
350 SUNXI_FUNCTION(0x4, "mmc3")), /* D1 */
352 SUNXI_FUNCTION(0x0, "gpio_in"),
353 SUNXI_FUNCTION(0x1, "gpio_out"),
354 SUNXI_FUNCTION(0x2, "nand0"), /* DQ2 */
355 SUNXI_FUNCTION(0x3, "mmc2"), /* D2 */
356 SUNXI_FUNCTION(0x4, "mmc3")), /* D2 */
358 SUNXI_FUNCTION(0x0, "gpio_in"),
359 SUNXI_FUNCTION(0x1, "gpio_out"),
360 SUNXI_FUNCTION(0x2, "nand0"), /* DQ3 */
361 SUNXI_FUNCTION(0x3, "mmc2"), /* D3 */
362 SUNXI_FUNCTION(0x4, "mmc3")), /* D3 */
364 SUNXI_FUNCTION(0x0, "gpio_in"),
365 SUNXI_FUNCTION(0x1, "gpio_out"),
366 SUNXI_FUNCTION(0x2, "nand0"), /* DQ4 */
367 SUNXI_FUNCTION(0x3, "mmc2"), /* D4 */
368 SUNXI_FUNCTION(0x4, "mmc3")), /* D4 */
370 SUNXI_FUNCTION(0x0, "gpio_in"),
371 SUNXI_FUNCTION(0x1, "gpio_out"),
372 SUNXI_FUNCTION(0x2, "nand0"), /* DQ5 */
373 SUNXI_FUNCTION(0x3, "mmc2"), /* D5 */
374 SUNXI_FUNCTION(0x4, "mmc3")), /* D5 */
376 SUNXI_FUNCTION(0x0, "gpio_in"),
377 SUNXI_FUNCTION(0x1, "gpio_out"),
378 SUNXI_FUNCTION(0x2, "nand0"), /* DQ6 */
379 SUNXI_FUNCTION(0x3, "mmc2"), /* D6 */
380 SUNXI_FUNCTION(0x4, "mmc3")), /* D6 */
382 SUNXI_FUNCTION(0x0, "gpio_in"),
383 SUNXI_FUNCTION(0x1, "gpio_out"),
384 SUNXI_FUNCTION(0x2, "nand0"), /* DQ7 */
385 SUNXI_FUNCTION(0x3, "mmc2"), /* D7 */
386 SUNXI_FUNCTION(0x4, "mmc3")), /* D7 */
389 SUNXI_FUNCTION(0x0, "gpio_in"),
390 SUNXI_FUNCTION(0x1, "gpio_out"),
391 SUNXI_FUNCTION(0x2, "nand0"), /* DQ8 */
392 SUNXI_FUNCTION(0x3, "nand1")), /* DQ0 */
394 SUNXI_FUNCTION(0x0, "gpio_in"),
395 SUNXI_FUNCTION(0x1, "gpio_out"),
396 SUNXI_FUNCTION(0x2, "nand0"), /* DQ9 */
397 SUNXI_FUNCTION(0x3, "nand1")), /* DQ1 */
399 SUNXI_FUNCTION(0x0, "gpio_in"),
400 SUNXI_FUNCTION(0x1, "gpio_out"),
401 SUNXI_FUNCTION(0x2, "nand0"), /* DQ10 */
402 SUNXI_FUNCTION(0x3, "nand1")), /* DQ2 */
404 SUNXI_FUNCTION(0x0, "gpio_in"),
405 SUNXI_FUNCTION(0x1, "gpio_out"),
406 SUNXI_FUNCTION(0x2, "nand0"), /* DQ11 */
407 SUNXI_FUNCTION(0x3, "nand1")), /* DQ3 */
409 SUNXI_FUNCTION(0x0, "gpio_in"),
410 SUNXI_FUNCTION(0x1, "gpio_out"),
411 SUNXI_FUNCTION(0x2, "nand0"), /* DQ12 */
412 SUNXI_FUNCTION(0x3, "nand1")), /* DQ4 */
414 SUNXI_FUNCTION(0x0, "gpio_in"),
415 SUNXI_FUNCTION(0x1, "gpio_out"),
416 SUNXI_FUNCTION(0x2, "nand0"), /* DQ13 */
417 SUNXI_FUNCTION(0x3, "nand1")), /* DQ5 */
419 SUNXI_FUNCTION(0x0, "gpio_in"),
420 SUNXI_FUNCTION(0x1, "gpio_out"),
421 SUNXI_FUNCTION(0x2, "nand0"), /* DQ14 */
422 SUNXI_FUNCTION(0x3, "nand1")), /* DQ6 */
424 SUNXI_FUNCTION(0x0, "gpio_in"),
425 SUNXI_FUNCTION(0x1, "gpio_out"),
426 SUNXI_FUNCTION(0x2, "nand0"), /* DQ15 */
427 SUNXI_FUNCTION(0x3, "nand1")), /* DQ7 */
429 SUNXI_FUNCTION(0x0, "gpio_in"),
430 SUNXI_FUNCTION(0x1, "gpio_out"),
431 SUNXI_FUNCTION(0x2, "nand0"), /* DQS */
432 SUNXI_FUNCTION(0x3, "mmc2"), /* RST */
433 SUNXI_FUNCTION(0x4, "mmc3")), /* RST */
435 SUNXI_FUNCTION(0x0, "gpio_in"),
436 SUNXI_FUNCTION(0x1, "gpio_out"),
437 SUNXI_FUNCTION(0x2, "nand0")), /* CE2 */
439 SUNXI_FUNCTION(0x0, "gpio_in"),
440 SUNXI_FUNCTION(0x1, "gpio_out"),
441 SUNXI_FUNCTION(0x2, "nand0")), /* CE3 */
443 SUNXI_FUNCTION(0x0, "gpio_in"),
444 SUNXI_FUNCTION(0x1, "gpio_out"),
445 SUNXI_FUNCTION(0x3, "spi0")), /* CS0 */
447 SUNXI_PIN(SUNXI_PINCTRL_PIN(D, 0),
448 SUNXI_FUNCTION(0x0, "gpio_in"),
449 SUNXI_FUNCTION(0x1, "gpio_out"),
450 SUNXI_FUNCTION(0x2, "lcd0"), /* D0 */
451 SUNXI_FUNCTION(0x3, "lvds0")), /* VP0 */
453 SUNXI_FUNCTION(0x0, "gpio_in"),
454 SUNXI_FUNCTION(0x1, "gpio_out"),
455 SUNXI_FUNCTION(0x2, "lcd0"), /* D1 */
456 SUNXI_FUNCTION(0x3, "lvds0")), /* VN0 */
458 SUNXI_FUNCTION(0x0, "gpio_in"),
459 SUNXI_FUNCTION(0x1, "gpio_out"),
460 SUNXI_FUNCTION(0x2, "lcd0"), /* D2 */
461 SUNXI_FUNCTION(0x3, "lvds0")), /* VP1 */
463 SUNXI_FUNCTION(0x0, "gpio_in"),
464 SUNXI_FUNCTION(0x1, "gpio_out"),
465 SUNXI_FUNCTION(0x2, "lcd0"), /* D3 */
466 SUNXI_FUNCTION(0x3, "lvds0")), /* VN1 */
468 SUNXI_FUNCTION(0x0, "gpio_in"),
469 SUNXI_FUNCTION(0x1, "gpio_out"),
470 SUNXI_FUNCTION(0x2, "lcd0"), /* D4 */
471 SUNXI_FUNCTION(0x3, "lvds0")), /* VP2 */
473 SUNXI_FUNCTION(0x0, "gpio_in"),
474 SUNXI_FUNCTION(0x1, "gpio_out"),
475 SUNXI_FUNCTION(0x2, "lcd0"), /* D5 */
476 SUNXI_FUNCTION(0x3, "lvds0")), /* VN2 */
478 SUNXI_FUNCTION(0x0, "gpio_in"),
479 SUNXI_FUNCTION(0x1, "gpio_out"),
480 SUNXI_FUNCTION(0x2, "lcd0"), /* D6 */
481 SUNXI_FUNCTION(0x3, "lvds0")), /* VPC */
483 SUNXI_FUNCTION(0x0, "gpio_in"),
484 SUNXI_FUNCTION(0x1, "gpio_out"),
485 SUNXI_FUNCTION(0x2, "lcd0"), /* D7 */
486 SUNXI_FUNCTION(0x3, "lvds0")), /* VNC */
488 SUNXI_FUNCTION(0x0, "gpio_in"),
489 SUNXI_FUNCTION(0x1, "gpio_out"),
490 SUNXI_FUNCTION(0x2, "lcd0"), /* D8 */
491 SUNXI_FUNCTION(0x3, "lvds0")), /* VP3 */
493 SUNXI_FUNCTION(0x0, "gpio_in"),
494 SUNXI_FUNCTION(0x1, "gpio_out"),
495 SUNXI_FUNCTION(0x2, "lcd0"), /* D9 */
496 SUNXI_FUNCTION(0x3, "lvds0")), /* VN3 */
498 SUNXI_FUNCTION(0x0, "gpio_in"),
499 SUNXI_FUNCTION(0x1, "gpio_out"),
500 SUNXI_FUNCTION(0x2, "lcd0"), /* D10 */
501 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
504 SUNXI_FUNCTION(0x0, "gpio_in"),
505 SUNXI_FUNCTION(0x1, "gpio_out"),
506 SUNXI_FUNCTION(0x2, "lcd0"), /* D11 */
507 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
510 SUNXI_FUNCTION(0x0, "gpio_in"),
511 SUNXI_FUNCTION(0x1, "gpio_out"),
512 SUNXI_FUNCTION(0x2, "lcd0"), /* D12 */
513 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
516 SUNXI_FUNCTION(0x0, "gpio_in"),
517 SUNXI_FUNCTION(0x1, "gpio_out"),
518 SUNXI_FUNCTION(0x2, "lcd0"), /* D13 */
519 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
522 SUNXI_FUNCTION(0x0, "gpio_in"),
523 SUNXI_FUNCTION(0x1, "gpio_out"),
524 SUNXI_FUNCTION(0x2, "lcd0"), /* D14 */
525 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
528 SUNXI_FUNCTION(0x0, "gpio_in"),
529 SUNXI_FUNCTION(0x1, "gpio_out"),
530 SUNXI_FUNCTION(0x2, "lcd0"), /* D15 */
531 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
534 SUNXI_FUNCTION(0x0, "gpio_in"),
535 SUNXI_FUNCTION(0x1, "gpio_out"),
536 SUNXI_FUNCTION(0x2, "lcd0"), /* D16 */
537 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
540 SUNXI_FUNCTION(0x0, "gpio_in"),
541 SUNXI_FUNCTION(0x1, "gpio_out"),
542 SUNXI_FUNCTION(0x2, "lcd0"), /* D17 */
543 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
546 SUNXI_FUNCTION(0x0, "gpio_in"),
547 SUNXI_FUNCTION(0x1, "gpio_out"),
548 SUNXI_FUNCTION(0x2, "lcd0"), /* D18 */
549 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
552 SUNXI_FUNCTION(0x0, "gpio_in"),
553 SUNXI_FUNCTION(0x1, "gpio_out"),
554 SUNXI_FUNCTION(0x2, "lcd0"), /* D19 */
555 SUNXI_FUNCTION_VARIANT(0x3, "lvds1",
558 SUNXI_FUNCTION(0x0, "gpio_in"),
559 SUNXI_FUNCTION(0x1, "gpio_out"),
560 SUNXI_FUNCTION(0x2, "lcd0")), /* D20 */
562 SUNXI_FUNCTION(0x0, "gpio_in"),
563 SUNXI_FUNCTION(0x1, "gpio_out"),
564 SUNXI_FUNCTION(0x2, "lcd0")), /* D21 */
566 SUNXI_FUNCTION(0x0, "gpio_in"),
567 SUNXI_FUNCTION(0x1, "gpio_out"),
568 SUNXI_FUNCTION(0x2, "lcd0")), /* D22 */
570 SUNXI_FUNCTION(0x0, "gpio_in"),
571 SUNXI_FUNCTION(0x1, "gpio_out"),
572 SUNXI_FUNCTION(0x2, "lcd0")), /* D23 */
574 SUNXI_FUNCTION(0x0, "gpio_in"),
575 SUNXI_FUNCTION(0x1, "gpio_out"),
576 SUNXI_FUNCTION(0x2, "lcd0")), /* CLK */
578 SUNXI_FUNCTION(0x0, "gpio_in"),
579 SUNXI_FUNCTION(0x1, "gpio_out"),
580 SUNXI_FUNCTION(0x2, "lcd0")), /* DE */
582 SUNXI_FUNCTION(0x0, "gpio_in"),
583 SUNXI_FUNCTION(0x1, "gpio_out"),
584 SUNXI_FUNCTION(0x2, "lcd0")), /* HSYNC */
586 SUNXI_FUNCTION(0x0, "gpio_in"),
587 SUNXI_FUNCTION(0x1, "gpio_out"),
588 SUNXI_FUNCTION(0x2, "lcd0")), /* VSYNC */
590 SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 0),
591 SUNXI_FUNCTION(0x0, "gpio_in"),
592 SUNXI_FUNCTION(0x1, "gpio_out"),
593 SUNXI_FUNCTION(0x2, "csi"), /* PCLK */
594 SUNXI_FUNCTION(0x3, "ts"), /* CLK */
595 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 0)), /* PE_EINT0 */
597 SUNXI_FUNCTION(0x0, "gpio_in"),
598 SUNXI_FUNCTION(0x1, "gpio_out"),
599 SUNXI_FUNCTION(0x2, "csi"), /* MCLK */
600 SUNXI_FUNCTION(0x3, "ts"), /* ERR */
601 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 1)), /* PE_EINT1 */
603 SUNXI_FUNCTION(0x0, "gpio_in"),
604 SUNXI_FUNCTION(0x1, "gpio_out"),
605 SUNXI_FUNCTION(0x2, "csi"), /* HSYNC */
606 SUNXI_FUNCTION(0x3, "ts"), /* SYNC */
607 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 2)), /* PE_EINT2 */
609 SUNXI_FUNCTION(0x0, "gpio_in"),
610 SUNXI_FUNCTION(0x1, "gpio_out"),
611 SUNXI_FUNCTION(0x2, "csi"), /* VSYNC */
612 SUNXI_FUNCTION(0x3, "ts"), /* DVLD */
613 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 3)), /* PE_EINT3 */
615 SUNXI_FUNCTION(0x0, "gpio_in"),
616 SUNXI_FUNCTION(0x1, "gpio_out"),
617 SUNXI_FUNCTION(0x2, "csi"), /* D0 */
618 SUNXI_FUNCTION(0x3, "uart5"), /* TX */
619 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 4)), /* PE_EINT4 */
621 SUNXI_FUNCTION(0x0, "gpio_in"),
622 SUNXI_FUNCTION(0x1, "gpio_out"),
623 SUNXI_FUNCTION(0x2, "csi"), /* D1 */
624 SUNXI_FUNCTION(0x3, "uart5"), /* RX */
625 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 5)), /* PE_EINT5 */
627 SUNXI_FUNCTION(0x0, "gpio_in"),
628 SUNXI_FUNCTION(0x1, "gpio_out"),
629 SUNXI_FUNCTION(0x2, "csi"), /* D2 */
630 SUNXI_FUNCTION(0x3, "uart5"), /* RTS */
631 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 6)), /* PE_EINT6 */
633 SUNXI_FUNCTION(0x0, "gpio_in"),
634 SUNXI_FUNCTION(0x1, "gpio_out"),
635 SUNXI_FUNCTION(0x2, "csi"), /* D3 */
636 SUNXI_FUNCTION(0x3, "uart5"), /* CTS */
637 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 7)), /* PE_EINT7 */
639 SUNXI_FUNCTION(0x0, "gpio_in"),
640 SUNXI_FUNCTION(0x1, "gpio_out"),
641 SUNXI_FUNCTION(0x2, "csi"), /* D4 */
642 SUNXI_FUNCTION(0x3, "ts"), /* D0 */
643 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 8)), /* PE_EINT8 */
645 SUNXI_FUNCTION(0x0, "gpio_in"),
646 SUNXI_FUNCTION(0x1, "gpio_out"),
647 SUNXI_FUNCTION(0x2, "csi"), /* D5 */
648 SUNXI_FUNCTION(0x3, "ts"), /* D1 */
649 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 9)), /* PE_EINT9 */
651 SUNXI_FUNCTION(0x0, "gpio_in"),
652 SUNXI_FUNCTION(0x1, "gpio_out"),
653 SUNXI_FUNCTION(0x2, "csi"), /* D6 */
654 SUNXI_FUNCTION(0x3, "ts"), /* D2 */
655 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 10)), /* PE_EINT10 */
657 SUNXI_FUNCTION(0x0, "gpio_in"),
658 SUNXI_FUNCTION(0x1, "gpio_out"),
659 SUNXI_FUNCTION(0x2, "csi"), /* D7 */
660 SUNXI_FUNCTION(0x3, "ts"), /* D3 */
661 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 11)), /* PE_EINT11 */
663 SUNXI_FUNCTION(0x0, "gpio_in"),
664 SUNXI_FUNCTION(0x1, "gpio_out"),
665 SUNXI_FUNCTION(0x2, "csi"), /* D8 */
666 SUNXI_FUNCTION(0x3, "ts"), /* D4 */
667 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 12)), /* PE_EINT12 */
669 SUNXI_FUNCTION(0x0, "gpio_in"),
670 SUNXI_FUNCTION(0x1, "gpio_out"),
671 SUNXI_FUNCTION(0x2, "csi"), /* D9 */
672 SUNXI_FUNCTION(0x3, "ts"), /* D5 */
673 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 13)), /* PE_EINT13 */
675 SUNXI_FUNCTION(0x0, "gpio_in"),
676 SUNXI_FUNCTION(0x1, "gpio_out"),
677 SUNXI_FUNCTION(0x2, "csi"), /* D10 */
678 SUNXI_FUNCTION(0x3, "ts"), /* D6 */
679 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 14)), /* PE_EINT14 */
681 SUNXI_FUNCTION(0x0, "gpio_in"),
682 SUNXI_FUNCTION(0x1, "gpio_out"),
683 SUNXI_FUNCTION(0x2, "csi"), /* D11 */
684 SUNXI_FUNCTION(0x3, "ts"), /* D7 */
685 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 15)), /* PE_EINT15 */
687 SUNXI_FUNCTION(0x0, "gpio_in"),
688 SUNXI_FUNCTION(0x1, "gpio_out"),
689 SUNXI_FUNCTION(0x2, "csi"), /* MIPI CSI MCLK */
690 SUNXI_FUNCTION_IRQ_BANK(0x6, 2, 16)), /* PE_EINT16 */
692 SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 0),
693 SUNXI_FUNCTION(0x0, "gpio_in"),
694 SUNXI_FUNCTION(0x1, "gpio_out"),
695 SUNXI_FUNCTION(0x2, "mmc0"), /* D1 */
696 SUNXI_FUNCTION(0x4, "jtag")), /* MS1 */
698 SUNXI_FUNCTION(0x0, "gpio_in"),
699 SUNXI_FUNCTION(0x1, "gpio_out"),
700 SUNXI_FUNCTION(0x2, "mmc0"), /* D0 */
701 SUNXI_FUNCTION(0x4, "jtag")), /* DI1 */
703 SUNXI_FUNCTION(0x0, "gpio_in"),
704 SUNXI_FUNCTION(0x1, "gpio_out"),
705 SUNXI_FUNCTION(0x2, "mmc0"), /* CLK */
706 SUNXI_FUNCTION(0x4, "uart0")), /* TX */
708 SUNXI_FUNCTION(0x0, "gpio_in"),
709 SUNXI_FUNCTION(0x1, "gpio_out"),
710 SUNXI_FUNCTION(0x2, "mmc0"), /* CMD */
711 SUNXI_FUNCTION(0x4, "jtag")), /* DO1 */
713 SUNXI_FUNCTION(0x0, "gpio_in"),
714 SUNXI_FUNCTION(0x1, "gpio_out"),
715 SUNXI_FUNCTION(0x2, "mmc0"), /* D3 */
716 SUNXI_FUNCTION(0x4, "uart0")), /* RX */
718 SUNXI_FUNCTION(0x0, "gpio_in"),
719 SUNXI_FUNCTION(0x1, "gpio_out"),
720 SUNXI_FUNCTION(0x2, "mmc0"), /* D2 */
721 SUNXI_FUNCTION(0x4, "jtag")), /* CK1 */
723 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0),
724 SUNXI_FUNCTION(0x0, "gpio_in"),
725 SUNXI_FUNCTION(0x1, "gpio_out"),
726 SUNXI_FUNCTION(0x2, "mmc1"), /* CLK */
727 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 0)), /* PG_EINT0 */
729 SUNXI_FUNCTION(0x0, "gpio_in"),
730 SUNXI_FUNCTION(0x1, "gpio_out"),
731 SUNXI_FUNCTION(0x2, "mmc1"), /* CMD */
732 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 1)), /* PG_EINT1 */
734 SUNXI_FUNCTION(0x0, "gpio_in"),
735 SUNXI_FUNCTION(0x1, "gpio_out"),
736 SUNXI_FUNCTION(0x2, "mmc1"), /* D0 */
737 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 2)), /* PG_EINT2 */
739 SUNXI_FUNCTION(0x0, "gpio_in"),
740 SUNXI_FUNCTION(0x1, "gpio_out"),
741 SUNXI_FUNCTION(0x2, "mmc1"), /* D1 */
742 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 3)), /* PG_EINT3 */
744 SUNXI_FUNCTION(0x0, "gpio_in"),
745 SUNXI_FUNCTION(0x1, "gpio_out"),
746 SUNXI_FUNCTION(0x2, "mmc1"), /* D2 */
747 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 4)), /* PG_EINT4 */
749 SUNXI_FUNCTION(0x0, "gpio_in"),
750 SUNXI_FUNCTION(0x1, "gpio_out"),
751 SUNXI_FUNCTION(0x2, "mmc1"), /* D3 */
752 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 5)), /* PG_EINT5 */
754 SUNXI_FUNCTION(0x0, "gpio_in"),
755 SUNXI_FUNCTION(0x1, "gpio_out"),
756 SUNXI_FUNCTION(0x2, "uart2"), /* TX */
757 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 6)), /* PG_EINT6 */
759 SUNXI_FUNCTION(0x0, "gpio_in"),
760 SUNXI_FUNCTION(0x1, "gpio_out"),
761 SUNXI_FUNCTION(0x2, "uart2"), /* RX */
762 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 7)), /* PG_EINT7 */
764 SUNXI_FUNCTION(0x0, "gpio_in"),
765 SUNXI_FUNCTION(0x1, "gpio_out"),
766 SUNXI_FUNCTION(0x2, "uart2"), /* RTS */
767 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 8)), /* PG_EINT8 */
769 SUNXI_FUNCTION(0x0, "gpio_in"),
770 SUNXI_FUNCTION(0x1, "gpio_out"),
771 SUNXI_FUNCTION(0x2, "uart2"), /* CTS */
772 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 9)), /* PG_EINT9 */
774 SUNXI_FUNCTION(0x0, "gpio_in"),
775 SUNXI_FUNCTION(0x1, "gpio_out"),
776 SUNXI_FUNCTION(0x2, "i2c3"), /* SCK */
777 SUNXI_FUNCTION_VARIANT(0x3, "usb",
779 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 10)), /* PG_EINT10 */
781 SUNXI_FUNCTION(0x0, "gpio_in"),
782 SUNXI_FUNCTION(0x1, "gpio_out"),
783 SUNXI_FUNCTION(0x2, "i2c3"), /* SDA */
784 SUNXI_FUNCTION_VARIANT(0x3, "usb",
786 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 11)), /* PG_EINT11 */
788 SUNXI_FUNCTION(0x0, "gpio_in"),
789 SUNXI_FUNCTION(0x1, "gpio_out"),
790 SUNXI_FUNCTION(0x2, "spi1"), /* CS1 */
791 SUNXI_FUNCTION(0x3, "i2s1"), /* MCLK */
792 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 12)), /* PG_EINT12 */
794 SUNXI_FUNCTION(0x0, "gpio_in"),
795 SUNXI_FUNCTION(0x1, "gpio_out"),
796 SUNXI_FUNCTION(0x2, "spi1"), /* CS0 */
797 SUNXI_FUNCTION(0x3, "i2s1"), /* BCLK */
798 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 13)), /* PG_EINT13 */
800 SUNXI_FUNCTION(0x0, "gpio_in"),
801 SUNXI_FUNCTION(0x1, "gpio_out"),
802 SUNXI_FUNCTION(0x2, "spi1"), /* CLK */
803 SUNXI_FUNCTION(0x3, "i2s1"), /* LRCK */
804 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 14)), /* PG_EINT14 */
806 SUNXI_FUNCTION(0x0, "gpio_in"),
807 SUNXI_FUNCTION(0x1, "gpio_out"),
808 SUNXI_FUNCTION(0x2, "spi1"), /* MOSI */
809 SUNXI_FUNCTION(0x3, "i2s1"), /* DIN */
810 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 15)), /* PG_EINT15 */
812 SUNXI_FUNCTION(0x0, "gpio_in"),
813 SUNXI_FUNCTION(0x1, "gpio_out"),
814 SUNXI_FUNCTION(0x2, "spi1"), /* MISO */
815 SUNXI_FUNCTION(0x3, "i2s1"), /* DOUT */
816 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 16)), /* PG_EINT16 */
818 SUNXI_FUNCTION(0x0, "gpio_in"),
819 SUNXI_FUNCTION(0x1, "gpio_out"),
820 SUNXI_FUNCTION(0x2, "uart4"), /* TX */
821 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 17)), /* PG_EINT17 */
823 SUNXI_FUNCTION(0x0, "gpio_in"),
824 SUNXI_FUNCTION(0x1, "gpio_out"),
825 SUNXI_FUNCTION(0x2, "uart4"), /* RX */
826 SUNXI_FUNCTION_IRQ_BANK(0x6, 3, 18)), /* PG_EINT18 */
828 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(H, 0), PINCTRL_SUN6I_A31,
829 SUNXI_FUNCTION(0x0, "gpio_in"),
830 SUNXI_FUNCTION(0x1, "gpio_out"),
831 SUNXI_FUNCTION(0x2, "nand1")), /* WE */
833 SUNXI_FUNCTION(0x0, "gpio_in"),
834 SUNXI_FUNCTION(0x1, "gpio_out"),
835 SUNXI_FUNCTION(0x2, "nand1")), /* ALE */
837 SUNXI_FUNCTION(0x0, "gpio_in"),
838 SUNXI_FUNCTION(0x1, "gpio_out"),
839 SUNXI_FUNCTION(0x2, "nand1")), /* CLE */
841 SUNXI_FUNCTION(0x0, "gpio_in"),
842 SUNXI_FUNCTION(0x1, "gpio_out"),
843 SUNXI_FUNCTION(0x2, "nand1")), /* CE1 */
845 SUNXI_FUNCTION(0x0, "gpio_in"),
846 SUNXI_FUNCTION(0x1, "gpio_out"),
847 SUNXI_FUNCTION(0x2, "nand1")), /* CE0 */
849 SUNXI_FUNCTION(0x0, "gpio_in"),
850 SUNXI_FUNCTION(0x1, "gpio_out"),
851 SUNXI_FUNCTION(0x2, "nand1")), /* RE */
853 SUNXI_FUNCTION(0x0, "gpio_in"),
854 SUNXI_FUNCTION(0x1, "gpio_out"),
855 SUNXI_FUNCTION(0x2, "nand1")), /* RB0 */
857 SUNXI_FUNCTION(0x0, "gpio_in"),
858 SUNXI_FUNCTION(0x1, "gpio_out"),
859 SUNXI_FUNCTION(0x2, "nand1")), /* RB1 */
861 SUNXI_FUNCTION(0x0, "gpio_in"),
862 SUNXI_FUNCTION(0x1, "gpio_out"),
863 SUNXI_FUNCTION(0x2, "nand1")), /* DQS */
865 SUNXI_FUNCTION(0x0, "gpio_in"),
866 SUNXI_FUNCTION(0x1, "gpio_out"),
867 SUNXI_FUNCTION(0x2, "spi2"), /* CS0 */
868 SUNXI_FUNCTION(0x3, "jtag"), /* MS0 */
869 SUNXI_FUNCTION(0x4, "pwm1")), /* Positive */
871 SUNXI_FUNCTION(0x0, "gpio_in"),
872 SUNXI_FUNCTION(0x1, "gpio_out"),
873 SUNXI_FUNCTION(0x2, "spi2"), /* CLK */
874 SUNXI_FUNCTION(0x3, "jtag"), /* CK0 */
875 SUNXI_FUNCTION(0x4, "pwm1")), /* Negative */
877 SUNXI_FUNCTION(0x0, "gpio_in"),
878 SUNXI_FUNCTION(0x1, "gpio_out"),
879 SUNXI_FUNCTION(0x2, "spi2"), /* MOSI */
880 SUNXI_FUNCTION(0x3, "jtag"), /* DO0 */
881 SUNXI_FUNCTION(0x4, "pwm2")), /* Positive */
883 SUNXI_FUNCTION(0x0, "gpio_in"),
884 SUNXI_FUNCTION(0x1, "gpio_out"),
885 SUNXI_FUNCTION(0x2, "spi2"), /* MISO */
886 SUNXI_FUNCTION(0x3, "jtag"), /* DI0 */
887 SUNXI_FUNCTION(0x4, "pwm2")), /* Negative */
889 SUNXI_FUNCTION(0x0, "gpio_in"),
890 SUNXI_FUNCTION(0x1, "gpio_out"),
891 SUNXI_FUNCTION(0x2, "pwm0")),
893 SUNXI_FUNCTION(0x0, "gpio_in"),
894 SUNXI_FUNCTION(0x1, "gpio_out"),
895 SUNXI_FUNCTION(0x2, "i2c0")), /* SCK */
897 SUNXI_FUNCTION(0x0, "gpio_in"),
898 SUNXI_FUNCTION(0x1, "gpio_out"),
899 SUNXI_FUNCTION(0x2, "i2c0")), /* SDA */
901 SUNXI_FUNCTION(0x0, "gpio_in"),
902 SUNXI_FUNCTION(0x1, "gpio_out"),
903 SUNXI_FUNCTION(0x2, "i2c1")), /* SCK */
905 SUNXI_FUNCTION(0x0, "gpio_in"),
906 SUNXI_FUNCTION(0x1, "gpio_out"),
907 SUNXI_FUNCTION(0x2, "i2c1")), /* SDA */
909 SUNXI_FUNCTION(0x0, "gpio_in"),
910 SUNXI_FUNCTION(0x1, "gpio_out"),
911 SUNXI_FUNCTION(0x2, "i2c2")), /* SCK */
913 SUNXI_FUNCTION(0x0, "gpio_in"),
914 SUNXI_FUNCTION(0x1, "gpio_out"),
915 SUNXI_FUNCTION(0x2, "i2c2")), /* SDA */
917 SUNXI_FUNCTION(0x0, "gpio_in"),
918 SUNXI_FUNCTION(0x1, "gpio_out"),
919 SUNXI_FUNCTION(0x2, "uart0")), /* TX */
921 SUNXI_FUNCTION(0x0, "gpio_in"),
922 SUNXI_FUNCTION(0x1, "gpio_out"),
923 SUNXI_FUNCTION(0x2, "uart0")), /* RX */
925 SUNXI_FUNCTION(0x0, "gpio_in"),
926 SUNXI_FUNCTION(0x1, "gpio_out")),
928 SUNXI_FUNCTION(0x0, "gpio_in"),
929 SUNXI_FUNCTION(0x1, "gpio_out")),
931 SUNXI_FUNCTION(0x0, "gpio_in"),
932 SUNXI_FUNCTION(0x1, "gpio_out")),
934 SUNXI_FUNCTION(0x0, "gpio_in"),
935 SUNXI_FUNCTION(0x1, "gpio_out")),
937 SUNXI_FUNCTION(0x0, "gpio_in"),
938 SUNXI_FUNCTION(0x1, "gpio_out")),
940 SUNXI_FUNCTION(0x0, "gpio_in"),
941 SUNXI_FUNCTION(0x1, "gpio_out"),
947 SUNXI_FUNCTION(0x3, "spdif")), /* SPDIF IN */
949 SUNXI_FUNCTION(0x0, "gpio_in"),
950 SUNXI_FUNCTION(0x1, "gpio_out"),
952 SUNXI_FUNCTION(0x3, "spdif")), /* SPDIF OUT */
955 SUNXI_FUNCTION(0x0, "gpio_in"),
956 SUNXI_FUNCTION(0x1, "gpio_out"),
957 SUNXI_FUNCTION(0x2, "nand1")), /* CE2 */
959 SUNXI_FUNCTION(0x0, "gpio_in"),
960 SUNXI_FUNCTION(0x1, "gpio_out"),
961 SUNXI_FUNCTION(0x2, "nand1")), /* CE3 */