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