2 auto-generated by [[pinouts.py]]
7 ## Bank N (32 pins, width 4)
9 | Pin | Mux0 | Mux1 | Mux2 | Mux3 |
10 | --- | ----------- | ----------- | ----------- | ----------- |
11 | 0 | N GPION_N0 | N RG0_ERXD0 | | |
12 | 1 | N GPION_N1 | N RG0_ERXD1 | | |
13 | 2 | N GPION_N2 | N RG0_ERXD2 | | |
14 | 3 | N GPION_N3 | N RG0_ERXD3 | | |
15 | 4 | N VSSE_6 | | | |
16 | 5 | N VDDE_6 | | | |
17 | 6 | N VDDI_6 | | | |
18 | 7 | N VSSI_6 | | | |
19 | 8 | N GPION_N4 | N RG0_ETXD0 | | |
20 | 9 | N GPION_N5 | N RG0_ETXD1 | | |
21 | 10 | N GPION_N6 | N RG0_ETXD2 | | |
22 | 11 | N GPION_N7 | N RG0_ETXD3 | | |
23 | 12 | N GPION_N8 | N RG0_ERXCK | | |
24 | 13 | N GPION_N9 | N RG0_ERXERR | | |
25 | 14 | N GPION_N10 | N RG0_ERXDV | | |
26 | 15 | N GPION_N11 | N RG0_EMDC | | |
27 | 16 | N GPION_N12 | N RG0_EMDIO | | |
28 | 17 | N GPION_N13 | N RG0_ETXEN | | |
29 | 18 | N GPION_N14 | N RG0_ETXCK | | |
30 | 19 | N GPION_N15 | N RG0_ECRS | | |
31 | 20 | N GPION_N16 | N RG0_ECOL | | |
32 | 21 | N GPION_N17 | N RG0_ETXERR | | |
33 | 23 | N VSSI_7 | | | |
34 | 24 | N VDDI_7 | | | |
35 | 25 | N VSSE_7 | | | |
36 | 26 | N VDDE_7 | | | |
37 | 27 | N SYS_RST | | | |
38 | 28 | N SYS_PLLCLK | | | |
39 | 29 | N SYS_PLLSELA0 | | | |
40 | 30 | N SYS_PLLSELA1 | | | |
41 | 31 | N SYS_PLLTESTOUT | | | |
43 ## Bank E (32 pins, width 4)
45 | Pin | Mux0 | Mux1 | Mux2 | Mux3 |
46 | --- | ----------- | ----------- | ----------- | ----------- |
47 | 32 | E GPIOE_E0 | E RG1_ERXD0 | | |
48 | 33 | E GPIOE_E1 | E RG1_ERXD1 | | |
49 | 34 | E GPIOE_E2 | E RG1_ERXD2 | | |
50 | 35 | E GPIOE_E3 | E RG1_ERXD3 | | |
51 | 36 | E VSSE_4 | | | |
52 | 37 | E VDDE_4 | | | |
53 | 38 | E VDDI_4 | | | |
54 | 39 | E VSSI_4 | | | |
55 | 40 | E GPIOE_E6 | E RG1_ETXD0 | | |
56 | 41 | E GPIOE_E7 | E RG1_ETXD1 | | |
57 | 42 | E GPIOE_E8 | E RG1_ETXD2 | | |
58 | 43 | E GPIOE_E9 | E RG1_ETXD3 | | |
59 | 44 | E GPIOE_E10 | E RG1_ERXCK | | |
60 | 45 | E GPIOE_E11 | E RG1_ERXERR | | |
61 | 46 | E GPIOE_E12 | E RG1_ERXDV | | |
62 | 47 | E GPIOE_E13 | E RG1_EMDC | | |
63 | 48 | E GPIOE_E14 | E RG1_EMDIO | | |
64 | 49 | E GPIOE_E15 | E RG1_ETXEN | | |
65 | 50 | E JTAG_TMS | | | |
66 | 51 | E JTAG_TDI | | | |
67 | 52 | E JTAG_TDO | | | |
68 | 53 | E JTAG_TCK | | | |
69 | 54 | E VSSI_5 | | | |
70 | 55 | E VDDI_5 | | | |
71 | 56 | E VSSE_5 | | | |
72 | 57 | E VDDE_5 | | | |
73 | 58 | E GPIOE_E16 | E RG1_ETXCK | | |
74 | 59 | E GPIOE_E17 | E RG1_ECRS | | |
75 | 60 | E GPIOE_E18 | E RG1_ECOL | E EINT_0 | |
76 | 61 | E GPIOE_E19 | E RG1_ETXERR | E EINT_1 | |
77 | 62 | E GPIOE_E20 | | E EINT_2 | |
78 | 63 | E SYS_PLLVCOUT | | | |
80 ## Bank S (32 pins, width 4)
82 | Pin | Mux0 | Mux1 | Mux2 | Mux3 |
83 | --- | ----------- | ----------- | ----------- | ----------- |
84 | 64 | S GPIOS_S0 | S SDR_AD10 | | |
85 | 65 | S GPIOS_S1 | S SDR_AD11 | | |
86 | 66 | S GPIOS_S2 | S SDR_AD12 | | |
87 | 67 | S GPIOS_S3 | S SDR_DQM1 | | |
88 | 68 | S VDDE_2 | | | |
89 | 69 | S VSSE_2 | | | |
90 | 70 | S VDDI_2 | | | |
91 | 71 | S VSSI_2 | | | |
92 | 72 | S GPIOS_S4 | S SDR_D8 | | |
93 | 73 | S GPIOS_S5 | S SDR_D9 | | |
94 | 74 | S GPIOS_S6 | S SDR_D10 | | |
95 | 75 | S GPIOS_S7 | S SDR_D11 | | |
96 | 76 | S GPIOS_S8 | S SDR_D12 | | |
97 | 77 | S GPIOS_S9 | S SDR_D13 | | |
98 | 78 | S GPIOS_S10 | S SDR_D14 | | |
99 | 79 | S GPIOS_S11 | S SDR_D15 | | |
100 | 80 | S GPIOS_S12 | S SDR_CLK | | |
101 | 81 | S GPIOS_S13 | S SDR_CKE | | |
102 | 82 | S GPIOS_S14 | S SDR_RASn | | |
103 | 83 | S GPIOS_S15 | S SDR_CASn | | |
104 | 84 | S GPIOS_S16 | S SDR_WEn | | |
105 | 85 | S GPIOS_S17 | S SDR_CSn0 | | |
106 | 86 | S VSSI_3 | | | |
107 | 87 | S VDDI_3 | | | |
108 | 88 | S VSSE_3 | | | |
109 | 89 | S VDDE_3 | | | |
110 | 90 | S GPIOS_S18 | S UART0_TX | | |
111 | 91 | S GPIOS_S19 | S UART0_RX | | |
112 | 92 | S GPIOS_S20 | S MSPI0_CK | | |
113 | 93 | S GPIOS_S21 | S MSPI0_NSS | | |
114 | 94 | S GPIOS_S22 | S MSPI0_MOSI | | |
115 | 95 | S GPIOS_S23 | S MSPI0_MISO | | |
117 ## Bank W (32 pins, width 4)
119 | Pin | Mux0 | Mux1 | Mux2 | Mux3 |
120 | --- | ----------- | ----------- | ----------- | ----------- |
121 | 96 | W GPIOW_W0 | W SDR_AD9 | | |
122 | 97 | W GPIOW_W1 | W SDR_AD8 | | |
123 | 98 | W GPIOW_W2 | W SDR_AD7 | | |
124 | 99 | W GPIOW_W3 | W SDR_AD6 | | |
125 | 100 | W GPIOW_W4 | W SDR_AD5 | | |
126 | 101 | W GPIOW_W5 | W SDR_AD4 | | |
127 | 102 | W VDDE_0 | | | |
128 | 103 | W VSSE_0 | | | |
129 | 104 | W VDDI_0 | | | |
130 | 105 | W VSSI_0 | | | |
131 | 106 | W GPIOW_W6 | W SDR_AD3 | | |
132 | 107 | W GPIOW_W7 | W SDR_AD2 | | |
133 | 108 | W GPIOW_W8 | W SDR_AD1 | | |
134 | 109 | W GPIOW_W9 | W SDR_AD0 | | |
135 | 110 | W GPIOW_W10 | W SDR_BA1 | | |
136 | 111 | W GPIOW_W11 | W SDR_BA0 | | |
137 | 112 | W GPIOW_W12 | W SDR_D7 | | |
138 | 113 | W GPIOW_W13 | W SDR_D6 | | |
139 | 114 | W GPIOW_W14 | W SDR_D5 | | |
140 | 115 | W GPIOW_W15 | W SDR_D4 | | |
141 | 116 | W GPIOW_W16 | W SDR_D3 | | |
142 | 117 | W GPIOW_W17 | W SDR_D2 | | |
143 | 118 | W GPIOW_W18 | W SDR_D1 | | |
144 | 119 | W GPIOW_W19 | W SDR_D0 | | |
145 | 120 | W GPIOW_W20 | W SDR_DQM0 | | |
146 | 121 | W VSSI_1 | | | |
147 | 122 | W VDDI_1 | | | |
148 | 123 | W VSSE_1 | | | |
149 | 124 | W VDDE_1 | | | |
150 | 125 | W GPIOW_W21 | | | |
151 | 126 | W GPIOW_W22 | W MTWI_SDA | | |
152 | 127 | W GPIOW_W23 | W MTWI_SCL | | |
154 # Pinouts (Fixed function)
158 auto-generated by [[pinouts.py]]
269 SPI Master 1 (general)
355 * SYS_PLLSELA0 : N29/0
356 * SYS_PLLSELA1 : N30/0
357 * SYS_PLLTESTOUT : N31/0
358 * SYS_PLLVCOUT : E31/0
410 # Pinmap for Libre-SOC 2 (NGI Router) 180nm
462 * SYS_PLLCLK 28 N28/0
463 * SYS_PLLSELA0 29 N29/0
464 * SYS_PLLSELA1 30 N30/0
465 * SYS_PLLTESTOUT 31 N31/0
466 * SYS_PLLVCOUT 63 E31/0
480 * MSPI0_MOSI 94 S30/1
481 * MSPI0_MISO 95 S31/1
496 * RG0_ERXERR 13 N13/1
504 * RG0_ETXERR 21 N21/1
519 * RG1_ERXERR 45 E13/1
571 ## Unused Pinouts (spare as GPIO) for 'Libre-SOC 2 (NGI Router) 180nm'
573 | Pin | Mux0 | Mux1 | Mux2 | Mux3 |
574 | --- | ----------- | ----------- | ----------- | ----------- |
575 | 68 | S VDDE_2 | | | |
576 | 69 | S VSSE_2 | | | |
577 | 70 | S VDDI_2 | | | |
578 | 71 | S VSSI_2 | | | |
579 | 86 | S VSSI_3 | | | |
580 | 87 | S VDDI_3 | | | |
581 | 88 | S VSSE_3 | | | |
582 | 89 | S VDDE_3 | | | |
583 | 102 | W VDDE_0 | | | |
584 | 103 | W VSSE_0 | | | |
585 | 104 | W VDDI_0 | | | |
586 | 105 | W VSSI_0 | | | |
587 | 121 | W VSSI_1 | | | |
588 | 122 | W VDDI_1 | | | |
589 | 123 | W VSSE_1 | | | |
590 | 124 | W VDDE_1 | | | |
591 | 125 | W GPIOW_W21 | | | |
593 # Reference Datasheets
595 datasheets and pinout links
596 * <https://ftp.libre-soc.org/STULPI01BTBR.en.CD00201527.pdf>
597 * <https://ftp.libre-soc.org/3300db.pdf>
598 * <https://ftp.libre-soc.org/1912111437_Realtek-Semicon-RTL8211F-CG_C187932.pdf>
600 * <http://datasheets.chipdb.org/AMD/8018x/80186/amd-80186.pdf>
601 * <http://hands.com/~lkcl/eoma/shenzen/frida/FRD144A2701.pdf>
602 * <http://pinouts.ru/Memory/sdcard_pinout.shtml>
603 * p8 <http://www.onfi.org/~/media/onfi/specs/onfi_2_0_gold.pdf?la=en>
604 * <https://www.heyrick.co.uk/blog/files/datasheets/dm9000aep.pdf>
605 * <http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4393.pdf>
606 * <https://www.nxp.com/docs/en/data-sheet/MCF54418.pdf>
607 * ULPI OTG PHY, ST <http://www.st.com/en/interfaces-and-transceivers/stulpi01a.html>
608 * ULPI OTG PHY, TI TUSB1210 <http://ti.com/product/TUSB1210/>
610 # Pin Bank starting points and lengths