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