Lines Matching +full:0 +full:x2

22 	SUNXI_PIN(SUNXI_PINCTRL_PIN(A, 0),
23 SUNXI_FUNCTION(0x0, "gpio_in"),
24 SUNXI_FUNCTION(0x1, "gpio_out"),
25 SUNXI_FUNCTION(0x2, "emac"), /* ERXD3 */
26 SUNXI_FUNCTION(0x3, "spi1"), /* CS0 */
27 SUNXI_FUNCTION(0x4, "uart2"), /* RTS */
28 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXD3 */
32 SUNXI_FUNCTION(0x0, "gpio_in"),
33 SUNXI_FUNCTION(0x1, "gpio_out"),
34 SUNXI_FUNCTION(0x2, "emac"), /* ERXD2 */
35 SUNXI_FUNCTION(0x3, "spi1"), /* CLK */
36 SUNXI_FUNCTION(0x4, "uart2"), /* CTS */
37 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXD2 */
41 SUNXI_FUNCTION(0x0, "gpio_in"),
42 SUNXI_FUNCTION(0x1, "gpio_out"),
43 SUNXI_FUNCTION(0x2, "emac"), /* ERXD1 */
44 SUNXI_FUNCTION(0x3, "spi1"), /* MOSI */
45 SUNXI_FUNCTION(0x4, "uart2"), /* TX */
46 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXD1 */
50 SUNXI_FUNCTION(0x0, "gpio_in"),
51 SUNXI_FUNCTION(0x1, "gpio_out"),
52 SUNXI_FUNCTION(0x2, "emac"), /* ERXD0 */
53 SUNXI_FUNCTION(0x3, "spi1"), /* MISO */
54 SUNXI_FUNCTION(0x4, "uart2"), /* RX */
55 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXD0 */
59 SUNXI_FUNCTION(0x0, "gpio_in"),
60 SUNXI_FUNCTION(0x1, "gpio_out"),
61 SUNXI_FUNCTION(0x2, "emac"), /* ETXD3 */
62 SUNXI_FUNCTION(0x3, "spi1"), /* CS1 */
63 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXD3 */
67 SUNXI_FUNCTION(0x0, "gpio_in"),
68 SUNXI_FUNCTION(0x1, "gpio_out"),
69 SUNXI_FUNCTION(0x2, "emac"), /* ETXD2 */
70 SUNXI_FUNCTION(0x3, "spi3"), /* CS0 */
71 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXD2 */
75 SUNXI_FUNCTION(0x0, "gpio_in"),
76 SUNXI_FUNCTION(0x1, "gpio_out"),
77 SUNXI_FUNCTION(0x2, "emac"), /* ETXD1 */
78 SUNXI_FUNCTION(0x3, "spi3"), /* CLK */
79 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXD1 */
83 SUNXI_FUNCTION(0x0, "gpio_in"),
84 SUNXI_FUNCTION(0x1, "gpio_out"),
85 SUNXI_FUNCTION(0x2, "emac"), /* ETXD0 */
86 SUNXI_FUNCTION(0x3, "spi3"), /* MOSI */
87 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXD0 */
91 SUNXI_FUNCTION(0x0, "gpio_in"),
92 SUNXI_FUNCTION(0x1, "gpio_out"),
93 SUNXI_FUNCTION(0x2, "emac"), /* ERXCK */
94 SUNXI_FUNCTION(0x3, "spi3"), /* MISO */
95 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXCK */
99 SUNXI_FUNCTION(0x0, "gpio_in"),
100 SUNXI_FUNCTION(0x1, "gpio_out"),
101 SUNXI_FUNCTION(0x2, "emac"), /* ERXERR */
102 SUNXI_FUNCTION(0x3, "spi3"), /* CS1 */
103 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GNULL / ERXERR */
106 SUNXI_FUNCTION_VARIANT(0x6, "i2s1", /* MCLK */
110 SUNXI_FUNCTION(0x0, "gpio_in"),
111 SUNXI_FUNCTION(0x1, "gpio_out"),
112 SUNXI_FUNCTION(0x2, "emac"), /* ERXDV */
113 SUNXI_FUNCTION(0x4, "uart1"), /* TX */
114 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GRXDV */
118 SUNXI_FUNCTION(0x0, "gpio_in"),
119 SUNXI_FUNCTION(0x1, "gpio_out"),
120 SUNXI_FUNCTION(0x2, "emac"), /* EMDC */
121 SUNXI_FUNCTION(0x4, "uart1"), /* RX */
122 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* EMDC */
126 SUNXI_FUNCTION(0x0, "gpio_in"),
127 SUNXI_FUNCTION(0x1, "gpio_out"),
128 SUNXI_FUNCTION(0x2, "emac"), /* EMDIO */
129 SUNXI_FUNCTION(0x3, "uart6"), /* TX */
130 SUNXI_FUNCTION(0x4, "uart1"), /* RTS */
131 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* EMDIO */
135 SUNXI_FUNCTION(0x0, "gpio_in"),
136 SUNXI_FUNCTION(0x1, "gpio_out"),
137 SUNXI_FUNCTION(0x2, "emac"), /* ETXEN */
138 SUNXI_FUNCTION(0x3, "uart6"), /* RX */
139 SUNXI_FUNCTION(0x4, "uart1"), /* CTS */
140 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXCTL / ETXEN */
144 SUNXI_FUNCTION(0x0, "gpio_in"),
145 SUNXI_FUNCTION(0x1, "gpio_out"),
146 SUNXI_FUNCTION(0x2, "emac"), /* ETXCK */
147 SUNXI_FUNCTION(0x3, "uart7"), /* TX */
148 SUNXI_FUNCTION(0x4, "uart1"), /* DTR */
149 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GNULL / ETXCK */
152 SUNXI_FUNCTION_VARIANT(0x6, "i2s1", /* BCLK */
156 SUNXI_FUNCTION(0x0, "gpio_in"),
157 SUNXI_FUNCTION(0x1, "gpio_out"),
158 SUNXI_FUNCTION(0x2, "emac"), /* ECRS */
159 SUNXI_FUNCTION(0x3, "uart7"), /* RX */
160 SUNXI_FUNCTION(0x4, "uart1"), /* DSR */
161 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GTXCK / ECRS */
164 SUNXI_FUNCTION_VARIANT(0x6, "i2s1", /* LRCK */
168 SUNXI_FUNCTION(0x0, "gpio_in"),
169 SUNXI_FUNCTION(0x1, "gpio_out"),
170 SUNXI_FUNCTION(0x2, "emac"), /* ECOL */
171 SUNXI_FUNCTION(0x3, "can"), /* TX */
172 SUNXI_FUNCTION(0x4, "uart1"), /* DCD */
173 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GCLKIN / ECOL */
176 SUNXI_FUNCTION_VARIANT(0x6, "i2s1", /* DO */
180 SUNXI_FUNCTION(0x0, "gpio_in"),
181 SUNXI_FUNCTION(0x1, "gpio_out"),
182 SUNXI_FUNCTION(0x2, "emac"), /* ETXERR */
183 SUNXI_FUNCTION(0x3, "can"), /* RX */
184 SUNXI_FUNCTION(0x4, "uart1"), /* RING */
185 SUNXI_FUNCTION_VARIANT(0x5, "gmac", /* GNULL / ETXERR */
188 SUNXI_FUNCTION_VARIANT(0x6, "i2s1", /* DI */
192 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
193 SUNXI_FUNCTION(0x0, "gpio_in"),
194 SUNXI_FUNCTION(0x1, "gpio_out"),
195 SUNXI_FUNCTION(0x2, "i2c0"), /* SCK */
196 SUNXI_FUNCTION_VARIANT(0x3, "pll_lock_dbg",
199 SUNXI_FUNCTION(0x0, "gpio_in"),
200 SUNXI_FUNCTION(0x1, "gpio_out"),
201 SUNXI_FUNCTION(0x2, "i2c0")), /* SDA */
203 SUNXI_FUNCTION(0x0, "gpio_in"),
204 SUNXI_FUNCTION(0x1, "gpio_out"),
205 SUNXI_FUNCTION_VARIANT(0x2, "pwm", /* PWM0 */
208 SUNXI_FUNCTION_VARIANT(0x3, "pwm", /* PWM0 */
211 SUNXI_FUNCTION(0x0, "gpio_in"),
212 SUNXI_FUNCTION(0x1, "gpio_out"),
213 SUNXI_FUNCTION_VARIANT(0x2, "ir0", /* TX */
216 SUNXI_FUNCTION_VARIANT(0x3, "pwm", /* PWM1 */
224 SUNXI_FUNCTION(0x4, "spdif")), /* SPDIF MCLK */
226 SUNXI_FUNCTION(0x0, "gpio_in"),
227 SUNXI_FUNCTION(0x1, "gpio_out"),
228 SUNXI_FUNCTION(0x2, "ir0")), /* RX */
230 SUNXI_FUNCTION(0x0, "gpio_in"),
231 SUNXI_FUNCTION(0x1, "gpio_out"),
238 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* MCLK */
240 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* MCLK */
243 SUNXI_FUNCTION(0x3, "ac97")), /* MCLK */
245 SUNXI_FUNCTION(0x0, "gpio_in"),
246 SUNXI_FUNCTION(0x1, "gpio_out"),
247 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* BCLK */
249 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* BCLK */
252 SUNXI_FUNCTION(0x3, "ac97")), /* BCLK */
254 SUNXI_FUNCTION(0x0, "gpio_in"),
255 SUNXI_FUNCTION(0x1, "gpio_out"),
256 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* LRCK */
258 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* LRCK */
261 SUNXI_FUNCTION(0x3, "ac97")), /* SYNC */
263 SUNXI_FUNCTION(0x0, "gpio_in"),
264 SUNXI_FUNCTION(0x1, "gpio_out"),
265 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* DO0 */
267 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* DO0 */
270 SUNXI_FUNCTION(0x3, "ac97")), /* DO */
272 SUNXI_FUNCTION(0x0, "gpio_in"),
273 SUNXI_FUNCTION(0x1, "gpio_out"),
274 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* DO1 */
276 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* DO1 */
279 SUNXI_FUNCTION_VARIANT(0x4, "pwm", /* PWM6 */
282 SUNXI_FUNCTION(0x0, "gpio_in"),
283 SUNXI_FUNCTION(0x1, "gpio_out"),
284 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* DO2 */
286 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* DO2 */
289 SUNXI_FUNCTION_VARIANT(0x4, "pwm", /* PWM7 */
292 SUNXI_FUNCTION(0x0, "gpio_in"),
293 SUNXI_FUNCTION(0x1, "gpio_out"),
294 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* DO3 */
296 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* DO3 */
300 SUNXI_FUNCTION(0x0, "gpio_in"),
301 SUNXI_FUNCTION(0x1, "gpio_out"),
302 SUNXI_FUNCTION_VARIANT(0x2, "i2s", /* DI */
304 SUNXI_FUNCTION_VARIANT(0x2, "i2s0", /* DI */
307 SUNXI_FUNCTION(0x3, "ac97"), /* DI */
309 SUNXI_FUNCTION_VARIANT(0x4, "spdif", /* SPDIF IN */
313 SUNXI_FUNCTION(0x0, "gpio_in"),
314 SUNXI_FUNCTION(0x1, "gpio_out"),
315 SUNXI_FUNCTION(0x2, "spi2"), /* CS1 */
317 SUNXI_FUNCTION(0x4, "spdif")), /* SPDIF OUT */
319 SUNXI_FUNCTION(0x0, "gpio_in"),
320 SUNXI_FUNCTION(0x1, "gpio_out"),
321 SUNXI_FUNCTION(0x2, "spi2"), /* CS0 */
322 SUNXI_FUNCTION(0x3, "jtag")), /* MS0 */
324 SUNXI_FUNCTION(0x0, "gpio_in"),
325 SUNXI_FUNCTION(0x1, "gpio_out"),
326 SUNXI_FUNCTION(0x2, "spi2"), /* CLK */
327 SUNXI_FUNCTION(0x3, "jtag")), /* CK0 */
329 SUNXI_FUNCTION(0x0, "gpio_in"),
330 SUNXI_FUNCTION(0x1, "gpio_out"),
331 SUNXI_FUNCTION(0x2, "spi2"), /* MOSI */
332 SUNXI_FUNCTION(0x3, "jtag")), /* DO0 */
334 SUNXI_FUNCTION(0x0, "gpio_in"),
335 SUNXI_FUNCTION(0x1, "gpio_out"),
336 SUNXI_FUNCTION(0x2, "spi2"), /* MISO */
337 SUNXI_FUNCTION(0x3, "jtag")), /* DI0 */
339 SUNXI_FUNCTION(0x0, "gpio_in"),
340 SUNXI_FUNCTION(0x1, "gpio_out"),
341 SUNXI_FUNCTION(0x2, "i2c1")), /* SCK */
343 SUNXI_FUNCTION(0x0, "gpio_in"),
344 SUNXI_FUNCTION(0x1, "gpio_out"),
345 SUNXI_FUNCTION(0x2, "i2c1")), /* SDA */
347 SUNXI_FUNCTION(0x0, "gpio_in"),
348 SUNXI_FUNCTION(0x1, "gpio_out"),
349 SUNXI_FUNCTION(0x2, "i2c2"), /* SCK */
350 SUNXI_FUNCTION_VARIANT(0x4, "pwm", /* PWM4 */
353 SUNXI_FUNCTION(0x0, "gpio_in"),
354 SUNXI_FUNCTION(0x1, "gpio_out"),
355 SUNXI_FUNCTION(0x2, "i2c2"), /* SDA */
356 SUNXI_FUNCTION_VARIANT(0x4, "pwm", /* PWM5 */
359 SUNXI_FUNCTION(0x0, "gpio_in"),
360 SUNXI_FUNCTION(0x1, "gpio_out"),
361 SUNXI_FUNCTION(0x2, "uart0"), /* TX */
362 SUNXI_FUNCTION_VARIANT(0x3, "ir1", /* TX */
366 SUNXI_FUNCTION(0x0, "gpio_in"),
367 SUNXI_FUNCTION(0x1, "gpio_out"),
368 SUNXI_FUNCTION(0x2, "uart0"), /* RX */
369 SUNXI_FUNCTION(0x3, "ir1")), /* RX */
371 SUNXI_PIN(SUNXI_PINCTRL_PIN(C, 0),
372 SUNXI_FUNCTION(0x0, "gpio_in"),
373 SUNXI_FUNCTION(0x1, "gpio_out"),
374 SUNXI_FUNCTION(0x2, "nand0"), /* NWE */
375 SUNXI_FUNCTION(0x3, "spi0")), /* MOSI */
377 SUNXI_FUNCTION(0x0, "gpio_in"),
378 SUNXI_FUNCTION(0x1, "gpio_out"),
379 SUNXI_FUNCTION(0x2, "nand0"), /* NALE */
380 SUNXI_FUNCTION(0x3, "spi0")), /* MISO */
382 SUNXI_FUNCTION(0x0, "gpio_in"),
383 SUNXI_FUNCTION(0x1, "gpio_out"),
384 SUNXI_FUNCTION(0x2, "nand0"), /* NCLE */
385 SUNXI_FUNCTION(0x3, "spi0")), /* SCK */
387 SUNXI_FUNCTION(0x0, "gpio_in"),
388 SUNXI_FUNCTION(0x1, "gpio_out"),
389 SUNXI_FUNCTION(0x2, "nand0")), /* NCE1 */
391 SUNXI_FUNCTION(0x0, "gpio_in"),
392 SUNXI_FUNCTION(0x1, "gpio_out"),
393 SUNXI_FUNCTION(0x2, "nand0")), /* NCE0 */
395 SUNXI_FUNCTION(0x0, "gpio_in"),
396 SUNXI_FUNCTION(0x1, "gpio_out"),
397 SUNXI_FUNCTION(0x2, "nand0"), /* NRE# */
398 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* DS */
401 SUNXI_FUNCTION(0x0, "gpio_in"),
402 SUNXI_FUNCTION(0x1, "gpio_out"),
403 SUNXI_FUNCTION(0x2, "nand0"), /* NRB0 */
404 SUNXI_FUNCTION(0x3, "mmc2")), /* CMD */
406 SUNXI_FUNCTION(0x0, "gpio_in"),
407 SUNXI_FUNCTION(0x1, "gpio_out"),
408 SUNXI_FUNCTION(0x2, "nand0"), /* NRB1 */
409 SUNXI_FUNCTION(0x3, "mmc2")), /* CLK */
411 SUNXI_FUNCTION(0x0, "gpio_in"),
412 SUNXI_FUNCTION(0x1, "gpio_out"),
413 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ0 */
414 SUNXI_FUNCTION(0x3, "mmc2")), /* D0 */
416 SUNXI_FUNCTION(0x0, "gpio_in"),
417 SUNXI_FUNCTION(0x1, "gpio_out"),
418 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ1 */
419 SUNXI_FUNCTION(0x3, "mmc2")), /* D1 */
421 SUNXI_FUNCTION(0x0, "gpio_in"),
422 SUNXI_FUNCTION(0x1, "gpio_out"),
423 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ2 */
424 SUNXI_FUNCTION(0x3, "mmc2")), /* D2 */
426 SUNXI_FUNCTION(0x0, "gpio_in"),
427 SUNXI_FUNCTION(0x1, "gpio_out"),
428 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ3 */
429 SUNXI_FUNCTION(0x3, "mmc2")), /* D3 */
431 SUNXI_FUNCTION(0x0, "gpio_in"),
432 SUNXI_FUNCTION(0x1, "gpio_out"),
433 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ4 */
434 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* D4 */
437 SUNXI_FUNCTION(0x0, "gpio_in"),
438 SUNXI_FUNCTION(0x1, "gpio_out"),
439 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ5 */
440 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* D5 */
443 SUNXI_FUNCTION(0x0, "gpio_in"),
444 SUNXI_FUNCTION(0x1, "gpio_out"),
445 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ6 */
446 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* D6 */
449 SUNXI_FUNCTION(0x0, "gpio_in"),
450 SUNXI_FUNCTION(0x1, "gpio_out"),
451 SUNXI_FUNCTION(0x2, "nand0"), /* NDQ7 */
452 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* D7 */
455 SUNXI_FUNCTION(0x0, "gpio_in"),
456 SUNXI_FUNCTION(0x1, "gpio_out"),
457 SUNXI_FUNCTION(0x2, "nand0")), /* NWP */
459 SUNXI_FUNCTION(0x0, "gpio_in"),
460 SUNXI_FUNCTION(0x1, "gpio_out"),
461 SUNXI_FUNCTION(0x2, "nand0")), /* NCE2 */
463 SUNXI_FUNCTION(0x0, "gpio_in"),
464 SUNXI_FUNCTION(0x1, "gpio_out"),
465 SUNXI_FUNCTION(0x2, "nand0")), /* NCE3 */
467 SUNXI_FUNCTION(0x0, "gpio_in"),
468 SUNXI_FUNCTION(0x1, "gpio_out"),
469 SUNXI_FUNCTION(0x2, "nand0"), /* NCE4 */
470 SUNXI_FUNCTION(0x3, "spi2")), /* CS0 */
472 SUNXI_FUNCTION(0x0, "gpio_in"),
473 SUNXI_FUNCTION(0x1, "gpio_out"),
474 SUNXI_FUNCTION(0x2, "nand0"), /* NCE5 */
475 SUNXI_FUNCTION(0x3, "spi2")), /* CLK */
477 SUNXI_FUNCTION(0x0, "gpio_in"),
478 SUNXI_FUNCTION(0x1, "gpio_out"),
479 SUNXI_FUNCTION(0x2, "nand0"), /* NCE6 */
480 SUNXI_FUNCTION(0x3, "spi2")), /* MOSI */
482 SUNXI_FUNCTION(0x0, "gpio_in"),
483 SUNXI_FUNCTION(0x1, "gpio_out"),
484 SUNXI_FUNCTION(0x2, "nand0"), /* NCE7 */
485 SUNXI_FUNCTION(0x3, "spi2")), /* MISO */
487 SUNXI_FUNCTION(0x0, "gpio_in"),
488 SUNXI_FUNCTION(0x1, "gpio_out"),
489 SUNXI_FUNCTION(0x3, "spi0")), /* CS0 */
491 SUNXI_FUNCTION(0x0, "gpio_in"),
492 SUNXI_FUNCTION(0x1, "gpio_out"),
493 SUNXI_FUNCTION(0x2, "nand0"), /* NDQS */
494 SUNXI_FUNCTION_VARIANT(0x3, "mmc2", /* RST */
497 SUNXI_PIN(SUNXI_PINCTRL_PIN(D, 0),
498 SUNXI_FUNCTION(0x0, "gpio_in"),
499 SUNXI_FUNCTION(0x1, "gpio_out"),
500 SUNXI_FUNCTION(0x2, "lcd0"), /* D0 */
501 SUNXI_FUNCTION(0x3, "lvds0")), /* VP0 */
503 SUNXI_FUNCTION(0x0, "gpio_in"),
504 SUNXI_FUNCTION(0x1, "gpio_out"),
505 SUNXI_FUNCTION(0x2, "lcd0"), /* D1 */
506 SUNXI_FUNCTION(0x3, "lvds0")), /* VN0 */
508 SUNXI_FUNCTION(0x0, "gpio_in"),
509 SUNXI_FUNCTION(0x1, "gpio_out"),
510 SUNXI_FUNCTION(0x2, "lcd0"), /* D2 */
511 SUNXI_FUNCTION(0x3, "lvds0")), /* VP1 */
513 SUNXI_FUNCTION(0x0, "gpio_in"),
514 SUNXI_FUNCTION(0x1, "gpio_out"),
515 SUNXI_FUNCTION(0x2, "lcd0"), /* D3 */
516 SUNXI_FUNCTION(0x3, "lvds0")), /* VN1 */
518 SUNXI_FUNCTION(0x0, "gpio_in"),
519 SUNXI_FUNCTION(0x1, "gpio_out"),
520 SUNXI_FUNCTION(0x2, "lcd0"), /* D4 */
521 SUNXI_FUNCTION(0x3, "lvds0")), /* VP2 */
523 SUNXI_FUNCTION(0x0, "gpio_in"),
524 SUNXI_FUNCTION(0x1, "gpio_out"),
525 SUNXI_FUNCTION(0x2, "lcd0"), /* D5 */
526 SUNXI_FUNCTION(0x3, "lvds0")), /* VN2 */
528 SUNXI_FUNCTION(0x0, "gpio_in"),
529 SUNXI_FUNCTION(0x1, "gpio_out"),
530 SUNXI_FUNCTION(0x2, "lcd0"), /* D6 */
531 SUNXI_FUNCTION(0x3, "lvds0")), /* VPC */
533 SUNXI_FUNCTION(0x0, "gpio_in"),
534 SUNXI_FUNCTION(0x1, "gpio_out"),
535 SUNXI_FUNCTION(0x2, "lcd0"), /* D7 */
536 SUNXI_FUNCTION(0x3, "lvds0")), /* VNC */
538 SUNXI_FUNCTION(0x0, "gpio_in"),
539 SUNXI_FUNCTION(0x1, "gpio_out"),
540 SUNXI_FUNCTION(0x2, "lcd0"), /* D8 */
541 SUNXI_FUNCTION(0x3, "lvds0")), /* VP3 */
543 SUNXI_FUNCTION(0x0, "gpio_in"),
544 SUNXI_FUNCTION(0x1, "gpio_out"),
545 SUNXI_FUNCTION(0x2, "lcd0"), /* D9 */
546 SUNXI_FUNCTION(0x3, "lvds0")), /* VM3 */
548 SUNXI_FUNCTION(0x0, "gpio_in"),
549 SUNXI_FUNCTION(0x1, "gpio_out"),
550 SUNXI_FUNCTION(0x2, "lcd0"), /* D10 */
551 SUNXI_FUNCTION(0x3, "lvds1")), /* VP0 */
553 SUNXI_FUNCTION(0x0, "gpio_in"),
554 SUNXI_FUNCTION(0x1, "gpio_out"),
555 SUNXI_FUNCTION(0x2, "lcd0"), /* D11 */
556 SUNXI_FUNCTION(0x3, "lvds1")), /* VN0 */
558 SUNXI_FUNCTION(0x0, "gpio_in"),
559 SUNXI_FUNCTION(0x1, "gpio_out"),
560 SUNXI_FUNCTION(0x2, "lcd0"), /* D12 */
561 SUNXI_FUNCTION(0x3, "lvds1")), /* VP1 */
563 SUNXI_FUNCTION(0x0, "gpio_in"),
564 SUNXI_FUNCTION(0x1, "gpio_out"),
565 SUNXI_FUNCTION(0x2, "lcd0"), /* D13 */
566 SUNXI_FUNCTION(0x3, "lvds1")), /* VN1 */
568 SUNXI_FUNCTION(0x0, "gpio_in"),
569 SUNXI_FUNCTION(0x1, "gpio_out"),
570 SUNXI_FUNCTION(0x2, "lcd0"), /* D14 */
571 SUNXI_FUNCTION(0x3, "lvds1")), /* VP2 */
573 SUNXI_FUNCTION(0x0, "gpio_in"),
574 SUNXI_FUNCTION(0x1, "gpio_out"),
575 SUNXI_FUNCTION(0x2, "lcd0"), /* D15 */
576 SUNXI_FUNCTION(0x3, "lvds1")), /* VN2 */
578 SUNXI_FUNCTION(0x0, "gpio_in"),
579 SUNXI_FUNCTION(0x1, "gpio_out"),
580 SUNXI_FUNCTION(0x2, "lcd0"), /* D16 */
581 SUNXI_FUNCTION(0x3, "lvds1")), /* VPC */
583 SUNXI_FUNCTION(0x0, "gpio_in"),
584 SUNXI_FUNCTION(0x1, "gpio_out"),
585 SUNXI_FUNCTION(0x2, "lcd0"), /* D17 */
586 SUNXI_FUNCTION(0x3, "lvds1")), /* VNC */
588 SUNXI_FUNCTION(0x0, "gpio_in"),
589 SUNXI_FUNCTION(0x1, "gpio_out"),
590 SUNXI_FUNCTION(0x2, "lcd0"), /* D18 */
591 SUNXI_FUNCTION(0x3, "lvds1")), /* VP3 */
593 SUNXI_FUNCTION(0x0, "gpio_in"),
594 SUNXI_FUNCTION(0x1, "gpio_out"),
595 SUNXI_FUNCTION(0x2, "lcd0"), /* D19 */
596 SUNXI_FUNCTION(0x3, "lvds1")), /* VN3 */
598 SUNXI_FUNCTION(0x0, "gpio_in"),
599 SUNXI_FUNCTION(0x1, "gpio_out"),
600 SUNXI_FUNCTION(0x2, "lcd0"), /* D20 */
601 SUNXI_FUNCTION(0x3, "csi1")), /* MCLK */
603 SUNXI_FUNCTION(0x0, "gpio_in"),
604 SUNXI_FUNCTION(0x1, "gpio_out"),
605 SUNXI_FUNCTION(0x2, "lcd0"), /* D21 */
606 SUNXI_FUNCTION(0x3, "sim")), /* VPPEN */
608 SUNXI_FUNCTION(0x0, "gpio_in"),
609 SUNXI_FUNCTION(0x1, "gpio_out"),
610 SUNXI_FUNCTION(0x2, "lcd0"), /* D22 */
611 SUNXI_FUNCTION(0x3, "sim")), /* VPPPP */
613 SUNXI_FUNCTION(0x0, "gpio_in"),
614 SUNXI_FUNCTION(0x1, "gpio_out"),
615 SUNXI_FUNCTION(0x2, "lcd0"), /* D23 */
616 SUNXI_FUNCTION(0x3, "sim")), /* DET */
618 SUNXI_FUNCTION(0x0, "gpio_in"),
619 SUNXI_FUNCTION(0x1, "gpio_out"),
620 SUNXI_FUNCTION(0x2, "lcd0"), /* CLK */
621 SUNXI_FUNCTION(0x3, "sim")), /* VCCEN */
623 SUNXI_FUNCTION(0x0, "gpio_in"),
624 SUNXI_FUNCTION(0x1, "gpio_out"),
625 SUNXI_FUNCTION(0x2, "lcd0"), /* DE */
626 SUNXI_FUNCTION(0x3, "sim")), /* RST */
628 SUNXI_FUNCTION(0x0, "gpio_in"),
629 SUNXI_FUNCTION(0x1, "gpio_out"),
630 SUNXI_FUNCTION(0x2, "lcd0"), /* HSYNC */
631 SUNXI_FUNCTION(0x3, "sim")), /* SCK */
633 SUNXI_FUNCTION(0x0, "gpio_in"),
634 SUNXI_FUNCTION(0x1, "gpio_out"),
635 SUNXI_FUNCTION(0x2, "lcd0"), /* VSYNC */
636 SUNXI_FUNCTION(0x3, "sim")), /* SDA */
638 SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 0),
639 SUNXI_FUNCTION(0x0, "gpio_in"),
640 SUNXI_FUNCTION(0x1, "gpio_out"),
641 SUNXI_FUNCTION(0x2, "ts0"), /* CLK */
642 SUNXI_FUNCTION(0x3, "csi0")), /* PCK */
644 SUNXI_FUNCTION(0x0, "gpio_in"),
645 SUNXI_FUNCTION(0x1, "gpio_out"),
646 SUNXI_FUNCTION(0x2, "ts0"), /* ERR */
647 SUNXI_FUNCTION(0x3, "csi0")), /* CK */
649 SUNXI_FUNCTION(0x0, "gpio_in"),
650 SUNXI_FUNCTION(0x1, "gpio_out"),
651 SUNXI_FUNCTION(0x2, "ts0"), /* SYNC */
652 SUNXI_FUNCTION(0x3, "csi0")), /* HSYNC */
654 SUNXI_FUNCTION(0x0, "gpio_in"),
655 SUNXI_FUNCTION(0x1, "gpio_out"),
656 SUNXI_FUNCTION(0x2, "ts0"), /* DVLD */
657 SUNXI_FUNCTION(0x3, "csi0")), /* VSYNC */
659 SUNXI_FUNCTION(0x0, "gpio_in"),
660 SUNXI_FUNCTION(0x1, "gpio_out"),
661 SUNXI_FUNCTION(0x2, "ts0"), /* D0 */
662 SUNXI_FUNCTION(0x3, "csi0")), /* D0 */
664 SUNXI_FUNCTION(0x0, "gpio_in"),
665 SUNXI_FUNCTION(0x1, "gpio_out"),
666 SUNXI_FUNCTION(0x2, "ts0"), /* D1 */
667 SUNXI_FUNCTION(0x3, "csi0"), /* D1 */
668 SUNXI_FUNCTION(0x4, "sim")), /* VPPEN */
670 SUNXI_FUNCTION(0x0, "gpio_in"),
671 SUNXI_FUNCTION(0x1, "gpio_out"),
672 SUNXI_FUNCTION(0x2, "ts0"), /* D2 */
673 SUNXI_FUNCTION(0x3, "csi0")), /* D2 */
675 SUNXI_FUNCTION(0x0, "gpio_in"),
676 SUNXI_FUNCTION(0x1, "gpio_out"),
677 SUNXI_FUNCTION(0x2, "ts0"), /* D3 */
678 SUNXI_FUNCTION(0x3, "csi0")), /* D3 */
680 SUNXI_FUNCTION(0x0, "gpio_in"),
681 SUNXI_FUNCTION(0x1, "gpio_out"),
682 SUNXI_FUNCTION(0x2, "ts0"), /* D4 */
683 SUNXI_FUNCTION(0x3, "csi0")), /* D4 */
685 SUNXI_FUNCTION(0x0, "gpio_in"),
686 SUNXI_FUNCTION(0x1, "gpio_out"),
687 SUNXI_FUNCTION(0x2, "ts0"), /* D5 */
688 SUNXI_FUNCTION(0x3, "csi0")), /* D5 */
690 SUNXI_FUNCTION(0x0, "gpio_in"),
691 SUNXI_FUNCTION(0x1, "gpio_out"),
692 SUNXI_FUNCTION(0x2, "ts0"), /* D6 */
693 SUNXI_FUNCTION(0x3, "csi0")), /* D6 */
695 SUNXI_FUNCTION(0x0, "gpio_in"),
696 SUNXI_FUNCTION(0x1, "gpio_out"),
697 SUNXI_FUNCTION(0x2, "ts0"), /* D7 */
698 SUNXI_FUNCTION(0x3, "csi0")), /* D7 */
700 SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 0),
701 SUNXI_FUNCTION(0x0, "gpio_in"),
702 SUNXI_FUNCTION(0x1, "gpio_out"),
703 SUNXI_FUNCTION(0x2, "mmc0"), /* D1 */
704 SUNXI_FUNCTION(0x4, "jtag")), /* MSI */
706 SUNXI_FUNCTION(0x0, "gpio_in"),
707 SUNXI_FUNCTION(0x1, "gpio_out"),
708 SUNXI_FUNCTION(0x2, "mmc0"), /* D0 */
709 SUNXI_FUNCTION(0x4, "jtag")), /* DI1 */
711 SUNXI_FUNCTION(0x0, "gpio_in"),
712 SUNXI_FUNCTION(0x1, "gpio_out"),
713 SUNXI_FUNCTION(0x2, "mmc0"), /* CLK */
714 SUNXI_FUNCTION(0x4, "uart0")), /* TX */
716 SUNXI_FUNCTION(0x0, "gpio_in"),
717 SUNXI_FUNCTION(0x1, "gpio_out"),
718 SUNXI_FUNCTION(0x2, "mmc0"), /* CMD */
719 SUNXI_FUNCTION(0x4, "jtag")), /* DO1 */
721 SUNXI_FUNCTION(0x0, "gpio_in"),
722 SUNXI_FUNCTION(0x1, "gpio_out"),
723 SUNXI_FUNCTION(0x2, "mmc0"), /* D3 */
724 SUNXI_FUNCTION(0x4, "uart0")), /* RX */
726 SUNXI_FUNCTION(0x0, "gpio_in"),
727 SUNXI_FUNCTION(0x1, "gpio_out"),
728 SUNXI_FUNCTION(0x2, "mmc0"), /* D2 */
729 SUNXI_FUNCTION(0x4, "jtag")), /* CK1 */
731 SUNXI_PIN(SUNXI_PINCTRL_PIN(G, 0),
732 SUNXI_FUNCTION(0x0, "gpio_in"),
733 SUNXI_FUNCTION(0x1, "gpio_out"),
734 SUNXI_FUNCTION(0x2, "ts1"), /* CLK */
735 SUNXI_FUNCTION(0x3, "csi1"), /* PCK */
736 SUNXI_FUNCTION(0x4, "mmc1")), /* CMD */
738 SUNXI_FUNCTION(0x0, "gpio_in"),
739 SUNXI_FUNCTION(0x1, "gpio_out"),
740 SUNXI_FUNCTION(0x2, "ts1"), /* ERR */
741 SUNXI_FUNCTION(0x3, "csi1"), /* CK */
742 SUNXI_FUNCTION(0x4, "mmc1")), /* CLK */
744 SUNXI_FUNCTION(0x0, "gpio_in"),
745 SUNXI_FUNCTION(0x1, "gpio_out"),
746 SUNXI_FUNCTION(0x2, "ts1"), /* SYNC */
747 SUNXI_FUNCTION(0x3, "csi1"), /* HSYNC */
748 SUNXI_FUNCTION(0x4, "mmc1")), /* D0 */
750 SUNXI_FUNCTION(0x0, "gpio_in"),
751 SUNXI_FUNCTION(0x1, "gpio_out"),
752 SUNXI_FUNCTION(0x2, "ts1"), /* DVLD */
753 SUNXI_FUNCTION(0x3, "csi1"), /* VSYNC */
754 SUNXI_FUNCTION(0x4, "mmc1")), /* D1 */
756 SUNXI_FUNCTION(0x0, "gpio_in"),
757 SUNXI_FUNCTION(0x1, "gpio_out"),
758 SUNXI_FUNCTION(0x2, "ts1"), /* D0 */
759 SUNXI_FUNCTION(0x3, "csi1"), /* D0 */
760 SUNXI_FUNCTION(0x4, "mmc1"), /* D2 */
761 SUNXI_FUNCTION(0x5, "csi0")), /* D8 */
763 SUNXI_FUNCTION(0x0, "gpio_in"),
764 SUNXI_FUNCTION(0x1, "gpio_out"),
765 SUNXI_FUNCTION(0x2, "ts1"), /* D1 */
766 SUNXI_FUNCTION(0x3, "csi1"), /* D1 */
767 SUNXI_FUNCTION(0x4, "mmc1"), /* D3 */
768 SUNXI_FUNCTION(0x5, "csi0")), /* D9 */
770 SUNXI_FUNCTION(0x0, "gpio_in"),
771 SUNXI_FUNCTION(0x1, "gpio_out"),
772 SUNXI_FUNCTION(0x2, "ts1"), /* D2 */
773 SUNXI_FUNCTION(0x3, "csi1"), /* D2 */
774 SUNXI_FUNCTION(0x4, "uart3"), /* TX */
775 SUNXI_FUNCTION(0x5, "csi0")), /* D10 */
777 SUNXI_FUNCTION(0x0, "gpio_in"),
778 SUNXI_FUNCTION(0x1, "gpio_out"),
779 SUNXI_FUNCTION(0x2, "ts1"), /* D3 */
780 SUNXI_FUNCTION(0x3, "csi1"), /* D3 */
781 SUNXI_FUNCTION(0x4, "uart3"), /* RX */
782 SUNXI_FUNCTION(0x5, "csi0")), /* D11 */
784 SUNXI_FUNCTION(0x0, "gpio_in"),
785 SUNXI_FUNCTION(0x1, "gpio_out"),
786 SUNXI_FUNCTION(0x2, "ts1"), /* D4 */
787 SUNXI_FUNCTION(0x3, "csi1"), /* D4 */
788 SUNXI_FUNCTION(0x4, "uart3"), /* RTS */
789 SUNXI_FUNCTION(0x5, "csi0")), /* D12 */
791 SUNXI_FUNCTION(0x0, "gpio_in"),
792 SUNXI_FUNCTION(0x1, "gpio_out"),
793 SUNXI_FUNCTION(0x2, "ts1"), /* D5 */
794 SUNXI_FUNCTION(0x3, "csi1"), /* D5 */
795 SUNXI_FUNCTION(0x4, "uart3"), /* CTS */
796 SUNXI_FUNCTION(0x5, "csi0"), /* D13 */
797 SUNXI_FUNCTION_VARIANT(0x6, "bist", /* RESULT0 */
800 SUNXI_FUNCTION(0x0, "gpio_in"),
801 SUNXI_FUNCTION(0x1, "gpio_out"),
802 SUNXI_FUNCTION(0x2, "ts1"), /* D6 */
803 SUNXI_FUNCTION(0x3, "csi1"), /* D6 */
804 SUNXI_FUNCTION(0x4, "uart4"), /* TX */
805 SUNXI_FUNCTION(0x5, "csi0"), /* D14 */
806 SUNXI_FUNCTION_VARIANT(0x6, "bist", /* RESULT1 */
809 SUNXI_FUNCTION(0x0, "gpio_in"),
810 SUNXI_FUNCTION(0x1, "gpio_out"),
811 SUNXI_FUNCTION(0x2, "ts1"), /* D7 */
812 SUNXI_FUNCTION(0x3, "csi1"), /* D7 */
813 SUNXI_FUNCTION(0x4, "uart4"), /* RX */
814 SUNXI_FUNCTION(0x5, "csi0")), /* D15 */
816 SUNXI_PIN(SUNXI_PINCTRL_PIN(H, 0),
817 SUNXI_FUNCTION(0x0, "gpio_in"),
818 SUNXI_FUNCTION(0x1, "gpio_out"),
819 SUNXI_FUNCTION(0x2, "lcd1"), /* D0 */
820 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAA0 */
822 SUNXI_FUNCTION(0x4, "uart3"), /* TX */
823 SUNXI_FUNCTION_IRQ(0x6, 0), /* EINT0 */
824 SUNXI_FUNCTION(0x7, "csi1")), /* D0 */
826 SUNXI_FUNCTION(0x0, "gpio_in"),
827 SUNXI_FUNCTION(0x1, "gpio_out"),
828 SUNXI_FUNCTION(0x2, "lcd1"), /* D1 */
829 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAA1 */
831 SUNXI_FUNCTION(0x4, "uart3"), /* RX */
832 SUNXI_FUNCTION_IRQ(0x6, 1), /* EINT1 */
833 SUNXI_FUNCTION(0x7, "csi1")), /* D1 */
835 SUNXI_FUNCTION(0x0, "gpio_in"),
836 SUNXI_FUNCTION(0x1, "gpio_out"),
837 SUNXI_FUNCTION(0x2, "lcd1"), /* D2 */
838 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAA2 */
840 SUNXI_FUNCTION(0x4, "uart3"), /* RTS */
841 SUNXI_FUNCTION_IRQ(0x6, 2), /* EINT2 */
842 SUNXI_FUNCTION(0x7, "csi1")), /* D2 */
844 SUNXI_FUNCTION(0x0, "gpio_in"),
845 SUNXI_FUNCTION(0x1, "gpio_out"),
846 SUNXI_FUNCTION(0x2, "lcd1"), /* D3 */
847 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAIRQ */
849 SUNXI_FUNCTION(0x4, "uart3"), /* CTS */
850 SUNXI_FUNCTION_IRQ(0x6, 3), /* EINT3 */
851 SUNXI_FUNCTION(0x7, "csi1")), /* D3 */
853 SUNXI_FUNCTION(0x0, "gpio_in"),
854 SUNXI_FUNCTION(0x1, "gpio_out"),
855 SUNXI_FUNCTION(0x2, "lcd1"), /* D4 */
856 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD0 */
858 SUNXI_FUNCTION(0x4, "uart4"), /* TX */
859 SUNXI_FUNCTION_IRQ(0x6, 4), /* EINT4 */
860 SUNXI_FUNCTION(0x7, "csi1")), /* D4 */
862 SUNXI_FUNCTION(0x0, "gpio_in"),
863 SUNXI_FUNCTION(0x1, "gpio_out"),
864 SUNXI_FUNCTION(0x2, "lcd1"), /* D5 */
865 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD1 */
867 SUNXI_FUNCTION(0x4, "uart4"), /* RX */
868 SUNXI_FUNCTION_IRQ(0x6, 5), /* EINT5 */
869 SUNXI_FUNCTION(0x7, "csi1")), /* D5 */
871 SUNXI_FUNCTION(0x0, "gpio_in"),
872 SUNXI_FUNCTION(0x1, "gpio_out"),
873 SUNXI_FUNCTION(0x2, "lcd1"), /* D6 */
874 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD2 */
876 SUNXI_FUNCTION(0x4, "uart5"), /* TX */
877 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* BS */
880 SUNXI_FUNCTION_IRQ(0x6, 6), /* EINT6 */
881 SUNXI_FUNCTION(0x7, "csi1")), /* D6 */
883 SUNXI_FUNCTION(0x0, "gpio_in"),
884 SUNXI_FUNCTION(0x1, "gpio_out"),
885 SUNXI_FUNCTION(0x2, "lcd1"), /* D7 */
886 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD3 */
888 SUNXI_FUNCTION(0x4, "uart5"), /* RX */
889 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* CLK */
892 SUNXI_FUNCTION_IRQ(0x6, 7), /* EINT7 */
893 SUNXI_FUNCTION(0x7, "csi1")), /* D7 */
895 SUNXI_FUNCTION(0x0, "gpio_in"),
896 SUNXI_FUNCTION(0x1, "gpio_out"),
897 SUNXI_FUNCTION(0x2, "lcd1"), /* D8 */
898 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD4 */
900 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXD3 */
903 SUNXI_FUNCTION(0x4, "keypad"), /* IN0 */
904 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* D0 */
907 SUNXI_FUNCTION_IRQ(0x6, 8), /* EINT8 */
908 SUNXI_FUNCTION(0x7, "csi1")), /* D8 */
910 SUNXI_FUNCTION(0x0, "gpio_in"),
911 SUNXI_FUNCTION(0x1, "gpio_out"),
912 SUNXI_FUNCTION(0x2, "lcd1"), /* D9 */
913 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD5 */
915 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXD2 */
918 SUNXI_FUNCTION(0x4, "keypad"), /* IN1 */
919 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* D1 */
922 SUNXI_FUNCTION_IRQ(0x6, 9), /* EINT9 */
923 SUNXI_FUNCTION(0x7, "csi1")), /* D9 */
925 SUNXI_FUNCTION(0x0, "gpio_in"),
926 SUNXI_FUNCTION(0x1, "gpio_out"),
927 SUNXI_FUNCTION(0x2, "lcd1"), /* D10 */
928 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD6 */
930 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXD1 */
933 SUNXI_FUNCTION(0x4, "keypad"), /* IN2 */
934 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* D2 */
937 SUNXI_FUNCTION_IRQ(0x6, 10), /* EINT10 */
938 SUNXI_FUNCTION(0x7, "csi1")), /* D10 */
940 SUNXI_FUNCTION(0x0, "gpio_in"),
941 SUNXI_FUNCTION(0x1, "gpio_out"),
942 SUNXI_FUNCTION(0x2, "lcd1"), /* D11 */
943 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD7 */
945 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXD0 */
948 SUNXI_FUNCTION(0x4, "keypad"), /* IN3 */
949 SUNXI_FUNCTION_VARIANT(0x5, "ms", /* D3 */
952 SUNXI_FUNCTION_IRQ(0x6, 11), /* EINT11 */
953 SUNXI_FUNCTION(0x7, "csi1")), /* D11 */
955 SUNXI_FUNCTION(0x0, "gpio_in"),
956 SUNXI_FUNCTION(0x1, "gpio_out"),
957 SUNXI_FUNCTION(0x2, "lcd1"), /* D12 */
958 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD8 */
960 SUNXI_FUNCTION(0x4, "ps2"), /* SCK1 */
961 SUNXI_FUNCTION_IRQ(0x6, 12), /* EINT12 */
962 SUNXI_FUNCTION(0x7, "csi1")), /* D12 */
964 SUNXI_FUNCTION(0x0, "gpio_in"),
965 SUNXI_FUNCTION(0x1, "gpio_out"),
966 SUNXI_FUNCTION(0x2, "lcd1"), /* D13 */
967 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD9 */
969 SUNXI_FUNCTION(0x4, "ps2"), /* SDA1 */
970 SUNXI_FUNCTION(0x5, "sim"), /* RST */
971 SUNXI_FUNCTION_IRQ(0x6, 13), /* EINT13 */
972 SUNXI_FUNCTION(0x7, "csi1")), /* D13 */
974 SUNXI_FUNCTION(0x0, "gpio_in"),
975 SUNXI_FUNCTION(0x1, "gpio_out"),
976 SUNXI_FUNCTION(0x2, "lcd1"), /* D14 */
977 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD10 */
979 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXD3 */
982 SUNXI_FUNCTION(0x4, "keypad"), /* IN4 */
983 SUNXI_FUNCTION(0x5, "sim"), /* VPPEN */
984 SUNXI_FUNCTION_IRQ(0x6, 14), /* EINT14 */
985 SUNXI_FUNCTION(0x7, "csi1")), /* D14 */
987 SUNXI_FUNCTION(0x0, "gpio_in"),
988 SUNXI_FUNCTION(0x1, "gpio_out"),
989 SUNXI_FUNCTION(0x2, "lcd1"), /* D15 */
990 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD11 */
992 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXD2 */
995 SUNXI_FUNCTION(0x4, "keypad"), /* IN5 */
996 SUNXI_FUNCTION(0x5, "sim"), /* VPPPP */
997 SUNXI_FUNCTION_IRQ(0x6, 15), /* EINT15 */
998 SUNXI_FUNCTION(0x7, "csi1")), /* D15 */
1000 SUNXI_FUNCTION(0x0, "gpio_in"),
1001 SUNXI_FUNCTION(0x1, "gpio_out"),
1002 SUNXI_FUNCTION(0x2, "lcd1"), /* D16 */
1003 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD12 */
1005 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXD1 */
1008 SUNXI_FUNCTION(0x4, "keypad"), /* IN6 */
1009 SUNXI_FUNCTION(0x5, "sim"), /* DET */
1010 SUNXI_FUNCTION_IRQ(0x6, 16), /* EINT16 */
1011 SUNXI_FUNCTION(0x7, "csi1")), /* D16 */
1013 SUNXI_FUNCTION(0x0, "gpio_in"),
1014 SUNXI_FUNCTION(0x1, "gpio_out"),
1015 SUNXI_FUNCTION(0x2, "lcd1"), /* D17 */
1016 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD13 */
1018 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXD0 */
1021 SUNXI_FUNCTION(0x4, "keypad"), /* IN7 */
1022 SUNXI_FUNCTION(0x5, "sim"), /* VCCEN */
1023 SUNXI_FUNCTION_IRQ(0x6, 17), /* EINT17 */
1024 SUNXI_FUNCTION(0x7, "csi1")), /* D17 */
1026 SUNXI_FUNCTION(0x0, "gpio_in"),
1027 SUNXI_FUNCTION(0x1, "gpio_out"),
1028 SUNXI_FUNCTION(0x2, "lcd1"), /* D18 */
1029 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD14 */
1031 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXCK */
1034 SUNXI_FUNCTION(0x4, "keypad"), /* OUT0 */
1035 SUNXI_FUNCTION(0x5, "sim"), /* SCK */
1036 SUNXI_FUNCTION_IRQ(0x6, 18), /* EINT18 */
1037 SUNXI_FUNCTION(0x7, "csi1")), /* D18 */
1039 SUNXI_FUNCTION(0x0, "gpio_in"),
1040 SUNXI_FUNCTION(0x1, "gpio_out"),
1041 SUNXI_FUNCTION(0x2, "lcd1"), /* D19 */
1042 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAD15 */
1044 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXERR */
1047 SUNXI_FUNCTION(0x4, "keypad"), /* OUT1 */
1048 SUNXI_FUNCTION(0x5, "sim"), /* SDA */
1049 SUNXI_FUNCTION_IRQ(0x6, 19), /* EINT19 */
1050 SUNXI_FUNCTION(0x7, "csi1")), /* D19 */
1052 SUNXI_FUNCTION(0x0, "gpio_in"),
1053 SUNXI_FUNCTION(0x1, "gpio_out"),
1054 SUNXI_FUNCTION(0x2, "lcd1"), /* D20 */
1055 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAOE */
1057 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ERXDV */
1060 SUNXI_FUNCTION(0x4, "can"), /* TX */
1061 SUNXI_FUNCTION_IRQ(0x6, 20), /* EINT20 */
1062 SUNXI_FUNCTION(0x7, "csi1")), /* D20 */
1064 SUNXI_FUNCTION(0x0, "gpio_in"),
1065 SUNXI_FUNCTION(0x1, "gpio_out"),
1066 SUNXI_FUNCTION(0x2, "lcd1"), /* D21 */
1067 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATADREQ */
1069 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* EMDC */
1072 SUNXI_FUNCTION(0x4, "can"), /* RX */
1073 SUNXI_FUNCTION_IRQ(0x6, 21), /* EINT21 */
1074 SUNXI_FUNCTION(0x7, "csi1")), /* D21 */
1076 SUNXI_FUNCTION(0x0, "gpio_in"),
1077 SUNXI_FUNCTION(0x1, "gpio_out"),
1078 SUNXI_FUNCTION(0x2, "lcd1"), /* D22 */
1079 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATADACK */
1081 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* EMDIO */
1084 SUNXI_FUNCTION(0x4, "keypad"), /* OUT2 */
1085 SUNXI_FUNCTION(0x5, "mmc1"), /* CMD */
1086 SUNXI_FUNCTION(0x7, "csi1")), /* D22 */
1088 SUNXI_FUNCTION(0x0, "gpio_in"),
1089 SUNXI_FUNCTION(0x1, "gpio_out"),
1090 SUNXI_FUNCTION(0x2, "lcd1"), /* D23 */
1091 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATACS0 */
1093 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXEN */
1096 SUNXI_FUNCTION(0x4, "keypad"), /* OUT3 */
1097 SUNXI_FUNCTION(0x5, "mmc1"), /* CLK */
1098 SUNXI_FUNCTION(0x7, "csi1")), /* D23 */
1100 SUNXI_FUNCTION(0x0, "gpio_in"),
1101 SUNXI_FUNCTION(0x1, "gpio_out"),
1102 SUNXI_FUNCTION(0x2, "lcd1"), /* CLK */
1103 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATACS1 */
1105 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXCK */
1108 SUNXI_FUNCTION(0x4, "keypad"), /* OUT4 */
1109 SUNXI_FUNCTION(0x5, "mmc1"), /* D0 */
1110 SUNXI_FUNCTION(0x7, "csi1")), /* PCLK */
1112 SUNXI_FUNCTION(0x0, "gpio_in"),
1113 SUNXI_FUNCTION(0x1, "gpio_out"),
1114 SUNXI_FUNCTION(0x2, "lcd1"), /* DE */
1115 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAIORDY */
1117 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ECRS */
1120 SUNXI_FUNCTION(0x4, "keypad"), /* OUT5 */
1121 SUNXI_FUNCTION(0x5, "mmc1"), /* D1 */
1122 SUNXI_FUNCTION(0x7, "csi1")), /* FIELD */
1124 SUNXI_FUNCTION(0x0, "gpio_in"),
1125 SUNXI_FUNCTION(0x1, "gpio_out"),
1126 SUNXI_FUNCTION(0x2, "lcd1"), /* HSYNC */
1127 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAIOR */
1129 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ECOL */
1132 SUNXI_FUNCTION(0x4, "keypad"), /* OUT6 */
1133 SUNXI_FUNCTION(0x5, "mmc1"), /* D2 */
1134 SUNXI_FUNCTION(0x7, "csi1")), /* HSYNC */
1136 SUNXI_FUNCTION(0x0, "gpio_in"),
1137 SUNXI_FUNCTION(0x1, "gpio_out"),
1138 SUNXI_FUNCTION(0x2, "lcd1"), /* VSYNC */
1139 SUNXI_FUNCTION_VARIANT(0x3, "pata", /* ATAIOW */
1141 SUNXI_FUNCTION_VARIANT(0x3, "emac", /* ETXERR */
1144 SUNXI_FUNCTION(0x4, "keypad"), /* OUT7 */
1145 SUNXI_FUNCTION(0x5, "mmc1"), /* D3 */
1146 SUNXI_FUNCTION(0x7, "csi1")), /* VSYNC */
1148 SUNXI_PIN(SUNXI_PINCTRL_PIN(I, 0),
1149 SUNXI_FUNCTION(0x0, "gpio_in"),
1150 SUNXI_FUNCTION(0x1, "gpio_out"),
1151 SUNXI_FUNCTION_VARIANT(0x3, "i2c3", /* SCK */
1155 SUNXI_FUNCTION(0x0, "gpio_in"),
1156 SUNXI_FUNCTION(0x1, "gpio_out"),
1157 SUNXI_FUNCTION_VARIANT(0x3, "i2c3", /* SDA */
1161 SUNXI_FUNCTION(0x0, "gpio_in"),
1162 SUNXI_FUNCTION(0x1, "gpio_out"),
1163 SUNXI_FUNCTION_VARIANT(0x3, "i2c4", /* SCK */
1167 SUNXI_FUNCTION(0x0, "gpio_in"),
1168 SUNXI_FUNCTION(0x1, "gpio_out"),
1169 SUNXI_FUNCTION(0x2, "pwm"), /* PWM1 */
1170 SUNXI_FUNCTION_VARIANT(0x3, "i2c4", /* SDA */
1174 SUNXI_FUNCTION(0x0, "gpio_in"),
1175 SUNXI_FUNCTION(0x1, "gpio_out"),
1176 SUNXI_FUNCTION(0x2, "mmc3")), /* CMD */
1178 SUNXI_FUNCTION(0x0, "gpio_in"),
1179 SUNXI_FUNCTION(0x1, "gpio_out"),
1180 SUNXI_FUNCTION(0x2, "mmc3")), /* CLK */
1182 SUNXI_FUNCTION(0x0, "gpio_in"),
1183 SUNXI_FUNCTION(0x1, "gpio_out"),
1184 SUNXI_FUNCTION(0x2, "mmc3")), /* D0 */
1186 SUNXI_FUNCTION(0x0, "gpio_in"),
1187 SUNXI_FUNCTION(0x1, "gpio_out"),
1188 SUNXI_FUNCTION(0x2, "mmc3")), /* D1 */
1190 SUNXI_FUNCTION(0x0, "gpio_in"),
1191 SUNXI_FUNCTION(0x1, "gpio_out"),
1192 SUNXI_FUNCTION(0x2, "mmc3")), /* D2 */
1194 SUNXI_FUNCTION(0x0, "gpio_in"),
1195 SUNXI_FUNCTION(0x1, "gpio_out"),
1196 SUNXI_FUNCTION(0x2, "mmc3")), /* D3 */
1198 SUNXI_FUNCTION(0x0, "gpio_in"),
1199 SUNXI_FUNCTION(0x1, "gpio_out"),
1200 SUNXI_FUNCTION(0x2, "spi0"), /* CS0 */
1201 SUNXI_FUNCTION(0x3, "uart5"), /* TX */
1202 SUNXI_FUNCTION_IRQ(0x6, 22)), /* EINT22 */
1204 SUNXI_FUNCTION(0x0, "gpio_in"),
1205 SUNXI_FUNCTION(0x1, "gpio_out"),
1206 SUNXI_FUNCTION(0x2, "spi0"), /* CLK */
1207 SUNXI_FUNCTION(0x3, "uart5"), /* RX */
1208 SUNXI_FUNCTION_IRQ(0x6, 23)), /* EINT23 */
1210 SUNXI_FUNCTION(0x0, "gpio_in"),
1211 SUNXI_FUNCTION(0x1, "gpio_out"),
1212 SUNXI_FUNCTION(0x2, "spi0"), /* MOSI */
1213 SUNXI_FUNCTION(0x3, "uart6"), /* TX */
1214 SUNXI_FUNCTION_VARIANT(0x4, "clk_out_a",
1217 SUNXI_FUNCTION_IRQ(0x6, 24)), /* EINT24 */
1219 SUNXI_FUNCTION(0x0, "gpio_in"),
1220 SUNXI_FUNCTION(0x1, "gpio_out"),
1221 SUNXI_FUNCTION(0x2, "spi0"), /* MISO */
1222 SUNXI_FUNCTION(0x3, "uart6"), /* RX */
1223 SUNXI_FUNCTION_VARIANT(0x4, "clk_out_b",
1226 SUNXI_FUNCTION_IRQ(0x6, 25)), /* EINT25 */
1228 SUNXI_FUNCTION(0x0, "gpio_in"),
1229 SUNXI_FUNCTION(0x1, "gpio_out"),
1230 SUNXI_FUNCTION(0x2, "spi0"), /* CS1 */
1231 SUNXI_FUNCTION(0x3, "ps2"), /* SCK1 */
1232 SUNXI_FUNCTION(0x4, "timer4"), /* TCLKIN0 */
1233 SUNXI_FUNCTION_IRQ(0x6, 26)), /* EINT26 */
1235 SUNXI_FUNCTION(0x0, "gpio_in"),
1236 SUNXI_FUNCTION(0x1, "gpio_out"),
1237 SUNXI_FUNCTION(0x2, "spi1"), /* CS1 */
1238 SUNXI_FUNCTION(0x3, "ps2"), /* SDA1 */
1239 SUNXI_FUNCTION(0x4, "timer5"), /* TCLKIN1 */
1240 SUNXI_FUNCTION_IRQ(0x6, 27)), /* EINT27 */
1242 SUNXI_FUNCTION(0x0, "gpio_in"),
1243 SUNXI_FUNCTION(0x1, "gpio_out"),
1244 SUNXI_FUNCTION(0x2, "spi1"), /* CS0 */
1245 SUNXI_FUNCTION(0x3, "uart2"), /* RTS */
1246 SUNXI_FUNCTION_IRQ(0x6, 28)), /* EINT28 */
1248 SUNXI_FUNCTION(0x0, "gpio_in"),
1249 SUNXI_FUNCTION(0x1, "gpio_out"),
1250 SUNXI_FUNCTION(0x2, "spi1"), /* CLK */
1251 SUNXI_FUNCTION(0x3, "uart2"), /* CTS */
1252 SUNXI_FUNCTION_IRQ(0x6, 29)), /* EINT29 */
1254 SUNXI_FUNCTION(0x0, "gpio_in"),
1255 SUNXI_FUNCTION(0x1, "gpio_out"),
1256 SUNXI_FUNCTION(0x2, "spi1"), /* MOSI */
1257 SUNXI_FUNCTION(0x3, "uart2"), /* TX */
1258 SUNXI_FUNCTION_IRQ(0x6, 30)), /* EINT30 */
1260 SUNXI_FUNCTION(0x0, "gpio_in"),
1261 SUNXI_FUNCTION(0x1, "gpio_out"),
1262 SUNXI_FUNCTION(0x2, "spi1"), /* MISO */
1263 SUNXI_FUNCTION(0x3, "uart2"), /* RX */
1264 SUNXI_FUNCTION_IRQ(0x6, 31)), /* EINT31 */
1266 SUNXI_FUNCTION(0x0, "gpio_in"),
1267 SUNXI_FUNCTION(0x1, "gpio_out"),
1268 SUNXI_FUNCTION(0x2, "ps2"), /* SCK0 */
1269 SUNXI_FUNCTION(0x3, "uart7"), /* TX */
1270 SUNXI_FUNCTION_VARIANT(0x4, "hdmi", /* HSCL */
1273 SUNXI_FUNCTION_VARIANT(0x6, "pwm", /* PWM2 */
1276 SUNXI_FUNCTION(0x0, "gpio_in"),
1277 SUNXI_FUNCTION(0x1, "gpio_out"),
1278 SUNXI_FUNCTION(0x2, "ps2"), /* SDA0 */
1279 SUNXI_FUNCTION(0x3, "uart7"), /* RX */
1280 SUNXI_FUNCTION_VARIANT(0x4, "hdmi", /* HSDA */
1283 SUNXI_FUNCTION_VARIANT(0x6, "pwm", /* PWM3 */