1# Copyright (c) 2022 Gerson Fernando Budke
2# SPDX-License-Identifier: Apache-2.0
3#
4# Sources:
5# - DS60001507E Datasheet (Revision E - 06/2019)
6#
7# Pin codes:
8#
9# - 48      pins: g
10# - 64      pins: j
11# - 100     pins: n
12# - 120/128 pins: p (package exception)
13#
14# SoC Revision (variant) supported:
15# - A = Default Variant
16
17model: atmel,sam
18
19family: d5x-e5x
20
21map: SAM_PINMUX
22
23series: [d51, e51, e53, e54]
24
25variants:
26  - pincode: g
27    series: [d51, e51]
28  - pincode: j
29    series: [d51, e51, e53]
30  - pincode: n
31    series: [d51, e51, e53, e54]
32  - pincode: p
33    series: [d51, e54]
34    exception: y
35
36pins:
37  pb03:
38    pincodes: [g, j, n, p]
39    periph:
40      - [a, eic, extint3]
41      - [b, adc0, ain15]
42      - [b, ptc, xy21]
43      - [d, sercom5, pad1]
44      - [e, tc6, wo1]
45  pa00:
46    pincodes: [g, j, n, p]
47    periph:
48      - [a, eic, extint0]
49      - [d, sercom1, pad0]
50      - [e, tc2, wo0]
51  pa01:
52    pincodes: [g, j, n, p]
53    periph:
54      - [a, eic, extint1]
55      - [d, sercom1, pad1]
56      - [e, tc2, wo1]
57  pc00:
58    pincodes: [n, p]
59    periph:
60      - [a, eic, extint0]
61      - [b, adc1, ain10]
62  pc01:
63    pincodes: [n, p]
64    periph:
65      - [a, eic, extint1]
66      - [b, adc1, ain11]
67  pc02:
68    pincodes: [n, p]
69    periph:
70      - [a, eic, extint2]
71      - [b, adc1, ain4]
72  pc03:
73    pincodes: [n, p]
74    periph:
75      - [a, eic, extint3]
76      - [b, adc1, ain5]
77  pa02:
78    pincodes: [g, j, n, p]
79    periph:
80      - [a, eic, extint2]
81      - [b, adc0, ain0]
82      - [b, dac, vout0]
83  pa03:
84    pincodes: [g, j, n, p]
85    periph:
86      - [a, eic, extint3]
87      - [b, anaref, vrefa]
88      - [b, adc0, ain1]
89      - [b, ptc, xy0]
90  pb04:
91    pincodes: [j, n, p]
92    periph:
93      - [a, eic, extint4]
94      - [b, adc1, ain6]
95      - [b, ptc, xy22]
96  pb05:
97    pincodes: [j, n, p]
98    periph:
99      - [a, eic, extint5]
100      - [b, adc1, ain7]
101      - [b, ptc, xy23]
102  pd00:
103    pincodes: [p]
104    periph:
105      - [a, eic, extint0]
106      - [b, adc1, ain14]
107  pd01:
108    pincodes: [p]
109    periph:
110      - [a, eic, extint1]
111      - [b, adc1, ain15]
112  pb06:
113    pincodes: [j, n, p]
114    periph:
115      - [a, eic, extint6]
116      - [b, adc1, ain8]
117      - [b, ptc, xy24]
118      - [n, ccl, in6]
119  pb07:
120    pincodes: [j, n, p]
121    periph:
122      - [a, eic, extint7]
123      - [b, adc1, ain9]
124      - [b, ptc, xy25]
125      - [n, ccl, in7]
126  pb08:
127    pincodes: [g, j, n, p]
128    periph:
129      - [a, eic, extint8]
130      - [b, adc0, ain2]
131      - [b, adc1, ain0]
132      - [b, ptc, xy1]
133      - [d, sercom4, pad0]
134      - [e, tc4, wo0]
135      - [n, ccl, in8]
136  pb09:
137    pincodes: [g, j, n, p]
138    periph:
139      - [a, eic, extint9]
140      - [b, adc0, ain3]
141      - [b, adc1, ain1]
142      - [b, ptc, xy2]
143      - [d, sercom4, pad1]
144      - [e, tc4, wo1]
145      - [n, ccl, out2]
146  pa04:
147    pincodes: [g, j, n, p]
148    periph:
149      - [a, eic, extint4]
150      - [b, anaref, vrefb]
151      - [b, adc0, ain4]
152      - [b, ac, ain0]
153      - [b, ptc, xy3]
154      - [d, sercom0, pad0]
155      - [e, tc0, wo0]
156      - [n, ccl, in0]
157  pa05:
158    pincodes: [g, j, n, p]
159    periph:
160      - [a, eic, extint5]
161      - [b, adc0, ain5]
162      - [b, ac, ain1]
163      - [b, dac, vout1]
164      - [d, sercom0, pad1]
165      - [e, tc0, wo1]
166      - [n, ccl, in1]
167  pa06:
168    pincodes: [g, j, n, p]
169    periph:
170      - [a, eic, extint6]
171      - [b, anaref, vrefc]
172      - [b, adc0, ain6]
173      - [b, ac, ain2]
174      - [b, ptc, xy4]
175      - [d, sercom0, pad2]
176      - [e, tc1, wo0]
177      - [i, sdhc0, cd]
178      - [n, ccl, in2]
179  pa07:
180    pincodes: [g, j, n, p]
181    periph:
182      - [a, eic, extint7]
183      - [b, adc0, ain7]
184      - [b, ac, ain3]
185      - [b, ptc, xy5]
186      - [d, sercom0, pad3]
187      - [e, tc1, wo1]
188      - [i, sdhc0, wp]
189      - [n, ccl, out0]
190  pc04:
191    pincodes: [p]
192    periph:
193      - [a, eic, extint4]
194      - [c, sercom6, pad0]
195      - [f, tcc0, wo0]
196  pc05:
197    pincodes: [n, p]
198    periph:
199      - [a, eic, extint5]
200      - [c, sercom6, pad1]
201  pc06:
202    pincodes: [n, p]
203    periph:
204      - [a, eic, extint6]
205      - [c, sercom6, pad2]
206      - [i, sdhc0, cd]
207  pc07:
208    pincodes: [n, p]
209    periph:
210      - [a, eic, extint7]
211      - [c, sercom6, pad3]
212      - [i, sdhc0, wp]
213  pa08:
214    pincodes: [g, j, n, p]
215    periph:
216      - [a, eic, nmi]
217      - [b, adc0, ain8]
218      - [b, adc1, ain2]
219      - [b, ptc, xy6]
220      - [c, sercom0, pad0]
221      - [d, sercom2, pad1]
222      - [e, tc0, wo0]
223      - [f, tcc0, wo0]
224      - [g, tcc1, wo4]
225      - [h, qspi, data0]
226      - [i, sdhc0, cmd]
227      - [j, iis, mck0]
228      - [n, ccl, in3]
229  pa09:
230    pincodes: [g, j, n, p]
231    periph:
232      - [a, eic, extint9]
233      - [b, adc0, ain9]
234      - [b, adc1, ain3]
235      - [b, ptc, xy7]
236      - [c, sercom0, pad1]
237      - [d, sercom2, pad0]
238      - [e, tc0, wo1]
239      - [f, tcc0, wo1]
240      - [g, tcc1, wo5]
241      - [h, qspi, data1]
242      - [i, sdhc0, dat0]
243      - [j, iis, fs0]
244      - [n, ccl, in4]
245  pa10:
246    pincodes: [g, j, n, p]
247    periph:
248      - [a, eic, extint10]
249      - [b, adc0, ain10]
250      - [b, ptc, xy8]
251      - [c, sercom0, pad2]
252      - [d, sercom2, pad2]
253      - [e, tc1, wo0]
254      - [f, tcc0, wo2]
255      - [g, tcc1, wo6]
256      - [h, qspi, data2]
257      - [i, sdhc0, dat1]
258      - [j, iis, sck0]
259      - [m, gclk, io4]
260      - [n, ccl, in5]
261  pa11:
262    pincodes: [g, j, n, p]
263    periph:
264      - [a, eic, extint11]
265      - [b, adc0, ain11]
266      - [b, ptc, xy9]
267      - [c, sercom0, pad3]
268      - [d, sercom2, pad3]
269      - [e, tc1, wo1]
270      - [f, tcc0, wo3]
271      - [g, tcc1, wo7]
272      - [h, qspi, data3]
273      - [i, sdhc0, dat2]
274      - [j, iis, sdo]
275      - [m, gclk, io5]
276      - [n, ccl, out1]
277  pb10:
278    pincodes: [g, j, n, p]
279    periph:
280      - [a, eic, extint10]
281      - [d, sercom4, pad2]
282      - [e, tc5, wo0]
283      - [f, tcc0, wo4]
284      - [g, tcc1, wo0]
285      - [h, qspi, sck]
286      - [i, sdhc0, dat3]
287      - [j, iis, sdi]
288      - [m, gclk, io4]
289      - [n, ccl, in11]
290  pb11:
291    pincodes: [g, j, n, p]
292    periph:
293      - [a, eic, extint11]
294      - [d, sercom4, pad3]
295      - [e, tc5, wo1]
296      - [f, tcc0, wo5]
297      - [g, tcc1, wo1]
298      - [h, qspi, cs]
299      - [i, sdhc0, ck]
300      - [j, iis, fs1]
301      - [m, gclk, io5]
302      - [n, ccl, out1]
303  pb12:
304    pincodes: [j, n, p]
305    periph:
306      - [a, eic, extint12]
307      - [b, ptc, xy26]
308      - [c, sercom4, pad0]
309      - [e, tc4, wo0]
310      - [f, tcc3, wo0]
311      - [g, tcc0, wo0]
312      - [h, can1, tx, [d51, e53]]
313      - [i, sdhc0, cd]
314      - [j, iis, sck1]
315      - [m, gclk, io6]
316  pb13:
317    pincodes: [j, n, p]
318    periph:
319      - [a, eic, extint13]
320      - [b, ptc, xy27]
321      - [c, sercom4, pad1]
322      - [e, tc4, wo1]
323      - [f, tcc3, wo1]
324      - [g, tcc0, wo1]
325      - [h, can1, rx, [d51, e53]]
326      - [i, sdhc0, wp]
327      - [j, iis, mck1]
328      - [m, gclk, io7]
329  pb14:
330    pincodes: [j, n, p]
331    periph:
332      - [a, eic, extint14]
333      - [b, ptc, xy28]
334      - [c, sercom4, pad2]
335      - [e, tc5, wo0]
336      - [f, tcc4, wo0]
337      - [g, tcc0, wo2]
338      - [h, can1, tx, [d51, e53]]
339      - [k, pcc, data8]
340      - [l, gmac, gmdc, [d51, e51]]
341      - [m, gclk, io0]
342      - [n, ccl, in9]
343  pb15:
344    pincodes: [j, n, p]
345    periph:
346      - [a, eic, extint15]
347      - [b, ptc, xy29]
348      - [c, sercom4, pad3]
349      - [e, tc5, wo1]
350      - [f, tcc4, wo1]
351      - [g, tcc0, wo3]
352      - [h, can1, rx, [d51, e53]]
353      - [k, pcc, data9]
354      - [l, gmac, gmdio, [d51, e51]]
355      - [m, gclk, io1]
356      - [n, ccl, in10]
357  pd08:
358    pincodes: [p]
359    periph:
360      - [a, eic, extint3]
361      - [c, sercom7, pad0]
362      - [d, sercom6, pad1]
363      - [f, tcc0, wo1]
364  pd09:
365    pincodes: [p]
366    periph:
367      - [a, eic, extint4]
368      - [c, sercom7, pad1]
369      - [d, sercom6, pad0]
370      - [f, tcc0, wo2]
371  pd10:
372    pincodes: [p]
373    periph:
374      - [a, eic, extint5]
375      - [c, sercom7, pad2]
376      - [d, sercom6, pad2]
377      - [f, tcc0, wo3]
378  pd11:
379    pincodes: [p]
380    periph:
381      - [a, eic, extint6]
382      - [c, sercom7, pad3]
383      - [d, sercom6, pad3]
384      - [f, tcc0, wo4]
385  pd12:
386    pincodes: [p]
387    periph:
388      - [a, eic, extint7]
389      - [f, tcc0, wo5]
390  pc10:
391    pincodes: [n, p]
392    periph:
393      - [a, eic, extint10]
394      - [c, sercom6, pad2]
395      - [d, sercom7, pad2]
396      - [f, tcc0, wo0]
397      - [g, tcc1, wo4]
398  pc11:
399    pincodes: [n, p]
400    periph:
401      - [a, eic, extint11]
402      - [c, sercom6, pad3]
403      - [d, sercom7, pad3]
404      - [f, tcc0, wo1]
405      - [g, tcc1, wo5]
406      - [l, gmac, gmdc, [d51, e51]]
407  pc12:
408    pincodes: [n, p]
409    periph:
410      - [a, eic, extint12]
411      - [c, sercom7, pad0]
412      - [d, sercom6, pad1]
413      - [f, tcc0, wo2]
414      - [g, tcc1, wo6]
415      - [k, pcc, data10]
416      - [l, gmac, gmdio, [d51, e51]]
417  pc13:
418    pincodes: [n, p]
419    periph:
420      - [a, eic, extint13]
421      - [c, sercom7, pad1]
422      - [d, sercom6, pad0]
423      - [f, tcc0, wo3]
424      - [g, tcc1, wo7]
425      - [k, pcc, data11]
426  pc14:
427    pincodes: [n, p]
428    periph:
429      - [a, eic, extint14]
430      - [c, sercom7, pad2]
431      - [d, sercom6, pad2]
432      - [f, tcc0, wo4]
433      - [g, tcc1, wo0]
434      - [k, pcc, data12]
435      - [l, gmac, grx3, [d51, e51]]
436  pc15:
437    pincodes: [n, p]
438    periph:
439      - [a, eic, extint15]
440      - [c, sercom7, pad3]
441      - [d, sercom6, pad3]
442      - [f, tcc0, wo5]
443      - [g, tcc1, wo1]
444      - [k, pcc, data13]
445      - [l, gmac, grx2, [d51, e51]]
446  pa12:
447    pincodes: [g, j, n, p]
448    periph:
449      - [a, eic, extint12]
450      - [c, sercom2, pad0]
451      - [d, sercom4, pad1]
452      - [e, tc2, wo0]
453      - [f, tcc0, wo6]
454      - [g, tcc1, wo2]
455      - [i, sdhc0, cd]
456      - [k, pcc, den1]
457      - [l, gmac, grx1, [d51, e51]]
458      - [m, ac, cmp0]
459  pa13:
460    pincodes: [g, j, n, p]
461    periph:
462      - [a, eic, extint13]
463      - [c, sercom2, pad1]
464      - [d, sercom4, pad0]
465      - [e, tc2, wo1]
466      - [f, tcc0, wo7]
467      - [g, tcc1, wo3]
468      - [i, sdhc0, wp]
469      - [k, pcc, den2]
470      - [l, gmac, grx0, [d51, e51]]
471      - [m, ac, cmp1]
472  pa14:
473    pincodes: [g, j, n, p]
474    periph:
475      - [a, eic, extint14]
476      - [c, sercom2, pad2]
477      - [d, sercom4, pad2]
478      - [e, tc3, wo0]
479      - [f, tcc2, wo0]
480      - [g, tcc1, wo2]
481      - [k, pcc, clk]
482      - [l, gmac, gtxck, [d51, e51]]
483      - [m, glkc, io0]
484  pa15:
485    pincodes: [g, j, n, p]
486    periph:
487      - [a, eic, extint15]
488      - [c, sercom2, pad3]
489      - [d, sercom4, pad3]
490      - [e, tc3, wo1]
491      - [f, tcc2, wo1]
492      - [g, tcc1, wo3]
493      - [l, gmac, grxer, [d51, e51]]
494      - [m, glkc, io1]
495  pa16:
496    pincodes: [g, j, n, p]
497    periph:
498      - [a, eic, extint0]
499      - [b, ptc, xy10]
500      - [c, sercom1, pad0]
501      - [d, sercom3, pad1]
502      - [e, tc2, wo0]
503      - [f, tcc1, wo0]
504      - [g, tcc0, wo4]
505      - [k, pcc, data0]
506      - [l, gmac, gcrs_grxdv, [d51, e51]]
507      - [m, gclk, io2]
508      - [n, ccl, in0]
509  pa17:
510    pincodes: [g, j, n, p]
511    periph:
512      - [a, eic, extint1]
513      - [b, ptc, xy11]
514      - [c, sercom1, pad1]
515      - [d, sercom3, pad0]
516      - [e, tc2, wo1]
517      - [f, tcc1, wo1]
518      - [g, tcc0, wo5]
519      - [k, pcc, data1]
520      - [l, gmac, gtxen, [d51, e51]]
521      - [m, gclk, io3]
522      - [n, ccl, in1]
523  pa18:
524    pincodes: [g, j, n, p]
525    periph:
526      - [a, eic, extint2]
527      - [b, ptc, xy12]
528      - [c, sercom1, pad2]
529      - [d, sercom3, pad2]
530      - [e, tc3, wo0]
531      - [f, tcc1, wo2]
532      - [g, tcc0, wo6]
533      - [k, pcc, data2]
534      - [l, gmac, gtx0, [d51, e51]]
535      - [m, ac, cmp0]
536      - [n, ccl, in2]
537  pa19:
538    pincodes: [g, j, n, p]
539    periph:
540      - [a, eic, extint3]
541      - [b, ptc, xy13]
542      - [c, sercom1, pad3]
543      - [d, sercom3, pad3]
544      - [e, tc3, wo1]
545      - [f, tcc1, wo3]
546      - [g, tcc0, wo7]
547      - [k, pcc, data3]
548      - [l, gmac, gtx1, [d51, e51]]
549      - [m, ac, cmp1]
550      - [n, ccl, out0]
551  pc16:
552    pincodes: [n, p]
553    periph:
554      - [a, eic, extint0]
555      - [c, sercom6, pad0]
556      - [d, sercom0, pad1]
557      - [f, tcc0, wo0]
558      - [g, pdec, qdi0]
559      - [l, gmac, gtx2, [d51, e51]]
560  pc17:
561    pincodes: [n, p]
562    periph:
563      - [a, eic, extint1]
564      - [c, sercom6, pad1]
565      - [d, sercom0, pad0]
566      - [f, tcc0, wo1]
567      - [g, pdec, qdi1]
568      - [l, gmac, gtx3, [d51, e51]]
569  pc18:
570    pincodes: [n, p]
571    periph:
572      - [a, eic, extint2]
573      - [c, sercom6, pad2]
574      - [d, sercom0, pad2]
575      - [f, tcc0, wo2]
576      - [g, pdec, qdi2]
577      - [l, gmac, grxck, [d51, e51]]
578  pc19:
579    pincodes: [n, p]
580    periph:
581      - [a, eic, extint3]
582      - [c, sercom6, pad3]
583      - [d, sercom0, pad3]
584      - [f, tcc0, wo3]
585      - [l, gmac, gtxer, [d51, e51]]
586  pc20:
587    pincodes: [n, p]
588    periph:
589      - [a, eic, extint4]
590      - [f, tcc0, wo4]
591      - [i, sdhc1, cd]
592      - [l, gmac, grxdv, [d51, e51]]
593      - [n, ccl, in9]
594  pc21:
595    pincodes: [n, p]
596    periph:
597      - [a, eic, extint5]
598      - [f, tcc0, wo5]
599      - [i, sdhc1, wp]
600      - [l, gmac, gcol, [d51, e51]]
601      - [n, ccl, in10]
602  pc22:
603    pincodes: [p]
604    periph:
605      - [a, eic, extint6]
606      - [c, sercom1, pad0]
607      - [d, sercom3, pad1]
608      - [f, tcc0, wo6]
609      - [l, gmac, gmdc, [d51, e51]]
610  pc23:
611    pincodes: [p]
612    periph:
613      - [a, eic, extint7]
614      - [c, sercom1, pad1]
615      - [d, sercom3, pad0]
616      - [f, tcc0, wo7]
617      - [l, gmac, gmdio, [d51, e51]]
618  pd20:
619    pincodes: [p]
620    periph:
621      - [a, eic, extint10]
622      - [c, sercom1, pad2]
623      - [d, sercom3, pad2]
624      - [f, tcc1, wo0]
625      - [i, sdhc1, cd]
626  pd21:
627    pincodes: [p]
628    periph:
629      - [a, eic, extint11]
630      - [c, sercom1, pad3]
631      - [d, sercom3, pad3]
632      - [f, tcc1, wo1]
633      - [i, sdhc1, wp]
634  pb16:
635    pincodes: [j, n, p]
636    periph:
637      - [a, eic, extint0]
638      - [c, sercom5, pad0]
639      - [e, tc6, wo0]
640      - [f, tcc3, wo0]
641      - [g, tcc0, wo4]
642      - [i, sdhc1, cd]
643      - [j, iis, sck0]
644      - [m, gclk, io2]
645      - [n, ccl, in11]
646  pb17:
647    pincodes: [j, n, p]
648    periph:
649      - [a, eic, extint1]
650      - [c, sercom5, pad1]
651      - [e, tc6, wo1]
652      - [f, tcc3, wo1]
653      - [g, tcc0, wo5]
654      - [i, sdhc1, wp]
655      - [j, iis, mck0]
656      - [m, gclk, io3]
657      - [n, ccl, out3]
658  pb18:
659    pincodes: [n, p]
660    periph:
661      - [a, eic, extint2]
662      - [c, sercom5, pad2]
663      - [d, sercom7, pad2]
664      - [f, tcc1, wo0]
665      - [g, pdec, qdi0]
666      - [i, sdhc1, dat0]
667      - [m, gclk, io4]
668  pb19:
669    pincodes: [n, p]
670    periph:
671      - [a, eic, extint3]
672      - [c, sercom5, pad3]
673      - [d, sercom7, pad3]
674      - [f, tcc1, wo1]
675      - [g, pdec, qdi1]
676      - [i, sdhc1, dat1]
677      - [m, gclk, io5]
678  pb20:
679    pincodes: [n, p]
680    periph:
681      - [a, eic, extint4]
682      - [c, sercom3, pad0]
683      - [d, sercom7, pad1]
684      - [f, tcc1, wo2]
685      - [g, pdec, qdi2]
686      - [i, sdhc1, dat2]
687      - [m, gclk, io6]
688  pb21:
689    pincodes: [n, p]
690    periph:
691      - [a, eic, extint5]
692      - [c, sercom3, pad1]
693      - [d, sercom7, pad0]
694      - [f, tcc1, wo3]
695      - [i, sdhc1, dat3]
696      - [m, gclk, io7]
697  pa20:
698    pincodes: [g, j, n, p]
699    periph:
700      - [a, eic, extint4]
701      - [b, ptc, xy14]
702      - [c, sercom5, pad2]
703      - [d, sercom3, pad2]
704      - [e, tc7, wo0]
705      - [f, tcc1, wo4]
706      - [g, tcc0, wo0]
707      - [i, sdhc1, cmd]
708      - [j, iis, fs0]
709      - [k, pcc, data4]
710      - [l, gmac, gmdc, [d51, e51]]
711  pa21:
712    pincodes: [g, j, n, p]
713    periph:
714      - [a, eic, extint5]
715      - [b, ptc, xy15]
716      - [c, sercom5, pad3]
717      - [d, sercom3, pad3]
718      - [e, tc7, wo1]
719      - [f, tcc1, wo5]
720      - [g, tcc0, wo1]
721      - [i, sdhc1, ck]
722      - [j, iis, sdo]
723      - [k, pcc, data5]
724      - [l, gmac, gmdio, [d51, e51]]
725  pa22:
726    pincodes: [g, j, n, p]
727    periph:
728      - [a, eic, extint6]
729      - [b, ptc, xy16]
730      - [c, sercom3, pad0]
731      - [d, sercom5, pad1]
732      - [e, tc4, wo0]
733      - [f, tcc1, wo6]
734      - [g, tcc0, wo2]
735      - [i, can0, tx, [d51, e53]]
736      - [j, iis, sdi]
737      - [k, pcc, data6]
738      - [n, ccl, in6]
739  pa23:
740    pincodes: [g, j, n, p]
741    periph:
742      - [a, eic, extint7]
743      - [b, ptc, xy17]
744      - [c, sercom3, pad1]
745      - [d, sercom5, pad0]
746      - [e, tc4, wo1]
747      - [f, tcc1, wo7]
748      - [g, tcc0, wo3]
749      - [h, usb, sof]
750      - [i, can0, rx, [d51, e53]]
751      - [j, iis, fs1]
752      - [k, pcc, data7]
753      - [n, ccl, in7]
754  pa24:
755    pincodes: [g, j, n, p]
756    periph:
757      - [a, eic, extint8]
758      - [c, sercom3, pad2]
759      - [d, sercom5, pad2]
760      - [e, tc5, wo0]
761      - [f, tcc2, wo2]
762      - [g, pdec, qdi0]
763      - [h, usb, dm]
764      - [i, can0, tx, [d51, e53]]
765      - [n, ccl, in8]
766  pa25:
767    pincodes: [g, j, n, p]
768    periph:
769      - [a, eic, extint9]
770      - [c, sercom3, pad3]
771      - [d, sercom5, pad3]
772      - [e, tc5, wo1]
773      - [g, pdec, qdi1]
774      - [h, usb, dp]
775      - [i, can0, rx, [d51, e53]]
776      - [n, ccl, out2]
777  pb22:
778    pincodes: [g, j, n, p]
779    periph:
780      - [a, eic, extint6]
781      - [c, sercom1, pad2]
782      - [d, sercom5, pad2]
783      - [e, tc7, wo0]
784      - [g, pdec, qdi2]
785      - [h, usb, sof]
786      - [m, gclk, io0]
787      - [n, ccl, in0]
788  pb23:
789    pincodes: [g, j, n, p]
790    periph:
791      - [a, eic, extint7]
792      - [c, sercom1, pad3]
793      - [d, sercom5, pad3]
794      - [e, tc7, wo1]
795      - [g, pdec, qdi0]
796      - [m, gclk, io1]
797      - [n, ccl, out0]
798  pb24:
799    pincodes: [n, p]
800    periph:
801      - [a, eic, extint8]
802      - [c, sercom0, pad0]
803      - [d, sercom2, pad1]
804      - [g, pdec, qdi1]
805      - [m, ac, cmp0]
806  pb25:
807    pincodes: [n, p]
808    periph:
809      - [a, eic, extint9]
810      - [c, sercom0, pad1]
811      - [d, sercom2, pad0]
812      - [g, pdec, qdi2]
813      - [m, ac, cmp1]
814  pb26:
815    pincodes: [p]
816    periph:
817      - [a, eic, extint12]
818      - [c, sercom2, pad0]
819      - [d, sercom4, pad1]
820      - [f, tcc1, wo2]
821  pb27:
822    pincodes: [p]
823    periph:
824      - [a, eic, extint13]
825      - [c, sercom2, pad1]
826      - [d, sercom4, pad0]
827      - [f, tcc1, wo3]
828  pb28:
829    pincodes: [p]
830    periph:
831      - [a, eic, extint14]
832      - [c, sercom2, pad2]
833      - [d, sercom4, pad2]
834      - [f, tcc1, wo4]
835      - [j, iis, sck1]
836  pb29:
837    pincodes: [p]
838    periph:
839      - [a, eic, extint15]
840      - [c, sercom2, pad3]
841      - [d, sercom4, pad3]
842      - [f, tcc1, wo5]
843      - [j, iis, mck1]
844  pc24:
845    pincodes: [n, p]
846    periph:
847      - [a, eic, extint8]
848      - [c, sercom0, pad2]
849      - [d, sercom2, pad2]
850      - [h, trace, data3]
851  pc25:
852    pincodes: [n, p]
853    periph:
854      - [a, eic, extint9]
855      - [c, sercom0, pad3]
856      - [d, sercom2, pad3]
857      - [h, trace, data2]
858  pc26:
859    pincodes: [n, p]
860    periph:
861      - [a, eic, extint10]
862      - [h, trace, data1]
863  pc27:
864    pincodes: [n, p]
865    periph:
866      - [a, eic, extint11]
867      - [c, sercom1, pad0]
868      - [h, trace, clk]
869      - [m, swd, swo]
870      - [n, ccl, in4]
871  pc28:
872    pincodes: [n, p]
873    periph:
874      - [a, eic, extint12]
875      - [c, sercom1, pad1]
876      - [h, trace, data0]
877      - [n, ccl, in5]
878  pa27:
879    pincodes: [g, j, n, p]
880    periph:
881      - [a, eic, extint11]
882      - [b, ptc, xy18]
883      - [m, gclk, io1]
884  pa30:
885    pincodes: [g, j, n, p]
886    periph:
887      - [a, eic, extint14]
888      - [b, ptc, xy19]
889      - [d, sercom1, pad2]
890      - [e, tc6, wo0]
891      - [f, tcc2, wo0]
892      - [h, swd, clk]
893      - [m, gclk, io0]
894      - [n, ccl, in3]
895  pa31:
896    pincodes: [g, j, n, p]
897    periph:
898      - [a, eic, extint15]
899      - [d, sercom1, pad3]
900      - [e, tc6, wo1]
901      - [f, tcc2, wo1]
902      - [h, swd, io]
903      - [n, ccl, out1]
904  pb30:
905    pincodes: [j, n, p]
906    periph:
907      - [a, eic, extint14]
908      - [d, sercom5, pad1]
909      - [e, tc0, wo0]
910      - [f, tcc4, wo0]
911      - [g, tcc0, wo6]
912      - [h, swd, swo]
913  pb31:
914    pincodes: [j, n, p]
915    periph:
916      - [a, eic, extint15]
917      - [d, sercom5, pad0]
918      - [e, tc0, wo1]
919      - [f, tcc4, wo1]
920      - [g, tcc0, wo7]
921  pc30:
922    pincodes: [p]
923    periph:
924      - [a, eic, extint14]
925      - [b, adc1, ain12]
926  pc31:
927    pincodes: [p]
928    periph:
929      - [a, eic, extint15]
930      - [b, adc1, ain13]
931  pb00:
932    pincodes: [j, n, p]
933    periph:
934      - [a, eic, extint0]
935      - [b, adc0, ain12]
936      - [b, ptc, xy30]
937      - [d, sercom5, pad2]
938      - [e, tc7, wo0]
939      - [n, ccl, in1]
940  pb01:
941    pincodes: [j, n, p]
942    periph:
943      - [a, eic, extint1]
944      - [b, adc0, ain13]
945      - [b, ptc, xy31]
946      - [d, sercom5, pad3]
947      - [e, tc7, wo1]
948      - [n, ccl, in2]
949  pb02:
950    pincodes: [g, j, n, p]
951    periph:
952      - [a, eic, extint2]
953      - [b, adc0, ain14]
954      - [b, ptc, xy20]
955      - [d, sercom5, pad0]
956      - [e, tc6, wo0]
957      - [f, tcc2, wo2]
958      - [n, ccl, out0]
959