1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (C) STMicroelectronics 2017
4  * Author:  Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
5  */
6 #include <linux/init.h>
7 #include <linux/of.h>
8 #include <linux/platform_device.h>
9 
10 #include "pinctrl-stm32.h"
11 
12 static const struct stm32_desc_pin stm32f469_pins[] = {
13 	STM32_PIN(
14 		PINCTRL_PIN(0, "PA0"),
15 		STM32_FUNCTION(0, "GPIOA0"),
16 		STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
17 		STM32_FUNCTION(3, "TIM5_CH1"),
18 		STM32_FUNCTION(4, "TIM8_ETR"),
19 		STM32_FUNCTION(8, "USART2_CTS"),
20 		STM32_FUNCTION(9, "UART4_TX"),
21 		STM32_FUNCTION(12, "ETH_MII_CRS"),
22 		STM32_FUNCTION(16, "EVENTOUT"),
23 		STM32_FUNCTION(17, "ANALOG")
24 	),
25 	STM32_PIN(
26 		PINCTRL_PIN(1, "PA1"),
27 		STM32_FUNCTION(0, "GPIOA1"),
28 		STM32_FUNCTION(2, "TIM2_CH2"),
29 		STM32_FUNCTION(3, "TIM5_CH2"),
30 		STM32_FUNCTION(8, "USART2_RTS"),
31 		STM32_FUNCTION(9, "UART4_RX"),
32 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
33 		STM32_FUNCTION(12, "ETH_MII_RX_CLK ETH_RMII_REF_CLK"),
34 		STM32_FUNCTION(15, "LCD_R2"),
35 		STM32_FUNCTION(16, "EVENTOUT"),
36 		STM32_FUNCTION(17, "ANALOG")
37 	),
38 	STM32_PIN(
39 		PINCTRL_PIN(2, "PA2"),
40 		STM32_FUNCTION(0, "GPIOA2"),
41 		STM32_FUNCTION(2, "TIM2_CH3"),
42 		STM32_FUNCTION(3, "TIM5_CH3"),
43 		STM32_FUNCTION(4, "TIM9_CH1"),
44 		STM32_FUNCTION(8, "USART2_TX"),
45 		STM32_FUNCTION(12, "ETH_MDIO"),
46 		STM32_FUNCTION(15, "LCD_R1"),
47 		STM32_FUNCTION(16, "EVENTOUT"),
48 		STM32_FUNCTION(17, "ANALOG")
49 	),
50 	STM32_PIN(
51 		PINCTRL_PIN(3, "PA3"),
52 		STM32_FUNCTION(0, "GPIOA3"),
53 		STM32_FUNCTION(2, "TIM2_CH4"),
54 		STM32_FUNCTION(3, "TIM5_CH4"),
55 		STM32_FUNCTION(4, "TIM9_CH2"),
56 		STM32_FUNCTION(8, "USART2_RX"),
57 		STM32_FUNCTION(10, "LCD_B2"),
58 		STM32_FUNCTION(11, "OTG_HS_ULPI_D0"),
59 		STM32_FUNCTION(12, "ETH_MII_COL"),
60 		STM32_FUNCTION(15, "LCD_B5"),
61 		STM32_FUNCTION(16, "EVENTOUT"),
62 		STM32_FUNCTION(17, "ANALOG")
63 	),
64 	STM32_PIN(
65 		PINCTRL_PIN(4, "PA4"),
66 		STM32_FUNCTION(0, "GPIOA4"),
67 		STM32_FUNCTION(6, "SPI1_NSS"),
68 		STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
69 		STM32_FUNCTION(8, "USART2_CK"),
70 		STM32_FUNCTION(13, "OTG_HS_SOF"),
71 		STM32_FUNCTION(14, "DCMI_HSYNC"),
72 		STM32_FUNCTION(15, "LCD_VSYNC"),
73 		STM32_FUNCTION(16, "EVENTOUT"),
74 		STM32_FUNCTION(17, "ANALOG")
75 	),
76 	STM32_PIN(
77 		PINCTRL_PIN(5, "PA5"),
78 		STM32_FUNCTION(0, "GPIOA5"),
79 		STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
80 		STM32_FUNCTION(4, "TIM8_CH1N"),
81 		STM32_FUNCTION(6, "SPI1_SCK"),
82 		STM32_FUNCTION(11, "OTG_HS_ULPI_CK"),
83 		STM32_FUNCTION(15, "LCD_R4"),
84 		STM32_FUNCTION(16, "EVENTOUT"),
85 		STM32_FUNCTION(17, "ANALOG")
86 	),
87 	STM32_PIN(
88 		PINCTRL_PIN(6, "PA6"),
89 		STM32_FUNCTION(0, "GPIOA6"),
90 		STM32_FUNCTION(2, "TIM1_BKIN"),
91 		STM32_FUNCTION(3, "TIM3_CH1"),
92 		STM32_FUNCTION(4, "TIM8_BKIN"),
93 		STM32_FUNCTION(6, "SPI1_MISO"),
94 		STM32_FUNCTION(10, "TIM13_CH1"),
95 		STM32_FUNCTION(14, "DCMI_PIXCLK"),
96 		STM32_FUNCTION(15, "LCD_G2"),
97 		STM32_FUNCTION(16, "EVENTOUT"),
98 		STM32_FUNCTION(17, "ANALOG")
99 	),
100 	STM32_PIN(
101 		PINCTRL_PIN(7, "PA7"),
102 		STM32_FUNCTION(0, "GPIOA7"),
103 		STM32_FUNCTION(2, "TIM1_CH1N"),
104 		STM32_FUNCTION(3, "TIM3_CH2"),
105 		STM32_FUNCTION(4, "TIM8_CH1N"),
106 		STM32_FUNCTION(6, "SPI1_MOSI"),
107 		STM32_FUNCTION(10, "TIM14_CH1"),
108 		STM32_FUNCTION(11, "QUADSPI_CLK"),
109 		STM32_FUNCTION(12, "ETH_MII_RX_DV ETH_RMII_CRS_DV"),
110 		STM32_FUNCTION(13, "FMC_SDNWE"),
111 		STM32_FUNCTION(16, "EVENTOUT"),
112 		STM32_FUNCTION(17, "ANALOG")
113 	),
114 	STM32_PIN(
115 		PINCTRL_PIN(8, "PA8"),
116 		STM32_FUNCTION(0, "GPIOA8"),
117 		STM32_FUNCTION(1, "MCO1"),
118 		STM32_FUNCTION(2, "TIM1_CH1"),
119 		STM32_FUNCTION(5, "I2C3_SCL"),
120 		STM32_FUNCTION(8, "USART1_CK"),
121 		STM32_FUNCTION(11, "OTG_FS_SOF"),
122 		STM32_FUNCTION(15, "LCD_R6"),
123 		STM32_FUNCTION(16, "EVENTOUT"),
124 		STM32_FUNCTION(17, "ANALOG")
125 	),
126 	STM32_PIN(
127 		PINCTRL_PIN(9, "PA9"),
128 		STM32_FUNCTION(0, "GPIOA9"),
129 		STM32_FUNCTION(2, "TIM1_CH2"),
130 		STM32_FUNCTION(5, "I2C3_SMBA"),
131 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
132 		STM32_FUNCTION(8, "USART1_TX"),
133 		STM32_FUNCTION(14, "DCMI_D0"),
134 		STM32_FUNCTION(16, "EVENTOUT"),
135 		STM32_FUNCTION(17, "ANALOG")
136 	),
137 	STM32_PIN(
138 		PINCTRL_PIN(10, "PA10"),
139 		STM32_FUNCTION(0, "GPIOA10"),
140 		STM32_FUNCTION(2, "TIM1_CH3"),
141 		STM32_FUNCTION(8, "USART1_RX"),
142 		STM32_FUNCTION(11, "OTG_FS_ID"),
143 		STM32_FUNCTION(14, "DCMI_D1"),
144 		STM32_FUNCTION(16, "EVENTOUT"),
145 		STM32_FUNCTION(17, "ANALOG")
146 	),
147 	STM32_PIN(
148 		PINCTRL_PIN(11, "PA11"),
149 		STM32_FUNCTION(0, "GPIOA11"),
150 		STM32_FUNCTION(2, "TIM1_CH4"),
151 		STM32_FUNCTION(8, "USART1_CTS"),
152 		STM32_FUNCTION(10, "CAN1_RX"),
153 		STM32_FUNCTION(11, "OTG_FS_DM"),
154 		STM32_FUNCTION(15, "LCD_R4"),
155 		STM32_FUNCTION(16, "EVENTOUT"),
156 		STM32_FUNCTION(17, "ANALOG")
157 	),
158 	STM32_PIN(
159 		PINCTRL_PIN(12, "PA12"),
160 		STM32_FUNCTION(0, "GPIOA12"),
161 		STM32_FUNCTION(2, "TIM1_ETR"),
162 		STM32_FUNCTION(8, "USART1_RTS"),
163 		STM32_FUNCTION(10, "CAN1_TX"),
164 		STM32_FUNCTION(11, "OTG_FS_DP"),
165 		STM32_FUNCTION(15, "LCD_R5"),
166 		STM32_FUNCTION(16, "EVENTOUT"),
167 		STM32_FUNCTION(17, "ANALOG")
168 	),
169 	STM32_PIN(
170 		PINCTRL_PIN(13, "PA13"),
171 		STM32_FUNCTION(0, "GPIOA13"),
172 		STM32_FUNCTION(1, "JTMS SWDIO"),
173 		STM32_FUNCTION(16, "EVENTOUT"),
174 		STM32_FUNCTION(17, "ANALOG")
175 	),
176 	STM32_PIN(
177 		PINCTRL_PIN(14, "PA14"),
178 		STM32_FUNCTION(0, "GPIOA14"),
179 		STM32_FUNCTION(1, "JTCK SWCLK"),
180 		STM32_FUNCTION(16, "EVENTOUT"),
181 		STM32_FUNCTION(17, "ANALOG")
182 	),
183 	STM32_PIN(
184 		PINCTRL_PIN(15, "PA15"),
185 		STM32_FUNCTION(0, "GPIOA15"),
186 		STM32_FUNCTION(1, "JTDI"),
187 		STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
188 		STM32_FUNCTION(6, "SPI1_NSS"),
189 		STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
190 		STM32_FUNCTION(16, "EVENTOUT"),
191 		STM32_FUNCTION(17, "ANALOG")
192 	),
193 	STM32_PIN(
194 		PINCTRL_PIN(16, "PB0"),
195 		STM32_FUNCTION(0, "GPIOB0"),
196 		STM32_FUNCTION(2, "TIM1_CH2N"),
197 		STM32_FUNCTION(3, "TIM3_CH3"),
198 		STM32_FUNCTION(4, "TIM8_CH2N"),
199 		STM32_FUNCTION(10, "LCD_R3"),
200 		STM32_FUNCTION(11, "OTG_HS_ULPI_D1"),
201 		STM32_FUNCTION(12, "ETH_MII_RXD2"),
202 		STM32_FUNCTION(15, "LCD_G1"),
203 		STM32_FUNCTION(16, "EVENTOUT"),
204 		STM32_FUNCTION(17, "ANALOG")
205 	),
206 	STM32_PIN(
207 		PINCTRL_PIN(17, "PB1"),
208 		STM32_FUNCTION(0, "GPIOB1"),
209 		STM32_FUNCTION(2, "TIM1_CH3N"),
210 		STM32_FUNCTION(3, "TIM3_CH4"),
211 		STM32_FUNCTION(4, "TIM8_CH3N"),
212 		STM32_FUNCTION(10, "LCD_R6"),
213 		STM32_FUNCTION(11, "OTG_HS_ULPI_D2"),
214 		STM32_FUNCTION(12, "ETH_MII_RXD3"),
215 		STM32_FUNCTION(15, "LCD_G0"),
216 		STM32_FUNCTION(16, "EVENTOUT"),
217 		STM32_FUNCTION(17, "ANALOG")
218 	),
219 	STM32_PIN(
220 		PINCTRL_PIN(18, "PB2"),
221 		STM32_FUNCTION(0, "GPIOB2"),
222 		STM32_FUNCTION(16, "EVENTOUT"),
223 		STM32_FUNCTION(17, "ANALOG")
224 	),
225 	STM32_PIN(
226 		PINCTRL_PIN(19, "PB3"),
227 		STM32_FUNCTION(0, "GPIOB3"),
228 		STM32_FUNCTION(1, "JTDO TRACESWO"),
229 		STM32_FUNCTION(2, "TIM2_CH2"),
230 		STM32_FUNCTION(6, "SPI1_SCK"),
231 		STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
232 		STM32_FUNCTION(16, "EVENTOUT"),
233 		STM32_FUNCTION(17, "ANALOG")
234 	),
235 	STM32_PIN(
236 		PINCTRL_PIN(20, "PB4"),
237 		STM32_FUNCTION(0, "GPIOB4"),
238 		STM32_FUNCTION(1, "NJTRST"),
239 		STM32_FUNCTION(3, "TIM3_CH1"),
240 		STM32_FUNCTION(6, "SPI1_MISO"),
241 		STM32_FUNCTION(7, "SPI3_MISO"),
242 		STM32_FUNCTION(8, "I2S3EXT_SD"),
243 		STM32_FUNCTION(16, "EVENTOUT"),
244 		STM32_FUNCTION(17, "ANALOG")
245 	),
246 	STM32_PIN(
247 		PINCTRL_PIN(21, "PB5"),
248 		STM32_FUNCTION(0, "GPIOB5"),
249 		STM32_FUNCTION(3, "TIM3_CH2"),
250 		STM32_FUNCTION(5, "I2C1_SMBA"),
251 		STM32_FUNCTION(6, "SPI1_MOSI"),
252 		STM32_FUNCTION(7, "SPI3_MOSI I2S3_SD"),
253 		STM32_FUNCTION(10, "CAN2_RX"),
254 		STM32_FUNCTION(11, "OTG_HS_ULPI_D7"),
255 		STM32_FUNCTION(12, "ETH_PPS_OUT"),
256 		STM32_FUNCTION(13, "FMC_SDCKE1"),
257 		STM32_FUNCTION(14, "DCMI_D10"),
258 		STM32_FUNCTION(15, "LCD_G7"),
259 		STM32_FUNCTION(16, "EVENTOUT"),
260 		STM32_FUNCTION(17, "ANALOG")
261 	),
262 	STM32_PIN(
263 		PINCTRL_PIN(22, "PB6"),
264 		STM32_FUNCTION(0, "GPIOB6"),
265 		STM32_FUNCTION(3, "TIM4_CH1"),
266 		STM32_FUNCTION(5, "I2C1_SCL"),
267 		STM32_FUNCTION(8, "USART1_TX"),
268 		STM32_FUNCTION(10, "CAN2_TX"),
269 		STM32_FUNCTION(11, "QUADSPI_BK1_NCS"),
270 		STM32_FUNCTION(13, "FMC_SDNE1"),
271 		STM32_FUNCTION(14, "DCMI_D5"),
272 		STM32_FUNCTION(16, "EVENTOUT"),
273 		STM32_FUNCTION(17, "ANALOG")
274 	),
275 	STM32_PIN(
276 		PINCTRL_PIN(23, "PB7"),
277 		STM32_FUNCTION(0, "GPIOB7"),
278 		STM32_FUNCTION(3, "TIM4_CH2"),
279 		STM32_FUNCTION(5, "I2C1_SDA"),
280 		STM32_FUNCTION(8, "USART1_RX"),
281 		STM32_FUNCTION(13, "FMC_NL"),
282 		STM32_FUNCTION(14, "DCMI_VSYNC"),
283 		STM32_FUNCTION(16, "EVENTOUT"),
284 		STM32_FUNCTION(17, "ANALOG")
285 	),
286 	STM32_PIN(
287 		PINCTRL_PIN(24, "PB8"),
288 		STM32_FUNCTION(0, "GPIOB8"),
289 		STM32_FUNCTION(3, "TIM4_CH3"),
290 		STM32_FUNCTION(4, "TIM10_CH1"),
291 		STM32_FUNCTION(5, "I2C1_SCL"),
292 		STM32_FUNCTION(10, "CAN1_RX"),
293 		STM32_FUNCTION(12, "ETH_MII_TXD3"),
294 		STM32_FUNCTION(13, "SDIO_D4"),
295 		STM32_FUNCTION(14, "DCMI_D6"),
296 		STM32_FUNCTION(15, "LCD_B6"),
297 		STM32_FUNCTION(16, "EVENTOUT"),
298 		STM32_FUNCTION(17, "ANALOG")
299 	),
300 	STM32_PIN(
301 		PINCTRL_PIN(25, "PB9"),
302 		STM32_FUNCTION(0, "GPIOB9"),
303 		STM32_FUNCTION(3, "TIM4_CH4"),
304 		STM32_FUNCTION(4, "TIM11_CH1"),
305 		STM32_FUNCTION(5, "I2C1_SDA"),
306 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
307 		STM32_FUNCTION(10, "CAN1_TX"),
308 		STM32_FUNCTION(13, "SDIO_D5"),
309 		STM32_FUNCTION(14, "DCMI_D7"),
310 		STM32_FUNCTION(15, "LCD_B7"),
311 		STM32_FUNCTION(16, "EVENTOUT"),
312 		STM32_FUNCTION(17, "ANALOG")
313 	),
314 	STM32_PIN(
315 		PINCTRL_PIN(26, "PB10"),
316 		STM32_FUNCTION(0, "GPIOB10"),
317 		STM32_FUNCTION(2, "TIM2_CH3"),
318 		STM32_FUNCTION(5, "I2C2_SCL"),
319 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
320 		STM32_FUNCTION(8, "USART3_TX"),
321 		STM32_FUNCTION(10, "QUADSPI_BK1_NCS"),
322 		STM32_FUNCTION(11, "OTG_HS_ULPI_D3"),
323 		STM32_FUNCTION(12, "ETH_MII_RX_ER"),
324 		STM32_FUNCTION(15, "LCD_G4"),
325 		STM32_FUNCTION(16, "EVENTOUT"),
326 		STM32_FUNCTION(17, "ANALOG")
327 	),
328 	STM32_PIN(
329 		PINCTRL_PIN(27, "PB11"),
330 		STM32_FUNCTION(0, "GPIOB11"),
331 		STM32_FUNCTION(2, "TIM2_CH4"),
332 		STM32_FUNCTION(5, "I2C2_SDA"),
333 		STM32_FUNCTION(8, "USART3_RX"),
334 		STM32_FUNCTION(11, "OTG_HS_ULPI_D4"),
335 		STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
336 		STM32_FUNCTION(14, "DSIHOST_TE"),
337 		STM32_FUNCTION(15, "LCD_G5"),
338 		STM32_FUNCTION(16, "EVENTOUT"),
339 		STM32_FUNCTION(17, "ANALOG")
340 	),
341 	STM32_PIN(
342 		PINCTRL_PIN(28, "PB12"),
343 		STM32_FUNCTION(0, "GPIOB12"),
344 		STM32_FUNCTION(2, "TIM1_BKIN"),
345 		STM32_FUNCTION(5, "I2C2_SMBA"),
346 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
347 		STM32_FUNCTION(8, "USART3_CK"),
348 		STM32_FUNCTION(10, "CAN2_RX"),
349 		STM32_FUNCTION(11, "OTG_HS_ULPI_D5"),
350 		STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
351 		STM32_FUNCTION(13, "OTG_HS_ID"),
352 		STM32_FUNCTION(16, "EVENTOUT"),
353 		STM32_FUNCTION(17, "ANALOG")
354 	),
355 	STM32_PIN(
356 		PINCTRL_PIN(29, "PB13"),
357 		STM32_FUNCTION(0, "GPIOB13"),
358 		STM32_FUNCTION(2, "TIM1_CH1N"),
359 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
360 		STM32_FUNCTION(8, "USART3_CTS"),
361 		STM32_FUNCTION(10, "CAN2_TX"),
362 		STM32_FUNCTION(11, "OTG_HS_ULPI_D6"),
363 		STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
364 		STM32_FUNCTION(16, "EVENTOUT"),
365 		STM32_FUNCTION(17, "ANALOG")
366 	),
367 	STM32_PIN(
368 		PINCTRL_PIN(30, "PB14"),
369 		STM32_FUNCTION(0, "GPIOB14"),
370 		STM32_FUNCTION(2, "TIM1_CH2N"),
371 		STM32_FUNCTION(4, "TIM8_CH2N"),
372 		STM32_FUNCTION(6, "SPI2_MISO"),
373 		STM32_FUNCTION(7, "I2S2EXT_SD"),
374 		STM32_FUNCTION(8, "USART3_RTS"),
375 		STM32_FUNCTION(10, "TIM12_CH1"),
376 		STM32_FUNCTION(13, "OTG_HS_DM"),
377 		STM32_FUNCTION(16, "EVENTOUT"),
378 		STM32_FUNCTION(17, "ANALOG")
379 	),
380 	STM32_PIN(
381 		PINCTRL_PIN(31, "PB15"),
382 		STM32_FUNCTION(0, "GPIOB15"),
383 		STM32_FUNCTION(1, "RTC_REFIN"),
384 		STM32_FUNCTION(2, "TIM1_CH3N"),
385 		STM32_FUNCTION(4, "TIM8_CH3N"),
386 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
387 		STM32_FUNCTION(10, "TIM12_CH2"),
388 		STM32_FUNCTION(13, "OTG_HS_DP"),
389 		STM32_FUNCTION(16, "EVENTOUT"),
390 		STM32_FUNCTION(17, "ANALOG")
391 	),
392 	STM32_PIN(
393 		PINCTRL_PIN(32, "PC0"),
394 		STM32_FUNCTION(0, "GPIOC0"),
395 		STM32_FUNCTION(11, "OTG_HS_ULPI_STP"),
396 		STM32_FUNCTION(13, "FMC_SDNWE"),
397 		STM32_FUNCTION(15, "LCD_R5"),
398 		STM32_FUNCTION(16, "EVENTOUT"),
399 		STM32_FUNCTION(17, "ANALOG")
400 	),
401 	STM32_PIN(
402 		PINCTRL_PIN(33, "PC1"),
403 		STM32_FUNCTION(0, "GPIOC1"),
404 		STM32_FUNCTION(1, "TRACED0"),
405 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
406 		STM32_FUNCTION(7, "SAI1_SD_A"),
407 		STM32_FUNCTION(12, "ETH_MDC"),
408 		STM32_FUNCTION(16, "EVENTOUT"),
409 		STM32_FUNCTION(17, "ANALOG")
410 	),
411 	STM32_PIN(
412 		PINCTRL_PIN(34, "PC2"),
413 		STM32_FUNCTION(0, "GPIOC2"),
414 		STM32_FUNCTION(6, "SPI2_MISO"),
415 		STM32_FUNCTION(7, "I2S2EXT_SD"),
416 		STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
417 		STM32_FUNCTION(12, "ETH_MII_TXD2"),
418 		STM32_FUNCTION(13, "FMC_SDNE0"),
419 		STM32_FUNCTION(16, "EVENTOUT"),
420 		STM32_FUNCTION(17, "ANALOG")
421 	),
422 	STM32_PIN(
423 		PINCTRL_PIN(35, "PC3"),
424 		STM32_FUNCTION(0, "GPIOC3"),
425 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
426 		STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
427 		STM32_FUNCTION(12, "ETH_MII_TX_CLK"),
428 		STM32_FUNCTION(13, "FMC_SDCKE0"),
429 		STM32_FUNCTION(16, "EVENTOUT"),
430 		STM32_FUNCTION(17, "ANALOG")
431 	),
432 	STM32_PIN(
433 		PINCTRL_PIN(36, "PC4"),
434 		STM32_FUNCTION(0, "GPIOC4"),
435 		STM32_FUNCTION(12, "ETH_MII_RXD0 ETH_RMII_RXD0"),
436 		STM32_FUNCTION(13, "FMC_SDNE0"),
437 		STM32_FUNCTION(16, "EVENTOUT"),
438 		STM32_FUNCTION(17, "ANALOG")
439 	),
440 	STM32_PIN(
441 		PINCTRL_PIN(37, "PC5"),
442 		STM32_FUNCTION(0, "GPIOC5"),
443 		STM32_FUNCTION(12, "ETH_MII_RXD1 ETH_RMII_RXD1"),
444 		STM32_FUNCTION(13, "FMC_SDCKE0"),
445 		STM32_FUNCTION(16, "EVENTOUT"),
446 		STM32_FUNCTION(17, "ANALOG")
447 	),
448 	STM32_PIN(
449 		PINCTRL_PIN(38, "PC6"),
450 		STM32_FUNCTION(0, "GPIOC6"),
451 		STM32_FUNCTION(3, "TIM3_CH1"),
452 		STM32_FUNCTION(4, "TIM8_CH1"),
453 		STM32_FUNCTION(6, "I2S2_MCK"),
454 		STM32_FUNCTION(9, "USART6_TX"),
455 		STM32_FUNCTION(13, "SDIO_D6"),
456 		STM32_FUNCTION(14, "DCMI_D0"),
457 		STM32_FUNCTION(15, "LCD_HSYNC"),
458 		STM32_FUNCTION(16, "EVENTOUT"),
459 		STM32_FUNCTION(17, "ANALOG")
460 	),
461 	STM32_PIN(
462 		PINCTRL_PIN(39, "PC7"),
463 		STM32_FUNCTION(0, "GPIOC7"),
464 		STM32_FUNCTION(3, "TIM3_CH2"),
465 		STM32_FUNCTION(4, "TIM8_CH2"),
466 		STM32_FUNCTION(7, "I2S3_MCK"),
467 		STM32_FUNCTION(9, "USART6_RX"),
468 		STM32_FUNCTION(13, "SDIO_D7"),
469 		STM32_FUNCTION(14, "DCMI_D1"),
470 		STM32_FUNCTION(15, "LCD_G6"),
471 		STM32_FUNCTION(16, "EVENTOUT"),
472 		STM32_FUNCTION(17, "ANALOG")
473 	),
474 	STM32_PIN(
475 		PINCTRL_PIN(40, "PC8"),
476 		STM32_FUNCTION(0, "GPIOC8"),
477 		STM32_FUNCTION(1, "TRACED1"),
478 		STM32_FUNCTION(3, "TIM3_CH3"),
479 		STM32_FUNCTION(4, "TIM8_CH3"),
480 		STM32_FUNCTION(9, "USART6_CK"),
481 		STM32_FUNCTION(13, "SDIO_D0"),
482 		STM32_FUNCTION(14, "DCMI_D2"),
483 		STM32_FUNCTION(16, "EVENTOUT"),
484 		STM32_FUNCTION(17, "ANALOG")
485 	),
486 	STM32_PIN(
487 		PINCTRL_PIN(41, "PC9"),
488 		STM32_FUNCTION(0, "GPIOC9"),
489 		STM32_FUNCTION(1, "MCO2"),
490 		STM32_FUNCTION(3, "TIM3_CH4"),
491 		STM32_FUNCTION(4, "TIM8_CH4"),
492 		STM32_FUNCTION(5, "I2C3_SDA"),
493 		STM32_FUNCTION(6, "I2S_CKIN"),
494 		STM32_FUNCTION(10, "QUADSPI_BK1_IO0"),
495 		STM32_FUNCTION(13, "SDIO_D1"),
496 		STM32_FUNCTION(14, "DCMI_D3"),
497 		STM32_FUNCTION(16, "EVENTOUT"),
498 		STM32_FUNCTION(17, "ANALOG")
499 	),
500 	STM32_PIN(
501 		PINCTRL_PIN(42, "PC10"),
502 		STM32_FUNCTION(0, "GPIOC10"),
503 		STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
504 		STM32_FUNCTION(8, "USART3_TX"),
505 		STM32_FUNCTION(9, "UART4_TX"),
506 		STM32_FUNCTION(10, "QUADSPI_BK1_IO1"),
507 		STM32_FUNCTION(13, "SDIO_D2"),
508 		STM32_FUNCTION(14, "DCMI_D8"),
509 		STM32_FUNCTION(15, "LCD_R2"),
510 		STM32_FUNCTION(16, "EVENTOUT"),
511 		STM32_FUNCTION(17, "ANALOG")
512 	),
513 	STM32_PIN(
514 		PINCTRL_PIN(43, "PC11"),
515 		STM32_FUNCTION(0, "GPIOC11"),
516 		STM32_FUNCTION(6, "I2S3EXT_SD"),
517 		STM32_FUNCTION(7, "SPI3_MISO"),
518 		STM32_FUNCTION(8, "USART3_RX"),
519 		STM32_FUNCTION(9, "UART4_RX"),
520 		STM32_FUNCTION(10, "QUADSPI_BK2_NCS"),
521 		STM32_FUNCTION(13, "SDIO_D3"),
522 		STM32_FUNCTION(14, "DCMI_D4"),
523 		STM32_FUNCTION(16, "EVENTOUT"),
524 		STM32_FUNCTION(17, "ANALOG")
525 	),
526 	STM32_PIN(
527 		PINCTRL_PIN(44, "PC12"),
528 		STM32_FUNCTION(0, "GPIOC12"),
529 		STM32_FUNCTION(1, "TRACED3"),
530 		STM32_FUNCTION(7, "SPI3_MOSI I2S3_SD"),
531 		STM32_FUNCTION(8, "USART3_CK"),
532 		STM32_FUNCTION(9, "UART5_TX"),
533 		STM32_FUNCTION(13, "SDIO_CK"),
534 		STM32_FUNCTION(14, "DCMI_D9"),
535 		STM32_FUNCTION(16, "EVENTOUT"),
536 		STM32_FUNCTION(17, "ANALOG")
537 	),
538 	STM32_PIN(
539 		PINCTRL_PIN(45, "PC13"),
540 		STM32_FUNCTION(0, "GPIOC13"),
541 		STM32_FUNCTION(16, "EVENTOUT"),
542 		STM32_FUNCTION(17, "ANALOG")
543 	),
544 	STM32_PIN(
545 		PINCTRL_PIN(46, "PC14"),
546 		STM32_FUNCTION(0, "GPIOC14"),
547 		STM32_FUNCTION(16, "EVENTOUT"),
548 		STM32_FUNCTION(17, "ANALOG")
549 	),
550 	STM32_PIN(
551 		PINCTRL_PIN(47, "PC15"),
552 		STM32_FUNCTION(0, "GPIOC15"),
553 		STM32_FUNCTION(16, "EVENTOUT"),
554 		STM32_FUNCTION(17, "ANALOG")
555 	),
556 	STM32_PIN(
557 		PINCTRL_PIN(48, "PD0"),
558 		STM32_FUNCTION(0, "GPIOD0"),
559 		STM32_FUNCTION(10, "CAN1_RX"),
560 		STM32_FUNCTION(13, "FMC_D2"),
561 		STM32_FUNCTION(16, "EVENTOUT"),
562 		STM32_FUNCTION(17, "ANALOG")
563 	),
564 	STM32_PIN(
565 		PINCTRL_PIN(49, "PD1"),
566 		STM32_FUNCTION(0, "GPIOD1"),
567 		STM32_FUNCTION(10, "CAN1_TX"),
568 		STM32_FUNCTION(13, "FMC_D3"),
569 		STM32_FUNCTION(16, "EVENTOUT"),
570 		STM32_FUNCTION(17, "ANALOG")
571 	),
572 	STM32_PIN(
573 		PINCTRL_PIN(50, "PD2"),
574 		STM32_FUNCTION(0, "GPIOD2"),
575 		STM32_FUNCTION(1, "TRACED2"),
576 		STM32_FUNCTION(3, "TIM3_ETR"),
577 		STM32_FUNCTION(9, "UART5_RX"),
578 		STM32_FUNCTION(13, "SDIO_CMD"),
579 		STM32_FUNCTION(14, "DCMI_D11"),
580 		STM32_FUNCTION(16, "EVENTOUT"),
581 		STM32_FUNCTION(17, "ANALOG")
582 	),
583 	STM32_PIN(
584 		PINCTRL_PIN(51, "PD3"),
585 		STM32_FUNCTION(0, "GPIOD3"),
586 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
587 		STM32_FUNCTION(8, "USART2_CTS"),
588 		STM32_FUNCTION(13, "FMC_CLK"),
589 		STM32_FUNCTION(14, "DCMI_D5"),
590 		STM32_FUNCTION(15, "LCD_G7"),
591 		STM32_FUNCTION(16, "EVENTOUT"),
592 		STM32_FUNCTION(17, "ANALOG")
593 	),
594 	STM32_PIN(
595 		PINCTRL_PIN(52, "PD4"),
596 		STM32_FUNCTION(0, "GPIOD4"),
597 		STM32_FUNCTION(8, "USART2_RTS"),
598 		STM32_FUNCTION(13, "FMC_NOE"),
599 		STM32_FUNCTION(16, "EVENTOUT"),
600 		STM32_FUNCTION(17, "ANALOG")
601 	),
602 	STM32_PIN(
603 		PINCTRL_PIN(53, "PD5"),
604 		STM32_FUNCTION(0, "GPIOD5"),
605 		STM32_FUNCTION(8, "USART2_TX"),
606 		STM32_FUNCTION(13, "FMC_NWE"),
607 		STM32_FUNCTION(16, "EVENTOUT"),
608 		STM32_FUNCTION(17, "ANALOG")
609 	),
610 	STM32_PIN(
611 		PINCTRL_PIN(54, "PD6"),
612 		STM32_FUNCTION(0, "GPIOD6"),
613 		STM32_FUNCTION(6, "SPI3_MOSI I2S3_SD"),
614 		STM32_FUNCTION(7, "SAI1_SD_A"),
615 		STM32_FUNCTION(8, "USART2_RX"),
616 		STM32_FUNCTION(13, "FMC_NWAIT"),
617 		STM32_FUNCTION(14, "DCMI_D10"),
618 		STM32_FUNCTION(15, "LCD_B2"),
619 		STM32_FUNCTION(16, "EVENTOUT"),
620 		STM32_FUNCTION(17, "ANALOG")
621 	),
622 	STM32_PIN(
623 		PINCTRL_PIN(55, "PD7"),
624 		STM32_FUNCTION(0, "GPIOD7"),
625 		STM32_FUNCTION(8, "USART2_CK"),
626 		STM32_FUNCTION(13, "FMC_NE1"),
627 		STM32_FUNCTION(16, "EVENTOUT"),
628 		STM32_FUNCTION(17, "ANALOG")
629 	),
630 	STM32_PIN(
631 		PINCTRL_PIN(56, "PD8"),
632 		STM32_FUNCTION(0, "GPIOD8"),
633 		STM32_FUNCTION(8, "USART3_TX"),
634 		STM32_FUNCTION(13, "FMC_D13"),
635 		STM32_FUNCTION(16, "EVENTOUT"),
636 		STM32_FUNCTION(17, "ANALOG")
637 	),
638 	STM32_PIN(
639 		PINCTRL_PIN(57, "PD9"),
640 		STM32_FUNCTION(0, "GPIOD9"),
641 		STM32_FUNCTION(8, "USART3_RX"),
642 		STM32_FUNCTION(13, "FMC_D14"),
643 		STM32_FUNCTION(16, "EVENTOUT"),
644 		STM32_FUNCTION(17, "ANALOG")
645 	),
646 	STM32_PIN(
647 		PINCTRL_PIN(58, "PD10"),
648 		STM32_FUNCTION(0, "GPIOD10"),
649 		STM32_FUNCTION(8, "USART3_CK"),
650 		STM32_FUNCTION(13, "FMC_D15"),
651 		STM32_FUNCTION(15, "LCD_B3"),
652 		STM32_FUNCTION(16, "EVENTOUT"),
653 		STM32_FUNCTION(17, "ANALOG")
654 	),
655 	STM32_PIN(
656 		PINCTRL_PIN(59, "PD11"),
657 		STM32_FUNCTION(0, "GPIOD11"),
658 		STM32_FUNCTION(8, "USART3_CTS"),
659 		STM32_FUNCTION(10, "QUADSPI_BK1_IO0"),
660 		STM32_FUNCTION(13, "FMC_A16 FMC_CLE"),
661 		STM32_FUNCTION(16, "EVENTOUT"),
662 		STM32_FUNCTION(17, "ANALOG")
663 	),
664 	STM32_PIN(
665 		PINCTRL_PIN(60, "PD12"),
666 		STM32_FUNCTION(0, "GPIOD12"),
667 		STM32_FUNCTION(3, "TIM4_CH1"),
668 		STM32_FUNCTION(8, "USART3_RTS"),
669 		STM32_FUNCTION(10, "QUADSPI_BK1_IO1"),
670 		STM32_FUNCTION(13, "FMC_A17 FMC_ALE"),
671 		STM32_FUNCTION(16, "EVENTOUT"),
672 		STM32_FUNCTION(17, "ANALOG")
673 	),
674 	STM32_PIN(
675 		PINCTRL_PIN(61, "PD13"),
676 		STM32_FUNCTION(0, "GPIOD13"),
677 		STM32_FUNCTION(3, "TIM4_CH2"),
678 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
679 		STM32_FUNCTION(13, "FMC_A18"),
680 		STM32_FUNCTION(16, "EVENTOUT"),
681 		STM32_FUNCTION(17, "ANALOG")
682 	),
683 	STM32_PIN(
684 		PINCTRL_PIN(62, "PD14"),
685 		STM32_FUNCTION(0, "GPIOD14"),
686 		STM32_FUNCTION(3, "TIM4_CH3"),
687 		STM32_FUNCTION(13, "FMC_D0"),
688 		STM32_FUNCTION(16, "EVENTOUT"),
689 		STM32_FUNCTION(17, "ANALOG")
690 	),
691 	STM32_PIN(
692 		PINCTRL_PIN(63, "PD15"),
693 		STM32_FUNCTION(0, "GPIOD15"),
694 		STM32_FUNCTION(3, "TIM4_CH4"),
695 		STM32_FUNCTION(13, "FMC_D1"),
696 		STM32_FUNCTION(16, "EVENTOUT"),
697 		STM32_FUNCTION(17, "ANALOG")
698 	),
699 	STM32_PIN(
700 		PINCTRL_PIN(64, "PE0"),
701 		STM32_FUNCTION(0, "GPIOE0"),
702 		STM32_FUNCTION(3, "TIM4_ETR"),
703 		STM32_FUNCTION(9, "UART8_RX"),
704 		STM32_FUNCTION(13, "FMC_NBL0"),
705 		STM32_FUNCTION(14, "DCMI_D2"),
706 		STM32_FUNCTION(16, "EVENTOUT"),
707 		STM32_FUNCTION(17, "ANALOG")
708 	),
709 	STM32_PIN(
710 		PINCTRL_PIN(65, "PE1"),
711 		STM32_FUNCTION(0, "GPIOE1"),
712 		STM32_FUNCTION(9, "UART8_TX"),
713 		STM32_FUNCTION(13, "FMC_NBL1"),
714 		STM32_FUNCTION(14, "DCMI_D3"),
715 		STM32_FUNCTION(16, "EVENTOUT"),
716 		STM32_FUNCTION(17, "ANALOG")
717 	),
718 	STM32_PIN(
719 		PINCTRL_PIN(66, "PE2"),
720 		STM32_FUNCTION(0, "GPIOE2"),
721 		STM32_FUNCTION(1, "TRACECLK"),
722 		STM32_FUNCTION(6, "SPI4_SCK"),
723 		STM32_FUNCTION(7, "SAI1_MCLK_A"),
724 		STM32_FUNCTION(10, "QUADSPI_BK1_IO2"),
725 		STM32_FUNCTION(12, "ETH_MII_TXD3"),
726 		STM32_FUNCTION(13, "FMC_A23"),
727 		STM32_FUNCTION(16, "EVENTOUT"),
728 		STM32_FUNCTION(17, "ANALOG")
729 	),
730 	STM32_PIN(
731 		PINCTRL_PIN(67, "PE3"),
732 		STM32_FUNCTION(0, "GPIOE3"),
733 		STM32_FUNCTION(1, "TRACED0"),
734 		STM32_FUNCTION(7, "SAI1_SD_B"),
735 		STM32_FUNCTION(13, "FMC_A19"),
736 		STM32_FUNCTION(16, "EVENTOUT"),
737 		STM32_FUNCTION(17, "ANALOG")
738 	),
739 	STM32_PIN(
740 		PINCTRL_PIN(68, "PE4"),
741 		STM32_FUNCTION(0, "GPIOE4"),
742 		STM32_FUNCTION(1, "TRACED1"),
743 		STM32_FUNCTION(6, "SPI4_NSS"),
744 		STM32_FUNCTION(7, "SAI1_FS_A"),
745 		STM32_FUNCTION(13, "FMC_A20"),
746 		STM32_FUNCTION(14, "DCMI_D4"),
747 		STM32_FUNCTION(15, "LCD_B0"),
748 		STM32_FUNCTION(16, "EVENTOUT"),
749 		STM32_FUNCTION(17, "ANALOG")
750 	),
751 	STM32_PIN(
752 		PINCTRL_PIN(69, "PE5"),
753 		STM32_FUNCTION(0, "GPIOE5"),
754 		STM32_FUNCTION(1, "TRACED2"),
755 		STM32_FUNCTION(4, "TIM9_CH1"),
756 		STM32_FUNCTION(6, "SPI4_MISO"),
757 		STM32_FUNCTION(7, "SAI1_SCK_A"),
758 		STM32_FUNCTION(13, "FMC_A21"),
759 		STM32_FUNCTION(14, "DCMI_D6"),
760 		STM32_FUNCTION(15, "LCD_G0"),
761 		STM32_FUNCTION(16, "EVENTOUT"),
762 		STM32_FUNCTION(17, "ANALOG")
763 	),
764 	STM32_PIN(
765 		PINCTRL_PIN(70, "PE6"),
766 		STM32_FUNCTION(0, "GPIOE6"),
767 		STM32_FUNCTION(1, "TRACED3"),
768 		STM32_FUNCTION(4, "TIM9_CH2"),
769 		STM32_FUNCTION(6, "SPI4_MOSI"),
770 		STM32_FUNCTION(7, "SAI1_SD_A"),
771 		STM32_FUNCTION(13, "FMC_A22"),
772 		STM32_FUNCTION(14, "DCMI_D7"),
773 		STM32_FUNCTION(15, "LCD_G1"),
774 		STM32_FUNCTION(16, "EVENTOUT"),
775 		STM32_FUNCTION(17, "ANALOG")
776 	),
777 	STM32_PIN(
778 		PINCTRL_PIN(71, "PE7"),
779 		STM32_FUNCTION(0, "GPIOE7"),
780 		STM32_FUNCTION(2, "TIM1_ETR"),
781 		STM32_FUNCTION(9, "UART7_RX"),
782 		STM32_FUNCTION(11, "QUADSPI_BK2_IO0"),
783 		STM32_FUNCTION(13, "FMC_D4"),
784 		STM32_FUNCTION(16, "EVENTOUT"),
785 		STM32_FUNCTION(17, "ANALOG")
786 	),
787 	STM32_PIN(
788 		PINCTRL_PIN(72, "PE8"),
789 		STM32_FUNCTION(0, "GPIOE8"),
790 		STM32_FUNCTION(2, "TIM1_CH1N"),
791 		STM32_FUNCTION(9, "UART7_TX"),
792 		STM32_FUNCTION(11, "QUADSPI_BK2_IO1"),
793 		STM32_FUNCTION(13, "FMC_D5"),
794 		STM32_FUNCTION(16, "EVENTOUT"),
795 		STM32_FUNCTION(17, "ANALOG")
796 	),
797 	STM32_PIN(
798 		PINCTRL_PIN(73, "PE9"),
799 		STM32_FUNCTION(0, "GPIOE9"),
800 		STM32_FUNCTION(2, "TIM1_CH1"),
801 		STM32_FUNCTION(11, "QUADSPI_BK2_IO2"),
802 		STM32_FUNCTION(13, "FMC_D6"),
803 		STM32_FUNCTION(16, "EVENTOUT"),
804 		STM32_FUNCTION(17, "ANALOG")
805 	),
806 	STM32_PIN(
807 		PINCTRL_PIN(74, "PE10"),
808 		STM32_FUNCTION(0, "GPIOE10"),
809 		STM32_FUNCTION(2, "TIM1_CH2N"),
810 		STM32_FUNCTION(11, "QUADSPI_BK2_IO3"),
811 		STM32_FUNCTION(13, "FMC_D7"),
812 		STM32_FUNCTION(16, "EVENTOUT"),
813 		STM32_FUNCTION(17, "ANALOG")
814 	),
815 	STM32_PIN(
816 		PINCTRL_PIN(75, "PE11"),
817 		STM32_FUNCTION(0, "GPIOE11"),
818 		STM32_FUNCTION(2, "TIM1_CH2"),
819 		STM32_FUNCTION(6, "SPI4_NSS"),
820 		STM32_FUNCTION(13, "FMC_D8"),
821 		STM32_FUNCTION(15, "LCD_G3"),
822 		STM32_FUNCTION(16, "EVENTOUT"),
823 		STM32_FUNCTION(17, "ANALOG")
824 	),
825 	STM32_PIN(
826 		PINCTRL_PIN(76, "PE12"),
827 		STM32_FUNCTION(0, "GPIOE12"),
828 		STM32_FUNCTION(2, "TIM1_CH3N"),
829 		STM32_FUNCTION(6, "SPI4_SCK"),
830 		STM32_FUNCTION(13, "FMC_D9"),
831 		STM32_FUNCTION(15, "LCD_B4"),
832 		STM32_FUNCTION(16, "EVENTOUT"),
833 		STM32_FUNCTION(17, "ANALOG")
834 	),
835 	STM32_PIN(
836 		PINCTRL_PIN(77, "PE13"),
837 		STM32_FUNCTION(0, "GPIOE13"),
838 		STM32_FUNCTION(2, "TIM1_CH3"),
839 		STM32_FUNCTION(6, "SPI4_MISO"),
840 		STM32_FUNCTION(13, "FMC_D10"),
841 		STM32_FUNCTION(15, "LCD_DE"),
842 		STM32_FUNCTION(16, "EVENTOUT"),
843 		STM32_FUNCTION(17, "ANALOG")
844 	),
845 	STM32_PIN(
846 		PINCTRL_PIN(78, "PE14"),
847 		STM32_FUNCTION(0, "GPIOE14"),
848 		STM32_FUNCTION(2, "TIM1_CH4"),
849 		STM32_FUNCTION(6, "SPI4_MOSI"),
850 		STM32_FUNCTION(13, "FMC_D11"),
851 		STM32_FUNCTION(15, "LCD_CLK"),
852 		STM32_FUNCTION(16, "EVENTOUT"),
853 		STM32_FUNCTION(17, "ANALOG")
854 	),
855 	STM32_PIN(
856 		PINCTRL_PIN(79, "PE15"),
857 		STM32_FUNCTION(0, "GPIOE15"),
858 		STM32_FUNCTION(2, "TIM1_BKIN"),
859 		STM32_FUNCTION(13, "FMC_D12"),
860 		STM32_FUNCTION(15, "LCD_R7"),
861 		STM32_FUNCTION(16, "EVENTOUT"),
862 		STM32_FUNCTION(17, "ANALOG")
863 	),
864 	STM32_PIN(
865 		PINCTRL_PIN(80, "PF0"),
866 		STM32_FUNCTION(0, "GPIOF0"),
867 		STM32_FUNCTION(5, "I2C2_SDA"),
868 		STM32_FUNCTION(13, "FMC_A0"),
869 		STM32_FUNCTION(16, "EVENTOUT"),
870 		STM32_FUNCTION(17, "ANALOG")
871 	),
872 	STM32_PIN(
873 		PINCTRL_PIN(81, "PF1"),
874 		STM32_FUNCTION(0, "GPIOF1"),
875 		STM32_FUNCTION(5, "I2C2_SCL"),
876 		STM32_FUNCTION(13, "FMC_A1"),
877 		STM32_FUNCTION(16, "EVENTOUT"),
878 		STM32_FUNCTION(17, "ANALOG")
879 	),
880 	STM32_PIN(
881 		PINCTRL_PIN(82, "PF2"),
882 		STM32_FUNCTION(0, "GPIOF2"),
883 		STM32_FUNCTION(5, "I2C2_SMBA"),
884 		STM32_FUNCTION(13, "FMC_A2"),
885 		STM32_FUNCTION(16, "EVENTOUT"),
886 		STM32_FUNCTION(17, "ANALOG")
887 	),
888 	STM32_PIN(
889 		PINCTRL_PIN(83, "PF3"),
890 		STM32_FUNCTION(0, "GPIOF3"),
891 		STM32_FUNCTION(13, "FMC_A3"),
892 		STM32_FUNCTION(16, "EVENTOUT"),
893 		STM32_FUNCTION(17, "ANALOG")
894 	),
895 	STM32_PIN(
896 		PINCTRL_PIN(84, "PF4"),
897 		STM32_FUNCTION(0, "GPIOF4"),
898 		STM32_FUNCTION(13, "FMC_A4"),
899 		STM32_FUNCTION(16, "EVENTOUT"),
900 		STM32_FUNCTION(17, "ANALOG")
901 	),
902 	STM32_PIN(
903 		PINCTRL_PIN(85, "PF5"),
904 		STM32_FUNCTION(0, "GPIOF5"),
905 		STM32_FUNCTION(13, "FMC_A5"),
906 		STM32_FUNCTION(16, "EVENTOUT"),
907 		STM32_FUNCTION(17, "ANALOG")
908 	),
909 	STM32_PIN(
910 		PINCTRL_PIN(86, "PF6"),
911 		STM32_FUNCTION(0, "GPIOF6"),
912 		STM32_FUNCTION(4, "TIM10_CH1"),
913 		STM32_FUNCTION(6, "SPI5_NSS"),
914 		STM32_FUNCTION(7, "SAI1_SD_B"),
915 		STM32_FUNCTION(9, "UART7_RX"),
916 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
917 		STM32_FUNCTION(16, "EVENTOUT"),
918 		STM32_FUNCTION(17, "ANALOG")
919 	),
920 	STM32_PIN(
921 		PINCTRL_PIN(87, "PF7"),
922 		STM32_FUNCTION(0, "GPIOF7"),
923 		STM32_FUNCTION(4, "TIM11_CH1"),
924 		STM32_FUNCTION(6, "SPI5_SCK"),
925 		STM32_FUNCTION(7, "SAI1_MCLK_B"),
926 		STM32_FUNCTION(9, "UART7_TX"),
927 		STM32_FUNCTION(10, "QUADSPI_BK1_IO2"),
928 		STM32_FUNCTION(16, "EVENTOUT"),
929 		STM32_FUNCTION(17, "ANALOG")
930 	),
931 	STM32_PIN(
932 		PINCTRL_PIN(88, "PF8"),
933 		STM32_FUNCTION(0, "GPIOF8"),
934 		STM32_FUNCTION(6, "SPI5_MISO"),
935 		STM32_FUNCTION(7, "SAI1_SCK_B"),
936 		STM32_FUNCTION(10, "TIM13_CH1"),
937 		STM32_FUNCTION(11, "QUADSPI_BK1_IO0"),
938 		STM32_FUNCTION(16, "EVENTOUT"),
939 		STM32_FUNCTION(17, "ANALOG")
940 	),
941 	STM32_PIN(
942 		PINCTRL_PIN(89, "PF9"),
943 		STM32_FUNCTION(0, "GPIOF9"),
944 		STM32_FUNCTION(6, "SPI5_MOSI"),
945 		STM32_FUNCTION(7, "SAI1_FS_B"),
946 		STM32_FUNCTION(10, "TIM14_CH1"),
947 		STM32_FUNCTION(11, "QUADSPI_BK1_IO1"),
948 		STM32_FUNCTION(16, "EVENTOUT"),
949 		STM32_FUNCTION(17, "ANALOG")
950 	),
951 	STM32_PIN(
952 		PINCTRL_PIN(90, "PF10"),
953 		STM32_FUNCTION(0, "GPIOF10"),
954 		STM32_FUNCTION(10, "QUADSPI_CLK"),
955 		STM32_FUNCTION(14, "DCMI_D11"),
956 		STM32_FUNCTION(15, "LCD_DE"),
957 		STM32_FUNCTION(16, "EVENTOUT"),
958 		STM32_FUNCTION(17, "ANALOG")
959 	),
960 	STM32_PIN(
961 		PINCTRL_PIN(91, "PF11"),
962 		STM32_FUNCTION(0, "GPIOF11"),
963 		STM32_FUNCTION(6, "SPI5_MOSI"),
964 		STM32_FUNCTION(13, "FMC_SDNRAS"),
965 		STM32_FUNCTION(14, "DCMI_D12"),
966 		STM32_FUNCTION(16, "EVENTOUT"),
967 		STM32_FUNCTION(17, "ANALOG")
968 	),
969 	STM32_PIN(
970 		PINCTRL_PIN(92, "PF12"),
971 		STM32_FUNCTION(0, "GPIOF12"),
972 		STM32_FUNCTION(13, "FMC_A6"),
973 		STM32_FUNCTION(16, "EVENTOUT"),
974 		STM32_FUNCTION(17, "ANALOG")
975 	),
976 	STM32_PIN(
977 		PINCTRL_PIN(93, "PF13"),
978 		STM32_FUNCTION(0, "GPIOF13"),
979 		STM32_FUNCTION(13, "FMC_A7"),
980 		STM32_FUNCTION(16, "EVENTOUT"),
981 		STM32_FUNCTION(17, "ANALOG")
982 	),
983 	STM32_PIN(
984 		PINCTRL_PIN(94, "PF14"),
985 		STM32_FUNCTION(0, "GPIOF14"),
986 		STM32_FUNCTION(13, "FMC_A8"),
987 		STM32_FUNCTION(16, "EVENTOUT"),
988 		STM32_FUNCTION(17, "ANALOG")
989 	),
990 	STM32_PIN(
991 		PINCTRL_PIN(95, "PF15"),
992 		STM32_FUNCTION(0, "GPIOF15"),
993 		STM32_FUNCTION(13, "FMC_A9"),
994 		STM32_FUNCTION(16, "EVENTOUT"),
995 		STM32_FUNCTION(17, "ANALOG")
996 	),
997 	STM32_PIN(
998 		PINCTRL_PIN(96, "PG0"),
999 		STM32_FUNCTION(0, "GPIOG0"),
1000 		STM32_FUNCTION(13, "FMC_A10"),
1001 		STM32_FUNCTION(16, "EVENTOUT"),
1002 		STM32_FUNCTION(17, "ANALOG")
1003 	),
1004 	STM32_PIN(
1005 		PINCTRL_PIN(97, "PG1"),
1006 		STM32_FUNCTION(0, "GPIOG1"),
1007 		STM32_FUNCTION(13, "FMC_A11"),
1008 		STM32_FUNCTION(16, "EVENTOUT"),
1009 		STM32_FUNCTION(17, "ANALOG")
1010 	),
1011 	STM32_PIN(
1012 		PINCTRL_PIN(98, "PG2"),
1013 		STM32_FUNCTION(0, "GPIOG2"),
1014 		STM32_FUNCTION(13, "FMC_A12"),
1015 		STM32_FUNCTION(16, "EVENTOUT"),
1016 		STM32_FUNCTION(17, "ANALOG")
1017 	),
1018 	STM32_PIN(
1019 		PINCTRL_PIN(99, "PG3"),
1020 		STM32_FUNCTION(0, "GPIOG3"),
1021 		STM32_FUNCTION(13, "FMC_A13"),
1022 		STM32_FUNCTION(16, "EVENTOUT"),
1023 		STM32_FUNCTION(17, "ANALOG")
1024 	),
1025 	STM32_PIN(
1026 		PINCTRL_PIN(100, "PG4"),
1027 		STM32_FUNCTION(0, "GPIOG4"),
1028 		STM32_FUNCTION(13, "FMC_A14 FMC_BA0"),
1029 		STM32_FUNCTION(16, "EVENTOUT"),
1030 		STM32_FUNCTION(17, "ANALOG")
1031 	),
1032 	STM32_PIN(
1033 		PINCTRL_PIN(101, "PG5"),
1034 		STM32_FUNCTION(0, "GPIOG5"),
1035 		STM32_FUNCTION(13, "FMC_A15 FMC_BA1"),
1036 		STM32_FUNCTION(16, "EVENTOUT"),
1037 		STM32_FUNCTION(17, "ANALOG")
1038 	),
1039 	STM32_PIN(
1040 		PINCTRL_PIN(102, "PG6"),
1041 		STM32_FUNCTION(0, "GPIOG6"),
1042 		STM32_FUNCTION(14, "DCMI_D12"),
1043 		STM32_FUNCTION(15, "LCD_R7"),
1044 		STM32_FUNCTION(16, "EVENTOUT"),
1045 		STM32_FUNCTION(17, "ANALOG")
1046 	),
1047 	STM32_PIN(
1048 		PINCTRL_PIN(103, "PG7"),
1049 		STM32_FUNCTION(0, "GPIOG7"),
1050 		STM32_FUNCTION(7, "SAI1_MCLK_A"),
1051 		STM32_FUNCTION(9, "USART6_CK"),
1052 		STM32_FUNCTION(13, "FMC_INT"),
1053 		STM32_FUNCTION(14, "DCMI_D13"),
1054 		STM32_FUNCTION(15, "LCD_CLK"),
1055 		STM32_FUNCTION(16, "EVENTOUT"),
1056 		STM32_FUNCTION(17, "ANALOG")
1057 	),
1058 	STM32_PIN(
1059 		PINCTRL_PIN(104, "PG8"),
1060 		STM32_FUNCTION(0, "GPIOG8"),
1061 		STM32_FUNCTION(6, "SPI6_NSS"),
1062 		STM32_FUNCTION(9, "USART6_RTS"),
1063 		STM32_FUNCTION(12, "ETH_PPS_OUT"),
1064 		STM32_FUNCTION(13, "FMC_SDCLK"),
1065 		STM32_FUNCTION(15, "LCD_G7"),
1066 		STM32_FUNCTION(16, "EVENTOUT"),
1067 		STM32_FUNCTION(17, "ANALOG")
1068 	),
1069 	STM32_PIN(
1070 		PINCTRL_PIN(105, "PG9"),
1071 		STM32_FUNCTION(0, "GPIOG9"),
1072 		STM32_FUNCTION(9, "USART6_RX"),
1073 		STM32_FUNCTION(10, "QUADSPI_BK2_IO2"),
1074 		STM32_FUNCTION(13, "FMC_NE2 FMC_NCE"),
1075 		STM32_FUNCTION(14, "DCMI_VSYNC"),
1076 		STM32_FUNCTION(16, "EVENTOUT"),
1077 		STM32_FUNCTION(17, "ANALOG")
1078 	),
1079 	STM32_PIN(
1080 		PINCTRL_PIN(106, "PG10"),
1081 		STM32_FUNCTION(0, "GPIOG10"),
1082 		STM32_FUNCTION(10, "LCD_G3"),
1083 		STM32_FUNCTION(13, "FMC_NE3"),
1084 		STM32_FUNCTION(14, "DCMI_D2"),
1085 		STM32_FUNCTION(15, "LCD_B2"),
1086 		STM32_FUNCTION(16, "EVENTOUT"),
1087 		STM32_FUNCTION(17, "ANALOG")
1088 	),
1089 	STM32_PIN(
1090 		PINCTRL_PIN(107, "PG11"),
1091 		STM32_FUNCTION(0, "GPIOG11"),
1092 		STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
1093 		STM32_FUNCTION(14, "DCMI_D3"),
1094 		STM32_FUNCTION(15, "LCD_B3"),
1095 		STM32_FUNCTION(16, "EVENTOUT"),
1096 		STM32_FUNCTION(17, "ANALOG")
1097 	),
1098 	STM32_PIN(
1099 		PINCTRL_PIN(108, "PG12"),
1100 		STM32_FUNCTION(0, "GPIOG12"),
1101 		STM32_FUNCTION(6, "SPI6_MISO"),
1102 		STM32_FUNCTION(9, "USART6_RTS"),
1103 		STM32_FUNCTION(10, "LCD_B4"),
1104 		STM32_FUNCTION(13, "FMC_NE4"),
1105 		STM32_FUNCTION(15, "LCD_B1"),
1106 		STM32_FUNCTION(16, "EVENTOUT"),
1107 		STM32_FUNCTION(17, "ANALOG")
1108 	),
1109 	STM32_PIN(
1110 		PINCTRL_PIN(109, "PG13"),
1111 		STM32_FUNCTION(0, "GPIOG13"),
1112 		STM32_FUNCTION(1, "TRACED0"),
1113 		STM32_FUNCTION(6, "SPI6_SCK"),
1114 		STM32_FUNCTION(9, "USART6_CTS"),
1115 		STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
1116 		STM32_FUNCTION(13, "FMC_A24"),
1117 		STM32_FUNCTION(15, "LCD_R0"),
1118 		STM32_FUNCTION(16, "EVENTOUT"),
1119 		STM32_FUNCTION(17, "ANALOG")
1120 	),
1121 	STM32_PIN(
1122 		PINCTRL_PIN(110, "PG14"),
1123 		STM32_FUNCTION(0, "GPIOG14"),
1124 		STM32_FUNCTION(1, "TRACED1"),
1125 		STM32_FUNCTION(6, "SPI6_MOSI"),
1126 		STM32_FUNCTION(9, "USART6_TX"),
1127 		STM32_FUNCTION(10, "QUADSPI_BK2_IO3"),
1128 		STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
1129 		STM32_FUNCTION(13, "FMC_A25"),
1130 		STM32_FUNCTION(15, "LCD_B0"),
1131 		STM32_FUNCTION(16, "EVENTOUT"),
1132 		STM32_FUNCTION(17, "ANALOG")
1133 	),
1134 	STM32_PIN(
1135 		PINCTRL_PIN(111, "PG15"),
1136 		STM32_FUNCTION(0, "GPIOG15"),
1137 		STM32_FUNCTION(9, "USART6_CTS"),
1138 		STM32_FUNCTION(13, "FMC_SDNCAS"),
1139 		STM32_FUNCTION(14, "DCMI_D13"),
1140 		STM32_FUNCTION(16, "EVENTOUT"),
1141 		STM32_FUNCTION(17, "ANALOG")
1142 	),
1143 	STM32_PIN(
1144 		PINCTRL_PIN(112, "PH0"),
1145 		STM32_FUNCTION(0, "GPIOH0"),
1146 		STM32_FUNCTION(16, "EVENTOUT"),
1147 		STM32_FUNCTION(17, "ANALOG")
1148 	),
1149 	STM32_PIN(
1150 		PINCTRL_PIN(113, "PH1"),
1151 		STM32_FUNCTION(0, "GPIOH1"),
1152 		STM32_FUNCTION(16, "EVENTOUT"),
1153 		STM32_FUNCTION(17, "ANALOG")
1154 	),
1155 	STM32_PIN(
1156 		PINCTRL_PIN(114, "PH2"),
1157 		STM32_FUNCTION(0, "GPIOH2"),
1158 		STM32_FUNCTION(10, "QUADSPI_BK2_IO0"),
1159 		STM32_FUNCTION(12, "ETH_MII_CRS"),
1160 		STM32_FUNCTION(13, "FMC_SDCKE0"),
1161 		STM32_FUNCTION(15, "LCD_R0"),
1162 		STM32_FUNCTION(16, "EVENTOUT"),
1163 		STM32_FUNCTION(17, "ANALOG")
1164 	),
1165 	STM32_PIN(
1166 		PINCTRL_PIN(115, "PH3"),
1167 		STM32_FUNCTION(0, "GPIOH3"),
1168 		STM32_FUNCTION(10, "QUADSPI_BK2_IO1"),
1169 		STM32_FUNCTION(12, "ETH_MII_COL"),
1170 		STM32_FUNCTION(13, "FMC_SDNE0"),
1171 		STM32_FUNCTION(15, "LCD_R1"),
1172 		STM32_FUNCTION(16, "EVENTOUT"),
1173 		STM32_FUNCTION(17, "ANALOG")
1174 	),
1175 	STM32_PIN(
1176 		PINCTRL_PIN(116, "PH4"),
1177 		STM32_FUNCTION(0, "GPIOH4"),
1178 		STM32_FUNCTION(5, "I2C2_SCL"),
1179 		STM32_FUNCTION(10, "LCD_G5"),
1180 		STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
1181 		STM32_FUNCTION(15, "LCD_G4"),
1182 		STM32_FUNCTION(16, "EVENTOUT"),
1183 		STM32_FUNCTION(17, "ANALOG")
1184 	),
1185 	STM32_PIN(
1186 		PINCTRL_PIN(117, "PH5"),
1187 		STM32_FUNCTION(0, "GPIOH5"),
1188 		STM32_FUNCTION(5, "I2C2_SDA"),
1189 		STM32_FUNCTION(6, "SPI5_NSS"),
1190 		STM32_FUNCTION(13, "FMC_SDNWE"),
1191 		STM32_FUNCTION(16, "EVENTOUT"),
1192 		STM32_FUNCTION(17, "ANALOG")
1193 	),
1194 	STM32_PIN(
1195 		PINCTRL_PIN(118, "PH6"),
1196 		STM32_FUNCTION(0, "GPIOH6"),
1197 		STM32_FUNCTION(5, "I2C2_SMBA"),
1198 		STM32_FUNCTION(6, "SPI5_SCK"),
1199 		STM32_FUNCTION(10, "TIM12_CH1"),
1200 		STM32_FUNCTION(12, "ETH_MII_RXD2"),
1201 		STM32_FUNCTION(13, "FMC_SDNE1"),
1202 		STM32_FUNCTION(14, "DCMI_D8"),
1203 		STM32_FUNCTION(16, "EVENTOUT"),
1204 		STM32_FUNCTION(17, "ANALOG")
1205 	),
1206 	STM32_PIN(
1207 		PINCTRL_PIN(119, "PH7"),
1208 		STM32_FUNCTION(0, "GPIOH7"),
1209 		STM32_FUNCTION(5, "I2C3_SCL"),
1210 		STM32_FUNCTION(6, "SPI5_MISO"),
1211 		STM32_FUNCTION(12, "ETH_MII_RXD3"),
1212 		STM32_FUNCTION(13, "FMC_SDCKE1"),
1213 		STM32_FUNCTION(14, "DCMI_D9"),
1214 		STM32_FUNCTION(16, "EVENTOUT"),
1215 		STM32_FUNCTION(17, "ANALOG")
1216 	),
1217 	STM32_PIN(
1218 		PINCTRL_PIN(120, "PH8"),
1219 		STM32_FUNCTION(0, "GPIOH8"),
1220 		STM32_FUNCTION(5, "I2C3_SDA"),
1221 		STM32_FUNCTION(13, "FMC_D16"),
1222 		STM32_FUNCTION(14, "DCMI_HSYNC"),
1223 		STM32_FUNCTION(15, "LCD_R2"),
1224 		STM32_FUNCTION(16, "EVENTOUT"),
1225 		STM32_FUNCTION(17, "ANALOG")
1226 	),
1227 	STM32_PIN(
1228 		PINCTRL_PIN(121, "PH9"),
1229 		STM32_FUNCTION(0, "GPIOH9"),
1230 		STM32_FUNCTION(5, "I2C3_SMBA"),
1231 		STM32_FUNCTION(10, "TIM12_CH2"),
1232 		STM32_FUNCTION(13, "FMC_D17"),
1233 		STM32_FUNCTION(14, "DCMI_D0"),
1234 		STM32_FUNCTION(15, "LCD_R3"),
1235 		STM32_FUNCTION(16, "EVENTOUT"),
1236 		STM32_FUNCTION(17, "ANALOG")
1237 	),
1238 	STM32_PIN(
1239 		PINCTRL_PIN(122, "PH10"),
1240 		STM32_FUNCTION(0, "GPIOH10"),
1241 		STM32_FUNCTION(3, "TIM5_CH1"),
1242 		STM32_FUNCTION(13, "FMC_D18"),
1243 		STM32_FUNCTION(14, "DCMI_D1"),
1244 		STM32_FUNCTION(15, "LCD_R4"),
1245 		STM32_FUNCTION(16, "EVENTOUT"),
1246 		STM32_FUNCTION(17, "ANALOG")
1247 	),
1248 	STM32_PIN(
1249 		PINCTRL_PIN(123, "PH11"),
1250 		STM32_FUNCTION(0, "GPIOH11"),
1251 		STM32_FUNCTION(3, "TIM5_CH2"),
1252 		STM32_FUNCTION(13, "FMC_D19"),
1253 		STM32_FUNCTION(14, "DCMI_D2"),
1254 		STM32_FUNCTION(15, "LCD_R5"),
1255 		STM32_FUNCTION(16, "EVENTOUT"),
1256 		STM32_FUNCTION(17, "ANALOG")
1257 	),
1258 	STM32_PIN(
1259 		PINCTRL_PIN(124, "PH12"),
1260 		STM32_FUNCTION(0, "GPIOH12"),
1261 		STM32_FUNCTION(3, "TIM5_CH3"),
1262 		STM32_FUNCTION(13, "FMC_D20"),
1263 		STM32_FUNCTION(14, "DCMI_D3"),
1264 		STM32_FUNCTION(15, "LCD_R6"),
1265 		STM32_FUNCTION(16, "EVENTOUT"),
1266 		STM32_FUNCTION(17, "ANALOG")
1267 	),
1268 	STM32_PIN(
1269 		PINCTRL_PIN(125, "PH13"),
1270 		STM32_FUNCTION(0, "GPIOH13"),
1271 		STM32_FUNCTION(4, "TIM8_CH1N"),
1272 		STM32_FUNCTION(10, "CAN1_TX"),
1273 		STM32_FUNCTION(13, "FMC_D21"),
1274 		STM32_FUNCTION(15, "LCD_G2"),
1275 		STM32_FUNCTION(16, "EVENTOUT"),
1276 		STM32_FUNCTION(17, "ANALOG")
1277 	),
1278 	STM32_PIN(
1279 		PINCTRL_PIN(126, "PH14"),
1280 		STM32_FUNCTION(0, "GPIOH14"),
1281 		STM32_FUNCTION(4, "TIM8_CH2N"),
1282 		STM32_FUNCTION(13, "FMC_D22"),
1283 		STM32_FUNCTION(14, "DCMI_D4"),
1284 		STM32_FUNCTION(15, "LCD_G3"),
1285 		STM32_FUNCTION(16, "EVENTOUT"),
1286 		STM32_FUNCTION(17, "ANALOG")
1287 	),
1288 	STM32_PIN(
1289 		PINCTRL_PIN(127, "PH15"),
1290 		STM32_FUNCTION(0, "GPIOH15"),
1291 		STM32_FUNCTION(4, "TIM8_CH3N"),
1292 		STM32_FUNCTION(13, "FMC_D23"),
1293 		STM32_FUNCTION(14, "DCMI_D11"),
1294 		STM32_FUNCTION(15, "LCD_G4"),
1295 		STM32_FUNCTION(16, "EVENTOUT"),
1296 		STM32_FUNCTION(17, "ANALOG")
1297 	),
1298 	STM32_PIN(
1299 		PINCTRL_PIN(128, "PI0"),
1300 		STM32_FUNCTION(0, "GPIOI0"),
1301 		STM32_FUNCTION(3, "TIM5_CH4"),
1302 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
1303 		STM32_FUNCTION(13, "FMC_D24"),
1304 		STM32_FUNCTION(14, "DCMI_D13"),
1305 		STM32_FUNCTION(15, "LCD_G5"),
1306 		STM32_FUNCTION(16, "EVENTOUT"),
1307 		STM32_FUNCTION(17, "ANALOG")
1308 	),
1309 	STM32_PIN(
1310 		PINCTRL_PIN(129, "PI1"),
1311 		STM32_FUNCTION(0, "GPIOI1"),
1312 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
1313 		STM32_FUNCTION(13, "FMC_D25"),
1314 		STM32_FUNCTION(14, "DCMI_D8"),
1315 		STM32_FUNCTION(15, "LCD_G6"),
1316 		STM32_FUNCTION(16, "EVENTOUT"),
1317 		STM32_FUNCTION(17, "ANALOG")
1318 	),
1319 	STM32_PIN(
1320 		PINCTRL_PIN(130, "PI2"),
1321 		STM32_FUNCTION(0, "GPIOI2"),
1322 		STM32_FUNCTION(4, "TIM8_CH4"),
1323 		STM32_FUNCTION(6, "SPI2_MISO"),
1324 		STM32_FUNCTION(7, "I2S2EXT_SD"),
1325 		STM32_FUNCTION(13, "FMC_D26"),
1326 		STM32_FUNCTION(14, "DCMI_D9"),
1327 		STM32_FUNCTION(15, "LCD_G7"),
1328 		STM32_FUNCTION(16, "EVENTOUT"),
1329 		STM32_FUNCTION(17, "ANALOG")
1330 	),
1331 	STM32_PIN(
1332 		PINCTRL_PIN(131, "PI3"),
1333 		STM32_FUNCTION(0, "GPIOI3"),
1334 		STM32_FUNCTION(4, "TIM8_ETR"),
1335 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
1336 		STM32_FUNCTION(13, "FMC_D27"),
1337 		STM32_FUNCTION(14, "DCMI_D10"),
1338 		STM32_FUNCTION(16, "EVENTOUT"),
1339 		STM32_FUNCTION(17, "ANALOG")
1340 	),
1341 	STM32_PIN(
1342 		PINCTRL_PIN(132, "PI4"),
1343 		STM32_FUNCTION(0, "GPIOI4"),
1344 		STM32_FUNCTION(4, "TIM8_BKIN"),
1345 		STM32_FUNCTION(13, "FMC_NBL2"),
1346 		STM32_FUNCTION(14, "DCMI_D5"),
1347 		STM32_FUNCTION(15, "LCD_B4"),
1348 		STM32_FUNCTION(16, "EVENTOUT"),
1349 		STM32_FUNCTION(17, "ANALOG")
1350 	),
1351 	STM32_PIN(
1352 		PINCTRL_PIN(133, "PI5"),
1353 		STM32_FUNCTION(0, "GPIOI5"),
1354 		STM32_FUNCTION(4, "TIM8_CH1"),
1355 		STM32_FUNCTION(13, "FMC_NBL3"),
1356 		STM32_FUNCTION(14, "DCMI_VSYNC"),
1357 		STM32_FUNCTION(15, "LCD_B5"),
1358 		STM32_FUNCTION(16, "EVENTOUT"),
1359 		STM32_FUNCTION(17, "ANALOG")
1360 	),
1361 	STM32_PIN(
1362 		PINCTRL_PIN(134, "PI6"),
1363 		STM32_FUNCTION(0, "GPIOI6"),
1364 		STM32_FUNCTION(4, "TIM8_CH2"),
1365 		STM32_FUNCTION(13, "FMC_D28"),
1366 		STM32_FUNCTION(14, "DCMI_D6"),
1367 		STM32_FUNCTION(15, "LCD_B6"),
1368 		STM32_FUNCTION(16, "EVENTOUT"),
1369 		STM32_FUNCTION(17, "ANALOG")
1370 	),
1371 	STM32_PIN(
1372 		PINCTRL_PIN(135, "PI7"),
1373 		STM32_FUNCTION(0, "GPIOI7"),
1374 		STM32_FUNCTION(4, "TIM8_CH3"),
1375 		STM32_FUNCTION(13, "FMC_D29"),
1376 		STM32_FUNCTION(14, "DCMI_D7"),
1377 		STM32_FUNCTION(15, "LCD_B7"),
1378 		STM32_FUNCTION(16, "EVENTOUT"),
1379 		STM32_FUNCTION(17, "ANALOG")
1380 	),
1381 	STM32_PIN(
1382 		PINCTRL_PIN(136, "PI8"),
1383 		STM32_FUNCTION(0, "GPIOI8"),
1384 		STM32_FUNCTION(16, "EVENTOUT"),
1385 		STM32_FUNCTION(17, "ANALOG")
1386 	),
1387 	STM32_PIN(
1388 		PINCTRL_PIN(137, "PI9"),
1389 		STM32_FUNCTION(0, "GPIOI9"),
1390 		STM32_FUNCTION(10, "CAN1_RX"),
1391 		STM32_FUNCTION(13, "FMC_D30"),
1392 		STM32_FUNCTION(15, "LCD_VSYNC"),
1393 		STM32_FUNCTION(16, "EVENTOUT"),
1394 		STM32_FUNCTION(17, "ANALOG")
1395 	),
1396 	STM32_PIN(
1397 		PINCTRL_PIN(138, "PI10"),
1398 		STM32_FUNCTION(0, "GPIOI10"),
1399 		STM32_FUNCTION(12, "ETH_MII_RX_ER"),
1400 		STM32_FUNCTION(13, "FMC_D31"),
1401 		STM32_FUNCTION(15, "LCD_HSYNC"),
1402 		STM32_FUNCTION(16, "EVENTOUT"),
1403 		STM32_FUNCTION(17, "ANALOG")
1404 	),
1405 	STM32_PIN(
1406 		PINCTRL_PIN(139, "PI11"),
1407 		STM32_FUNCTION(0, "GPIOI11"),
1408 		STM32_FUNCTION(10, "LCD_G6"),
1409 		STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
1410 		STM32_FUNCTION(16, "EVENTOUT"),
1411 		STM32_FUNCTION(17, "ANALOG")
1412 	),
1413 	STM32_PIN(
1414 		PINCTRL_PIN(140, "PI12"),
1415 		STM32_FUNCTION(0, "GPIOI12"),
1416 		STM32_FUNCTION(15, "LCD_HSYNC"),
1417 		STM32_FUNCTION(16, "EVENTOUT"),
1418 		STM32_FUNCTION(17, "ANALOG")
1419 	),
1420 	STM32_PIN(
1421 		PINCTRL_PIN(141, "PI13"),
1422 		STM32_FUNCTION(0, "GPIOI13"),
1423 		STM32_FUNCTION(15, "LCD_VSYNC"),
1424 		STM32_FUNCTION(16, "EVENTOUT"),
1425 		STM32_FUNCTION(17, "ANALOG")
1426 	),
1427 	STM32_PIN(
1428 		PINCTRL_PIN(142, "PI14"),
1429 		STM32_FUNCTION(0, "GPIOI14"),
1430 		STM32_FUNCTION(15, "LCD_CLK"),
1431 		STM32_FUNCTION(16, "EVENTOUT"),
1432 		STM32_FUNCTION(17, "ANALOG")
1433 	),
1434 	STM32_PIN(
1435 		PINCTRL_PIN(143, "PI15"),
1436 		STM32_FUNCTION(0, "GPIOI15"),
1437 		STM32_FUNCTION(10, "LCD_G2"),
1438 		STM32_FUNCTION(15, "LCD_R0"),
1439 		STM32_FUNCTION(16, "EVENTOUT"),
1440 		STM32_FUNCTION(17, "ANALOG")
1441 	),
1442 	STM32_PIN(
1443 		PINCTRL_PIN(144, "PJ0"),
1444 		STM32_FUNCTION(0, "GPIOJ0"),
1445 		STM32_FUNCTION(10, "LCD_R7"),
1446 		STM32_FUNCTION(15, "LCD_R1"),
1447 		STM32_FUNCTION(16, "EVENTOUT"),
1448 		STM32_FUNCTION(17, "ANALOG")
1449 	),
1450 	STM32_PIN(
1451 		PINCTRL_PIN(145, "PJ1"),
1452 		STM32_FUNCTION(0, "GPIOJ1"),
1453 		STM32_FUNCTION(15, "LCD_R2"),
1454 		STM32_FUNCTION(16, "EVENTOUT"),
1455 		STM32_FUNCTION(17, "ANALOG")
1456 	),
1457 	STM32_PIN(
1458 		PINCTRL_PIN(146, "PJ2"),
1459 		STM32_FUNCTION(0, "GPIOJ2"),
1460 		STM32_FUNCTION(14, "DSIHOST_TE"),
1461 		STM32_FUNCTION(15, "LCD_R3"),
1462 		STM32_FUNCTION(16, "EVENTOUT"),
1463 		STM32_FUNCTION(17, "ANALOG")
1464 	),
1465 	STM32_PIN(
1466 		PINCTRL_PIN(147, "PJ3"),
1467 		STM32_FUNCTION(0, "GPIOJ3"),
1468 		STM32_FUNCTION(15, "LCD_R4"),
1469 		STM32_FUNCTION(16, "EVENTOUT"),
1470 		STM32_FUNCTION(17, "ANALOG")
1471 	),
1472 	STM32_PIN(
1473 		PINCTRL_PIN(148, "PJ4"),
1474 		STM32_FUNCTION(0, "GPIOJ4"),
1475 		STM32_FUNCTION(15, "LCD_R5"),
1476 		STM32_FUNCTION(16, "EVENTOUT"),
1477 		STM32_FUNCTION(17, "ANALOG")
1478 	),
1479 	STM32_PIN(
1480 		PINCTRL_PIN(149, "PJ5"),
1481 		STM32_FUNCTION(0, "GPIOJ5"),
1482 		STM32_FUNCTION(15, "LCD_R6"),
1483 		STM32_FUNCTION(16, "EVENTOUT"),
1484 		STM32_FUNCTION(17, "ANALOG")
1485 	),
1486 	STM32_PIN(
1487 		PINCTRL_PIN(156, "PJ12"),
1488 		STM32_FUNCTION(0, "GPIOJ12"),
1489 		STM32_FUNCTION(10, "LCD_G3"),
1490 		STM32_FUNCTION(15, "LCD_B0"),
1491 		STM32_FUNCTION(16, "EVENTOUT"),
1492 		STM32_FUNCTION(17, "ANALOG")
1493 	),
1494 	STM32_PIN(
1495 		PINCTRL_PIN(157, "PJ13"),
1496 		STM32_FUNCTION(0, "GPIOJ13"),
1497 		STM32_FUNCTION(10, "LCD_G4"),
1498 		STM32_FUNCTION(15, "LCD_B1"),
1499 		STM32_FUNCTION(16, "EVENTOUT"),
1500 		STM32_FUNCTION(17, "ANALOG")
1501 	),
1502 	STM32_PIN(
1503 		PINCTRL_PIN(158, "PJ14"),
1504 		STM32_FUNCTION(0, "GPIOJ14"),
1505 		STM32_FUNCTION(15, "LCD_B2"),
1506 		STM32_FUNCTION(16, "EVENTOUT"),
1507 		STM32_FUNCTION(17, "ANALOG")
1508 	),
1509 	STM32_PIN(
1510 		PINCTRL_PIN(159, "PJ15"),
1511 		STM32_FUNCTION(0, "GPIOJ15"),
1512 		STM32_FUNCTION(15, "LCD_B3"),
1513 		STM32_FUNCTION(16, "EVENTOUT"),
1514 		STM32_FUNCTION(17, "ANALOG")
1515 	),
1516 	STM32_PIN(
1517 		PINCTRL_PIN(163, "PK3"),
1518 		STM32_FUNCTION(0, "GPIOK3"),
1519 		STM32_FUNCTION(15, "LCD_B4"),
1520 		STM32_FUNCTION(16, "EVENTOUT"),
1521 		STM32_FUNCTION(17, "ANALOG")
1522 	),
1523 	STM32_PIN(
1524 		PINCTRL_PIN(164, "PK4"),
1525 		STM32_FUNCTION(0, "GPIOK4"),
1526 		STM32_FUNCTION(15, "LCD_B5"),
1527 		STM32_FUNCTION(16, "EVENTOUT"),
1528 		STM32_FUNCTION(17, "ANALOG")
1529 	),
1530 	STM32_PIN(
1531 		PINCTRL_PIN(165, "PK5"),
1532 		STM32_FUNCTION(0, "GPIOK5"),
1533 		STM32_FUNCTION(15, "LCD_B6"),
1534 		STM32_FUNCTION(16, "EVENTOUT"),
1535 		STM32_FUNCTION(17, "ANALOG")
1536 	),
1537 	STM32_PIN(
1538 		PINCTRL_PIN(166, "PK6"),
1539 		STM32_FUNCTION(0, "GPIOK6"),
1540 		STM32_FUNCTION(15, "LCD_B7"),
1541 		STM32_FUNCTION(16, "EVENTOUT"),
1542 		STM32_FUNCTION(17, "ANALOG")
1543 	),
1544 	STM32_PIN(
1545 		PINCTRL_PIN(167, "PK7"),
1546 		STM32_FUNCTION(0, "GPIOK7"),
1547 		STM32_FUNCTION(15, "LCD_DE"),
1548 		STM32_FUNCTION(16, "EVENTOUT"),
1549 		STM32_FUNCTION(17, "ANALOG")
1550 	),
1551 };
1552 
1553 static struct stm32_pinctrl_match_data stm32f469_match_data = {
1554 	.pins = stm32f469_pins,
1555 	.npins = ARRAY_SIZE(stm32f469_pins),
1556 };
1557 
1558 static const struct of_device_id stm32f469_pctrl_match[] = {
1559 	{
1560 		.compatible = "st,stm32f469-pinctrl",
1561 		.data = &stm32f469_match_data,
1562 	},
1563 	{ }
1564 };
1565 
1566 static struct platform_driver stm32f469_pinctrl_driver = {
1567 	.probe = stm32_pctl_probe,
1568 	.driver = {
1569 		.name = "stm32f469-pinctrl",
1570 		.of_match_table = stm32f469_pctrl_match,
1571 	},
1572 };
1573 
1574 static int __init stm32f469_pinctrl_init(void)
1575 {
1576 	return platform_driver_register(&stm32f469_pinctrl_driver);
1577 }
1578 arch_initcall(stm32f469_pinctrl_init);
1579