xref: /linux/drivers/pinctrl/stm32/pinctrl-stm32h743.c (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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 stm32h743_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(5, "TIM15_BKIN"),
20 		STM32_FUNCTION(8, "USART2_CTS_NSS"),
21 		STM32_FUNCTION(9, "UART4_TX"),
22 		STM32_FUNCTION(10, "SDMMC2_CMD"),
23 		STM32_FUNCTION(11, "SAI2_SD_B"),
24 		STM32_FUNCTION(12, "ETH_MII_CRS"),
25 		STM32_FUNCTION(16, "EVENTOUT"),
26 		STM32_FUNCTION(17, "ANALOG")
27 	),
28 	STM32_PIN(
29 		PINCTRL_PIN(1, "PA1"),
30 		STM32_FUNCTION(0, "GPIOA1"),
31 		STM32_FUNCTION(2, "TIM2_CH2"),
32 		STM32_FUNCTION(3, "TIM5_CH2"),
33 		STM32_FUNCTION(4, "LPTIM3_OUT"),
34 		STM32_FUNCTION(5, "TIM15_CH1N"),
35 		STM32_FUNCTION(8, "USART2_RTS"),
36 		STM32_FUNCTION(9, "UART4_RX"),
37 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
38 		STM32_FUNCTION(11, "SAI2_MCK_B"),
39 		STM32_FUNCTION(12, "ETH_MII_RX_CLK ETH_RMII_REF_CLK"),
40 		STM32_FUNCTION(15, "LCD_R2"),
41 		STM32_FUNCTION(16, "EVENTOUT"),
42 		STM32_FUNCTION(17, "ANALOG")
43 	),
44 	STM32_PIN(
45 		PINCTRL_PIN(2, "PA2"),
46 		STM32_FUNCTION(0, "GPIOA2"),
47 		STM32_FUNCTION(2, "TIM2_CH3"),
48 		STM32_FUNCTION(3, "TIM5_CH3"),
49 		STM32_FUNCTION(4, "LPTIM4_OUT"),
50 		STM32_FUNCTION(5, "TIM15_CH1"),
51 		STM32_FUNCTION(8, "USART2_TX"),
52 		STM32_FUNCTION(9, "SAI2_SCK_B"),
53 		STM32_FUNCTION(12, "ETH_MDIO"),
54 		STM32_FUNCTION(13, "MDIOS_MDIO"),
55 		STM32_FUNCTION(15, "LCD_R1"),
56 		STM32_FUNCTION(16, "EVENTOUT"),
57 		STM32_FUNCTION(17, "ANALOG")
58 	),
59 	STM32_PIN(
60 		PINCTRL_PIN(3, "PA3"),
61 		STM32_FUNCTION(0, "GPIOA3"),
62 		STM32_FUNCTION(2, "TIM2_CH4"),
63 		STM32_FUNCTION(3, "TIM5_CH4"),
64 		STM32_FUNCTION(4, "LPTIM5_OUT"),
65 		STM32_FUNCTION(5, "TIM15_CH2"),
66 		STM32_FUNCTION(8, "USART2_RX"),
67 		STM32_FUNCTION(10, "LCD_B2"),
68 		STM32_FUNCTION(11, "OTG_HS_ULPI_D0"),
69 		STM32_FUNCTION(12, "ETH_MII_COL"),
70 		STM32_FUNCTION(15, "LCD_B5"),
71 		STM32_FUNCTION(16, "EVENTOUT"),
72 		STM32_FUNCTION(17, "ANALOG")
73 	),
74 	STM32_PIN(
75 		PINCTRL_PIN(4, "PA4"),
76 		STM32_FUNCTION(0, "GPIOA4"),
77 		STM32_FUNCTION(3, "TIM5_ETR"),
78 		STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"),
79 		STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
80 		STM32_FUNCTION(8, "USART2_CK"),
81 		STM32_FUNCTION(9, "SPI6_NSS"),
82 		STM32_FUNCTION(13, "OTG_HS_SOF"),
83 		STM32_FUNCTION(14, "DCMI_HSYNC"),
84 		STM32_FUNCTION(15, "LCD_VSYNC"),
85 		STM32_FUNCTION(16, "EVENTOUT"),
86 		STM32_FUNCTION(17, "ANALOG")
87 	),
88 	STM32_PIN(
89 		PINCTRL_PIN(5, "PA5"),
90 		STM32_FUNCTION(0, "GPIOA5"),
91 		STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
92 		STM32_FUNCTION(4, "TIM8_CH1N"),
93 		STM32_FUNCTION(6, "SPI1_SCK I2S1_CK"),
94 		STM32_FUNCTION(9, "SPI6_SCK"),
95 		STM32_FUNCTION(11, "OTG_HS_ULPI_CK"),
96 		STM32_FUNCTION(15, "LCD_R4"),
97 		STM32_FUNCTION(16, "EVENTOUT"),
98 		STM32_FUNCTION(17, "ANALOG")
99 	),
100 	STM32_PIN(
101 		PINCTRL_PIN(6, "PA6"),
102 		STM32_FUNCTION(0, "GPIOA6"),
103 		STM32_FUNCTION(2, "TIM1_BKIN"),
104 		STM32_FUNCTION(3, "TIM3_CH1"),
105 		STM32_FUNCTION(4, "TIM8_BKIN"),
106 		STM32_FUNCTION(6, "SPI1_MISO I2S1_SDI"),
107 		STM32_FUNCTION(9, "SPI6_MISO"),
108 		STM32_FUNCTION(10, "TIM13_CH1"),
109 		STM32_FUNCTION(11, "TIM8_BKIN_COMP12"),
110 		STM32_FUNCTION(12, "MDIOS_MDC"),
111 		STM32_FUNCTION(13, "TIM1_BKIN_COMP12"),
112 		STM32_FUNCTION(14, "DCMI_PIXCLK"),
113 		STM32_FUNCTION(15, "LCD_G2"),
114 		STM32_FUNCTION(16, "EVENTOUT"),
115 		STM32_FUNCTION(17, "ANALOG")
116 	),
117 	STM32_PIN(
118 		PINCTRL_PIN(7, "PA7"),
119 		STM32_FUNCTION(0, "GPIOA7"),
120 		STM32_FUNCTION(2, "TIM1_CH1N"),
121 		STM32_FUNCTION(3, "TIM3_CH2"),
122 		STM32_FUNCTION(4, "TIM8_CH1N"),
123 		STM32_FUNCTION(6, "SPI1_MOSI I2S1_SDO"),
124 		STM32_FUNCTION(9, "SPI6_MOSI"),
125 		STM32_FUNCTION(10, "TIM14_CH1"),
126 		STM32_FUNCTION(12, "ETH_MII_RX_DV ETH_RMII_CRS_DV"),
127 		STM32_FUNCTION(13, "FMC_SDNWE"),
128 		STM32_FUNCTION(16, "EVENTOUT"),
129 		STM32_FUNCTION(17, "ANALOG")
130 	),
131 	STM32_PIN(
132 		PINCTRL_PIN(8, "PA8"),
133 		STM32_FUNCTION(0, "GPIOA8"),
134 		STM32_FUNCTION(1, "MCO1"),
135 		STM32_FUNCTION(2, "TIM1_CH1"),
136 		STM32_FUNCTION(3, "HRTIM_CHB2"),
137 		STM32_FUNCTION(4, "TIM8_BKIN2"),
138 		STM32_FUNCTION(5, "I2C3_SCL"),
139 		STM32_FUNCTION(8, "USART1_CK"),
140 		STM32_FUNCTION(11, "OTG_FS_SOF"),
141 		STM32_FUNCTION(12, "UART7_RX"),
142 		STM32_FUNCTION(13, "TIM8_BKIN2_COMP12"),
143 		STM32_FUNCTION(14, "LCD_B3"),
144 		STM32_FUNCTION(15, "LCD_R6"),
145 		STM32_FUNCTION(16, "EVENTOUT"),
146 		STM32_FUNCTION(17, "ANALOG")
147 	),
148 	STM32_PIN(
149 		PINCTRL_PIN(9, "PA9"),
150 		STM32_FUNCTION(0, "GPIOA9"),
151 		STM32_FUNCTION(2, "TIM1_CH2"),
152 		STM32_FUNCTION(3, "HRTIM_CHC1"),
153 		STM32_FUNCTION(4, "LPUART1_TX"),
154 		STM32_FUNCTION(5, "I2C3_SMBA"),
155 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
156 		STM32_FUNCTION(8, "USART1_TX"),
157 		STM32_FUNCTION(10, "CAN1_RXFD"),
158 		STM32_FUNCTION(12, "ETH_TX_ER"),
159 		STM32_FUNCTION(14, "DCMI_D0"),
160 		STM32_FUNCTION(15, "LCD_R5"),
161 		STM32_FUNCTION(16, "EVENTOUT"),
162 		STM32_FUNCTION(17, "ANALOG")
163 	),
164 	STM32_PIN(
165 		PINCTRL_PIN(10, "PA10"),
166 		STM32_FUNCTION(0, "GPIOA10"),
167 		STM32_FUNCTION(2, "TIM1_CH3"),
168 		STM32_FUNCTION(3, "HRTIM_CHC2"),
169 		STM32_FUNCTION(4, "LPUART1_RX"),
170 		STM32_FUNCTION(8, "USART1_RX"),
171 		STM32_FUNCTION(10, "CAN1_TXFD"),
172 		STM32_FUNCTION(11, "OTG_FS_ID"),
173 		STM32_FUNCTION(12, "MDIOS_MDIO"),
174 		STM32_FUNCTION(13, "LCD_B4"),
175 		STM32_FUNCTION(14, "DCMI_D1"),
176 		STM32_FUNCTION(15, "LCD_B1"),
177 		STM32_FUNCTION(16, "EVENTOUT"),
178 		STM32_FUNCTION(17, "ANALOG")
179 	),
180 	STM32_PIN(
181 		PINCTRL_PIN(11, "PA11"),
182 		STM32_FUNCTION(0, "GPIOA11"),
183 		STM32_FUNCTION(2, "TIM1_CH4"),
184 		STM32_FUNCTION(3, "HRTIM_CHD1"),
185 		STM32_FUNCTION(4, "LPUART1_CTS"),
186 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
187 		STM32_FUNCTION(7, "UART4_RX"),
188 		STM32_FUNCTION(8, "USART1_CTS_NSS"),
189 		STM32_FUNCTION(10, "CAN1_RX"),
190 		STM32_FUNCTION(11, "OTG_FS_DM"),
191 		STM32_FUNCTION(15, "LCD_R4"),
192 		STM32_FUNCTION(16, "EVENTOUT"),
193 		STM32_FUNCTION(17, "ANALOG")
194 	),
195 	STM32_PIN(
196 		PINCTRL_PIN(12, "PA12"),
197 		STM32_FUNCTION(0, "GPIOA12"),
198 		STM32_FUNCTION(2, "TIM1_ETR"),
199 		STM32_FUNCTION(3, "HRTIM_CHD2"),
200 		STM32_FUNCTION(4, "LPUART1_RTS"),
201 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
202 		STM32_FUNCTION(7, "UART4_TX"),
203 		STM32_FUNCTION(8, "USART1_RTS"),
204 		STM32_FUNCTION(9, "SAI2_FS_B"),
205 		STM32_FUNCTION(10, "CAN1_TX"),
206 		STM32_FUNCTION(11, "OTG_FS_DP"),
207 		STM32_FUNCTION(15, "LCD_R5"),
208 		STM32_FUNCTION(16, "EVENTOUT"),
209 		STM32_FUNCTION(17, "ANALOG")
210 	),
211 	STM32_PIN(
212 		PINCTRL_PIN(13, "PA13"),
213 		STM32_FUNCTION(0, "GPIOA13"),
214 		STM32_FUNCTION(1, "JTMS SWDIO"),
215 		STM32_FUNCTION(16, "EVENTOUT"),
216 		STM32_FUNCTION(17, "ANALOG")
217 	),
218 	STM32_PIN(
219 		PINCTRL_PIN(14, "PA14"),
220 		STM32_FUNCTION(0, "GPIOA14"),
221 		STM32_FUNCTION(1, "JTCK SWCLK"),
222 		STM32_FUNCTION(16, "EVENTOUT"),
223 		STM32_FUNCTION(17, "ANALOG")
224 	),
225 	STM32_PIN(
226 		PINCTRL_PIN(15, "PA15"),
227 		STM32_FUNCTION(0, "GPIOA15"),
228 		STM32_FUNCTION(1, "JTDI"),
229 		STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
230 		STM32_FUNCTION(3, "HRTIM_FLT1"),
231 		STM32_FUNCTION(5, "HDMI_CEC"),
232 		STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"),
233 		STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
234 		STM32_FUNCTION(8, "SPI6_NSS"),
235 		STM32_FUNCTION(9, "UART4_RTS"),
236 		STM32_FUNCTION(12, "UART7_TX"),
237 		STM32_FUNCTION(14, "DSI_TE"),
238 		STM32_FUNCTION(16, "EVENTOUT"),
239 		STM32_FUNCTION(17, "ANALOG")
240 	),
241 	STM32_PIN(
242 		PINCTRL_PIN(16, "PB0"),
243 		STM32_FUNCTION(0, "GPIOB0"),
244 		STM32_FUNCTION(2, "TIM1_CH2N"),
245 		STM32_FUNCTION(3, "TIM3_CH3"),
246 		STM32_FUNCTION(4, "TIM8_CH2N"),
247 		STM32_FUNCTION(7, "DFSDM_CKOUT"),
248 		STM32_FUNCTION(9, "UART4_CTS"),
249 		STM32_FUNCTION(10, "LCD_R3"),
250 		STM32_FUNCTION(11, "OTG_HS_ULPI_D1"),
251 		STM32_FUNCTION(12, "ETH_MII_RXD2"),
252 		STM32_FUNCTION(15, "LCD_G1"),
253 		STM32_FUNCTION(16, "EVENTOUT"),
254 		STM32_FUNCTION(17, "ANALOG")
255 	),
256 	STM32_PIN(
257 		PINCTRL_PIN(17, "PB1"),
258 		STM32_FUNCTION(0, "GPIOB1"),
259 		STM32_FUNCTION(2, "TIM1_CH3N"),
260 		STM32_FUNCTION(3, "TIM3_CH4"),
261 		STM32_FUNCTION(4, "TIM8_CH3N"),
262 		STM32_FUNCTION(7, "DFSDM_DATIN1"),
263 		STM32_FUNCTION(10, "LCD_R6"),
264 		STM32_FUNCTION(11, "OTG_HS_ULPI_D2"),
265 		STM32_FUNCTION(12, "ETH_MII_RXD3"),
266 		STM32_FUNCTION(15, "LCD_G0"),
267 		STM32_FUNCTION(16, "EVENTOUT"),
268 		STM32_FUNCTION(17, "ANALOG")
269 	),
270 	STM32_PIN(
271 		PINCTRL_PIN(18, "PB2"),
272 		STM32_FUNCTION(0, "GPIOB2"),
273 		STM32_FUNCTION(3, "SAI1_D1"),
274 		STM32_FUNCTION(5, "DFSDM_CKIN1"),
275 		STM32_FUNCTION(7, "SAI1_SD_A"),
276 		STM32_FUNCTION(8, "SPI3_MOSI I2S3_SDO"),
277 		STM32_FUNCTION(9, "SAI4_SD_A"),
278 		STM32_FUNCTION(10, "QUADSPI_CLK"),
279 		STM32_FUNCTION(11, "SAI4_D1"),
280 		STM32_FUNCTION(12, "ETH_TX_ER"),
281 		STM32_FUNCTION(16, "EVENTOUT"),
282 		STM32_FUNCTION(17, "ANALOG")
283 	),
284 	STM32_PIN(
285 		PINCTRL_PIN(19, "PB3"),
286 		STM32_FUNCTION(0, "GPIOB3"),
287 		STM32_FUNCTION(1, "JTDO TRACESWO"),
288 		STM32_FUNCTION(2, "TIM2_CH2"),
289 		STM32_FUNCTION(3, "HRTIM_FLT4"),
290 		STM32_FUNCTION(6, "SPI1_SCK I2S1_CK"),
291 		STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
292 		STM32_FUNCTION(9, "SPI6_SCK"),
293 		STM32_FUNCTION(10, "SDMMC2_D2"),
294 		STM32_FUNCTION(12, "UART7_RX"),
295 		STM32_FUNCTION(16, "EVENTOUT"),
296 		STM32_FUNCTION(17, "ANALOG")
297 	),
298 	STM32_PIN(
299 		PINCTRL_PIN(20, "PB4"),
300 		STM32_FUNCTION(0, "GPIOB4"),
301 		STM32_FUNCTION(1, "NJTRST"),
302 		STM32_FUNCTION(2, "TIM16_BKIN"),
303 		STM32_FUNCTION(3, "TIM3_CH1"),
304 		STM32_FUNCTION(4, "HRTIM_EEV6"),
305 		STM32_FUNCTION(6, "SPI1_MISO I2S1_SDI"),
306 		STM32_FUNCTION(7, "SPI3_MISO I2S3_SDI"),
307 		STM32_FUNCTION(8, "SPI2_NSS I2S2_WS"),
308 		STM32_FUNCTION(9, "SPI6_MISO"),
309 		STM32_FUNCTION(10, "SDMMC2_D3"),
310 		STM32_FUNCTION(12, "UART7_TX"),
311 		STM32_FUNCTION(16, "EVENTOUT"),
312 		STM32_FUNCTION(17, "ANALOG")
313 	),
314 	STM32_PIN(
315 		PINCTRL_PIN(21, "PB5"),
316 		STM32_FUNCTION(0, "GPIOB5"),
317 		STM32_FUNCTION(2, "TIM17_BKIN"),
318 		STM32_FUNCTION(3, "TIM3_CH2"),
319 		STM32_FUNCTION(4, "HRTIM_EEV7"),
320 		STM32_FUNCTION(5, "I2C1_SMBA"),
321 		STM32_FUNCTION(6, "SPI1_MOSI I2S1_SDO"),
322 		STM32_FUNCTION(7, "I2C4_SMBA"),
323 		STM32_FUNCTION(8, "SPI3_MOSI I2S3_SDO"),
324 		STM32_FUNCTION(9, "SPI6_MOSI"),
325 		STM32_FUNCTION(10, "CAN2_RX"),
326 		STM32_FUNCTION(11, "OTG_HS_ULPI_D7"),
327 		STM32_FUNCTION(12, "ETH_PPS_OUT"),
328 		STM32_FUNCTION(13, "FMC_SDCKE1"),
329 		STM32_FUNCTION(14, "DCMI_D10"),
330 		STM32_FUNCTION(15, "UART5_RX"),
331 		STM32_FUNCTION(16, "EVENTOUT"),
332 		STM32_FUNCTION(17, "ANALOG")
333 	),
334 	STM32_PIN(
335 		PINCTRL_PIN(22, "PB6"),
336 		STM32_FUNCTION(0, "GPIOB6"),
337 		STM32_FUNCTION(2, "TIM16_CH1N"),
338 		STM32_FUNCTION(3, "TIM4_CH1"),
339 		STM32_FUNCTION(4, "HRTIM_EEV8"),
340 		STM32_FUNCTION(5, "I2C1_SCL"),
341 		STM32_FUNCTION(6, "HDMI_CEC"),
342 		STM32_FUNCTION(7, "I2C4_SCL"),
343 		STM32_FUNCTION(8, "USART1_TX"),
344 		STM32_FUNCTION(9, "LPUART1_TX"),
345 		STM32_FUNCTION(10, "CAN2_TX"),
346 		STM32_FUNCTION(11, "QUADSPI_BK1_NCS"),
347 		STM32_FUNCTION(12, "DFSDM_DATIN5"),
348 		STM32_FUNCTION(13, "FMC_SDNE1"),
349 		STM32_FUNCTION(14, "DCMI_D5"),
350 		STM32_FUNCTION(15, "UART5_TX"),
351 		STM32_FUNCTION(16, "EVENTOUT"),
352 		STM32_FUNCTION(17, "ANALOG")
353 	),
354 	STM32_PIN(
355 		PINCTRL_PIN(23, "PB7"),
356 		STM32_FUNCTION(0, "GPIOB7"),
357 		STM32_FUNCTION(2, "TIM17_CH1N"),
358 		STM32_FUNCTION(3, "TIM4_CH2"),
359 		STM32_FUNCTION(4, "HRTIM_EEV9"),
360 		STM32_FUNCTION(5, "I2C1_SDA"),
361 		STM32_FUNCTION(7, "I2C4_SDA"),
362 		STM32_FUNCTION(8, "USART1_RX"),
363 		STM32_FUNCTION(9, "LPUART1_RX"),
364 		STM32_FUNCTION(10, "CAN2_TXFD"),
365 		STM32_FUNCTION(12, "DFSDM_CKIN5"),
366 		STM32_FUNCTION(13, "FMC_NL"),
367 		STM32_FUNCTION(14, "DCMI_VSYNC"),
368 		STM32_FUNCTION(16, "EVENTOUT"),
369 		STM32_FUNCTION(17, "ANALOG")
370 	),
371 	STM32_PIN(
372 		PINCTRL_PIN(24, "PB8"),
373 		STM32_FUNCTION(0, "GPIOB8"),
374 		STM32_FUNCTION(2, "TIM16_CH1"),
375 		STM32_FUNCTION(3, "TIM4_CH3"),
376 		STM32_FUNCTION(4, "DFSDM_CKIN7"),
377 		STM32_FUNCTION(5, "I2C1_SCL"),
378 		STM32_FUNCTION(7, "I2C4_SCL"),
379 		STM32_FUNCTION(8, "SDMMC1_CKIN"),
380 		STM32_FUNCTION(9, "UART4_RX"),
381 		STM32_FUNCTION(10, "CAN1_RX"),
382 		STM32_FUNCTION(11, "SDMMC2_D4"),
383 		STM32_FUNCTION(12, "ETH_MII_TXD3"),
384 		STM32_FUNCTION(13, "SDMMC1_D4"),
385 		STM32_FUNCTION(14, "DCMI_D6"),
386 		STM32_FUNCTION(15, "LCD_B6"),
387 		STM32_FUNCTION(16, "EVENTOUT"),
388 		STM32_FUNCTION(17, "ANALOG")
389 	),
390 	STM32_PIN(
391 		PINCTRL_PIN(25, "PB9"),
392 		STM32_FUNCTION(0, "GPIOB9"),
393 		STM32_FUNCTION(2, "TIM17_CH1"),
394 		STM32_FUNCTION(3, "TIM4_CH4"),
395 		STM32_FUNCTION(4, "DFSDM_DATIN7"),
396 		STM32_FUNCTION(5, "I2C1_SDA"),
397 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
398 		STM32_FUNCTION(7, "I2C4_SDA"),
399 		STM32_FUNCTION(8, "SDMMC1_CDIR"),
400 		STM32_FUNCTION(9, "UART4_TX"),
401 		STM32_FUNCTION(10, "CAN1_TX"),
402 		STM32_FUNCTION(11, "SDMMC2_D5"),
403 		STM32_FUNCTION(12, "I2C4_SMBA"),
404 		STM32_FUNCTION(13, "SDMMC1_D5"),
405 		STM32_FUNCTION(14, "DCMI_D7"),
406 		STM32_FUNCTION(15, "LCD_B7"),
407 		STM32_FUNCTION(16, "EVENTOUT"),
408 		STM32_FUNCTION(17, "ANALOG")
409 	),
410 	STM32_PIN(
411 		PINCTRL_PIN(26, "PB10"),
412 		STM32_FUNCTION(0, "GPIOB10"),
413 		STM32_FUNCTION(2, "TIM2_CH3"),
414 		STM32_FUNCTION(3, "HRTIM_SCOUT"),
415 		STM32_FUNCTION(4, "LPTIM2_IN1"),
416 		STM32_FUNCTION(5, "I2C2_SCL"),
417 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
418 		STM32_FUNCTION(7, "DFSDM_DATIN7"),
419 		STM32_FUNCTION(8, "USART3_TX"),
420 		STM32_FUNCTION(10, "QUADSPI_BK1_NCS"),
421 		STM32_FUNCTION(11, "OTG_HS_ULPI_D3"),
422 		STM32_FUNCTION(12, "ETH_MII_RX_ER"),
423 		STM32_FUNCTION(15, "LCD_G4"),
424 		STM32_FUNCTION(16, "EVENTOUT"),
425 		STM32_FUNCTION(17, "ANALOG")
426 	),
427 	STM32_PIN(
428 		PINCTRL_PIN(27, "PB11"),
429 		STM32_FUNCTION(0, "GPIOB11"),
430 		STM32_FUNCTION(2, "TIM2_CH4"),
431 		STM32_FUNCTION(3, "HRTIM_SCIN"),
432 		STM32_FUNCTION(4, "LPTIM2_ETR"),
433 		STM32_FUNCTION(5, "I2C2_SDA"),
434 		STM32_FUNCTION(7, "DFSDM_CKIN7"),
435 		STM32_FUNCTION(8, "USART3_RX"),
436 		STM32_FUNCTION(11, "OTG_HS_ULPI_D4"),
437 		STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
438 		STM32_FUNCTION(14, "DSI_TE"),
439 		STM32_FUNCTION(15, "LCD_G5"),
440 		STM32_FUNCTION(16, "EVENTOUT"),
441 		STM32_FUNCTION(17, "ANALOG")
442 	),
443 	STM32_PIN(
444 		PINCTRL_PIN(28, "PB12"),
445 		STM32_FUNCTION(0, "GPIOB12"),
446 		STM32_FUNCTION(2, "TIM1_BKIN"),
447 		STM32_FUNCTION(5, "I2C2_SMBA"),
448 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
449 		STM32_FUNCTION(7, "DFSDM_DATIN1"),
450 		STM32_FUNCTION(8, "USART3_CK"),
451 		STM32_FUNCTION(10, "CAN2_RX"),
452 		STM32_FUNCTION(11, "OTG_HS_ULPI_D5"),
453 		STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
454 		STM32_FUNCTION(13, "OTG_HS_ID"),
455 		STM32_FUNCTION(14, "TIM1_BKIN_COMP12"),
456 		STM32_FUNCTION(15, "UART5_RX"),
457 		STM32_FUNCTION(16, "EVENTOUT"),
458 		STM32_FUNCTION(17, "ANALOG")
459 	),
460 	STM32_PIN(
461 		PINCTRL_PIN(29, "PB13"),
462 		STM32_FUNCTION(0, "GPIOB13"),
463 		STM32_FUNCTION(2, "TIM1_CH1N"),
464 		STM32_FUNCTION(4, "LPTIM2_OUT"),
465 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
466 		STM32_FUNCTION(7, "DFSDM_CKIN1"),
467 		STM32_FUNCTION(8, "USART3_CTS_NSS"),
468 		STM32_FUNCTION(10, "CAN2_TX"),
469 		STM32_FUNCTION(11, "OTG_HS_ULPI_D6"),
470 		STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
471 		STM32_FUNCTION(15, "UART5_TX"),
472 		STM32_FUNCTION(16, "EVENTOUT"),
473 		STM32_FUNCTION(17, "ANALOG")
474 	),
475 	STM32_PIN(
476 		PINCTRL_PIN(30, "PB14"),
477 		STM32_FUNCTION(0, "GPIOB14"),
478 		STM32_FUNCTION(2, "TIM1_CH2N"),
479 		STM32_FUNCTION(4, "TIM8_CH2N"),
480 		STM32_FUNCTION(5, "USART1_TX"),
481 		STM32_FUNCTION(6, "SPI2_MISO I2S2_SDI"),
482 		STM32_FUNCTION(7, "DFSDM_DATIN2"),
483 		STM32_FUNCTION(8, "USART3_RTS"),
484 		STM32_FUNCTION(9, "UART4_RTS"),
485 		STM32_FUNCTION(10, "SDMMC2_D0"),
486 		STM32_FUNCTION(13, "OTG_HS_DM"),
487 		STM32_FUNCTION(16, "EVENTOUT"),
488 		STM32_FUNCTION(17, "ANALOG")
489 	),
490 	STM32_PIN(
491 		PINCTRL_PIN(31, "PB15"),
492 		STM32_FUNCTION(0, "GPIOB15"),
493 		STM32_FUNCTION(1, "RTC_REFIN"),
494 		STM32_FUNCTION(2, "TIM1_CH3N"),
495 		STM32_FUNCTION(4, "TIM8_CH3N"),
496 		STM32_FUNCTION(5, "USART1_RX"),
497 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SDO"),
498 		STM32_FUNCTION(7, "DFSDM_CKIN2"),
499 		STM32_FUNCTION(9, "UART4_CTS"),
500 		STM32_FUNCTION(10, "SDMMC2_D1"),
501 		STM32_FUNCTION(13, "OTG_HS_DP"),
502 		STM32_FUNCTION(16, "EVENTOUT"),
503 		STM32_FUNCTION(17, "ANALOG")
504 	),
505 	STM32_PIN(
506 		PINCTRL_PIN(32, "PC0"),
507 		STM32_FUNCTION(0, "GPIOC0"),
508 		STM32_FUNCTION(4, "DFSDM_CKIN0"),
509 		STM32_FUNCTION(7, "DFSDM_DATIN4"),
510 		STM32_FUNCTION(9, "SAI2_FS_B"),
511 		STM32_FUNCTION(11, "OTG_HS_ULPI_STP"),
512 		STM32_FUNCTION(13, "FMC_SDNWE"),
513 		STM32_FUNCTION(15, "LCD_R5"),
514 		STM32_FUNCTION(16, "EVENTOUT"),
515 		STM32_FUNCTION(17, "ANALOG")
516 	),
517 	STM32_PIN(
518 		PINCTRL_PIN(33, "PC1"),
519 		STM32_FUNCTION(0, "GPIOC1"),
520 		STM32_FUNCTION(1, "TRACED0"),
521 		STM32_FUNCTION(3, "SAI1_D1"),
522 		STM32_FUNCTION(4, "DFSDM_DATIN0"),
523 		STM32_FUNCTION(5, "DFSDM_CKIN4"),
524 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SDO"),
525 		STM32_FUNCTION(7, "SAI1_SD_A"),
526 		STM32_FUNCTION(9, "SAI4_SD_A"),
527 		STM32_FUNCTION(10, "SDMMC2_CK"),
528 		STM32_FUNCTION(11, "SAI4_D1"),
529 		STM32_FUNCTION(12, "ETH_MDC"),
530 		STM32_FUNCTION(13, "MDIOS_MDC"),
531 		STM32_FUNCTION(16, "EVENTOUT"),
532 		STM32_FUNCTION(17, "ANALOG")
533 	),
534 	STM32_PIN(
535 		PINCTRL_PIN(34, "PC2"),
536 		STM32_FUNCTION(0, "GPIOC2"),
537 		STM32_FUNCTION(4, "DFSDM_CKIN1"),
538 		STM32_FUNCTION(6, "SPI2_MISO I2S2_SDI"),
539 		STM32_FUNCTION(7, "DFSDM_CKOUT"),
540 		STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
541 		STM32_FUNCTION(12, "ETH_MII_TXD2"),
542 		STM32_FUNCTION(13, "FMC_SDNE0"),
543 		STM32_FUNCTION(16, "EVENTOUT"),
544 		STM32_FUNCTION(17, "ANALOG")
545 	),
546 	STM32_PIN(
547 		PINCTRL_PIN(35, "PC3"),
548 		STM32_FUNCTION(0, "GPIOC3"),
549 		STM32_FUNCTION(4, "DFSDM_DATIN1"),
550 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SDO"),
551 		STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
552 		STM32_FUNCTION(12, "ETH_MII_TX_CLK"),
553 		STM32_FUNCTION(13, "FMC_SDCKE0"),
554 		STM32_FUNCTION(16, "EVENTOUT"),
555 		STM32_FUNCTION(17, "ANALOG")
556 	),
557 	STM32_PIN(
558 		PINCTRL_PIN(36, "PC4"),
559 		STM32_FUNCTION(0, "GPIOC4"),
560 		STM32_FUNCTION(4, "DFSDM_CKIN2"),
561 		STM32_FUNCTION(6, "I2S1_MCK"),
562 		STM32_FUNCTION(10, "SPDIFRX_IN2"),
563 		STM32_FUNCTION(12, "ETH_MII_RXD0 ETH_RMII_RXD0"),
564 		STM32_FUNCTION(13, "FMC_SDNE0"),
565 		STM32_FUNCTION(16, "EVENTOUT"),
566 		STM32_FUNCTION(17, "ANALOG")
567 	),
568 	STM32_PIN(
569 		PINCTRL_PIN(37, "PC5"),
570 		STM32_FUNCTION(0, "GPIOC5"),
571 		STM32_FUNCTION(3, "SAI1_D3"),
572 		STM32_FUNCTION(4, "DFSDM_DATIN2"),
573 		STM32_FUNCTION(10, "SPDIFRX_IN3"),
574 		STM32_FUNCTION(11, "SAI4_D3"),
575 		STM32_FUNCTION(12, "ETH_MII_RXD1 ETH_RMII_RXD1"),
576 		STM32_FUNCTION(13, "FMC_SDCKE0"),
577 		STM32_FUNCTION(14, "COMP_1_OUT"),
578 		STM32_FUNCTION(16, "EVENTOUT"),
579 		STM32_FUNCTION(17, "ANALOG")
580 	),
581 	STM32_PIN(
582 		PINCTRL_PIN(38, "PC6"),
583 		STM32_FUNCTION(0, "GPIOC6"),
584 		STM32_FUNCTION(2, "HRTIM_CHA1"),
585 		STM32_FUNCTION(3, "TIM3_CH1"),
586 		STM32_FUNCTION(4, "TIM8_CH1"),
587 		STM32_FUNCTION(5, "DFSDM_CKIN3"),
588 		STM32_FUNCTION(6, "I2S2_MCK"),
589 		STM32_FUNCTION(8, "USART6_TX"),
590 		STM32_FUNCTION(9, "SDMMC1_D0DIR"),
591 		STM32_FUNCTION(10, "FMC_NWAIT"),
592 		STM32_FUNCTION(11, "SDMMC2_D6"),
593 		STM32_FUNCTION(13, "SDMMC1_D6"),
594 		STM32_FUNCTION(14, "DCMI_D0"),
595 		STM32_FUNCTION(15, "LCD_HSYNC"),
596 		STM32_FUNCTION(16, "EVENTOUT"),
597 		STM32_FUNCTION(17, "ANALOG")
598 	),
599 	STM32_PIN(
600 		PINCTRL_PIN(39, "PC7"),
601 		STM32_FUNCTION(0, "GPIOC7"),
602 		STM32_FUNCTION(1, "TRGIO"),
603 		STM32_FUNCTION(2, "HRTIM_CHA2"),
604 		STM32_FUNCTION(3, "TIM3_CH2"),
605 		STM32_FUNCTION(4, "TIM8_CH2"),
606 		STM32_FUNCTION(5, "DFSDM_DATIN3"),
607 		STM32_FUNCTION(7, "I2S3_MCK"),
608 		STM32_FUNCTION(8, "USART6_RX"),
609 		STM32_FUNCTION(9, "SDMMC1_D123DIR"),
610 		STM32_FUNCTION(10, "FMC_NE1"),
611 		STM32_FUNCTION(11, "SDMMC2_D7"),
612 		STM32_FUNCTION(12, "SWPMI_TX"),
613 		STM32_FUNCTION(13, "SDMMC1_D7"),
614 		STM32_FUNCTION(14, "DCMI_D1"),
615 		STM32_FUNCTION(15, "LCD_G6"),
616 		STM32_FUNCTION(16, "EVENTOUT"),
617 		STM32_FUNCTION(17, "ANALOG")
618 	),
619 	STM32_PIN(
620 		PINCTRL_PIN(40, "PC8"),
621 		STM32_FUNCTION(0, "GPIOC8"),
622 		STM32_FUNCTION(1, "TRACED1"),
623 		STM32_FUNCTION(2, "HRTIM_CHB1"),
624 		STM32_FUNCTION(3, "TIM3_CH3"),
625 		STM32_FUNCTION(4, "TIM8_CH3"),
626 		STM32_FUNCTION(8, "USART6_CK"),
627 		STM32_FUNCTION(9, "UART5_RTS"),
628 		STM32_FUNCTION(10, "FMC_NE2 FMC_NCE"),
629 		STM32_FUNCTION(12, "SWPMI_RX"),
630 		STM32_FUNCTION(13, "SDMMC1_D0"),
631 		STM32_FUNCTION(14, "DCMI_D2"),
632 		STM32_FUNCTION(16, "EVENTOUT"),
633 		STM32_FUNCTION(17, "ANALOG")
634 	),
635 	STM32_PIN(
636 		PINCTRL_PIN(41, "PC9"),
637 		STM32_FUNCTION(0, "GPIOC9"),
638 		STM32_FUNCTION(1, "MCO2"),
639 		STM32_FUNCTION(3, "TIM3_CH4"),
640 		STM32_FUNCTION(4, "TIM8_CH4"),
641 		STM32_FUNCTION(5, "I2C3_SDA"),
642 		STM32_FUNCTION(6, "I2S_CKIN"),
643 		STM32_FUNCTION(9, "UART5_CTS"),
644 		STM32_FUNCTION(10, "QUADSPI_BK1_IO0"),
645 		STM32_FUNCTION(11, "LCD_G3"),
646 		STM32_FUNCTION(12, "SWPMI_SUSPEND"),
647 		STM32_FUNCTION(13, "SDMMC1_D1"),
648 		STM32_FUNCTION(14, "DCMI_D3"),
649 		STM32_FUNCTION(15, "LCD_B2"),
650 		STM32_FUNCTION(16, "EVENTOUT"),
651 		STM32_FUNCTION(17, "ANALOG")
652 	),
653 	STM32_PIN(
654 		PINCTRL_PIN(42, "PC10"),
655 		STM32_FUNCTION(0, "GPIOC10"),
656 		STM32_FUNCTION(3, "HRTIM_EEV1"),
657 		STM32_FUNCTION(4, "DFSDM_CKIN5"),
658 		STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
659 		STM32_FUNCTION(8, "USART3_TX"),
660 		STM32_FUNCTION(9, "UART4_TX"),
661 		STM32_FUNCTION(10, "QUADSPI_BK1_IO1"),
662 		STM32_FUNCTION(13, "SDMMC1_D2"),
663 		STM32_FUNCTION(14, "DCMI_D8"),
664 		STM32_FUNCTION(15, "LCD_R2"),
665 		STM32_FUNCTION(16, "EVENTOUT"),
666 		STM32_FUNCTION(17, "ANALOG")
667 	),
668 	STM32_PIN(
669 		PINCTRL_PIN(43, "PC11"),
670 		STM32_FUNCTION(0, "GPIOC11"),
671 		STM32_FUNCTION(3, "HRTIM_FLT2"),
672 		STM32_FUNCTION(4, "DFSDM_DATIN5"),
673 		STM32_FUNCTION(7, "SPI3_MISO I2S3_SDI"),
674 		STM32_FUNCTION(8, "USART3_RX"),
675 		STM32_FUNCTION(9, "UART4_RX"),
676 		STM32_FUNCTION(10, "QUADSPI_BK2_NCS"),
677 		STM32_FUNCTION(13, "SDMMC1_D3"),
678 		STM32_FUNCTION(14, "DCMI_D4"),
679 		STM32_FUNCTION(16, "EVENTOUT"),
680 		STM32_FUNCTION(17, "ANALOG")
681 	),
682 	STM32_PIN(
683 		PINCTRL_PIN(44, "PC12"),
684 		STM32_FUNCTION(0, "GPIOC12"),
685 		STM32_FUNCTION(1, "TRACED3"),
686 		STM32_FUNCTION(3, "HRTIM_EEV2"),
687 		STM32_FUNCTION(7, "SPI3_MOSI I2S3_SDO"),
688 		STM32_FUNCTION(8, "USART3_CK"),
689 		STM32_FUNCTION(9, "UART5_TX"),
690 		STM32_FUNCTION(13, "SDMMC1_CK"),
691 		STM32_FUNCTION(14, "DCMI_D9"),
692 		STM32_FUNCTION(16, "EVENTOUT"),
693 		STM32_FUNCTION(17, "ANALOG")
694 	),
695 	STM32_PIN(
696 		PINCTRL_PIN(45, "PC13"),
697 		STM32_FUNCTION(0, "GPIOC13"),
698 		STM32_FUNCTION(16, "EVENTOUT"),
699 		STM32_FUNCTION(17, "ANALOG")
700 	),
701 	STM32_PIN(
702 		PINCTRL_PIN(46, "PC14"),
703 		STM32_FUNCTION(0, "GPIOC14"),
704 		STM32_FUNCTION(16, "EVENTOUT"),
705 		STM32_FUNCTION(17, "ANALOG")
706 	),
707 	STM32_PIN(
708 		PINCTRL_PIN(47, "PC15"),
709 		STM32_FUNCTION(0, "GPIOC15"),
710 		STM32_FUNCTION(16, "EVENTOUT"),
711 		STM32_FUNCTION(17, "ANALOG")
712 	),
713 	STM32_PIN(
714 		PINCTRL_PIN(48, "PD0"),
715 		STM32_FUNCTION(0, "GPIOD0"),
716 		STM32_FUNCTION(4, "DFSDM_CKIN6"),
717 		STM32_FUNCTION(7, "SAI3_SCK_A"),
718 		STM32_FUNCTION(9, "UART4_RX"),
719 		STM32_FUNCTION(10, "CAN1_RX"),
720 		STM32_FUNCTION(13, "FMC_D2 FMC_DA2"),
721 		STM32_FUNCTION(16, "EVENTOUT"),
722 		STM32_FUNCTION(17, "ANALOG")
723 	),
724 	STM32_PIN(
725 		PINCTRL_PIN(49, "PD1"),
726 		STM32_FUNCTION(0, "GPIOD1"),
727 		STM32_FUNCTION(4, "DFSDM_DATIN6"),
728 		STM32_FUNCTION(7, "SAI3_SD_A"),
729 		STM32_FUNCTION(9, "UART4_TX"),
730 		STM32_FUNCTION(10, "CAN1_TX"),
731 		STM32_FUNCTION(13, "FMC_D3 FMC_DA3"),
732 		STM32_FUNCTION(16, "EVENTOUT"),
733 		STM32_FUNCTION(17, "ANALOG")
734 	),
735 	STM32_PIN(
736 		PINCTRL_PIN(50, "PD2"),
737 		STM32_FUNCTION(0, "GPIOD2"),
738 		STM32_FUNCTION(1, "TRACED2"),
739 		STM32_FUNCTION(3, "TIM3_ETR"),
740 		STM32_FUNCTION(9, "UART5_RX"),
741 		STM32_FUNCTION(13, "SDMMC1_CMD"),
742 		STM32_FUNCTION(14, "DCMI_D11"),
743 		STM32_FUNCTION(16, "EVENTOUT"),
744 		STM32_FUNCTION(17, "ANALOG")
745 	),
746 	STM32_PIN(
747 		PINCTRL_PIN(51, "PD3"),
748 		STM32_FUNCTION(0, "GPIOD3"),
749 		STM32_FUNCTION(4, "DFSDM_CKOUT"),
750 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
751 		STM32_FUNCTION(8, "USART2_CTS_NSS"),
752 		STM32_FUNCTION(13, "FMC_CLK"),
753 		STM32_FUNCTION(14, "DCMI_D5"),
754 		STM32_FUNCTION(15, "LCD_G7"),
755 		STM32_FUNCTION(16, "EVENTOUT"),
756 		STM32_FUNCTION(17, "ANALOG")
757 	),
758 	STM32_PIN(
759 		PINCTRL_PIN(52, "PD4"),
760 		STM32_FUNCTION(0, "GPIOD4"),
761 		STM32_FUNCTION(3, "HRTIM_FLT3"),
762 		STM32_FUNCTION(7, "SAI3_FS_A"),
763 		STM32_FUNCTION(8, "USART2_RTS"),
764 		STM32_FUNCTION(10, "CAN1_RXFD"),
765 		STM32_FUNCTION(13, "FMC_NOE"),
766 		STM32_FUNCTION(16, "EVENTOUT"),
767 		STM32_FUNCTION(17, "ANALOG")
768 	),
769 	STM32_PIN(
770 		PINCTRL_PIN(53, "PD5"),
771 		STM32_FUNCTION(0, "GPIOD5"),
772 		STM32_FUNCTION(3, "HRTIM_EEV3"),
773 		STM32_FUNCTION(8, "USART2_TX"),
774 		STM32_FUNCTION(10, "CAN1_TXFD"),
775 		STM32_FUNCTION(13, "FMC_NWE"),
776 		STM32_FUNCTION(16, "EVENTOUT"),
777 		STM32_FUNCTION(17, "ANALOG")
778 	),
779 	STM32_PIN(
780 		PINCTRL_PIN(54, "PD6"),
781 		STM32_FUNCTION(0, "GPIOD6"),
782 		STM32_FUNCTION(3, "SAI1_D1"),
783 		STM32_FUNCTION(4, "DFSDM_CKIN4"),
784 		STM32_FUNCTION(5, "DFSDM_DATIN1"),
785 		STM32_FUNCTION(6, "SPI3_MOSI I2S3_SDO"),
786 		STM32_FUNCTION(7, "SAI1_SD_A"),
787 		STM32_FUNCTION(8, "USART2_RX"),
788 		STM32_FUNCTION(9, "SAI4_SD_A"),
789 		STM32_FUNCTION(10, "CAN2_RXFD"),
790 		STM32_FUNCTION(11, "SAI4_D1"),
791 		STM32_FUNCTION(12, "SDMMC2_CK"),
792 		STM32_FUNCTION(13, "FMC_NWAIT"),
793 		STM32_FUNCTION(14, "DCMI_D10"),
794 		STM32_FUNCTION(15, "LCD_B2"),
795 		STM32_FUNCTION(16, "EVENTOUT"),
796 		STM32_FUNCTION(17, "ANALOG")
797 	),
798 	STM32_PIN(
799 		PINCTRL_PIN(55, "PD7"),
800 		STM32_FUNCTION(0, "GPIOD7"),
801 		STM32_FUNCTION(4, "DFSDM_DATIN4"),
802 		STM32_FUNCTION(6, "SPI1_MOSI I2S1_SDO"),
803 		STM32_FUNCTION(7, "DFSDM_CKIN1"),
804 		STM32_FUNCTION(8, "USART2_CK"),
805 		STM32_FUNCTION(10, "SPDIFRX_IN0"),
806 		STM32_FUNCTION(12, "SDMMC2_CMD"),
807 		STM32_FUNCTION(13, "FMC_NE1"),
808 		STM32_FUNCTION(16, "EVENTOUT"),
809 		STM32_FUNCTION(17, "ANALOG")
810 	),
811 	STM32_PIN(
812 		PINCTRL_PIN(56, "PD8"),
813 		STM32_FUNCTION(0, "GPIOD8"),
814 		STM32_FUNCTION(4, "DFSDM_CKIN3"),
815 		STM32_FUNCTION(7, "SAI3_SCK_B"),
816 		STM32_FUNCTION(8, "USART3_TX"),
817 		STM32_FUNCTION(10, "SPDIFRX_IN1"),
818 		STM32_FUNCTION(13, "FMC_D13 FMC_DA13"),
819 		STM32_FUNCTION(16, "EVENTOUT"),
820 		STM32_FUNCTION(17, "ANALOG")
821 	),
822 	STM32_PIN(
823 		PINCTRL_PIN(57, "PD9"),
824 		STM32_FUNCTION(0, "GPIOD9"),
825 		STM32_FUNCTION(4, "DFSDM_DATIN3"),
826 		STM32_FUNCTION(7, "SAI3_SD_B"),
827 		STM32_FUNCTION(8, "USART3_RX"),
828 		STM32_FUNCTION(10, "CAN2_RXFD"),
829 		STM32_FUNCTION(13, "FMC_D14 FMC_DA14"),
830 		STM32_FUNCTION(16, "EVENTOUT"),
831 		STM32_FUNCTION(17, "ANALOG")
832 	),
833 	STM32_PIN(
834 		PINCTRL_PIN(58, "PD10"),
835 		STM32_FUNCTION(0, "GPIOD10"),
836 		STM32_FUNCTION(4, "DFSDM_CKOUT"),
837 		STM32_FUNCTION(7, "SAI3_FS_B"),
838 		STM32_FUNCTION(8, "USART3_CK"),
839 		STM32_FUNCTION(10, "CAN2_TXFD"),
840 		STM32_FUNCTION(13, "FMC_D15 FMC_DA15"),
841 		STM32_FUNCTION(15, "LCD_B3"),
842 		STM32_FUNCTION(16, "EVENTOUT"),
843 		STM32_FUNCTION(17, "ANALOG")
844 	),
845 	STM32_PIN(
846 		PINCTRL_PIN(59, "PD11"),
847 		STM32_FUNCTION(0, "GPIOD11"),
848 		STM32_FUNCTION(4, "LPTIM2_IN2"),
849 		STM32_FUNCTION(5, "I2C4_SMBA"),
850 		STM32_FUNCTION(8, "USART3_CTS_NSS"),
851 		STM32_FUNCTION(10, "QUADSPI_BK1_IO0"),
852 		STM32_FUNCTION(11, "SAI2_SD_A"),
853 		STM32_FUNCTION(13, "FMC_A16"),
854 		STM32_FUNCTION(16, "EVENTOUT"),
855 		STM32_FUNCTION(17, "ANALOG")
856 	),
857 	STM32_PIN(
858 		PINCTRL_PIN(60, "PD12"),
859 		STM32_FUNCTION(0, "GPIOD12"),
860 		STM32_FUNCTION(2, "LPTIM1_IN1"),
861 		STM32_FUNCTION(3, "TIM4_CH1"),
862 		STM32_FUNCTION(4, "LPTIM2_IN1"),
863 		STM32_FUNCTION(5, "I2C4_SCL"),
864 		STM32_FUNCTION(8, "USART3_RTS"),
865 		STM32_FUNCTION(10, "QUADSPI_BK1_IO1"),
866 		STM32_FUNCTION(11, "SAI2_FS_A"),
867 		STM32_FUNCTION(13, "FMC_A17"),
868 		STM32_FUNCTION(16, "EVENTOUT"),
869 		STM32_FUNCTION(17, "ANALOG")
870 	),
871 	STM32_PIN(
872 		PINCTRL_PIN(61, "PD13"),
873 		STM32_FUNCTION(0, "GPIOD13"),
874 		STM32_FUNCTION(2, "LPTIM1_OUT"),
875 		STM32_FUNCTION(3, "TIM4_CH2"),
876 		STM32_FUNCTION(5, "I2C4_SDA"),
877 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
878 		STM32_FUNCTION(11, "SAI2_SCK_A"),
879 		STM32_FUNCTION(13, "FMC_A18"),
880 		STM32_FUNCTION(16, "EVENTOUT"),
881 		STM32_FUNCTION(17, "ANALOG")
882 	),
883 	STM32_PIN(
884 		PINCTRL_PIN(62, "PD14"),
885 		STM32_FUNCTION(0, "GPIOD14"),
886 		STM32_FUNCTION(3, "TIM4_CH3"),
887 		STM32_FUNCTION(7, "SAI3_MCLK_B"),
888 		STM32_FUNCTION(9, "UART8_CTS"),
889 		STM32_FUNCTION(13, "FMC_D0 FMC_DA0"),
890 		STM32_FUNCTION(16, "EVENTOUT"),
891 		STM32_FUNCTION(17, "ANALOG")
892 	),
893 	STM32_PIN(
894 		PINCTRL_PIN(63, "PD15"),
895 		STM32_FUNCTION(0, "GPIOD15"),
896 		STM32_FUNCTION(3, "TIM4_CH4"),
897 		STM32_FUNCTION(7, "SAI3_MCLK_A"),
898 		STM32_FUNCTION(9, "UART8_RTS"),
899 		STM32_FUNCTION(13, "FMC_D1 FMC_DA1"),
900 		STM32_FUNCTION(16, "EVENTOUT"),
901 		STM32_FUNCTION(17, "ANALOG")
902 	),
903 	STM32_PIN(
904 		PINCTRL_PIN(64, "PE0"),
905 		STM32_FUNCTION(0, "GPIOE0"),
906 		STM32_FUNCTION(2, "LPTIM1_ETR"),
907 		STM32_FUNCTION(3, "TIM4_ETR"),
908 		STM32_FUNCTION(4, "HRTIM_SCIN"),
909 		STM32_FUNCTION(5, "LPTIM2_ETR"),
910 		STM32_FUNCTION(9, "UART8_RX"),
911 		STM32_FUNCTION(10, "CAN1_RXFD"),
912 		STM32_FUNCTION(11, "SAI2_MCK_A"),
913 		STM32_FUNCTION(13, "FMC_NBL0"),
914 		STM32_FUNCTION(14, "DCMI_D2"),
915 		STM32_FUNCTION(16, "EVENTOUT"),
916 		STM32_FUNCTION(17, "ANALOG")
917 	),
918 	STM32_PIN(
919 		PINCTRL_PIN(65, "PE1"),
920 		STM32_FUNCTION(0, "GPIOE1"),
921 		STM32_FUNCTION(2, "LPTIM1_IN2"),
922 		STM32_FUNCTION(4, "HRTIM_SCOUT"),
923 		STM32_FUNCTION(9, "UART8_TX"),
924 		STM32_FUNCTION(10, "CAN1_TXFD"),
925 		STM32_FUNCTION(13, "FMC_NBL1"),
926 		STM32_FUNCTION(14, "DCMI_D3"),
927 		STM32_FUNCTION(16, "EVENTOUT"),
928 		STM32_FUNCTION(17, "ANALOG")
929 	),
930 	STM32_PIN(
931 		PINCTRL_PIN(66, "PE2"),
932 		STM32_FUNCTION(0, "GPIOE2"),
933 		STM32_FUNCTION(1, "TRACECLK"),
934 		STM32_FUNCTION(3, "SAI1_CK1"),
935 		STM32_FUNCTION(6, "SPI4_SCK"),
936 		STM32_FUNCTION(7, "SAI1_MCLK_A"),
937 		STM32_FUNCTION(9, "SAI4_MCLK_A"),
938 		STM32_FUNCTION(10, "QUADSPI_BK1_IO2"),
939 		STM32_FUNCTION(11, "SAI4_CK1"),
940 		STM32_FUNCTION(12, "ETH_MII_TXD3"),
941 		STM32_FUNCTION(13, "FMC_A23"),
942 		STM32_FUNCTION(16, "EVENTOUT"),
943 		STM32_FUNCTION(17, "ANALOG")
944 	),
945 	STM32_PIN(
946 		PINCTRL_PIN(67, "PE3"),
947 		STM32_FUNCTION(0, "GPIOE3"),
948 		STM32_FUNCTION(1, "TRACED0"),
949 		STM32_FUNCTION(5, "TIM15_BKIN"),
950 		STM32_FUNCTION(7, "SAI1_SD_B"),
951 		STM32_FUNCTION(9, "SAI4_SD_B"),
952 		STM32_FUNCTION(13, "FMC_A19"),
953 		STM32_FUNCTION(16, "EVENTOUT"),
954 		STM32_FUNCTION(17, "ANALOG")
955 	),
956 	STM32_PIN(
957 		PINCTRL_PIN(68, "PE4"),
958 		STM32_FUNCTION(0, "GPIOE4"),
959 		STM32_FUNCTION(1, "TRACED1"),
960 		STM32_FUNCTION(3, "SAI1_D2"),
961 		STM32_FUNCTION(4, "DFSDM_DATIN3"),
962 		STM32_FUNCTION(5, "TIM15_CH1N"),
963 		STM32_FUNCTION(6, "SPI4_NSS"),
964 		STM32_FUNCTION(7, "SAI1_FS_A"),
965 		STM32_FUNCTION(9, "SAI4_FS_A"),
966 		STM32_FUNCTION(11, "SAI4_D2"),
967 		STM32_FUNCTION(13, "FMC_A20"),
968 		STM32_FUNCTION(14, "DCMI_D4"),
969 		STM32_FUNCTION(15, "LCD_B0"),
970 		STM32_FUNCTION(16, "EVENTOUT"),
971 		STM32_FUNCTION(17, "ANALOG")
972 	),
973 	STM32_PIN(
974 		PINCTRL_PIN(69, "PE5"),
975 		STM32_FUNCTION(0, "GPIOE5"),
976 		STM32_FUNCTION(1, "TRACED2"),
977 		STM32_FUNCTION(3, "SAI1_CK2"),
978 		STM32_FUNCTION(4, "DFSDM_CKIN3"),
979 		STM32_FUNCTION(5, "TIM15_CH1"),
980 		STM32_FUNCTION(6, "SPI4_MISO"),
981 		STM32_FUNCTION(7, "SAI1_SCK_A"),
982 		STM32_FUNCTION(9, "SAI4_SCK_A"),
983 		STM32_FUNCTION(11, "SAI4_CK2"),
984 		STM32_FUNCTION(13, "FMC_A21"),
985 		STM32_FUNCTION(14, "DCMI_D6"),
986 		STM32_FUNCTION(15, "LCD_G0"),
987 		STM32_FUNCTION(16, "EVENTOUT"),
988 		STM32_FUNCTION(17, "ANALOG")
989 	),
990 	STM32_PIN(
991 		PINCTRL_PIN(70, "PE6"),
992 		STM32_FUNCTION(0, "GPIOE6"),
993 		STM32_FUNCTION(1, "TRACED3"),
994 		STM32_FUNCTION(2, "TIM1_BKIN2"),
995 		STM32_FUNCTION(3, "SAI1_D1"),
996 		STM32_FUNCTION(5, "TIM15_CH2"),
997 		STM32_FUNCTION(6, "SPI4_MOSI"),
998 		STM32_FUNCTION(7, "SAI1_SD_A"),
999 		STM32_FUNCTION(9, "SAI4_SD_A"),
1000 		STM32_FUNCTION(10, "SAI4_D1"),
1001 		STM32_FUNCTION(11, "SAI2_MCK_B"),
1002 		STM32_FUNCTION(12, "TIM1_BKIN2_COMP12"),
1003 		STM32_FUNCTION(13, "FMC_A22"),
1004 		STM32_FUNCTION(14, "DCMI_D7"),
1005 		STM32_FUNCTION(15, "LCD_G1"),
1006 		STM32_FUNCTION(16, "EVENTOUT"),
1007 		STM32_FUNCTION(17, "ANALOG")
1008 	),
1009 	STM32_PIN(
1010 		PINCTRL_PIN(71, "PE7"),
1011 		STM32_FUNCTION(0, "GPIOE7"),
1012 		STM32_FUNCTION(2, "TIM1_ETR"),
1013 		STM32_FUNCTION(4, "DFSDM_DATIN2"),
1014 		STM32_FUNCTION(8, "UART7_RX"),
1015 		STM32_FUNCTION(11, "QUADSPI_BK2_IO0"),
1016 		STM32_FUNCTION(13, "FMC_D4 FMC_DA4"),
1017 		STM32_FUNCTION(16, "EVENTOUT"),
1018 		STM32_FUNCTION(17, "ANALOG")
1019 	),
1020 	STM32_PIN(
1021 		PINCTRL_PIN(72, "PE8"),
1022 		STM32_FUNCTION(0, "GPIOE8"),
1023 		STM32_FUNCTION(2, "TIM1_CH1N"),
1024 		STM32_FUNCTION(4, "DFSDM_CKIN2"),
1025 		STM32_FUNCTION(8, "UART7_TX"),
1026 		STM32_FUNCTION(11, "QUADSPI_BK2_IO1"),
1027 		STM32_FUNCTION(13, "FMC_D5 FMC_DA5"),
1028 		STM32_FUNCTION(14, "COMP_2_OUT"),
1029 		STM32_FUNCTION(16, "EVENTOUT"),
1030 		STM32_FUNCTION(17, "ANALOG")
1031 	),
1032 	STM32_PIN(
1033 		PINCTRL_PIN(73, "PE9"),
1034 		STM32_FUNCTION(0, "GPIOE9"),
1035 		STM32_FUNCTION(2, "TIM1_CH1"),
1036 		STM32_FUNCTION(4, "DFSDM_CKOUT"),
1037 		STM32_FUNCTION(8, "UART7_RTS"),
1038 		STM32_FUNCTION(11, "QUADSPI_BK2_IO2"),
1039 		STM32_FUNCTION(13, "FMC_D6 FMC_DA6"),
1040 		STM32_FUNCTION(16, "EVENTOUT"),
1041 		STM32_FUNCTION(17, "ANALOG")
1042 	),
1043 	STM32_PIN(
1044 		PINCTRL_PIN(74, "PE10"),
1045 		STM32_FUNCTION(0, "GPIOE10"),
1046 		STM32_FUNCTION(2, "TIM1_CH2N"),
1047 		STM32_FUNCTION(4, "DFSDM_DATIN4"),
1048 		STM32_FUNCTION(8, "UART7_CTS"),
1049 		STM32_FUNCTION(11, "QUADSPI_BK2_IO3"),
1050 		STM32_FUNCTION(13, "FMC_D7 FMC_DA7"),
1051 		STM32_FUNCTION(16, "EVENTOUT"),
1052 		STM32_FUNCTION(17, "ANALOG")
1053 	),
1054 	STM32_PIN(
1055 		PINCTRL_PIN(75, "PE11"),
1056 		STM32_FUNCTION(0, "GPIOE11"),
1057 		STM32_FUNCTION(2, "TIM1_CH2"),
1058 		STM32_FUNCTION(4, "DFSDM_CKIN4"),
1059 		STM32_FUNCTION(6, "SPI4_NSS"),
1060 		STM32_FUNCTION(11, "SAI2_SD_B"),
1061 		STM32_FUNCTION(13, "FMC_D8 FMC_DA8"),
1062 		STM32_FUNCTION(15, "LCD_G3"),
1063 		STM32_FUNCTION(16, "EVENTOUT"),
1064 		STM32_FUNCTION(17, "ANALOG")
1065 	),
1066 	STM32_PIN(
1067 		PINCTRL_PIN(76, "PE12"),
1068 		STM32_FUNCTION(0, "GPIOE12"),
1069 		STM32_FUNCTION(2, "TIM1_CH3N"),
1070 		STM32_FUNCTION(4, "DFSDM_DATIN5"),
1071 		STM32_FUNCTION(6, "SPI4_SCK"),
1072 		STM32_FUNCTION(11, "SAI2_SCK_B"),
1073 		STM32_FUNCTION(13, "FMC_D9 FMC_DA9"),
1074 		STM32_FUNCTION(14, "COMP_1_OUT"),
1075 		STM32_FUNCTION(15, "LCD_B4"),
1076 		STM32_FUNCTION(16, "EVENTOUT"),
1077 		STM32_FUNCTION(17, "ANALOG")
1078 	),
1079 	STM32_PIN(
1080 		PINCTRL_PIN(77, "PE13"),
1081 		STM32_FUNCTION(0, "GPIOE13"),
1082 		STM32_FUNCTION(2, "TIM1_CH3"),
1083 		STM32_FUNCTION(4, "DFSDM_CKIN5"),
1084 		STM32_FUNCTION(6, "SPI4_MISO"),
1085 		STM32_FUNCTION(11, "SAI2_FS_B"),
1086 		STM32_FUNCTION(13, "FMC_D10 FMC_DA10"),
1087 		STM32_FUNCTION(14, "COMP_2_OUT"),
1088 		STM32_FUNCTION(15, "LCD_DE"),
1089 		STM32_FUNCTION(16, "EVENTOUT"),
1090 		STM32_FUNCTION(17, "ANALOG")
1091 	),
1092 	STM32_PIN(
1093 		PINCTRL_PIN(78, "PE14"),
1094 		STM32_FUNCTION(0, "GPIOE14"),
1095 		STM32_FUNCTION(2, "TIM1_CH4"),
1096 		STM32_FUNCTION(6, "SPI4_MOSI"),
1097 		STM32_FUNCTION(11, "SAI2_MCK_B"),
1098 		STM32_FUNCTION(13, "FMC_D11 FMC_DA11"),
1099 		STM32_FUNCTION(15, "LCD_CLK"),
1100 		STM32_FUNCTION(16, "EVENTOUT"),
1101 		STM32_FUNCTION(17, "ANALOG")
1102 	),
1103 	STM32_PIN(
1104 		PINCTRL_PIN(79, "PE15"),
1105 		STM32_FUNCTION(0, "GPIOE15"),
1106 		STM32_FUNCTION(2, "TIM1_BKIN"),
1107 		STM32_FUNCTION(6, "HDMI__TIM1_BKIN"),
1108 		STM32_FUNCTION(13, "FMC_D12 FMC_DA12"),
1109 		STM32_FUNCTION(14, "TIM1_BKIN_COMP12"),
1110 		STM32_FUNCTION(15, "LCD_R7"),
1111 		STM32_FUNCTION(16, "EVENTOUT"),
1112 		STM32_FUNCTION(17, "ANALOG")
1113 	),
1114 	STM32_PIN(
1115 		PINCTRL_PIN(80, "PF0"),
1116 		STM32_FUNCTION(0, "GPIOF0"),
1117 		STM32_FUNCTION(5, "I2C2_SDA"),
1118 		STM32_FUNCTION(13, "FMC_A0"),
1119 		STM32_FUNCTION(16, "EVENTOUT"),
1120 		STM32_FUNCTION(17, "ANALOG")
1121 	),
1122 	STM32_PIN(
1123 		PINCTRL_PIN(81, "PF1"),
1124 		STM32_FUNCTION(0, "GPIOF1"),
1125 		STM32_FUNCTION(5, "I2C2_SCL"),
1126 		STM32_FUNCTION(13, "FMC_A1"),
1127 		STM32_FUNCTION(16, "EVENTOUT"),
1128 		STM32_FUNCTION(17, "ANALOG")
1129 	),
1130 	STM32_PIN(
1131 		PINCTRL_PIN(82, "PF2"),
1132 		STM32_FUNCTION(0, "GPIOF2"),
1133 		STM32_FUNCTION(5, "I2C2_SMBA"),
1134 		STM32_FUNCTION(13, "FMC_A2"),
1135 		STM32_FUNCTION(16, "EVENTOUT"),
1136 		STM32_FUNCTION(17, "ANALOG")
1137 	),
1138 	STM32_PIN(
1139 		PINCTRL_PIN(83, "PF3"),
1140 		STM32_FUNCTION(0, "GPIOF3"),
1141 		STM32_FUNCTION(13, "FMC_A3"),
1142 		STM32_FUNCTION(16, "EVENTOUT"),
1143 		STM32_FUNCTION(17, "ANALOG")
1144 	),
1145 	STM32_PIN(
1146 		PINCTRL_PIN(84, "PF4"),
1147 		STM32_FUNCTION(0, "GPIOF4"),
1148 		STM32_FUNCTION(13, "FMC_A4"),
1149 		STM32_FUNCTION(16, "EVENTOUT"),
1150 		STM32_FUNCTION(17, "ANALOG")
1151 	),
1152 	STM32_PIN(
1153 		PINCTRL_PIN(85, "PF5"),
1154 		STM32_FUNCTION(0, "GPIOF5"),
1155 		STM32_FUNCTION(13, "FMC_A5"),
1156 		STM32_FUNCTION(16, "EVENTOUT"),
1157 		STM32_FUNCTION(17, "ANALOG")
1158 	),
1159 	STM32_PIN(
1160 		PINCTRL_PIN(86, "PF6"),
1161 		STM32_FUNCTION(0, "GPIOF6"),
1162 		STM32_FUNCTION(2, "TIM16_CH1"),
1163 		STM32_FUNCTION(6, "SPI5_NSS"),
1164 		STM32_FUNCTION(7, "SAI1_SD_B"),
1165 		STM32_FUNCTION(8, "UART7_RX"),
1166 		STM32_FUNCTION(9, "SAI4_SD_B"),
1167 		STM32_FUNCTION(10, "QUADSPI_BK1_IO3"),
1168 		STM32_FUNCTION(16, "EVENTOUT"),
1169 		STM32_FUNCTION(17, "ANALOG")
1170 	),
1171 	STM32_PIN(
1172 		PINCTRL_PIN(87, "PF7"),
1173 		STM32_FUNCTION(0, "GPIOF7"),
1174 		STM32_FUNCTION(2, "TIM17_CH1"),
1175 		STM32_FUNCTION(6, "SPI5_SCK"),
1176 		STM32_FUNCTION(7, "SAI1_MCLK_B"),
1177 		STM32_FUNCTION(8, "UART7_TX"),
1178 		STM32_FUNCTION(9, "SAI4_MCLK_B"),
1179 		STM32_FUNCTION(10, "QUADSPI_BK1_IO2"),
1180 		STM32_FUNCTION(16, "EVENTOUT"),
1181 		STM32_FUNCTION(17, "ANALOG")
1182 	),
1183 	STM32_PIN(
1184 		PINCTRL_PIN(88, "PF8"),
1185 		STM32_FUNCTION(0, "GPIOF8"),
1186 		STM32_FUNCTION(2, "TIM16_CH1N"),
1187 		STM32_FUNCTION(6, "SPI5_MISO"),
1188 		STM32_FUNCTION(7, "SAI1_SCK_B"),
1189 		STM32_FUNCTION(8, "UART7_RTS"),
1190 		STM32_FUNCTION(9, "SAI4_SCK_B"),
1191 		STM32_FUNCTION(10, "TIM13_CH1"),
1192 		STM32_FUNCTION(11, "QUADSPI_BK1_IO0"),
1193 		STM32_FUNCTION(16, "EVENTOUT"),
1194 		STM32_FUNCTION(17, "ANALOG")
1195 	),
1196 	STM32_PIN(
1197 		PINCTRL_PIN(89, "PF9"),
1198 		STM32_FUNCTION(0, "GPIOF9"),
1199 		STM32_FUNCTION(2, "TIM17_CH1N"),
1200 		STM32_FUNCTION(6, "SPI5_MOSI"),
1201 		STM32_FUNCTION(7, "SAI1_FS_B"),
1202 		STM32_FUNCTION(8, "UART7_CTS"),
1203 		STM32_FUNCTION(9, "SAI4_FS_B"),
1204 		STM32_FUNCTION(10, "TIM14_CH1"),
1205 		STM32_FUNCTION(11, "QUADSPI_BK1_IO1"),
1206 		STM32_FUNCTION(16, "EVENTOUT"),
1207 		STM32_FUNCTION(17, "ANALOG")
1208 	),
1209 	STM32_PIN(
1210 		PINCTRL_PIN(90, "PF10"),
1211 		STM32_FUNCTION(0, "GPIOF10"),
1212 		STM32_FUNCTION(2, "TIM16_BKIN"),
1213 		STM32_FUNCTION(3, "SAI1_D3"),
1214 		STM32_FUNCTION(10, "QUADSPI_CLK"),
1215 		STM32_FUNCTION(11, "SAI4_D3"),
1216 		STM32_FUNCTION(14, "DCMI_D11"),
1217 		STM32_FUNCTION(15, "LCD_DE"),
1218 		STM32_FUNCTION(16, "EVENTOUT"),
1219 		STM32_FUNCTION(17, "ANALOG")
1220 	),
1221 	STM32_PIN(
1222 		PINCTRL_PIN(91, "PF11"),
1223 		STM32_FUNCTION(0, "GPIOF11"),
1224 		STM32_FUNCTION(6, "SPI5_MOSI"),
1225 		STM32_FUNCTION(11, "SAI2_SD_B"),
1226 		STM32_FUNCTION(13, "FMC_SDNRAS"),
1227 		STM32_FUNCTION(14, "DCMI_D12"),
1228 		STM32_FUNCTION(16, "EVENTOUT"),
1229 		STM32_FUNCTION(17, "ANALOG")
1230 	),
1231 	STM32_PIN(
1232 		PINCTRL_PIN(92, "PF12"),
1233 		STM32_FUNCTION(0, "GPIOF12"),
1234 		STM32_FUNCTION(13, "FMC_A6"),
1235 		STM32_FUNCTION(16, "EVENTOUT"),
1236 		STM32_FUNCTION(17, "ANALOG")
1237 	),
1238 	STM32_PIN(
1239 		PINCTRL_PIN(93, "PF13"),
1240 		STM32_FUNCTION(0, "GPIOF13"),
1241 		STM32_FUNCTION(4, "DFSDM_DATIN6"),
1242 		STM32_FUNCTION(5, "I2C4_SMBA"),
1243 		STM32_FUNCTION(13, "FMC_A7"),
1244 		STM32_FUNCTION(16, "EVENTOUT"),
1245 		STM32_FUNCTION(17, "ANALOG")
1246 	),
1247 	STM32_PIN(
1248 		PINCTRL_PIN(94, "PF14"),
1249 		STM32_FUNCTION(0, "GPIOF14"),
1250 		STM32_FUNCTION(4, "DFSDM_CKIN6"),
1251 		STM32_FUNCTION(5, "I2C4_SCL"),
1252 		STM32_FUNCTION(13, "FMC_A8"),
1253 		STM32_FUNCTION(16, "EVENTOUT"),
1254 		STM32_FUNCTION(17, "ANALOG")
1255 	),
1256 	STM32_PIN(
1257 		PINCTRL_PIN(95, "PF15"),
1258 		STM32_FUNCTION(0, "GPIOF15"),
1259 		STM32_FUNCTION(5, "I2C4_SDA"),
1260 		STM32_FUNCTION(13, "FMC_A9"),
1261 		STM32_FUNCTION(16, "EVENTOUT"),
1262 		STM32_FUNCTION(17, "ANALOG")
1263 	),
1264 	STM32_PIN(
1265 		PINCTRL_PIN(96, "PG0"),
1266 		STM32_FUNCTION(0, "GPIOG0"),
1267 		STM32_FUNCTION(13, "FMC_A10"),
1268 		STM32_FUNCTION(16, "EVENTOUT"),
1269 		STM32_FUNCTION(17, "ANALOG")
1270 	),
1271 	STM32_PIN(
1272 		PINCTRL_PIN(97, "PG1"),
1273 		STM32_FUNCTION(0, "GPIOG1"),
1274 		STM32_FUNCTION(13, "FMC_A11"),
1275 		STM32_FUNCTION(16, "EVENTOUT"),
1276 		STM32_FUNCTION(17, "ANALOG")
1277 	),
1278 	STM32_PIN(
1279 		PINCTRL_PIN(98, "PG2"),
1280 		STM32_FUNCTION(0, "GPIOG2"),
1281 		STM32_FUNCTION(4, "TIM8_BKIN"),
1282 		STM32_FUNCTION(12, "TIM8_BKIN_COMP12"),
1283 		STM32_FUNCTION(13, "FMC_A12"),
1284 		STM32_FUNCTION(16, "EVENTOUT"),
1285 		STM32_FUNCTION(17, "ANALOG")
1286 	),
1287 	STM32_PIN(
1288 		PINCTRL_PIN(99, "PG3"),
1289 		STM32_FUNCTION(0, "GPIOG3"),
1290 		STM32_FUNCTION(4, "TIM8_BKIN2"),
1291 		STM32_FUNCTION(12, "TIM8_BKIN2_COMP12"),
1292 		STM32_FUNCTION(13, "FMC_A13"),
1293 		STM32_FUNCTION(16, "EVENTOUT"),
1294 		STM32_FUNCTION(17, "ANALOG")
1295 	),
1296 	STM32_PIN(
1297 		PINCTRL_PIN(100, "PG4"),
1298 		STM32_FUNCTION(0, "GPIOG4"),
1299 		STM32_FUNCTION(2, "TIM1_BKIN2"),
1300 		STM32_FUNCTION(12, "TIM1_BKIN2_COMP12"),
1301 		STM32_FUNCTION(13, "FMC_A14 FMC_BA0"),
1302 		STM32_FUNCTION(16, "EVENTOUT"),
1303 		STM32_FUNCTION(17, "ANALOG")
1304 	),
1305 	STM32_PIN(
1306 		PINCTRL_PIN(101, "PG5"),
1307 		STM32_FUNCTION(0, "GPIOG5"),
1308 		STM32_FUNCTION(2, "TIM1_ETR"),
1309 		STM32_FUNCTION(13, "FMC_A15 FMC_BA1"),
1310 		STM32_FUNCTION(16, "EVENTOUT"),
1311 		STM32_FUNCTION(17, "ANALOG")
1312 	),
1313 	STM32_PIN(
1314 		PINCTRL_PIN(102, "PG6"),
1315 		STM32_FUNCTION(0, "GPIOG6"),
1316 		STM32_FUNCTION(2, "TIM17_BKIN"),
1317 		STM32_FUNCTION(3, "HRTIM_CHE1"),
1318 		STM32_FUNCTION(11, "QUADSPI_BK1_NCS"),
1319 		STM32_FUNCTION(13, "FMC_NE3"),
1320 		STM32_FUNCTION(14, "DCMI_D12"),
1321 		STM32_FUNCTION(15, "LCD_R7"),
1322 		STM32_FUNCTION(16, "EVENTOUT"),
1323 		STM32_FUNCTION(17, "ANALOG")
1324 	),
1325 	STM32_PIN(
1326 		PINCTRL_PIN(103, "PG7"),
1327 		STM32_FUNCTION(0, "GPIOG7"),
1328 		STM32_FUNCTION(3, "HRTIM_CHE2"),
1329 		STM32_FUNCTION(7, "SAI1_MCLK_A"),
1330 		STM32_FUNCTION(8, "USART6_CK"),
1331 		STM32_FUNCTION(13, "FMC_INT"),
1332 		STM32_FUNCTION(14, "DCMI_D13"),
1333 		STM32_FUNCTION(15, "LCD_CLK"),
1334 		STM32_FUNCTION(16, "EVENTOUT"),
1335 		STM32_FUNCTION(17, "ANALOG")
1336 	),
1337 	STM32_PIN(
1338 		PINCTRL_PIN(104, "PG8"),
1339 		STM32_FUNCTION(0, "GPIOG8"),
1340 		STM32_FUNCTION(4, "TIM8_ETR"),
1341 		STM32_FUNCTION(6, "SPI6_NSS"),
1342 		STM32_FUNCTION(8, "USART6_RTS"),
1343 		STM32_FUNCTION(9, "SPDIFRX_IN2"),
1344 		STM32_FUNCTION(12, "ETH_PPS_OUT"),
1345 		STM32_FUNCTION(13, "FMC_SDCLK"),
1346 		STM32_FUNCTION(15, "LCD_G7"),
1347 		STM32_FUNCTION(16, "EVENTOUT"),
1348 		STM32_FUNCTION(17, "ANALOG")
1349 	),
1350 	STM32_PIN(
1351 		PINCTRL_PIN(105, "PG9"),
1352 		STM32_FUNCTION(0, "GPIOG9"),
1353 		STM32_FUNCTION(6, "SPI1_MISO I2S1_SDI"),
1354 		STM32_FUNCTION(8, "USART6_RX"),
1355 		STM32_FUNCTION(9, "SPDIFRX_IN3"),
1356 		STM32_FUNCTION(10, "QUADSPI_BK2_IO2"),
1357 		STM32_FUNCTION(11, "SAI2_FS_B"),
1358 		STM32_FUNCTION(13, "FMC_NE2 FMC_NCE"),
1359 		STM32_FUNCTION(14, "DCMI_VSYNC"),
1360 		STM32_FUNCTION(16, "EVENTOUT"),
1361 		STM32_FUNCTION(17, "ANALOG")
1362 	),
1363 	STM32_PIN(
1364 		PINCTRL_PIN(106, "PG10"),
1365 		STM32_FUNCTION(0, "GPIOG10"),
1366 		STM32_FUNCTION(3, "HRTIM_FLT5"),
1367 		STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"),
1368 		STM32_FUNCTION(10, "LCD_G3"),
1369 		STM32_FUNCTION(11, "SAI2_SD_B"),
1370 		STM32_FUNCTION(13, "FMC_NE3"),
1371 		STM32_FUNCTION(14, "DCMI_D2"),
1372 		STM32_FUNCTION(15, "LCD_B2"),
1373 		STM32_FUNCTION(16, "EVENTOUT"),
1374 		STM32_FUNCTION(17, "ANALOG")
1375 	),
1376 	STM32_PIN(
1377 		PINCTRL_PIN(107, "PG11"),
1378 		STM32_FUNCTION(0, "GPIOG11"),
1379 		STM32_FUNCTION(3, "HRTIM_EEV4"),
1380 		STM32_FUNCTION(6, "SPI1_SCK I2S1_CK"),
1381 		STM32_FUNCTION(9, "SPDIFRX_IN0"),
1382 		STM32_FUNCTION(11, "SDMMC2_D2"),
1383 		STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
1384 		STM32_FUNCTION(14, "DCMI_D3"),
1385 		STM32_FUNCTION(15, "LCD_B3"),
1386 		STM32_FUNCTION(16, "EVENTOUT"),
1387 		STM32_FUNCTION(17, "ANALOG")
1388 	),
1389 	STM32_PIN(
1390 		PINCTRL_PIN(108, "PG12"),
1391 		STM32_FUNCTION(0, "GPIOG12"),
1392 		STM32_FUNCTION(2, "LPTIM1_IN1"),
1393 		STM32_FUNCTION(3, "HRTIM_EEV5"),
1394 		STM32_FUNCTION(6, "SPI6_MISO"),
1395 		STM32_FUNCTION(8, "USART6_RTS"),
1396 		STM32_FUNCTION(9, "SPDIFRX_IN1"),
1397 		STM32_FUNCTION(10, "LCD_B4"),
1398 		STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
1399 		STM32_FUNCTION(13, "FMC_NE4"),
1400 		STM32_FUNCTION(15, "LCD_B1"),
1401 		STM32_FUNCTION(16, "EVENTOUT"),
1402 		STM32_FUNCTION(17, "ANALOG")
1403 	),
1404 	STM32_PIN(
1405 		PINCTRL_PIN(109, "PG13"),
1406 		STM32_FUNCTION(0, "GPIOG13"),
1407 		STM32_FUNCTION(1, "TRACED0"),
1408 		STM32_FUNCTION(2, "LPTIM1_OUT"),
1409 		STM32_FUNCTION(3, "HRTIM_EEV10"),
1410 		STM32_FUNCTION(6, "SPI6_SCK"),
1411 		STM32_FUNCTION(8, "USART6_CTS_NSS"),
1412 		STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
1413 		STM32_FUNCTION(13, "FMC_A24"),
1414 		STM32_FUNCTION(15, "LCD_R0"),
1415 		STM32_FUNCTION(16, "EVENTOUT"),
1416 		STM32_FUNCTION(17, "ANALOG")
1417 	),
1418 	STM32_PIN(
1419 		PINCTRL_PIN(110, "PG14"),
1420 		STM32_FUNCTION(0, "GPIOG14"),
1421 		STM32_FUNCTION(1, "TRACED1"),
1422 		STM32_FUNCTION(2, "LPTIM1_ETR"),
1423 		STM32_FUNCTION(6, "SPI6_MOSI"),
1424 		STM32_FUNCTION(8, "USART6_TX"),
1425 		STM32_FUNCTION(10, "QUADSPI_BK2_IO3"),
1426 		STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
1427 		STM32_FUNCTION(13, "FMC_A25"),
1428 		STM32_FUNCTION(15, "LCD_B0"),
1429 		STM32_FUNCTION(16, "EVENTOUT"),
1430 		STM32_FUNCTION(17, "ANALOG")
1431 	),
1432 	STM32_PIN(
1433 		PINCTRL_PIN(111, "PG15"),
1434 		STM32_FUNCTION(0, "GPIOG15"),
1435 		STM32_FUNCTION(8, "USART6_CTS_NSS"),
1436 		STM32_FUNCTION(13, "FMC_SDNCAS"),
1437 		STM32_FUNCTION(14, "DCMI_D13"),
1438 		STM32_FUNCTION(16, "EVENTOUT"),
1439 		STM32_FUNCTION(17, "ANALOG")
1440 	),
1441 	STM32_PIN(
1442 		PINCTRL_PIN(112, "PH0"),
1443 		STM32_FUNCTION(0, "GPIOH0"),
1444 		STM32_FUNCTION(16, "EVENTOUT"),
1445 		STM32_FUNCTION(17, "ANALOG")
1446 	),
1447 	STM32_PIN(
1448 		PINCTRL_PIN(113, "PH1"),
1449 		STM32_FUNCTION(0, "GPIOH1"),
1450 		STM32_FUNCTION(16, "EVENTOUT"),
1451 		STM32_FUNCTION(17, "ANALOG")
1452 	),
1453 	STM32_PIN(
1454 		PINCTRL_PIN(114, "PH2"),
1455 		STM32_FUNCTION(0, "GPIOH2"),
1456 		STM32_FUNCTION(2, "LPTIM1_IN2"),
1457 		STM32_FUNCTION(10, "QUADSPI_BK2_IO0"),
1458 		STM32_FUNCTION(11, "SAI2_SCK_B"),
1459 		STM32_FUNCTION(12, "ETH_MII_CRS"),
1460 		STM32_FUNCTION(13, "FMC_SDCKE0"),
1461 		STM32_FUNCTION(15, "LCD_R0"),
1462 		STM32_FUNCTION(16, "EVENTOUT"),
1463 		STM32_FUNCTION(17, "ANALOG")
1464 	),
1465 	STM32_PIN(
1466 		PINCTRL_PIN(115, "PH3"),
1467 		STM32_FUNCTION(0, "GPIOH3"),
1468 		STM32_FUNCTION(10, "QUADSPI_BK2_IO1"),
1469 		STM32_FUNCTION(11, "SAI2_MCK_B"),
1470 		STM32_FUNCTION(12, "ETH_MII_COL"),
1471 		STM32_FUNCTION(13, "FMC_SDNE0"),
1472 		STM32_FUNCTION(15, "LCD_R1"),
1473 		STM32_FUNCTION(16, "EVENTOUT"),
1474 		STM32_FUNCTION(17, "ANALOG")
1475 	),
1476 	STM32_PIN(
1477 		PINCTRL_PIN(116, "PH4"),
1478 		STM32_FUNCTION(0, "GPIOH4"),
1479 		STM32_FUNCTION(5, "I2C2_SCL"),
1480 		STM32_FUNCTION(10, "LCD_G5"),
1481 		STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
1482 		STM32_FUNCTION(15, "LCD_G4"),
1483 		STM32_FUNCTION(16, "EVENTOUT"),
1484 		STM32_FUNCTION(17, "ANALOG")
1485 	),
1486 	STM32_PIN(
1487 		PINCTRL_PIN(117, "PH5"),
1488 		STM32_FUNCTION(0, "GPIOH5"),
1489 		STM32_FUNCTION(5, "I2C2_SDA"),
1490 		STM32_FUNCTION(6, "SPI5_NSS"),
1491 		STM32_FUNCTION(13, "FMC_SDNWE"),
1492 		STM32_FUNCTION(16, "EVENTOUT"),
1493 		STM32_FUNCTION(17, "ANALOG")
1494 	),
1495 	STM32_PIN(
1496 		PINCTRL_PIN(118, "PH6"),
1497 		STM32_FUNCTION(0, "GPIOH6"),
1498 		STM32_FUNCTION(5, "I2C2_SMBA"),
1499 		STM32_FUNCTION(6, "SPI5_SCK"),
1500 		STM32_FUNCTION(12, "ETH_MII_RXD2"),
1501 		STM32_FUNCTION(13, "FMC_SDNE1"),
1502 		STM32_FUNCTION(14, "DCMI_D8"),
1503 		STM32_FUNCTION(16, "EVENTOUT"),
1504 		STM32_FUNCTION(17, "ANALOG")
1505 	),
1506 	STM32_PIN(
1507 		PINCTRL_PIN(119, "PH7"),
1508 		STM32_FUNCTION(0, "GPIOH7"),
1509 		STM32_FUNCTION(5, "I2C3_SCL"),
1510 		STM32_FUNCTION(6, "SPI5_MISO"),
1511 		STM32_FUNCTION(12, "ETH_MII_RXD3"),
1512 		STM32_FUNCTION(13, "FMC_SDCKE1"),
1513 		STM32_FUNCTION(14, "DCMI_D9"),
1514 		STM32_FUNCTION(16, "EVENTOUT"),
1515 		STM32_FUNCTION(17, "ANALOG")
1516 	),
1517 	STM32_PIN(
1518 		PINCTRL_PIN(120, "PH8"),
1519 		STM32_FUNCTION(0, "GPIOH8"),
1520 		STM32_FUNCTION(3, "TIM5_ETR"),
1521 		STM32_FUNCTION(5, "I2C3_SDA"),
1522 		STM32_FUNCTION(13, "FMC_D16"),
1523 		STM32_FUNCTION(14, "DCMI_HSYNC"),
1524 		STM32_FUNCTION(15, "LCD_R2"),
1525 		STM32_FUNCTION(16, "EVENTOUT"),
1526 		STM32_FUNCTION(17, "ANALOG")
1527 	),
1528 	STM32_PIN(
1529 		PINCTRL_PIN(121, "PH9"),
1530 		STM32_FUNCTION(0, "GPIOH9"),
1531 		STM32_FUNCTION(5, "I2C3_SMBA"),
1532 		STM32_FUNCTION(13, "FMC_D17"),
1533 		STM32_FUNCTION(14, "DCMI_D0"),
1534 		STM32_FUNCTION(15, "LCD_R3"),
1535 		STM32_FUNCTION(16, "EVENTOUT"),
1536 		STM32_FUNCTION(17, "ANALOG")
1537 	),
1538 	STM32_PIN(
1539 		PINCTRL_PIN(122, "PH10"),
1540 		STM32_FUNCTION(0, "GPIOH10"),
1541 		STM32_FUNCTION(3, "TIM5_CH1"),
1542 		STM32_FUNCTION(5, "I2C4_SMBA"),
1543 		STM32_FUNCTION(13, "FMC_D18"),
1544 		STM32_FUNCTION(14, "DCMI_D1"),
1545 		STM32_FUNCTION(15, "LCD_R4"),
1546 		STM32_FUNCTION(16, "EVENTOUT"),
1547 		STM32_FUNCTION(17, "ANALOG")
1548 	),
1549 	STM32_PIN(
1550 		PINCTRL_PIN(123, "PH11"),
1551 		STM32_FUNCTION(0, "GPIOH11"),
1552 		STM32_FUNCTION(3, "TIM5_CH2"),
1553 		STM32_FUNCTION(5, "I2C4_SCL"),
1554 		STM32_FUNCTION(13, "FMC_D19"),
1555 		STM32_FUNCTION(14, "DCMI_D2"),
1556 		STM32_FUNCTION(15, "LCD_R5"),
1557 		STM32_FUNCTION(16, "EVENTOUT"),
1558 		STM32_FUNCTION(17, "ANALOG")
1559 	),
1560 	STM32_PIN(
1561 		PINCTRL_PIN(124, "PH12"),
1562 		STM32_FUNCTION(0, "GPIOH12"),
1563 		STM32_FUNCTION(3, "TIM5_CH3"),
1564 		STM32_FUNCTION(5, "I2C4_SDA"),
1565 		STM32_FUNCTION(13, "FMC_D20"),
1566 		STM32_FUNCTION(14, "DCMI_D3"),
1567 		STM32_FUNCTION(15, "LCD_R6"),
1568 		STM32_FUNCTION(16, "EVENTOUT"),
1569 		STM32_FUNCTION(17, "ANALOG")
1570 	),
1571 	STM32_PIN(
1572 		PINCTRL_PIN(125, "PH13"),
1573 		STM32_FUNCTION(0, "GPIOH13"),
1574 		STM32_FUNCTION(4, "TIM8_CH1N"),
1575 		STM32_FUNCTION(9, "UART4_TX"),
1576 		STM32_FUNCTION(10, "CAN1_TX"),
1577 		STM32_FUNCTION(13, "FMC_D21"),
1578 		STM32_FUNCTION(15, "LCD_G2"),
1579 		STM32_FUNCTION(16, "EVENTOUT"),
1580 		STM32_FUNCTION(17, "ANALOG")
1581 	),
1582 	STM32_PIN(
1583 		PINCTRL_PIN(126, "PH14"),
1584 		STM32_FUNCTION(0, "GPIOH14"),
1585 		STM32_FUNCTION(4, "TIM8_CH2N"),
1586 		STM32_FUNCTION(9, "UART4_RX"),
1587 		STM32_FUNCTION(10, "CAN1_RX"),
1588 		STM32_FUNCTION(13, "FMC_D22"),
1589 		STM32_FUNCTION(14, "DCMI_D4"),
1590 		STM32_FUNCTION(15, "LCD_G3"),
1591 		STM32_FUNCTION(16, "EVENTOUT"),
1592 		STM32_FUNCTION(17, "ANALOG")
1593 	),
1594 	STM32_PIN(
1595 		PINCTRL_PIN(127, "PH15"),
1596 		STM32_FUNCTION(0, "GPIOH15"),
1597 		STM32_FUNCTION(4, "TIM8_CH3N"),
1598 		STM32_FUNCTION(10, "CAN1_TXFD"),
1599 		STM32_FUNCTION(13, "FMC_D23"),
1600 		STM32_FUNCTION(14, "DCMI_D11"),
1601 		STM32_FUNCTION(15, "LCD_G4"),
1602 		STM32_FUNCTION(16, "EVENTOUT"),
1603 		STM32_FUNCTION(17, "ANALOG")
1604 	),
1605 	STM32_PIN(
1606 		PINCTRL_PIN(128, "PI0"),
1607 		STM32_FUNCTION(0, "GPIOI0"),
1608 		STM32_FUNCTION(3, "TIM5_CH4"),
1609 		STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
1610 		STM32_FUNCTION(10, "CAN1_RXFD"),
1611 		STM32_FUNCTION(13, "FMC_D24"),
1612 		STM32_FUNCTION(14, "DCMI_D13"),
1613 		STM32_FUNCTION(15, "LCD_G5"),
1614 		STM32_FUNCTION(16, "EVENTOUT"),
1615 		STM32_FUNCTION(17, "ANALOG")
1616 	),
1617 	STM32_PIN(
1618 		PINCTRL_PIN(129, "PI1"),
1619 		STM32_FUNCTION(0, "GPIOI1"),
1620 		STM32_FUNCTION(4, "TIM8_BKIN2"),
1621 		STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
1622 		STM32_FUNCTION(12, "TIM8_BKIN2_COMP12"),
1623 		STM32_FUNCTION(13, "FMC_D25"),
1624 		STM32_FUNCTION(14, "DCMI_D8"),
1625 		STM32_FUNCTION(15, "LCD_G6"),
1626 		STM32_FUNCTION(16, "EVENTOUT"),
1627 		STM32_FUNCTION(17, "ANALOG")
1628 	),
1629 	STM32_PIN(
1630 		PINCTRL_PIN(130, "PI2"),
1631 		STM32_FUNCTION(0, "GPIOI2"),
1632 		STM32_FUNCTION(4, "TIM8_CH4"),
1633 		STM32_FUNCTION(6, "SPI2_MISO I2S2_SDI"),
1634 		STM32_FUNCTION(13, "FMC_D26"),
1635 		STM32_FUNCTION(14, "DCMI_D9"),
1636 		STM32_FUNCTION(15, "LCD_G7"),
1637 		STM32_FUNCTION(16, "EVENTOUT"),
1638 		STM32_FUNCTION(17, "ANALOG")
1639 	),
1640 	STM32_PIN(
1641 		PINCTRL_PIN(131, "PI3"),
1642 		STM32_FUNCTION(0, "GPIOI3"),
1643 		STM32_FUNCTION(4, "TIM8_ETR"),
1644 		STM32_FUNCTION(6, "SPI2_MOSI I2S2_SDO"),
1645 		STM32_FUNCTION(13, "FMC_D27"),
1646 		STM32_FUNCTION(14, "DCMI_D10"),
1647 		STM32_FUNCTION(16, "EVENTOUT"),
1648 		STM32_FUNCTION(17, "ANALOG")
1649 	),
1650 	STM32_PIN(
1651 		PINCTRL_PIN(132, "PI4"),
1652 		STM32_FUNCTION(0, "GPIOI4"),
1653 		STM32_FUNCTION(4, "TIM8_BKIN"),
1654 		STM32_FUNCTION(11, "SAI2_MCK_A"),
1655 		STM32_FUNCTION(12, "TIM8_BKIN_COMP12"),
1656 		STM32_FUNCTION(13, "FMC_NBL2"),
1657 		STM32_FUNCTION(14, "DCMI_D5"),
1658 		STM32_FUNCTION(15, "LCD_B4"),
1659 		STM32_FUNCTION(16, "EVENTOUT"),
1660 		STM32_FUNCTION(17, "ANALOG")
1661 	),
1662 	STM32_PIN(
1663 		PINCTRL_PIN(133, "PI5"),
1664 		STM32_FUNCTION(0, "GPIOI5"),
1665 		STM32_FUNCTION(4, "TIM8_CH1"),
1666 		STM32_FUNCTION(11, "SAI2_SCK_A"),
1667 		STM32_FUNCTION(13, "FMC_NBL3"),
1668 		STM32_FUNCTION(14, "DCMI_VSYNC"),
1669 		STM32_FUNCTION(15, "LCD_B5"),
1670 		STM32_FUNCTION(16, "EVENTOUT"),
1671 		STM32_FUNCTION(17, "ANALOG")
1672 	),
1673 	STM32_PIN(
1674 		PINCTRL_PIN(134, "PI6"),
1675 		STM32_FUNCTION(0, "GPIOI6"),
1676 		STM32_FUNCTION(4, "TIM8_CH2"),
1677 		STM32_FUNCTION(11, "SAI2_SD_A"),
1678 		STM32_FUNCTION(13, "FMC_D28"),
1679 		STM32_FUNCTION(14, "DCMI_D6"),
1680 		STM32_FUNCTION(15, "LCD_B6"),
1681 		STM32_FUNCTION(16, "EVENTOUT"),
1682 		STM32_FUNCTION(17, "ANALOG")
1683 	),
1684 	STM32_PIN(
1685 		PINCTRL_PIN(135, "PI7"),
1686 		STM32_FUNCTION(0, "GPIOI7"),
1687 		STM32_FUNCTION(4, "TIM8_CH3"),
1688 		STM32_FUNCTION(11, "SAI2_FS_A"),
1689 		STM32_FUNCTION(13, "FMC_D29"),
1690 		STM32_FUNCTION(14, "DCMI_D7"),
1691 		STM32_FUNCTION(15, "LCD_B7"),
1692 		STM32_FUNCTION(16, "EVENTOUT"),
1693 		STM32_FUNCTION(17, "ANALOG")
1694 	),
1695 	STM32_PIN(
1696 		PINCTRL_PIN(136, "PI8"),
1697 		STM32_FUNCTION(0, "GPIOI8"),
1698 		STM32_FUNCTION(16, "EVENTOUT"),
1699 		STM32_FUNCTION(17, "ANALOG")
1700 	),
1701 	STM32_PIN(
1702 		PINCTRL_PIN(137, "PI9"),
1703 		STM32_FUNCTION(0, "GPIOI9"),
1704 		STM32_FUNCTION(9, "UART4_RX"),
1705 		STM32_FUNCTION(10, "CAN1_RX"),
1706 		STM32_FUNCTION(13, "FMC_D30"),
1707 		STM32_FUNCTION(15, "LCD_VSYNC"),
1708 		STM32_FUNCTION(16, "EVENTOUT"),
1709 		STM32_FUNCTION(17, "ANALOG")
1710 	),
1711 	STM32_PIN(
1712 		PINCTRL_PIN(138, "PI10"),
1713 		STM32_FUNCTION(0, "GPIOI10"),
1714 		STM32_FUNCTION(10, "CAN1_RXFD"),
1715 		STM32_FUNCTION(12, "ETH_MII_RX_ER"),
1716 		STM32_FUNCTION(13, "FMC_D31"),
1717 		STM32_FUNCTION(15, "LCD_HSYNC"),
1718 		STM32_FUNCTION(16, "EVENTOUT"),
1719 		STM32_FUNCTION(17, "ANALOG")
1720 	),
1721 	STM32_PIN(
1722 		PINCTRL_PIN(139, "PI11"),
1723 		STM32_FUNCTION(0, "GPIOI11"),
1724 		STM32_FUNCTION(10, "LCD_G6"),
1725 		STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
1726 		STM32_FUNCTION(16, "EVENTOUT"),
1727 		STM32_FUNCTION(17, "ANALOG")
1728 	),
1729 	STM32_PIN(
1730 		PINCTRL_PIN(140, "PI12"),
1731 		STM32_FUNCTION(0, "GPIOI12"),
1732 		STM32_FUNCTION(12, "ETH_TX_ER"),
1733 		STM32_FUNCTION(15, "LCD_HSYNC"),
1734 		STM32_FUNCTION(16, "EVENTOUT"),
1735 		STM32_FUNCTION(17, "ANALOG")
1736 	),
1737 	STM32_PIN(
1738 		PINCTRL_PIN(141, "PI13"),
1739 		STM32_FUNCTION(0, "GPIOI13"),
1740 		STM32_FUNCTION(15, "LCD_VSYNC"),
1741 		STM32_FUNCTION(16, "EVENTOUT"),
1742 		STM32_FUNCTION(17, "ANALOG")
1743 	),
1744 	STM32_PIN(
1745 		PINCTRL_PIN(142, "PI14"),
1746 		STM32_FUNCTION(0, "GPIOI14"),
1747 		STM32_FUNCTION(15, "LCD_CLK"),
1748 		STM32_FUNCTION(16, "EVENTOUT"),
1749 		STM32_FUNCTION(17, "ANALOG")
1750 	),
1751 	STM32_PIN(
1752 		PINCTRL_PIN(143, "PI15"),
1753 		STM32_FUNCTION(0, "GPIOI15"),
1754 		STM32_FUNCTION(10, "LCD_G2"),
1755 		STM32_FUNCTION(15, "LCD_R0"),
1756 		STM32_FUNCTION(16, "EVENTOUT"),
1757 		STM32_FUNCTION(17, "ANALOG")
1758 	),
1759 	STM32_PIN(
1760 		PINCTRL_PIN(144, "PJ0"),
1761 		STM32_FUNCTION(0, "GPIOJ0"),
1762 		STM32_FUNCTION(10, "LCD_R7"),
1763 		STM32_FUNCTION(15, "LCD_R1"),
1764 		STM32_FUNCTION(16, "EVENTOUT"),
1765 		STM32_FUNCTION(17, "ANALOG")
1766 	),
1767 	STM32_PIN(
1768 		PINCTRL_PIN(145, "PJ1"),
1769 		STM32_FUNCTION(0, "GPIOJ1"),
1770 		STM32_FUNCTION(15, "LCD_R2"),
1771 		STM32_FUNCTION(16, "EVENTOUT"),
1772 		STM32_FUNCTION(17, "ANALOG")
1773 	),
1774 	STM32_PIN(
1775 		PINCTRL_PIN(146, "PJ2"),
1776 		STM32_FUNCTION(0, "GPIOJ2"),
1777 		STM32_FUNCTION(14, "DSI_TE"),
1778 		STM32_FUNCTION(15, "LCD_R3"),
1779 		STM32_FUNCTION(16, "EVENTOUT"),
1780 		STM32_FUNCTION(17, "ANALOG")
1781 	),
1782 	STM32_PIN(
1783 		PINCTRL_PIN(147, "PJ3"),
1784 		STM32_FUNCTION(0, "GPIOJ3"),
1785 		STM32_FUNCTION(15, "LCD_R4"),
1786 		STM32_FUNCTION(16, "EVENTOUT"),
1787 		STM32_FUNCTION(17, "ANALOG")
1788 	),
1789 	STM32_PIN(
1790 		PINCTRL_PIN(148, "PJ4"),
1791 		STM32_FUNCTION(0, "GPIOJ4"),
1792 		STM32_FUNCTION(15, "LCD_R5"),
1793 		STM32_FUNCTION(16, "EVENTOUT"),
1794 		STM32_FUNCTION(17, "ANALOG")
1795 	),
1796 	STM32_PIN(
1797 		PINCTRL_PIN(149, "PJ5"),
1798 		STM32_FUNCTION(0, "GPIOJ5"),
1799 		STM32_FUNCTION(15, "LCD_R6"),
1800 		STM32_FUNCTION(16, "EVENTOUT"),
1801 		STM32_FUNCTION(17, "ANALOG")
1802 	),
1803 	STM32_PIN(
1804 		PINCTRL_PIN(150, "PJ6"),
1805 		STM32_FUNCTION(0, "GPIOJ6"),
1806 		STM32_FUNCTION(4, "TIM8_CH2"),
1807 		STM32_FUNCTION(15, "LCD_R7"),
1808 		STM32_FUNCTION(16, "EVENTOUT"),
1809 		STM32_FUNCTION(17, "ANALOG")
1810 	),
1811 	STM32_PIN(
1812 		PINCTRL_PIN(151, "PJ7"),
1813 		STM32_FUNCTION(0, "GPIOJ7"),
1814 		STM32_FUNCTION(1, "TRGIN"),
1815 		STM32_FUNCTION(4, "TIM8_CH2N"),
1816 		STM32_FUNCTION(15, "LCD_G0"),
1817 		STM32_FUNCTION(16, "EVENTOUT"),
1818 		STM32_FUNCTION(17, "ANALOG")
1819 	),
1820 	STM32_PIN(
1821 		PINCTRL_PIN(152, "PJ8"),
1822 		STM32_FUNCTION(0, "GPIOJ8"),
1823 		STM32_FUNCTION(2, "TIM1_CH3N"),
1824 		STM32_FUNCTION(4, "TIM8_CH1"),
1825 		STM32_FUNCTION(9, "UART8_TX"),
1826 		STM32_FUNCTION(15, "LCD_G1"),
1827 		STM32_FUNCTION(16, "EVENTOUT"),
1828 		STM32_FUNCTION(17, "ANALOG")
1829 	),
1830 	STM32_PIN(
1831 		PINCTRL_PIN(153, "PJ9"),
1832 		STM32_FUNCTION(0, "GPIOJ9"),
1833 		STM32_FUNCTION(2, "TIM1_CH3"),
1834 		STM32_FUNCTION(4, "TIM8_CH1N"),
1835 		STM32_FUNCTION(9, "UART8_RX"),
1836 		STM32_FUNCTION(15, "LCD_G2"),
1837 		STM32_FUNCTION(16, "EVENTOUT"),
1838 		STM32_FUNCTION(17, "ANALOG")
1839 	),
1840 	STM32_PIN(
1841 		PINCTRL_PIN(154, "PJ10"),
1842 		STM32_FUNCTION(0, "GPIOJ10"),
1843 		STM32_FUNCTION(2, "TIM1_CH2N"),
1844 		STM32_FUNCTION(4, "TIM8_CH2"),
1845 		STM32_FUNCTION(6, "SPI5_MOSI"),
1846 		STM32_FUNCTION(15, "LCD_G3"),
1847 		STM32_FUNCTION(16, "EVENTOUT"),
1848 		STM32_FUNCTION(17, "ANALOG")
1849 	),
1850 	STM32_PIN(
1851 		PINCTRL_PIN(155, "PJ11"),
1852 		STM32_FUNCTION(0, "GPIOJ11"),
1853 		STM32_FUNCTION(2, "TIM1_CH2"),
1854 		STM32_FUNCTION(4, "TIM8_CH2N"),
1855 		STM32_FUNCTION(6, "SPI5_MISO"),
1856 		STM32_FUNCTION(15, "LCD_G4"),
1857 		STM32_FUNCTION(16, "EVENTOUT"),
1858 		STM32_FUNCTION(17, "ANALOG")
1859 	),
1860 	STM32_PIN(
1861 		PINCTRL_PIN(156, "PJ12"),
1862 		STM32_FUNCTION(0, "GPIOJ12"),
1863 		STM32_FUNCTION(1, "TRGOUT"),
1864 		STM32_FUNCTION(10, "LCD_G3"),
1865 		STM32_FUNCTION(15, "LCD_B0"),
1866 		STM32_FUNCTION(16, "EVENTOUT"),
1867 		STM32_FUNCTION(17, "ANALOG")
1868 	),
1869 	STM32_PIN(
1870 		PINCTRL_PIN(157, "PJ13"),
1871 		STM32_FUNCTION(0, "GPIOJ13"),
1872 		STM32_FUNCTION(10, "LCD_B4"),
1873 		STM32_FUNCTION(15, "LCD_B1"),
1874 		STM32_FUNCTION(16, "EVENTOUT"),
1875 		STM32_FUNCTION(17, "ANALOG")
1876 	),
1877 	STM32_PIN(
1878 		PINCTRL_PIN(158, "PJ14"),
1879 		STM32_FUNCTION(0, "GPIOJ14"),
1880 		STM32_FUNCTION(15, "LCD_B2"),
1881 		STM32_FUNCTION(16, "EVENTOUT"),
1882 		STM32_FUNCTION(17, "ANALOG")
1883 	),
1884 	STM32_PIN(
1885 		PINCTRL_PIN(159, "PJ15"),
1886 		STM32_FUNCTION(0, "GPIOJ15"),
1887 		STM32_FUNCTION(15, "LCD_B3"),
1888 		STM32_FUNCTION(16, "EVENTOUT"),
1889 		STM32_FUNCTION(17, "ANALOG")
1890 	),
1891 	STM32_PIN(
1892 		PINCTRL_PIN(160, "PK0"),
1893 		STM32_FUNCTION(0, "GPIOK0"),
1894 		STM32_FUNCTION(2, "TIM1_CH1N"),
1895 		STM32_FUNCTION(4, "TIM8_CH3"),
1896 		STM32_FUNCTION(6, "SPI5_SCK"),
1897 		STM32_FUNCTION(15, "LCD_G5"),
1898 		STM32_FUNCTION(16, "EVENTOUT"),
1899 		STM32_FUNCTION(17, "ANALOG")
1900 	),
1901 	STM32_PIN(
1902 		PINCTRL_PIN(161, "PK1"),
1903 		STM32_FUNCTION(0, "GPIOK1"),
1904 		STM32_FUNCTION(2, "TIM1_CH1"),
1905 		STM32_FUNCTION(4, "TIM8_CH3N"),
1906 		STM32_FUNCTION(6, "SPI5_NSS"),
1907 		STM32_FUNCTION(15, "LCD_G6"),
1908 		STM32_FUNCTION(16, "EVENTOUT"),
1909 		STM32_FUNCTION(17, "ANALOG")
1910 	),
1911 	STM32_PIN(
1912 		PINCTRL_PIN(162, "PK2"),
1913 		STM32_FUNCTION(0, "GPIOK2"),
1914 		STM32_FUNCTION(2, "TIM1_BKIN"),
1915 		STM32_FUNCTION(4, "TIM8_BKIN"),
1916 		STM32_FUNCTION(11, "TIM8_BKIN_COMP12"),
1917 		STM32_FUNCTION(12, "TIM1_BKIN_COMP12"),
1918 		STM32_FUNCTION(15, "LCD_G7"),
1919 		STM32_FUNCTION(16, "EVENTOUT"),
1920 		STM32_FUNCTION(17, "ANALOG")
1921 	),
1922 	STM32_PIN(
1923 		PINCTRL_PIN(163, "PK3"),
1924 		STM32_FUNCTION(0, "GPIOK3"),
1925 		STM32_FUNCTION(15, "LCD_B4"),
1926 		STM32_FUNCTION(16, "EVENTOUT"),
1927 		STM32_FUNCTION(17, "ANALOG")
1928 	),
1929 	STM32_PIN(
1930 		PINCTRL_PIN(164, "PK4"),
1931 		STM32_FUNCTION(0, "GPIOK4"),
1932 		STM32_FUNCTION(15, "LCD_B5"),
1933 		STM32_FUNCTION(16, "EVENTOUT"),
1934 		STM32_FUNCTION(17, "ANALOG")
1935 	),
1936 	STM32_PIN(
1937 		PINCTRL_PIN(165, "PK5"),
1938 		STM32_FUNCTION(0, "GPIOK5"),
1939 		STM32_FUNCTION(15, "LCD_B6"),
1940 		STM32_FUNCTION(16, "EVENTOUT"),
1941 		STM32_FUNCTION(17, "ANALOG")
1942 	),
1943 	STM32_PIN(
1944 		PINCTRL_PIN(166, "PK6"),
1945 		STM32_FUNCTION(0, "GPIOK6"),
1946 		STM32_FUNCTION(15, "LCD_B7"),
1947 		STM32_FUNCTION(16, "EVENTOUT"),
1948 		STM32_FUNCTION(17, "ANALOG")
1949 	),
1950 	STM32_PIN(
1951 		PINCTRL_PIN(167, "PK7"),
1952 		STM32_FUNCTION(0, "GPIOK7"),
1953 		STM32_FUNCTION(15, "LCD_DE"),
1954 		STM32_FUNCTION(16, "EVENTOUT"),
1955 		STM32_FUNCTION(17, "ANALOG")
1956 	),
1957 };
1958 
1959 static struct stm32_pinctrl_match_data stm32h743_match_data = {
1960 	.pins = stm32h743_pins,
1961 	.npins = ARRAY_SIZE(stm32h743_pins),
1962 };
1963 
1964 static const struct of_device_id stm32h743_pctrl_match[] = {
1965 	{
1966 		.compatible = "st,stm32h743-pinctrl",
1967 		.data = &stm32h743_match_data,
1968 	},
1969 	{ }
1970 };
1971 
1972 static struct platform_driver stm32h743_pinctrl_driver = {
1973 	.probe = stm32_pctl_probe,
1974 	.driver = {
1975 		.name = "stm32h743-pinctrl",
1976 		.of_match_table = stm32h743_pctrl_match,
1977 	},
1978 };
1979 
1980 static int __init stm32h743_pinctrl_init(void)
1981 {
1982 	return platform_driver_register(&stm32h743_pinctrl_driver);
1983 }
1984 arch_initcall(stm32h743_pinctrl_init);
1985