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