1# GD32F403XX pin definitions
2#
3# Sources:
4# - GD32F403XX Datasheet (Revision 1.2)
5# - GD32F403 User Manual (Revision 2.1)
6#
7# Pin codes:
8#
9# - 144 pins: Z
10# - 100 pins: V
11# - 64 pins:  R
12#
13# Memory codes:
14#
15# - 3072Kb Flash, 128Kb SRAM: K
16# - 2048Kb Flash, 128Kb SRAM: I
17# - 1024Kb Flash, 128Kb SRAM: G
18# - 512Kb  Flash, 96Kb  SRAM: E
19# - 256Kb  Flash, 64Kb  SRAM: C
20# - 128Kb  Flash, 32Kb  SRAM: B
21#
22# Copyright (c) 2021 Teslabs Engineering S.L.
23# SPDX-License-Identifier: Apache 2.0
24
25model: afio
26
27series: gd32f403
28
29variants:
30  - pincode: Z
31    memories: [K, I, G, E, C, B]
32  - pincode: V
33    memories: [K, I, G, E, C, B]
34  - pincode: R
35    memories: [K, I, G, E, C, B]
36
37signal-configs:
38  ADC01_IN4:
39    modes: [analog]
40  ADC01_IN5:
41    modes: [analog]
42  ADC01_IN6:
43    modes: [analog]
44  ADC01_IN7:
45    modes: [analog]
46  ADC01_IN8:
47    modes: [analog]
48  ADC01_IN9:
49    modes: [analog]
50  ADC01_IN14:
51    modes: [analog]
52  ADC01_IN15:
53    modes: [analog]
54  ADC012_IN0:
55    modes: [analog]
56  ADC012_IN1:
57    modes: [analog]
58  ADC012_IN2:
59    modes: [analog]
60  ADC012_IN3:
61    modes: [analog]
62  ADC012_IN10:
63    modes: [analog]
64  ADC012_IN11:
65    modes: [analog]
66  ADC012_IN12:
67    modes: [analog]
68  ADC012_IN13:
69    modes: [analog]
70  CAN0_RX:
71    modes: [inp]
72  CAN0_TX:
73    modes: [out]
74  CAN1_RX:
75    modes: [inp]
76  CAN1_TX:
77    modes: [out]
78  CK_OUT0:
79    modes: [out]
80  CTC_SYNC:
81    modes: [out]
82  DAC_OUT0:
83    modes: [analog]
84  DAC_OUT1:
85    modes: [analog]
86  EXMC_A0:
87    modes: [out]
88    exclude-pincodes: [R]
89  EXMC_A1:
90    modes: [out]
91    exclude-pincodes: [R]
92  EXMC_A2:
93    modes: [out]
94    exclude-pincodes: [R]
95  EXMC_A3:
96    modes: [out]
97    exclude-pincodes: [R]
98  EXMC_A4:
99    modes: [out]
100    exclude-pincodes: [R]
101  EXMC_A5:
102    modes: [out]
103    exclude-pincodes: [R]
104  EXMC_A6:
105    modes: [out]
106    exclude-pincodes: [R]
107  EXMC_A7:
108    modes: [out]
109    exclude-pincodes: [R]
110  EXMC_A8:
111    modes: [out]
112    exclude-pincodes: [R]
113  EXMC_A9:
114    modes: [out]
115    exclude-pincodes: [R]
116  EXMC_A10:
117    modes: [out]
118    exclude-pincodes: [R]
119  EXMC_A11:
120    modes: [out]
121    exclude-pincodes: [R]
122  EXMC_A12:
123    modes: [out]
124    exclude-pincodes: [R]
125  EXMC_A13:
126    modes: [out]
127    exclude-pincodes: [R]
128  EXMC_A14:
129    modes: [out]
130    exclude-pincodes: [R]
131  EXMC_A15:
132    modes: [out]
133    exclude-pincodes: [R]
134  EXMC_A16:
135    modes: [out]
136    exclude-pincodes: [R]
137  EXMC_A17:
138    modes: [out]
139    exclude-pincodes: [R]
140  EXMC_A18:
141    modes: [out]
142    exclude-pincodes: [R]
143  EXMC_A19:
144    modes: [out]
145    exclude-pincodes: [R]
146  EXMC_A20:
147    modes: [out]
148    exclude-pincodes: [R]
149  EXMC_A21:
150    modes: [out]
151    exclude-pincodes: [R]
152  EXMC_A22:
153    modes: [out]
154    exclude-pincodes: [R]
155  EXMC_A23:
156    modes: [out]
157    exclude-pincodes: [R]
158  EXMC_A24:
159    modes: [out]
160    exclude-pincodes: [R]
161  EXMC_A25:
162    modes: [out]
163    exclude-pincodes: [R]
164  EXMC_CD:
165    modes: [inp]
166  EXMC_CLK:
167    modes: [out]
168    exclude-pincodes: [R]
169  EXMC_D0:
170    modes: [out]
171    exclude-pincodes: [R]
172  EXMC_D1:
173    modes: [out]
174    exclude-pincodes: [R]
175  EXMC_D2:
176    modes: [out]
177    exclude-pincodes: [R]
178  EXMC_D3:
179    modes: [out]
180    exclude-pincodes: [R]
181  EXMC_D4:
182    modes: [out]
183    exclude-pincodes: [R]
184  EXMC_D5:
185    modes: [out]
186    exclude-pincodes: [R]
187  EXMC_D6:
188    modes: [out]
189    exclude-pincodes: [R]
190  EXMC_D7:
191    modes: [out]
192    exclude-pincodes: [R]
193  EXMC_D8:
194    modes: [out]
195    exclude-pincodes: [R]
196  EXMC_D9:
197    modes: [out]
198    exclude-pincodes: [R]
199  EXMC_D10:
200    modes: [out]
201    exclude-pincodes: [R]
202  EXMC_D11:
203    modes: [out]
204    exclude-pincodes: [R]
205  EXMC_D12:
206    modes: [out]
207    exclude-pincodes: [R]
208  EXMC_D13:
209    modes: [out]
210    exclude-pincodes: [R]
211  EXMC_D14:
212    modes: [out]
213    exclude-pincodes: [R]
214  EXMC_D15:
215    modes: [out]
216    exclude-pincodes: [R]
217  EXMC_INT1:
218    modes: [inp]
219  EXMC_INT2:
220    modes: [inp]
221  EXMC_INTR:
222    modes: [inp]
223  EXMC_NADV:
224    modes: [out]
225    exclude-pincodes: [R]
226  EXMC_NBL0:
227    modes: [out]
228    exclude-pincodes: [R]
229  EXMC_NBL1:
230    modes: [out]
231    exclude-pincodes: [R]
232  EXMC_NCE1:
233    modes: [out]
234    exclude-pincodes: [R]
235  EXMC_NCE2:
236    modes: [out]
237    exclude-pincodes: [R]
238  EXMC_NCE3_0:
239    modes: [out]
240    exclude-pincodes: [R]
241  EXMC_NCE3_1:
242    modes: [out]
243    exclude-pincodes: [R]
244  EXMC_NE0:
245    modes: [out]
246    exclude-pincodes: [R]
247  EXMC_NE1:
248    modes: [out]
249    exclude-pincodes: [R]
250  EXMC_NE2:
251    modes: [out]
252    exclude-pincodes: [R]
253  EXMC_NE3:
254    modes: [out]
255    exclude-pincodes: [R]
256  EXMC_NIORD:
257    modes: [out]
258    exclude-pincodes: [R]
259  EXMC_NIOS16:
260    modes: [inp]
261  EXMC_NIOWR:
262    modes: [out]
263    exclude-pincodes: [R]
264  EXMC_NOE:
265    modes: [out]
266    exclude-pincodes: [R]
267  EXMC_NREG:
268    modes: [out]
269    exclude-pincodes: [R]
270  EXMC_NWAIT:
271    modes: [inp]
272  EXMC_NWE:
273    modes: [out]
274    exclude-pincodes: [R]
275  I2C0_SCL:
276    modes: [out]
277  I2C0_SDA:
278    modes: [out]
279  I2C0_SMBA:
280    modes: [out]
281  I2C1_SCL:
282    modes: [out]
283  I2C1_SDA:
284    modes: [out]
285  I2C1_SMBA:
286    modes: [out]
287  I2S1_CK:
288    modes: [inp, out]
289  I2S1_MCK:
290    modes: [out]
291  I2S1_SD:
292    modes: [inp, out]
293  I2S1_WS:
294    modes: [inp, out]
295  I2S2_CK:
296    modes: [inp, out]
297  I2S2_MCK:
298    modes: [out]
299  I2S2_SD:
300    modes: [inp, out]
301  I2S2_WS:
302    modes: [inp, out]
303  SDIO_CK:
304    modes: [out]
305  SDIO_D0:
306    modes: [out]
307  SDIO_D1:
308    modes: [out]
309  SDIO_D2:
310    modes: [out]
311  SDIO_D3:
312    modes: [out]
313  SDIO_D4:
314    modes: [out]
315  SDIO_D5:
316    modes: [out]
317  SDIO_D6:
318    modes: [out]
319  SDIO_D7:
320    modes: [out]
321  SPI0_IO2:
322    modes: [out]
323  SPI0_IO3:
324    modes: [out]
325  SPI0_MISO:
326    modes: [inp, out]
327  SPI0_MOSI:
328    modes: [inp, out]
329  SPI0_NSS:
330    modes: [inp, out]
331  SPI0_SCK:
332    modes: [inp, out]
333  SPI1_MISO:
334    modes: [inp, out]
335  SPI1_MOSI:
336    modes: [inp, out]
337  SPI1_NSS:
338    modes: [inp, out]
339  SPI1_SCK:
340    modes: [inp, out]
341  SPI2_MISO:
342    modes: [inp, out]
343  SPI2_MOSI:
344    modes: [inp, out]
345  SPI2_NSS:
346    modes: [inp, out]
347  SPI2_SCK:
348    modes: [inp, out]
349  TAMPER_RTC:
350    modes: [inp]
351  TIMER0_BRKIN:
352    modes: [inp]
353  TIMER0_CH0:
354    modes: [inp, out]
355  TIMER0_CH0_ON:
356    modes: [out]
357  TIMER0_CH1:
358    modes: [inp, out]
359  TIMER0_CH1_ON:
360    modes: [out]
361  TIMER0_CH2:
362    modes: [inp, out]
363  TIMER0_CH2_ON:
364    modes: [out]
365  TIMER0_CH3:
366    modes: [inp, out]
367  TIMER0_ETI:
368    modes: [inp]
369  TIMER2_CH0:
370    modes: [inp, out]
371  TIMER2_CH1:
372    modes: [inp, out]
373  TIMER2_CH2:
374    modes: [inp, out]
375  TIMER2_CH3:
376    modes: [inp, out]
377  TIMER2_ETI:
378    modes: [inp]
379  TIMER3_CH0:
380    modes: [inp, out]
381  TIMER3_CH1:
382    modes: [inp, out]
383  TIMER3_CH2:
384    modes: [inp, out]
385  TIMER3_CH3:
386    modes: [inp, out]
387  TIMER3_ETI:
388    modes: [inp]
389  TIMER7_ETI:
390    modes: [inp]
391  TIMER7_BRKIN:
392    modes: [inp]
393  TIMER7_CH0:
394    modes: [inp, out]
395  TIMER7_CH0_ON:
396    modes: [out]
397  TIMER7_CH1:
398    modes: [inp, out]
399  TIMER7_CH1_ON:
400    modes: [out]
401  TIMER7_CH2:
402    modes: [inp, out]
403  TIMER7_CH2_ON:
404    modes: [out]
405  TIMER7_CH3:
406    modes: [inp, out]
407  TIMER8_CH0:
408    modes: [inp, out]
409  TIMER8_CH1:
410    modes: [inp, out]
411  TIMER9_CH0:
412    modes: [inp, out]
413  TIMER10_CH0:
414    modes: [inp, out]
415  TIMER11_CH0:
416    modes: [inp, out]
417  TIMER11_CH1:
418    modes: [inp, out]
419  TIMER12_CH0:
420    modes: [inp, out]
421  TIMER13_CH0:
422    modes: [inp, out]
423  TRACECK:
424    modes: [out]
425  TRACED0:
426    modes: [out]
427  TRACED1:
428    modes: [out]
429  TRACED2:
430    modes: [out]
431  TRACED3:
432    modes: [out]
433  USART0_CK:
434    modes: [out]
435  USART0_CTS:
436    modes: [inp]
437  USART0_RTS:
438    modes: [out]
439  USART0_RX:
440    modes: [inp]
441  USART0_TX:
442    modes: [out]
443  USART1_CK:
444    modes: [out]
445  USART1_CTS:
446    modes: [inp]
447  USART1_RTS:
448    modes: [out]
449  USART1_RX:
450    modes: [inp]
451  USART1_TX:
452    modes: [out]
453  USART2_CK:
454    modes: [out]
455  USART2_CTS:
456    modes: [inp]
457  USART2_RTS:
458    modes: [out]
459  USART2_RX:
460    modes: [inp]
461  USART2_TX:
462    modes: [out]
463  UART3_RX:
464    modes: [inp]
465  UART3_TX:
466    modes: [out]
467  UART4_RX:
468    modes: [inp]
469  UART4_TX:
470    modes: [out]
471  USBFS_DM:
472    modes: [inp, out]
473  USBFS_DP:
474    modes: [inp, out]
475  USBFS_ID:
476    modes: [inp, out]
477  USBFS_SOF:
478    modes: [out]
479  USBFS_VBUS:
480    modes: [inp]
481  WKUP:
482    modes: [inp]
483
484pins:
485  PA0:
486    pincodes: [Z, V, R]
487    afs: [WKUP, USART1_CTS, ADC012_IN0, TIMER7_ETI]
488  PA1:
489    pincodes: [Z, V, R]
490    afs: [USART1_RTS, ADC012_IN1]
491  PA2:
492    pincodes: [Z, V, R]
493    afs: [USART1_TX, ADC012_IN2, TIMER8_CH0, SPI0_IO2]
494  PA3:
495    pincodes: [Z, V, R]
496    afs: [USART1_RX, ADC012_IN3, TIMER8_CH1, SPI0_IO3]
497  PA4:
498    pincodes: [Z, V, R]
499    afs: [SPI0_NSS, USART1_CK, ADC01_IN4, DAC_OUT0]
500  PA5:
501    pincodes: [Z, V, R]
502    afs: [SPI0_SCK, ADC01_IN5, DAC_OUT1]
503  PA6:
504    pincodes: [Z, V, R]
505    afs: [SPI0_MISO, ADC01_IN6, TIMER2_CH0, TIMER7_BRKIN, TIMER12_CH0]
506  PA7:
507    pincodes: [Z, V, R]
508    afs: [SPI0_MOSI, ADC01_IN7, TIMER2_CH1, TIMER7_CH0_ON, TIMER13_CH0]
509  PA8:
510    pincodes: [Z, V, R]
511    afs: [USART0_CK, TIMER0_CH0, CK_OUT0, USBFS_SOF, CTC_SYNC]
512  PA9:
513    pincodes: [Z, V, R]
514    afs: [USART0_TX, TIMER0_CH1, USBFS_VBUS]
515  PA10:
516    pincodes: [Z, V, R]
517    afs: [USART0_RX, TIMER0_CH2, USBFS_ID]
518  PA11:
519    pincodes: [Z, V, R]
520    afs: [USART0_CTS, CAN0_RX, TIMER0_CH3, USBFS_DM, TIMER0_CH3]
521  PA12:
522    pincodes: [Z, V, R]
523    afs: [USART0_RTS, CAN0_TX, TIMER0_ETI, USBFS_DP]
524  PA13:
525    pincodes: [Z, V, R]
526    afs: []
527  PA14:
528    pincodes: [Z, V, R]
529    afs: []
530  PA15:
531    pincodes: [Z, V, R]
532    afs: [SPI2_NSS, I2S2_WS]
533  PB0:
534    pincodes: [Z, V, R]
535    afs: [ADC01_IN8, TIMER2_CH2, TIMER7_CH1_ON]
536  PB1:
537    pincodes: [Z, V, R]
538    afs: [ADC01_IN9, TIMER2_CH3, TIMER7_CH2_ON]
539  PB2:
540    pincodes: [Z, V, R]
541    afs: []
542  PB3:
543    pincodes: [Z, V, R]
544    afs: [SPI2_SCK, I2S2_CK]
545  PB4:
546    pincodes: [Z, V, R]
547    afs: [SPI2_MISO]
548  PB5:
549    pincodes: [Z, V, R]
550    afs: [I2C0_SMBA, SPI2_MOSI, I2S2_SD]
551  PB6:
552    pincodes: [Z, V, R]
553    afs: [I2C0_SCL, TIMER3_CH0]
554  PB7:
555    pincodes: [Z, V, R]
556    afs: [I2C0_SDA , TIMER3_CH1, EXMC_NADV]
557  PB8:
558    pincodes: [V, R, C]
559    afs: [TIMER3_CH2, SDIO_D4, TIMER9_CH0]
560  PB9:
561    pincodes: [V, R, C]
562    afs: [TIMER3_CH3, SDIO_D5, TIMER10_CH0]
563  PB10:
564    pincodes: [V, R, C]
565    afs: [I2C1_SCL, USART2_TX]
566  PB11:
567    pincodes: [V, R, C]
568    afs: [I2C1_SDA, USART2_RX]
569  PB12:
570    pincodes: [V, R, C]
571    afs: [SPI1_NSS, I2C1_SMBA, USART2_CK, TIMER0_BRKIN, I2S1_WS, CAN1_RX]
572  PB13:
573    pincodes: [V, R, C]
574    afs: [SPI1_SCK, USART2_CTS, TIMER0_CH0_ON, I2S1_CK, CAN1_TX]
575  PB14:
576    pincodes: [V, R, C]
577    afs: [SPI1_MISO, USART2_RTS, TIMER0_CH1_ON, TIMER11_CH0]
578  PB15:
579    pincodes: [V, R, C]
580    afs: [SPI1_MOSI, TIMER0_CH2_ON, I2S1_SD, TIMER11_CH1]
581  PC0:
582    pincodes: [V, R]
583    afs: [ADC012_IN10]
584  PC1:
585    pincodes: [V, R]
586    afs: [ADC012_IN11]
587  PC2:
588    pincodes: [V, R]
589    afs: [ADC012_IN12]
590  PC3:
591    pincodes: [Z, V, R]
592    afs: [ADC012_IN13]
593  PC4:
594    pincodes: [V, R]
595    afs: [ADC01_IN14]
596  PC5:
597    pincodes: [V, R]
598    afs: [ADC01_IN15]
599  PC6:
600    pincodes: [V, R]
601    afs: [I2S1_MCK, TIMER7_CH0, SDIO_D6]
602  PC7:
603    pincodes: [V, R]
604    afs: [I2S2_MCK, TIMER7_CH1, SDIO_D7]
605  PC8:
606    pincodes: [V, R]
607    afs: [TIMER7_CH2, SDIO_D0]
608  PC9:
609    pincodes: [V, R]
610    afs: [TIMER7_CH3, SDIO_D1]
611  PC10:
612    pincodes: [V, R]
613    afs: [UART3_TX, SDIO_D2]
614  PC11:
615    pincodes: [V, R]
616    afs: [UART3_RX, SDIO_D3]
617  PC12:
618    pincodes: [V, R]
619    afs: [UART4_TX, SDIO_CK]
620  PC13:
621    pincodes: [V, R, C]
622    afs: [TAMPER_RTC]
623  PC14:
624    pincodes: [V, R, C]
625    afs: []
626  PC15:
627    pincodes: [V, R, C]
628    afs: []
629  PD0:
630    pincodes: [Z, V, R]
631    afs: [EXMC_D2]
632  PD1:
633    pincodes: [Z, V, R]
634    afs: [EXMC_D3]
635  PD2:
636    pincodes: [Z, V, R]
637    afs: [TIMER2_ETI, SDIO_CMD, UART4_RX]
638  PD3:
639    pincodes: [Z, V]
640    afs: [EXMC_CLK]
641  PD4:
642    pincodes: [Z, V]
643    afs: [EXMC_NOE]
644  PD5:
645    pincodes: [Z, V]
646    afs: [EXMC_NWE]
647  PD6:
648    pincodes: [Z, V]
649    afs: [EXMC_NWAIT]
650  PD7:
651    pincodes: [Z, V]
652    afs: [EXMC_NE0, EXMC_NCE1]
653  PD8:
654    pincodes: [Z, V]
655    afs: [EXMC_D13]
656  PD9:
657    pincodes: [Z, V]
658    afs: [EXMC_D14]
659  PD10:
660    pincodes: [Z, V]
661    afs: [EXMC_D15]
662  PD11:
663    pincodes: [Z, V]
664    afs: [EXMC_A16]
665  PD12:
666    pincodes: [Z, V]
667    afs: [EXMC_A17]
668  PD13:
669    pincodes: [Z, V]
670    afs: [EXMC_A18]
671  PD14:
672    pincodes: [Z, V]
673    afs: [EXMC_D0]
674  PD15:
675    pincodes: [Z, V]
676    afs: [EXMC_D1]
677  PE0:
678    pincodes: [Z, V]
679    afs: [TIMER3_ETI, EXMC_NBL0]
680  PE1:
681    pincodes: [Z, V]
682    afs: [EXMC_NBL1]
683  PE2:
684    pincodes: [Z, V]
685    afs: [TRACECK, EXMC_A23]
686  PE3:
687    pincodes: [Z, V]
688    afs: [TRACED0, EXMC_A19]
689  PE4:
690    pincodes: [Z, V]
691    afs: [TRACED1, EXMC_A20]
692  PE5:
693    pincodes: [Z, V]
694    afs: [TRACED2, EXMC_A21]
695  PE6:
696    pincodes: [Z, V]
697    afs: [TRACED3, EXMC_A22]
698  PE7:
699    pincodes: [Z, V]
700    afs: [EXMC_D4]
701  PE8:
702    pincodes: [Z, V]
703    afs: [EXMC_D5]
704  PE9:
705    pincodes: [Z, V]
706    afs: [EXMC_D6]
707  PE10:
708    pincodes: [Z, V]
709    afs: [EXMC_D7]
710  PE11:
711    pincodes: [Z, V]
712    afs: [EXMC_D8]
713  PE12:
714    pincodes: [Z, V]
715    afs: [EXMC_D9]
716  PE13:
717    pincodes: [Z, V]
718    afs: [EXMC_D10]
719  PE14:
720    pincodes: [Z, V]
721    afs: [EXMC_D11]
722  PE15:
723    pincodes: [Z, V]
724    afs: [EXMC_D12]
725  PF0:
726    pincodes: [Z]
727    afs: [EXMC_A0]
728  PF1:
729    pincodes: [Z]
730    afs: [EXMC_A1]
731  PF2:
732    pincodes: [Z]
733    afs: [EXMC_A2]
734  PF3:
735    pincodes: [Z]
736    afs: [EXMC_A3]
737  PF4:
738    pincodes: [Z]
739    afs: [EXMC_A4]
740  PF5:
741    pincodes: [Z]
742    afs: [EXMC_A5]
743  PF6:
744    pincodes: [Z]
745    afs: [ADC2_IN4, EXMC_NIORD]
746  PF7:
747    pincodes: [Z]
748    afs: [ADC2_IN5, EXMC_NREG]
749  PF8:
750    pincodes: [Z]
751    afs: [ADC2_IN6, EXMC_NIOWR]
752  PF9:
753    pincodes: [Z]
754    afs: [ADC2_IN7, EXMC_CD]
755  PF10:
756    pincodes: [Z]
757    afs: [ADC2_IN8, EXMC_INTR]
758  PF11:
759    pincodes: [Z]
760    afs: [EXMC_NIOS16]
761  PF12:
762    pincodes: [Z]
763    afs: [EXMC_A6]
764  PF13:
765    pincodes: [Z]
766    afs: [EXMC_A7]
767  PF14:
768    pincodes: [Z]
769    afs: [EXMC_A8]
770  PF15:
771    pincodes: [Z]
772    afs: [EXMC_A9]
773  PG0:
774    pincodes: [Z]
775    afs: [EXMC_A10]
776  PG1:
777    pincodes: [Z]
778    afs: [EXMC_A11]
779  PG2:
780    pincodes: [Z]
781    afs: [EXMC_A12]
782  PG3:
783    pincodes: [Z]
784    afs: [EXMC_A13]
785  PG4:
786    pincodes: [Z]
787    afs: [EXMC_A14]
788  PG5:
789    pincodes: [Z]
790    afs: [EXMC_A15]
791  PG6:
792    pincodes: [Z]
793    afs: [EXMC_INT1]
794  PG7:
795    pincodes: [Z]
796    afs: [EXMC_INT2]
797  PG8:
798    pincodes: [Z]
799    afs: []
800  PG9:
801    pincodes: [Z]
802    afs: [EXMC_NE1, EXMC_NCE2]
803  PG10:
804    pincodes: [Z]
805    afs: [EXMC_NCE3_0, EXMC_NE2]
806  PG11:
807    pincodes: [Z]
808    afs: [EXMC_NCE3_1]
809  PG12:
810    pincodes: [Z]
811    afs: [EXMC_NE3]
812  PG13:
813    pincodes: [Z]
814    afs: [EXMC_A24]
815  PG14:
816    pincodes: [Z]
817    afs: [EXMC_A25]
818  PG15:
819    pincodes: [Z]
820    afs: []
821
822remaps:
823  CAN0_RX:
824    pins: [PA11, null, PB8, PD0]
825  CAN0_TX:
826    pins: [PA12, null, PB9, PD1]
827  CAN1_RX:
828    pins: [PB12, PB5]
829  CAN1_TX:
830    pins: [PB13, PB6]
831  CTC_SYNC:
832    pins: [PA8, PD15, null, PF0]
833  I2C0_SCL:
834    pins: [PB6, PB8]
835  I2C0_SDA:
836    pins: [PB7, PB9]
837  I2S2_SD:
838    pins: [PB5, PC12]
839  I2S2_WS:
840    pins: [PA15, PA4]
841  I2S2_CK:
842    pins: [PB3, PC10]
843  SPI0_MISO:
844    pins: [PA6, PB4]
845  SPI0_MOSI:
846    pins: [PA7, PB5]
847  SPI0_NSS:
848    pins: [PA4, PA15]
849  SPI0_SCK:
850    pins: [PA5, PB3]
851  SPI2_MISO:
852    pins: [PB4, PC11]
853  SPI2_MOSI:
854    pins: [PB5, PC12]
855  SPI2_NSS:
856    pins: [PA15, PA4]
857  SPI2_SCK:
858    pins: [PB3, PC10]
859  TIMER0_BKIN:
860    pins: [PB12, PA6, null, PE15]
861  TIMER0_CH0:
862    pins: [PA8, PA8, null, PE9]
863  TIMER0_CH1:
864    pins: [PA9, PA9, null, PE11]
865  TIMER0_CH2:
866    pins: [PA10, PA10, null, PE13]
867  TIMER0_CH3:
868    pins: [PA11, PA11, null, PE14]
869  TIMER0_CH0_ON:
870    pins: [PB13, PA7, null, PE8]
871  TIMER0_CH1_ON:
872    pins: [PB14, PB0, null, PE10]
873  TIMER0_CH2_ON:
874    pins: [PB15, PB1, null, PE12]
875  TIMER0_ETI:
876    pins: [PA12, PA12, null, PE7]
877  TIMER2_CH0:
878    pins: [PA6, null, PB4, PC6]
879  TIMER2_CH1:
880    pins: [PA7, null, PB5, PC7]
881  TIMER2_CH2:
882    pins: [PB0, null, PB0, PC8]
883  TIMER2_CH3:
884    pins: [PB1, null, PB1, PC9]
885  TIMER3_CH0:
886    pins: [PB6, PD12]
887  TIMER3_CH1:
888    pins: [PB7, PD13]
889  TIMER3_CH2:
890    pins: [PB8, PD14]
891  TIMER3_CH3:
892    pins: [PB9, PD15]
893  TIMER8_CH0:
894    pins: [PA2, PE5]
895  TIMER8_CH1:
896    pins: [PA3, PE6]
897  TIMER9_CH0:
898    pins: [PB8, PF6]
899  TIMER10_CH0:
900    pins: [PB9, PF7]
901  TIMER12_CH0:
902    pins: [PA6, PF8]
903  TIMER13_CH0:
904    pins: [PA7, PF9]
905  USART0_RX:
906    pins: [PA10, PB7]
907  USART0_TX:
908    pins: [PA9, PB6]
909  USART1_CK:
910    pins: [PA4, PD7]
911  USART1_CTS:
912    pins: [PA0, PD3]
913  USART1_RTS:
914    pins: [PA1, PD4]
915  USART1_RX:
916    pins: [PA3, PD6]
917  USART1_TX:
918    pins: [PA2, PD5]
919  USART2_CK:
920    pins: [PB12, PC12, null, PD10]
921  USART2_CTS:
922    pins: [PB13, PB13, null, PD11]
923  USART2_RTS:
924    pins: [PB14, PB14, null, PD12]
925  USART2_RX:
926    pins: [PB11, PC11, null, PD9]
927  USART2_TX:
928    pins: [PB10, PC10, null, PD8]
929