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