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