pinctrl-stm32mp135.c (49768B)
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) STMicroelectronics 2021 - 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 12static const struct stm32_desc_pin stm32mp135_pins[] = { 13 STM32_PIN( 14 PINCTRL_PIN(0, "PA0"), 15 STM32_FUNCTION(0, "GPIOA0"), 16 STM32_FUNCTION(2, "TIM2_CH1"), 17 STM32_FUNCTION(3, "TIM5_CH1"), 18 STM32_FUNCTION(4, "TIM8_ETR"), 19 STM32_FUNCTION(5, "TIM15_BKIN"), 20 STM32_FUNCTION(7, "SAI1_SD_B"), 21 STM32_FUNCTION(9, "UART5_TX"), 22 STM32_FUNCTION(12, "ETH1_MII_CRS"), 23 STM32_FUNCTION(13, "ETH2_MII_CRS"), 24 STM32_FUNCTION(17, "ANALOG") 25 ), 26 STM32_PIN( 27 PINCTRL_PIN(1, "PA1"), 28 STM32_FUNCTION(0, "GPIOA1"), 29 STM32_FUNCTION(2, "TIM2_CH2"), 30 STM32_FUNCTION(3, "TIM5_CH2"), 31 STM32_FUNCTION(4, "LPTIM3_OUT"), 32 STM32_FUNCTION(5, "TIM15_CH1N"), 33 STM32_FUNCTION(7, "DFSDM1_CKIN0"), 34 STM32_FUNCTION(8, "USART2_RTS USART2_DE"), 35 STM32_FUNCTION(12, "ETH1_MII_RX_CLK ETH1_RGMII_RX_CLK ETH1_RMII_REF_CLK"), 36 STM32_FUNCTION(17, "ANALOG") 37 ), 38 STM32_PIN( 39 PINCTRL_PIN(2, "PA2"), 40 STM32_FUNCTION(0, "GPIOA2"), 41 STM32_FUNCTION(2, "TIM2_CH3"), 42 STM32_FUNCTION(3, "TIM5_CH3"), 43 STM32_FUNCTION(4, "LPTIM4_OUT"), 44 STM32_FUNCTION(5, "TIM15_CH1"), 45 STM32_FUNCTION(8, "USART2_TX"), 46 STM32_FUNCTION(12, "ETH1_MDIO"), 47 STM32_FUNCTION(17, "ANALOG") 48 ), 49 STM32_PIN( 50 PINCTRL_PIN(3, "PA3"), 51 STM32_FUNCTION(0, "GPIOA3"), 52 STM32_FUNCTION(2, "TIM2_CH4"), 53 STM32_FUNCTION(3, "TIM5_CH4"), 54 STM32_FUNCTION(4, "LPTIM5_OUT"), 55 STM32_FUNCTION(5, "TIM15_CH2"), 56 STM32_FUNCTION(6, "SPI1_MOSI I2S1_SDO"), 57 STM32_FUNCTION(7, "SAI1_FS_B"), 58 STM32_FUNCTION(8, "USART2_RX"), 59 STM32_FUNCTION(12, "ETH1_MII_COL"), 60 STM32_FUNCTION(13, "ETH2_MII_COL"), 61 STM32_FUNCTION(17, "ANALOG") 62 ), 63 STM32_PIN( 64 PINCTRL_PIN(4, "PA4"), 65 STM32_FUNCTION(0, "GPIOA4"), 66 STM32_FUNCTION(3, "TIM5_ETR"), 67 STM32_FUNCTION(4, "USART2_CK"), 68 STM32_FUNCTION(5, "SAI1_SCK_B"), 69 STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"), 70 STM32_FUNCTION(7, "DFSDM1_CKIN1"), 71 STM32_FUNCTION(11, "ETH1_PPS_OUT"), 72 STM32_FUNCTION(12, "ETH2_PPS_OUT"), 73 STM32_FUNCTION(13, "SAI1_SCK_A"), 74 STM32_FUNCTION(17, "ANALOG") 75 ), 76 STM32_PIN( 77 PINCTRL_PIN(5, "PA5"), 78 STM32_FUNCTION(0, "GPIOA5"), 79 STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"), 80 STM32_FUNCTION(3, "USART2_CK"), 81 STM32_FUNCTION(4, "TIM8_CH1N"), 82 STM32_FUNCTION(5, "SAI1_D1"), 83 STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"), 84 STM32_FUNCTION(7, "SAI1_SD_A"), 85 STM32_FUNCTION(11, "ETH1_PPS_OUT"), 86 STM32_FUNCTION(12, "ETH2_PPS_OUT"), 87 STM32_FUNCTION(17, "ANALOG") 88 ), 89 STM32_PIN( 90 PINCTRL_PIN(6, "PA6"), 91 STM32_FUNCTION(0, "GPIOA6"), 92 STM32_FUNCTION(2, "TIM1_BKIN"), 93 STM32_FUNCTION(3, "TIM3_CH1"), 94 STM32_FUNCTION(4, "TIM8_BKIN"), 95 STM32_FUNCTION(5, "SAI2_CK2"), 96 STM32_FUNCTION(6, "SPI1_MISO I2S1_SDI"), 97 STM32_FUNCTION(8, "USART1_CK"), 98 STM32_FUNCTION(9, "UART4_RTS UART4_DE"), 99 STM32_FUNCTION(10, "TIM13_CH1"), 100 STM32_FUNCTION(13, "SAI2_SCK_A"), 101 STM32_FUNCTION(17, "ANALOG") 102 ), 103 STM32_PIN( 104 PINCTRL_PIN(7, "PA7"), 105 STM32_FUNCTION(0, "GPIOA7"), 106 STM32_FUNCTION(2, "TIM1_CH1N"), 107 STM32_FUNCTION(3, "TIM3_CH2"), 108 STM32_FUNCTION(4, "TIM8_CH1N"), 109 STM32_FUNCTION(5, "SAI2_D1"), 110 STM32_FUNCTION(6, "SPI1_SCK I2S1_CK"), 111 STM32_FUNCTION(8, "USART1_CTS USART1_NSS"), 112 STM32_FUNCTION(10, "TIM14_CH1"), 113 STM32_FUNCTION(12, "ETH1_MII_RX_DV ETH1_RGMII_RX_CTL ETH1_RMII_CRS_DV"), 114 STM32_FUNCTION(13, "SAI2_SD_A"), 115 STM32_FUNCTION(17, "ANALOG") 116 ), 117 STM32_PIN( 118 PINCTRL_PIN(8, "PA8"), 119 STM32_FUNCTION(0, "GPIOA8"), 120 STM32_FUNCTION(1, "MCO1"), 121 STM32_FUNCTION(3, "SAI2_MCLK_A"), 122 STM32_FUNCTION(4, "TIM8_BKIN2"), 123 STM32_FUNCTION(5, "I2C4_SDA"), 124 STM32_FUNCTION(6, "SPI5_MISO"), 125 STM32_FUNCTION(7, "SAI2_CK1"), 126 STM32_FUNCTION(8, "USART1_CK"), 127 STM32_FUNCTION(9, "SPI2_MOSI I2S2_SDO"), 128 STM32_FUNCTION(11, "OTG_HS_SOF"), 129 STM32_FUNCTION(12, "ETH2_MII_RXD3 ETH2_RGMII_RXD3"), 130 STM32_FUNCTION(13, "FMC_A21"), 131 STM32_FUNCTION(15, "LCD_B7"), 132 STM32_FUNCTION(17, "ANALOG") 133 ), 134 STM32_PIN( 135 PINCTRL_PIN(9, "PA9"), 136 STM32_FUNCTION(0, "GPIOA9"), 137 STM32_FUNCTION(2, "TIM1_CH2"), 138 STM32_FUNCTION(5, "I2C3_SMBA"), 139 STM32_FUNCTION(7, "DFSDM1_DATIN0"), 140 STM32_FUNCTION(8, "USART1_TX"), 141 STM32_FUNCTION(9, "UART4_TX"), 142 STM32_FUNCTION(11, "FMC_NWAIT"), 143 STM32_FUNCTION(14, "DCMIPP_D0"), 144 STM32_FUNCTION(15, "LCD_R6"), 145 STM32_FUNCTION(17, "ANALOG") 146 ), 147 STM32_PIN( 148 PINCTRL_PIN(10, "PA10"), 149 STM32_FUNCTION(0, "GPIOA10"), 150 STM32_FUNCTION(2, "TIM1_CH3"), 151 STM32_FUNCTION(17, "ANALOG") 152 ), 153 STM32_PIN( 154 PINCTRL_PIN(11, "PA11"), 155 STM32_FUNCTION(0, "GPIOA11"), 156 STM32_FUNCTION(2, "TIM1_CH4"), 157 STM32_FUNCTION(5, "I2C5_SCL"), 158 STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"), 159 STM32_FUNCTION(8, "USART1_CTS USART1_NSS"), 160 STM32_FUNCTION(11, "ETH2_MII_RXD1 ETH2_RGMII_RXD1 ETH2_RMII_RXD1"), 161 STM32_FUNCTION(12, "ETH1_CLK"), 162 STM32_FUNCTION(14, "ETH2_CLK"), 163 STM32_FUNCTION(17, "ANALOG") 164 ), 165 STM32_PIN( 166 PINCTRL_PIN(12, "PA12"), 167 STM32_FUNCTION(0, "GPIOA12"), 168 STM32_FUNCTION(2, "TIM1_ETR"), 169 STM32_FUNCTION(3, "SAI2_MCLK_A"), 170 STM32_FUNCTION(8, "USART1_RTS USART1_DE"), 171 STM32_FUNCTION(11, "TSC_G1_IO2"), 172 STM32_FUNCTION(12, "ETH2_MII_RX_DV ETH2_RGMII_RX_CTL ETH2_RMII_CRS_DV"), 173 STM32_FUNCTION(13, "FMC_A7"), 174 STM32_FUNCTION(14, "DCMIPP_D1"), 175 STM32_FUNCTION(15, "LCD_G6"), 176 STM32_FUNCTION(17, "ANALOG") 177 ), 178 STM32_PIN( 179 PINCTRL_PIN(13, "PA13"), 180 STM32_FUNCTION(0, "GPIOA13"), 181 STM32_FUNCTION(1, "DBTRGO"), 182 STM32_FUNCTION(2, "DBTRGI"), 183 STM32_FUNCTION(3, "MCO1"), 184 STM32_FUNCTION(9, "UART4_TX"), 185 STM32_FUNCTION(17, "ANALOG") 186 ), 187 STM32_PIN( 188 PINCTRL_PIN(14, "PA14"), 189 STM32_FUNCTION(0, "GPIOA14"), 190 STM32_FUNCTION(1, "DBTRGO"), 191 STM32_FUNCTION(2, "DBTRGI"), 192 STM32_FUNCTION(3, "MCO2"), 193 STM32_FUNCTION(11, "OTG_HS_SOF"), 194 STM32_FUNCTION(17, "ANALOG") 195 ), 196 STM32_PIN( 197 PINCTRL_PIN(15, "PA15"), 198 STM32_FUNCTION(0, "GPIOA15"), 199 STM32_FUNCTION(1, "TRACED5"), 200 STM32_FUNCTION(2, "TIM2_CH1"), 201 STM32_FUNCTION(6, "I2S4_MCK"), 202 STM32_FUNCTION(8, "UART4_RTS UART4_DE"), 203 STM32_FUNCTION(9, "UART4_RX"), 204 STM32_FUNCTION(10, "LCD_R0"), 205 STM32_FUNCTION(11, "TSC_G3_IO1"), 206 STM32_FUNCTION(12, "LCD_G7"), 207 STM32_FUNCTION(13, "FMC_A9"), 208 STM32_FUNCTION(14, "DCMIPP_D14"), 209 STM32_FUNCTION(15, "DCMIPP_D5"), 210 STM32_FUNCTION(16, "HDP5"), 211 STM32_FUNCTION(17, "ANALOG") 212 ), 213 STM32_PIN( 214 PINCTRL_PIN(16, "PB0"), 215 STM32_FUNCTION(0, "GPIOB0"), 216 STM32_FUNCTION(1, "DBTRGI"), 217 STM32_FUNCTION(2, "TIM1_CH2N"), 218 STM32_FUNCTION(3, "TIM3_CH3"), 219 STM32_FUNCTION(4, "TIM8_CH2N"), 220 STM32_FUNCTION(5, "USART1_RX"), 221 STM32_FUNCTION(6, "I2S1_MCK"), 222 STM32_FUNCTION(7, "SAI2_FS_A"), 223 STM32_FUNCTION(8, "USART1_CK"), 224 STM32_FUNCTION(9, "UART4_CTS"), 225 STM32_FUNCTION(11, "SAI2_D2"), 226 STM32_FUNCTION(12, "ETH1_MII_RXD2 ETH1_RGMII_RXD2"), 227 STM32_FUNCTION(17, "ANALOG") 228 ), 229 STM32_PIN( 230 PINCTRL_PIN(17, "PB1"), 231 STM32_FUNCTION(0, "GPIOB1"), 232 STM32_FUNCTION(2, "TIM1_CH3N"), 233 STM32_FUNCTION(3, "TIM3_CH4"), 234 STM32_FUNCTION(4, "TIM8_CH3N"), 235 STM32_FUNCTION(6, "SPI1_SCK I2S1_CK"), 236 STM32_FUNCTION(7, "DFSDM1_DATIN1"), 237 STM32_FUNCTION(8, "UART4_RX"), 238 STM32_FUNCTION(12, "ETH1_MII_RXD3 ETH1_RGMII_RXD3"), 239 STM32_FUNCTION(17, "ANALOG") 240 ), 241 STM32_PIN( 242 PINCTRL_PIN(18, "PB2"), 243 STM32_FUNCTION(0, "GPIOB2"), 244 STM32_FUNCTION(2, "RTC_OUT2"), 245 STM32_FUNCTION(3, "SAI1_D1"), 246 STM32_FUNCTION(6, "I2S_CKIN"), 247 STM32_FUNCTION(7, "SAI1_SD_A"), 248 STM32_FUNCTION(9, "UART4_RX"), 249 STM32_FUNCTION(10, "QUADSPI_BK1_NCS"), 250 STM32_FUNCTION(12, "ETH2_MDIO"), 251 STM32_FUNCTION(13, "FMC_A6"), 252 STM32_FUNCTION(15, "LCD_B4"), 253 STM32_FUNCTION(17, "ANALOG") 254 ), 255 STM32_PIN( 256 PINCTRL_PIN(19, "PB3"), 257 STM32_FUNCTION(0, "GPIOB3"), 258 STM32_FUNCTION(1, "TRACED2"), 259 STM32_FUNCTION(2, "TIM2_CH2"), 260 STM32_FUNCTION(5, "SAI2_CK1"), 261 STM32_FUNCTION(6, "SPI4_NSS I2S4_WS"), 262 STM32_FUNCTION(9, "SDMMC1_D123DIR"), 263 STM32_FUNCTION(11, "SDMMC2_D2"), 264 STM32_FUNCTION(12, "LCD_R6"), 265 STM32_FUNCTION(13, "SAI2_MCLK_A"), 266 STM32_FUNCTION(14, "UART7_RX"), 267 STM32_FUNCTION(15, "LCD_B2"), 268 STM32_FUNCTION(17, "ANALOG") 269 ), 270 STM32_PIN( 271 PINCTRL_PIN(20, "PB4"), 272 STM32_FUNCTION(0, "GPIOB4"), 273 STM32_FUNCTION(1, "TRACED14"), 274 STM32_FUNCTION(2, "TIM16_BKIN"), 275 STM32_FUNCTION(3, "TIM3_CH1"), 276 STM32_FUNCTION(5, "SAI2_CK2"), 277 STM32_FUNCTION(6, "SPI4_SCK I2S4_CK"), 278 STM32_FUNCTION(8, "USART3_CK"), 279 STM32_FUNCTION(11, "SDMMC2_D3"), 280 STM32_FUNCTION(12, "LCD_G1"), 281 STM32_FUNCTION(13, "SAI2_SCK_A"), 282 STM32_FUNCTION(14, "LCD_B6"), 283 STM32_FUNCTION(15, "LCD_R0"), 284 STM32_FUNCTION(17, "ANALOG") 285 ), 286 STM32_PIN( 287 PINCTRL_PIN(21, "PB5"), 288 STM32_FUNCTION(0, "GPIOB5"), 289 STM32_FUNCTION(1, "TRACED4"), 290 STM32_FUNCTION(2, "TIM17_BKIN"), 291 STM32_FUNCTION(3, "TIM3_CH2"), 292 STM32_FUNCTION(6, "SPI2_MISO I2S2_SDI"), 293 STM32_FUNCTION(7, "I2C4_SMBA"), 294 STM32_FUNCTION(9, "SDMMC1_CKIN"), 295 STM32_FUNCTION(10, "FDCAN2_RX"), 296 STM32_FUNCTION(12, "UART5_RX"), 297 STM32_FUNCTION(14, "LCD_B6"), 298 STM32_FUNCTION(15, "LCD_DE"), 299 STM32_FUNCTION(17, "ANALOG") 300 ), 301 STM32_PIN( 302 PINCTRL_PIN(22, "PB6"), 303 STM32_FUNCTION(0, "GPIOB6"), 304 STM32_FUNCTION(1, "TRACED6"), 305 STM32_FUNCTION(2, "TIM16_CH1N"), 306 STM32_FUNCTION(3, "TIM4_CH1"), 307 STM32_FUNCTION(4, "TIM8_CH1"), 308 STM32_FUNCTION(5, "USART1_TX"), 309 STM32_FUNCTION(7, "SAI1_CK2"), 310 STM32_FUNCTION(8, "LCD_B6"), 311 STM32_FUNCTION(10, "QUADSPI_BK1_NCS"), 312 STM32_FUNCTION(11, "TSC_G1_IO4"), 313 STM32_FUNCTION(12, "ETH2_MDIO"), 314 STM32_FUNCTION(13, "FMC_NE3"), 315 STM32_FUNCTION(14, "DCMIPP_D5"), 316 STM32_FUNCTION(15, "LCD_B7"), 317 STM32_FUNCTION(16, "HDP6"), 318 STM32_FUNCTION(17, "ANALOG") 319 ), 320 STM32_PIN( 321 PINCTRL_PIN(23, "PB7"), 322 STM32_FUNCTION(0, "GPIOB7"), 323 STM32_FUNCTION(2, "TIM17_CH1N"), 324 STM32_FUNCTION(3, "TIM4_CH2"), 325 STM32_FUNCTION(4, "TSC_SYNC"), 326 STM32_FUNCTION(6, "I2S4_CK"), 327 STM32_FUNCTION(7, "I2C4_SDA"), 328 STM32_FUNCTION(11, "FMC_NCE2"), 329 STM32_FUNCTION(13, "FMC_NL"), 330 STM32_FUNCTION(14, "DCMIPP_D13"), 331 STM32_FUNCTION(15, "DCMIPP_PIXCLK"), 332 STM32_FUNCTION(17, "ANALOG") 333 ), 334 STM32_PIN( 335 PINCTRL_PIN(24, "PB8"), 336 STM32_FUNCTION(0, "GPIOB8"), 337 STM32_FUNCTION(2, "TIM16_CH1"), 338 STM32_FUNCTION(3, "TIM4_CH3"), 339 STM32_FUNCTION(5, "I2C1_SCL"), 340 STM32_FUNCTION(6, "I2C3_SCL"), 341 STM32_FUNCTION(7, "DFSDM1_DATIN1"), 342 STM32_FUNCTION(9, "UART4_RX"), 343 STM32_FUNCTION(11, "SAI1_D1"), 344 STM32_FUNCTION(13, "FMC_D13 FMC_AD13"), 345 STM32_FUNCTION(14, "DCMIPP_D6"), 346 STM32_FUNCTION(17, "ANALOG") 347 ), 348 STM32_PIN( 349 PINCTRL_PIN(25, "PB9"), 350 STM32_FUNCTION(0, "GPIOB9"), 351 STM32_FUNCTION(1, "TRACED3"), 352 STM32_FUNCTION(3, "TIM4_CH4"), 353 STM32_FUNCTION(7, "I2C4_SDA"), 354 STM32_FUNCTION(10, "FDCAN1_TX"), 355 STM32_FUNCTION(11, "SDMMC2_D5"), 356 STM32_FUNCTION(12, "UART5_TX"), 357 STM32_FUNCTION(13, "SDMMC1_CDIR"), 358 STM32_FUNCTION(14, "LCD_DE"), 359 STM32_FUNCTION(15, "LCD_B1"), 360 STM32_FUNCTION(17, "ANALOG") 361 ), 362 STM32_PIN( 363 PINCTRL_PIN(26, "PB10"), 364 STM32_FUNCTION(0, "GPIOB10"), 365 STM32_FUNCTION(2, "TIM2_CH3"), 366 STM32_FUNCTION(4, "LPTIM2_IN1"), 367 STM32_FUNCTION(5, "I2C5_SMBA"), 368 STM32_FUNCTION(6, "SPI4_NSS I2S4_WS"), 369 STM32_FUNCTION(7, "SPI2_SCK I2S2_CK"), 370 STM32_FUNCTION(8, "USART3_TX"), 371 STM32_FUNCTION(15, "LCD_R3"), 372 STM32_FUNCTION(17, "ANALOG") 373 ), 374 STM32_PIN( 375 PINCTRL_PIN(27, "PB11"), 376 STM32_FUNCTION(0, "GPIOB11"), 377 STM32_FUNCTION(2, "TIM2_CH4"), 378 STM32_FUNCTION(4, "LPTIM1_OUT"), 379 STM32_FUNCTION(5, "I2C5_SMBA"), 380 STM32_FUNCTION(8, "USART3_RX"), 381 STM32_FUNCTION(12, "ETH1_MII_TX_EN ETH1_RGMII_TX_CTL ETH1_RMII_TX_EN"), 382 STM32_FUNCTION(17, "ANALOG") 383 ), 384 STM32_PIN( 385 PINCTRL_PIN(28, "PB12"), 386 STM32_FUNCTION(0, "GPIOB12"), 387 STM32_FUNCTION(1, "TRACED10"), 388 STM32_FUNCTION(5, "I2C2_SMBA"), 389 STM32_FUNCTION(7, "DFSDM1_DATIN1"), 390 STM32_FUNCTION(8, "UART7_RTS UART7_DE"), 391 STM32_FUNCTION(9, "USART3_RX"), 392 STM32_FUNCTION(12, "UART5_RX"), 393 STM32_FUNCTION(13, "SDMMC1_D5"), 394 STM32_FUNCTION(14, "LCD_R3"), 395 STM32_FUNCTION(15, "LCD_VSYNC"), 396 STM32_FUNCTION(17, "ANALOG") 397 ), 398 STM32_PIN( 399 PINCTRL_PIN(29, "PB13"), 400 STM32_FUNCTION(0, "GPIOB13"), 401 STM32_FUNCTION(1, "TRACECLK"), 402 STM32_FUNCTION(2, "TIM1_CH1N"), 403 STM32_FUNCTION(5, "LPTIM2_OUT"), 404 STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"), 405 STM32_FUNCTION(7, "I2C4_SCL"), 406 STM32_FUNCTION(9, "SDMMC1_D123DIR"), 407 STM32_FUNCTION(10, "FDCAN2_TX"), 408 STM32_FUNCTION(12, "UART5_TX"), 409 STM32_FUNCTION(14, "LCD_CLK"), 410 STM32_FUNCTION(17, "ANALOG") 411 ), 412 STM32_PIN( 413 PINCTRL_PIN(30, "PB14"), 414 STM32_FUNCTION(0, "GPIOB14"), 415 STM32_FUNCTION(1, "TRACED0"), 416 STM32_FUNCTION(2, "TIM1_CH2N"), 417 STM32_FUNCTION(3, "TIM12_CH1"), 418 STM32_FUNCTION(4, "TIM8_CH2N"), 419 STM32_FUNCTION(5, "USART1_TX"), 420 STM32_FUNCTION(11, "SDMMC2_D0"), 421 STM32_FUNCTION(12, "SDMMC1_D4"), 422 STM32_FUNCTION(14, "LCD_R0"), 423 STM32_FUNCTION(15, "LCD_G5"), 424 STM32_FUNCTION(17, "ANALOG") 425 ), 426 STM32_PIN( 427 PINCTRL_PIN(31, "PB15"), 428 STM32_FUNCTION(0, "GPIOB15"), 429 STM32_FUNCTION(1, "RTC_REFIN"), 430 STM32_FUNCTION(2, "TIM1_CH3N"), 431 STM32_FUNCTION(3, "TIM12_CH2"), 432 STM32_FUNCTION(4, "TIM8_CH3N"), 433 STM32_FUNCTION(5, "SAI2_D2"), 434 STM32_FUNCTION(6, "SPI4_MOSI I2S4_SDO"), 435 STM32_FUNCTION(7, "DFSDM1_CKIN2"), 436 STM32_FUNCTION(8, "UART7_CTS"), 437 STM32_FUNCTION(9, "SDMMC1_CKIN"), 438 STM32_FUNCTION(11, "SDMMC2_D1"), 439 STM32_FUNCTION(13, "SAI2_FS_A"), 440 STM32_FUNCTION(14, "LCD_CLK"), 441 STM32_FUNCTION(15, "LCD_B0"), 442 STM32_FUNCTION(17, "ANALOG") 443 ), 444 STM32_PIN( 445 PINCTRL_PIN(32, "PC0"), 446 STM32_FUNCTION(0, "GPIOC0"), 447 STM32_FUNCTION(3, "SAI1_SCK_A"), 448 STM32_FUNCTION(5, "SAI1_CK2"), 449 STM32_FUNCTION(6, "I2S1_MCK"), 450 STM32_FUNCTION(7, "SPI1_MOSI I2S1_SDO"), 451 STM32_FUNCTION(8, "USART1_TX"), 452 STM32_FUNCTION(17, "ANALOG") 453 ), 454 STM32_PIN( 455 PINCTRL_PIN(33, "PC1"), 456 STM32_FUNCTION(0, "GPIOC1"), 457 STM32_FUNCTION(4, "DFSDM1_DATIN0"), 458 STM32_FUNCTION(7, "SAI1_D3"), 459 STM32_FUNCTION(11, "ETH1_MII_RX_DV ETH1_RMII_CRS_DV"), 460 STM32_FUNCTION(12, "ETH1_RGMII_GTX_CLK"), 461 STM32_FUNCTION(17, "ANALOG") 462 ), 463 STM32_PIN( 464 PINCTRL_PIN(34, "PC2"), 465 STM32_FUNCTION(0, "GPIOC2"), 466 STM32_FUNCTION(2, "SPI5_NSS"), 467 STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"), 468 STM32_FUNCTION(7, "SAI2_MCLK_A"), 469 STM32_FUNCTION(8, "USART1_RTS USART1_DE"), 470 STM32_FUNCTION(11, "SAI2_CK1"), 471 STM32_FUNCTION(12, "ETH1_MII_TXD2 ETH1_RGMII_TXD2"), 472 STM32_FUNCTION(17, "ANALOG") 473 ), 474 STM32_PIN( 475 PINCTRL_PIN(35, "PC3"), 476 STM32_FUNCTION(0, "GPIOC3"), 477 STM32_FUNCTION(3, "SAI1_CK1"), 478 STM32_FUNCTION(4, "DFSDM1_CKOUT"), 479 STM32_FUNCTION(6, "SPI1_MISO I2S1_SDI"), 480 STM32_FUNCTION(7, "SPI1_SCK I2S1_CK"), 481 STM32_FUNCTION(9, "UART5_CTS"), 482 STM32_FUNCTION(11, "SAI1_MCLK_A"), 483 STM32_FUNCTION(12, "ETH1_MII_TX_CLK"), 484 STM32_FUNCTION(13, "ETH2_MII_TX_CLK"), 485 STM32_FUNCTION(17, "ANALOG") 486 ), 487 STM32_PIN( 488 PINCTRL_PIN(36, "PC4"), 489 STM32_FUNCTION(0, "GPIOC4"), 490 STM32_FUNCTION(3, "TIM3_ETR"), 491 STM32_FUNCTION(4, "DFSDM1_CKIN2"), 492 STM32_FUNCTION(5, "SAI1_D3"), 493 STM32_FUNCTION(6, "I2S1_MCK"), 494 STM32_FUNCTION(9, "UART5_RTS UART5_DE"), 495 STM32_FUNCTION(10, "SPDIFRX_IN2"), 496 STM32_FUNCTION(12, "ETH1_MII_RXD0 ETH1_RGMII_RXD0 ETH1_RMII_RXD0"), 497 STM32_FUNCTION(13, "SAI2_D3"), 498 STM32_FUNCTION(17, "ANALOG") 499 ), 500 STM32_PIN( 501 PINCTRL_PIN(37, "PC5"), 502 STM32_FUNCTION(0, "GPIOC5"), 503 STM32_FUNCTION(4, "DFSDM1_DATIN2"), 504 STM32_FUNCTION(5, "SAI2_D4"), 505 STM32_FUNCTION(6, "I2S_CKIN"), 506 STM32_FUNCTION(7, "SAI1_D4"), 507 STM32_FUNCTION(8, "USART2_CTS USART2_NSS"), 508 STM32_FUNCTION(10, "SPDIFRX_IN3"), 509 STM32_FUNCTION(12, "ETH1_MII_RXD1 ETH1_RGMII_RXD1 ETH1_RMII_RXD1"), 510 STM32_FUNCTION(17, "ANALOG") 511 ), 512 STM32_PIN( 513 PINCTRL_PIN(38, "PC6"), 514 STM32_FUNCTION(0, "GPIOC6"), 515 STM32_FUNCTION(1, "TRACED2"), 516 STM32_FUNCTION(3, "TIM3_CH1"), 517 STM32_FUNCTION(4, "TIM8_CH1"), 518 STM32_FUNCTION(5, "DFSDM1_DATIN0"), 519 STM32_FUNCTION(6, "I2S3_MCK"), 520 STM32_FUNCTION(8, "USART6_TX"), 521 STM32_FUNCTION(9, "SDMMC1_D6"), 522 STM32_FUNCTION(10, "SDMMC2_D0DIR"), 523 STM32_FUNCTION(11, "SDMMC2_D6"), 524 STM32_FUNCTION(12, "LCD_B1"), 525 STM32_FUNCTION(13, "FMC_A19"), 526 STM32_FUNCTION(14, "LCD_R6"), 527 STM32_FUNCTION(15, "LCD_HSYNC"), 528 STM32_FUNCTION(16, "HDP2"), 529 STM32_FUNCTION(17, "ANALOG") 530 ), 531 STM32_PIN( 532 PINCTRL_PIN(39, "PC7"), 533 STM32_FUNCTION(0, "GPIOC7"), 534 STM32_FUNCTION(1, "TRACED4"), 535 STM32_FUNCTION(3, "TIM3_CH2"), 536 STM32_FUNCTION(4, "TIM8_CH2"), 537 STM32_FUNCTION(7, "I2S2_MCK"), 538 STM32_FUNCTION(8, "USART6_RX"), 539 STM32_FUNCTION(9, "USART3_CTS"), 540 STM32_FUNCTION(10, "SDMMC2_CDIR"), 541 STM32_FUNCTION(11, "SDMMC2_D7"), 542 STM32_FUNCTION(12, "LCD_R1"), 543 STM32_FUNCTION(13, "SDMMC1_D7"), 544 STM32_FUNCTION(15, "LCD_G6"), 545 STM32_FUNCTION(16, "HDP4"), 546 STM32_FUNCTION(17, "ANALOG") 547 ), 548 STM32_PIN( 549 PINCTRL_PIN(40, "PC8"), 550 STM32_FUNCTION(0, "GPIOC8"), 551 STM32_FUNCTION(1, "TRACED0"), 552 STM32_FUNCTION(3, "TIM3_CH3"), 553 STM32_FUNCTION(4, "TIM8_CH3"), 554 STM32_FUNCTION(6, "SPI3_MISO I2S3_SDI"), 555 STM32_FUNCTION(8, "USART6_CK"), 556 STM32_FUNCTION(9, "USART3_CTS"), 557 STM32_FUNCTION(11, "SAI2_FS_B"), 558 STM32_FUNCTION(12, "UART5_RTS UART5_DE"), 559 STM32_FUNCTION(13, "SDMMC1_D0"), 560 STM32_FUNCTION(15, "LCD_G7"), 561 STM32_FUNCTION(17, "ANALOG") 562 ), 563 STM32_PIN( 564 PINCTRL_PIN(41, "PC9"), 565 STM32_FUNCTION(0, "GPIOC9"), 566 STM32_FUNCTION(1, "TRACED1"), 567 STM32_FUNCTION(3, "TIM3_CH4"), 568 STM32_FUNCTION(4, "TIM8_CH4"), 569 STM32_FUNCTION(8, "USART3_RTS"), 570 STM32_FUNCTION(9, "UART5_CTS"), 571 STM32_FUNCTION(10, "FDCAN1_TX"), 572 STM32_FUNCTION(13, "SDMMC1_D1"), 573 STM32_FUNCTION(15, "LCD_B4"), 574 STM32_FUNCTION(17, "ANALOG") 575 ), 576 STM32_PIN( 577 PINCTRL_PIN(42, "PC10"), 578 STM32_FUNCTION(0, "GPIOC10"), 579 STM32_FUNCTION(1, "TRACED2"), 580 STM32_FUNCTION(6, "I2C1_SCL"), 581 STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"), 582 STM32_FUNCTION(8, "USART3_TX"), 583 STM32_FUNCTION(11, "SAI2_MCLK_B"), 584 STM32_FUNCTION(13, "SDMMC1_D2"), 585 STM32_FUNCTION(17, "ANALOG") 586 ), 587 STM32_PIN( 588 PINCTRL_PIN(43, "PC11"), 589 STM32_FUNCTION(0, "GPIOC11"), 590 STM32_FUNCTION(1, "TRACED3"), 591 STM32_FUNCTION(5, "I2C1_SDA"), 592 STM32_FUNCTION(7, "SPI3_MOSI I2S3_SDO"), 593 STM32_FUNCTION(8, "USART3_CK"), 594 STM32_FUNCTION(9, "UART5_RX"), 595 STM32_FUNCTION(11, "SAI2_SCK_B"), 596 STM32_FUNCTION(13, "SDMMC1_D3"), 597 STM32_FUNCTION(17, "ANALOG") 598 ), 599 STM32_PIN( 600 PINCTRL_PIN(44, "PC12"), 601 STM32_FUNCTION(0, "GPIOC12"), 602 STM32_FUNCTION(1, "TRACECLK"), 603 STM32_FUNCTION(9, "UART7_TX"), 604 STM32_FUNCTION(11, "SAI2_SD_B"), 605 STM32_FUNCTION(13, "SDMMC1_CK"), 606 STM32_FUNCTION(15, "LCD_DE"), 607 STM32_FUNCTION(17, "ANALOG") 608 ), 609 STM32_PIN( 610 PINCTRL_PIN(45, "PC13"), 611 STM32_FUNCTION(0, "GPIOC13"), 612 STM32_FUNCTION(17, "ANALOG") 613 ), 614 STM32_PIN( 615 PINCTRL_PIN(46, "PC14"), 616 STM32_FUNCTION(0, "GPIOC14"), 617 STM32_FUNCTION(17, "ANALOG") 618 ), 619 STM32_PIN( 620 PINCTRL_PIN(47, "PC15"), 621 STM32_FUNCTION(0, "GPIOC15"), 622 STM32_FUNCTION(17, "ANALOG") 623 ), 624 STM32_PIN( 625 PINCTRL_PIN(48, "PD0"), 626 STM32_FUNCTION(0, "GPIOD0"), 627 STM32_FUNCTION(3, "SAI1_MCLK_A"), 628 STM32_FUNCTION(7, "SAI1_CK1"), 629 STM32_FUNCTION(10, "FDCAN1_RX"), 630 STM32_FUNCTION(13, "FMC_D2 FMC_AD2"), 631 STM32_FUNCTION(14, "DCMIPP_D1"), 632 STM32_FUNCTION(17, "ANALOG") 633 ), 634 STM32_PIN( 635 PINCTRL_PIN(49, "PD1"), 636 STM32_FUNCTION(0, "GPIOD1"), 637 STM32_FUNCTION(5, "I2C5_SCL"), 638 STM32_FUNCTION(6, "SPI4_MOSI I2S4_SDO"), 639 STM32_FUNCTION(9, "UART4_TX"), 640 STM32_FUNCTION(10, "QUADSPI_BK1_NCS"), 641 STM32_FUNCTION(12, "LCD_B6"), 642 STM32_FUNCTION(13, "FMC_D3 FMC_AD3"), 643 STM32_FUNCTION(14, "DCMIPP_D13"), 644 STM32_FUNCTION(15, "LCD_G2"), 645 STM32_FUNCTION(17, "ANALOG") 646 ), 647 STM32_PIN( 648 PINCTRL_PIN(50, "PD2"), 649 STM32_FUNCTION(0, "GPIOD2"), 650 STM32_FUNCTION(1, "TRACED4"), 651 STM32_FUNCTION(3, "TIM3_ETR"), 652 STM32_FUNCTION(5, "I2C1_SMBA"), 653 STM32_FUNCTION(6, "SPI3_NSS I2S3_WS"), 654 STM32_FUNCTION(7, "SAI2_D1"), 655 STM32_FUNCTION(8, "USART3_RX"), 656 STM32_FUNCTION(13, "SDMMC1_CMD"), 657 STM32_FUNCTION(17, "ANALOG") 658 ), 659 STM32_PIN( 660 PINCTRL_PIN(51, "PD3"), 661 STM32_FUNCTION(0, "GPIOD3"), 662 STM32_FUNCTION(3, "TIM2_CH1"), 663 STM32_FUNCTION(4, "USART2_CTS USART2_NSS"), 664 STM32_FUNCTION(5, "DFSDM1_CKOUT"), 665 STM32_FUNCTION(6, "I2C1_SDA"), 666 STM32_FUNCTION(7, "SAI1_D3"), 667 STM32_FUNCTION(13, "FMC_CLK"), 668 STM32_FUNCTION(14, "DCMIPP_D5"), 669 STM32_FUNCTION(17, "ANALOG") 670 ), 671 STM32_PIN( 672 PINCTRL_PIN(52, "PD4"), 673 STM32_FUNCTION(0, "GPIOD4"), 674 STM32_FUNCTION(4, "USART2_RTS USART2_DE"), 675 STM32_FUNCTION(6, "SPI3_MISO I2S3_SDI"), 676 STM32_FUNCTION(7, "DFSDM1_CKIN0"), 677 STM32_FUNCTION(10, "QUADSPI_CLK"), 678 STM32_FUNCTION(12, "LCD_R1"), 679 STM32_FUNCTION(13, "FMC_NOE"), 680 STM32_FUNCTION(14, "LCD_R4"), 681 STM32_FUNCTION(15, "LCD_R6"), 682 STM32_FUNCTION(17, "ANALOG") 683 ), 684 STM32_PIN( 685 PINCTRL_PIN(53, "PD5"), 686 STM32_FUNCTION(0, "GPIOD5"), 687 STM32_FUNCTION(10, "QUADSPI_BK1_IO0"), 688 STM32_FUNCTION(13, "FMC_NWE"), 689 STM32_FUNCTION(14, "LCD_B0"), 690 STM32_FUNCTION(15, "LCD_G4"), 691 STM32_FUNCTION(17, "ANALOG") 692 ), 693 STM32_PIN( 694 PINCTRL_PIN(54, "PD6"), 695 STM32_FUNCTION(0, "GPIOD6"), 696 STM32_FUNCTION(2, "TIM16_CH1N"), 697 STM32_FUNCTION(3, "SAI1_D1"), 698 STM32_FUNCTION(7, "SAI1_SD_A"), 699 STM32_FUNCTION(9, "UART4_TX"), 700 STM32_FUNCTION(12, "TSC_G2_IO1"), 701 STM32_FUNCTION(14, "DCMIPP_D4"), 702 STM32_FUNCTION(15, "DCMIPP_D0"), 703 STM32_FUNCTION(17, "ANALOG") 704 ), 705 STM32_PIN( 706 PINCTRL_PIN(55, "PD7"), 707 STM32_FUNCTION(0, "GPIOD7"), 708 STM32_FUNCTION(1, "MCO1"), 709 STM32_FUNCTION(4, "USART2_CK"), 710 STM32_FUNCTION(5, "I2C2_SCL"), 711 STM32_FUNCTION(6, "I2C3_SDA"), 712 STM32_FUNCTION(10, "SPDIFRX_IN0"), 713 STM32_FUNCTION(11, "ETH1_MII_RX_CLK ETH1_RGMII_RX_CLK ETH1_RMII_REF_CLK"), 714 STM32_FUNCTION(12, "QUADSPI_BK1_IO2"), 715 STM32_FUNCTION(13, "FMC_NE1"), 716 STM32_FUNCTION(17, "ANALOG") 717 ), 718 STM32_PIN( 719 PINCTRL_PIN(56, "PD8"), 720 STM32_FUNCTION(0, "GPIOD8"), 721 STM32_FUNCTION(4, "USART2_TX"), 722 STM32_FUNCTION(6, "I2S4_WS"), 723 STM32_FUNCTION(8, "USART3_TX"), 724 STM32_FUNCTION(9, "UART4_RX"), 725 STM32_FUNCTION(11, "TSC_G1_IO3"), 726 STM32_FUNCTION(14, "DCMIPP_D9"), 727 STM32_FUNCTION(15, "DCMIPP_D3"), 728 STM32_FUNCTION(17, "ANALOG") 729 ), 730 STM32_PIN( 731 PINCTRL_PIN(57, "PD9"), 732 STM32_FUNCTION(0, "GPIOD9"), 733 STM32_FUNCTION(1, "TRACECLK"), 734 STM32_FUNCTION(4, "DFSDM1_DATIN3"), 735 STM32_FUNCTION(11, "SDMMC2_CDIR"), 736 STM32_FUNCTION(12, "LCD_B5"), 737 STM32_FUNCTION(13, "FMC_D14 FMC_AD14"), 738 STM32_FUNCTION(14, "LCD_CLK"), 739 STM32_FUNCTION(15, "LCD_B0"), 740 STM32_FUNCTION(17, "ANALOG") 741 ), 742 STM32_PIN( 743 PINCTRL_PIN(58, "PD10"), 744 STM32_FUNCTION(0, "GPIOD10"), 745 STM32_FUNCTION(1, "RTC_REFIN"), 746 STM32_FUNCTION(5, "I2C5_SMBA"), 747 STM32_FUNCTION(6, "SPI4_NSS I2S4_WS"), 748 STM32_FUNCTION(8, "USART3_CK"), 749 STM32_FUNCTION(10, "LCD_G5"), 750 STM32_FUNCTION(11, "TSC_G2_IO2"), 751 STM32_FUNCTION(12, "LCD_B7"), 752 STM32_FUNCTION(13, "FMC_D15 FMC_AD15"), 753 STM32_FUNCTION(14, "DCMIPP_VSYNC"), 754 STM32_FUNCTION(15, "LCD_B2"), 755 STM32_FUNCTION(17, "ANALOG") 756 ), 757 STM32_PIN( 758 PINCTRL_PIN(59, "PD11"), 759 STM32_FUNCTION(0, "GPIOD11"), 760 STM32_FUNCTION(4, "LPTIM2_IN2"), 761 STM32_FUNCTION(5, "I2C4_SMBA"), 762 STM32_FUNCTION(8, "USART3_CTS USART3_NSS"), 763 STM32_FUNCTION(9, "SPDIFRX_IN0"), 764 STM32_FUNCTION(10, "QUADSPI_BK1_IO2"), 765 STM32_FUNCTION(11, "ETH2_RGMII_CLK125"), 766 STM32_FUNCTION(12, "LCD_R7"), 767 STM32_FUNCTION(13, "FMC_CLE FMC_A16"), 768 STM32_FUNCTION(14, "UART7_RX"), 769 STM32_FUNCTION(15, "DCMIPP_D4"), 770 STM32_FUNCTION(17, "ANALOG") 771 ), 772 STM32_PIN( 773 PINCTRL_PIN(60, "PD12"), 774 STM32_FUNCTION(0, "GPIOD12"), 775 STM32_FUNCTION(2, "LPTIM1_IN1"), 776 STM32_FUNCTION(3, "TIM4_CH1"), 777 STM32_FUNCTION(6, "I2C1_SCL"), 778 STM32_FUNCTION(8, "USART3_RTS USART3_DE"), 779 STM32_FUNCTION(13, "FMC_ALE FMC_A17"), 780 STM32_FUNCTION(14, "DCMIPP_D6"), 781 STM32_FUNCTION(17, "ANALOG") 782 ), 783 STM32_PIN( 784 PINCTRL_PIN(61, "PD13"), 785 STM32_FUNCTION(0, "GPIOD13"), 786 STM32_FUNCTION(2, "LPTIM2_ETR"), 787 STM32_FUNCTION(3, "TIM4_CH2"), 788 STM32_FUNCTION(4, "TIM8_CH2"), 789 STM32_FUNCTION(5, "SAI1_CK1"), 790 STM32_FUNCTION(7, "SAI1_MCLK_A"), 791 STM32_FUNCTION(8, "USART1_RX"), 792 STM32_FUNCTION(10, "QUADSPI_BK1_IO3"), 793 STM32_FUNCTION(11, "TSC_G2_IO4"), 794 STM32_FUNCTION(12, "QUADSPI_BK2_IO2"), 795 STM32_FUNCTION(13, "FMC_A18"), 796 STM32_FUNCTION(15, "LCD_G4"), 797 STM32_FUNCTION(17, "ANALOG") 798 ), 799 STM32_PIN( 800 PINCTRL_PIN(62, "PD14"), 801 STM32_FUNCTION(0, "GPIOD14"), 802 STM32_FUNCTION(3, "TIM4_CH3"), 803 STM32_FUNCTION(5, "I2C3_SDA"), 804 STM32_FUNCTION(8, "USART1_RX"), 805 STM32_FUNCTION(9, "UART8_CTS"), 806 STM32_FUNCTION(13, "FMC_D0 FMC_AD0"), 807 STM32_FUNCTION(14, "DCMIPP_D8"), 808 STM32_FUNCTION(15, "LCD_R4"), 809 STM32_FUNCTION(17, "ANALOG") 810 ), 811 STM32_PIN( 812 PINCTRL_PIN(63, "PD15"), 813 STM32_FUNCTION(0, "GPIOD15"), 814 STM32_FUNCTION(2, "USART2_RX"), 815 STM32_FUNCTION(3, "TIM4_CH4"), 816 STM32_FUNCTION(4, "DFSDM1_DATIN2"), 817 STM32_FUNCTION(10, "QUADSPI_BK1_IO3"), 818 STM32_FUNCTION(13, "FMC_D1 FMC_AD1"), 819 STM32_FUNCTION(15, "LCD_B5"), 820 STM32_FUNCTION(17, "ANALOG") 821 ), 822 STM32_PIN( 823 PINCTRL_PIN(64, "PE0"), 824 STM32_FUNCTION(0, "GPIOE0"), 825 STM32_FUNCTION(7, "DCMIPP_D12"), 826 STM32_FUNCTION(9, "UART8_RX"), 827 STM32_FUNCTION(10, "FDCAN2_RX"), 828 STM32_FUNCTION(11, "TSC_G4_IO1"), 829 STM32_FUNCTION(12, "LCD_B1"), 830 STM32_FUNCTION(13, "FMC_A11"), 831 STM32_FUNCTION(14, "DCMIPP_D1"), 832 STM32_FUNCTION(15, "LCD_B5"), 833 STM32_FUNCTION(17, "ANALOG") 834 ), 835 STM32_PIN( 836 PINCTRL_PIN(65, "PE1"), 837 STM32_FUNCTION(0, "GPIOE1"), 838 STM32_FUNCTION(2, "LPTIM1_IN2"), 839 STM32_FUNCTION(4, "TSC_G2_IO3"), 840 STM32_FUNCTION(9, "UART8_TX"), 841 STM32_FUNCTION(10, "LCD_HSYNC"), 842 STM32_FUNCTION(12, "LCD_R4"), 843 STM32_FUNCTION(13, "FMC_NBL1"), 844 STM32_FUNCTION(14, "DCMIPP_D3"), 845 STM32_FUNCTION(15, "DCMIPP_D12"), 846 STM32_FUNCTION(17, "ANALOG") 847 ), 848 STM32_PIN( 849 PINCTRL_PIN(66, "PE2"), 850 STM32_FUNCTION(0, "GPIOE2"), 851 STM32_FUNCTION(1, "TRACECLK"), 852 STM32_FUNCTION(2, "TIM2_ETR"), 853 STM32_FUNCTION(4, "TSC_G5_IO1"), 854 STM32_FUNCTION(5, "I2C4_SCL"), 855 STM32_FUNCTION(6, "SPI5_MOSI"), 856 STM32_FUNCTION(7, "SAI1_FS_B"), 857 STM32_FUNCTION(8, "USART6_RTS USART6_DE"), 858 STM32_FUNCTION(10, "SPDIFRX_IN1"), 859 STM32_FUNCTION(11, "ETH2_MII_RXD1 ETH2_RGMII_RXD1 ETH2_RMII_RXD1"), 860 STM32_FUNCTION(13, "FMC_A23"), 861 STM32_FUNCTION(15, "LCD_R1"), 862 STM32_FUNCTION(17, "ANALOG") 863 ), 864 STM32_PIN( 865 PINCTRL_PIN(67, "PE3"), 866 STM32_FUNCTION(0, "GPIOE3"), 867 STM32_FUNCTION(1, "TRACED11"), 868 STM32_FUNCTION(3, "SAI2_D4"), 869 STM32_FUNCTION(5, "TIM15_BKIN"), 870 STM32_FUNCTION(6, "SPI4_MISO I2S4_SDI"), 871 STM32_FUNCTION(9, "USART3_RTS USART3_DE"), 872 STM32_FUNCTION(10, "FDCAN1_RX"), 873 STM32_FUNCTION(11, "SDMMC2_CK"), 874 STM32_FUNCTION(14, "LCD_R4"), 875 STM32_FUNCTION(17, "ANALOG") 876 ), 877 STM32_PIN( 878 PINCTRL_PIN(68, "PE4"), 879 STM32_FUNCTION(0, "GPIOE4"), 880 STM32_FUNCTION(2, "SPI5_MISO"), 881 STM32_FUNCTION(3, "SAI1_D2"), 882 STM32_FUNCTION(4, "DFSDM1_DATIN3"), 883 STM32_FUNCTION(5, "TIM15_CH1N"), 884 STM32_FUNCTION(6, "I2S_CKIN"), 885 STM32_FUNCTION(7, "SAI1_FS_A"), 886 STM32_FUNCTION(8, "UART7_RTS UART7_DE"), 887 STM32_FUNCTION(9, "UART8_TX"), 888 STM32_FUNCTION(10, "QUADSPI_BK2_NCS"), 889 STM32_FUNCTION(11, "FMC_NCE2"), 890 STM32_FUNCTION(12, "TSC_G1_IO1"), 891 STM32_FUNCTION(13, "FMC_A25"), 892 STM32_FUNCTION(14, "DCMIPP_D3"), 893 STM32_FUNCTION(15, "LCD_G7"), 894 STM32_FUNCTION(17, "ANALOG") 895 ), 896 STM32_PIN( 897 PINCTRL_PIN(69, "PE5"), 898 STM32_FUNCTION(0, "GPIOE5"), 899 STM32_FUNCTION(3, "SAI2_SCK_B"), 900 STM32_FUNCTION(4, "TIM8_CH3"), 901 STM32_FUNCTION(5, "TIM15_CH1"), 902 STM32_FUNCTION(9, "UART4_RX"), 903 STM32_FUNCTION(11, "ETH1_MII_TXD3 ETH1_RGMII_TXD3"), 904 STM32_FUNCTION(13, "FMC_NE1"), 905 STM32_FUNCTION(17, "ANALOG") 906 ), 907 STM32_PIN( 908 PINCTRL_PIN(70, "PE6"), 909 STM32_FUNCTION(0, "GPIOE6"), 910 STM32_FUNCTION(1, "MCO2"), 911 STM32_FUNCTION(2, "TIM1_BKIN2"), 912 STM32_FUNCTION(3, "SAI2_SCK_B"), 913 STM32_FUNCTION(5, "TIM15_CH2"), 914 STM32_FUNCTION(6, "I2C3_SMBA"), 915 STM32_FUNCTION(7, "SAI1_SCK_B"), 916 STM32_FUNCTION(9, "UART4_RTS UART4_DE"), 917 STM32_FUNCTION(12, "ETH2_MII_TXD3 ETH2_RGMII_TXD3"), 918 STM32_FUNCTION(13, "FMC_A22"), 919 STM32_FUNCTION(14, "DCMIPP_D7"), 920 STM32_FUNCTION(15, "LCD_G3"), 921 STM32_FUNCTION(17, "ANALOG") 922 ), 923 STM32_PIN( 924 PINCTRL_PIN(71, "PE7"), 925 STM32_FUNCTION(0, "GPIOE7"), 926 STM32_FUNCTION(2, "TIM1_ETR"), 927 STM32_FUNCTION(5, "LPTIM2_IN1"), 928 STM32_FUNCTION(9, "UART5_TX"), 929 STM32_FUNCTION(13, "FMC_D4 FMC_AD4"), 930 STM32_FUNCTION(14, "LCD_B3"), 931 STM32_FUNCTION(15, "LCD_R5"), 932 STM32_FUNCTION(17, "ANALOG") 933 ), 934 STM32_PIN( 935 PINCTRL_PIN(72, "PE8"), 936 STM32_FUNCTION(0, "GPIOE8"), 937 STM32_FUNCTION(2, "TIM1_CH1N"), 938 STM32_FUNCTION(4, "DFSDM1_CKIN2"), 939 STM32_FUNCTION(6, "I2C1_SDA"), 940 STM32_FUNCTION(8, "UART7_TX"), 941 STM32_FUNCTION(13, "FMC_D5 FMC_AD5"), 942 STM32_FUNCTION(17, "ANALOG") 943 ), 944 STM32_PIN( 945 PINCTRL_PIN(73, "PE9"), 946 STM32_FUNCTION(0, "GPIOE9"), 947 STM32_FUNCTION(2, "TIM1_CH1"), 948 STM32_FUNCTION(10, "QUADSPI_BK1_IO1"), 949 STM32_FUNCTION(12, "LCD_HSYNC"), 950 STM32_FUNCTION(13, "FMC_D6 FMC_AD6"), 951 STM32_FUNCTION(14, "DCMIPP_D7"), 952 STM32_FUNCTION(15, "LCD_R7"), 953 STM32_FUNCTION(16, "HDP3"), 954 STM32_FUNCTION(17, "ANALOG") 955 ), 956 STM32_PIN( 957 PINCTRL_PIN(74, "PE10"), 958 STM32_FUNCTION(0, "GPIOE10"), 959 STM32_FUNCTION(2, "TIM1_CH2N"), 960 STM32_FUNCTION(8, "UART7_RX"), 961 STM32_FUNCTION(10, "FDCAN1_TX"), 962 STM32_FUNCTION(13, "FMC_D7 FMC_AD7"), 963 STM32_FUNCTION(17, "ANALOG") 964 ), 965 STM32_PIN( 966 PINCTRL_PIN(75, "PE11"), 967 STM32_FUNCTION(0, "GPIOE11"), 968 STM32_FUNCTION(2, "TIM1_CH2"), 969 STM32_FUNCTION(3, "USART2_CTS USART2_NSS"), 970 STM32_FUNCTION(5, "SAI1_D2"), 971 STM32_FUNCTION(6, "SPI4_MOSI I2S4_SDO"), 972 STM32_FUNCTION(7, "SAI1_FS_A"), 973 STM32_FUNCTION(8, "USART6_CK"), 974 STM32_FUNCTION(10, "LCD_R0"), 975 STM32_FUNCTION(11, "ETH2_MII_TX_ER"), 976 STM32_FUNCTION(12, "ETH1_MII_TX_ER"), 977 STM32_FUNCTION(13, "FMC_D8 FMC_AD8"), 978 STM32_FUNCTION(14, "DCMIPP_D10"), 979 STM32_FUNCTION(15, "LCD_R5"), 980 STM32_FUNCTION(17, "ANALOG") 981 ), 982 STM32_PIN( 983 PINCTRL_PIN(76, "PE12"), 984 STM32_FUNCTION(0, "GPIOE12"), 985 STM32_FUNCTION(2, "TIM1_CH3N"), 986 STM32_FUNCTION(6, "SPI4_SCK I2S4_CK"), 987 STM32_FUNCTION(9, "UART8_RTS UART8_DE"), 988 STM32_FUNCTION(10, "LCD_VSYNC"), 989 STM32_FUNCTION(11, "TSC_G3_IO2"), 990 STM32_FUNCTION(12, "LCD_G4"), 991 STM32_FUNCTION(13, "FMC_D9 FMC_AD9"), 992 STM32_FUNCTION(14, "DCMIPP_D11"), 993 STM32_FUNCTION(15, "LCD_G6"), 994 STM32_FUNCTION(16, "HDP4"), 995 STM32_FUNCTION(17, "ANALOG") 996 ), 997 STM32_PIN( 998 PINCTRL_PIN(77, "PE13"), 999 STM32_FUNCTION(0, "GPIOE13"), 1000 STM32_FUNCTION(2, "TIM1_CH3"), 1001 STM32_FUNCTION(5, "I2C5_SDA"), 1002 STM32_FUNCTION(6, "SPI4_MISO I2S4_SDI"), 1003 STM32_FUNCTION(12, "LCD_B1"), 1004 STM32_FUNCTION(13, "FMC_D10 FMC_AD10"), 1005 STM32_FUNCTION(14, "DCMIPP_D4"), 1006 STM32_FUNCTION(15, "LCD_R6"), 1007 STM32_FUNCTION(17, "ANALOG") 1008 ), 1009 STM32_PIN( 1010 PINCTRL_PIN(78, "PE14"), 1011 STM32_FUNCTION(0, "GPIOE14"), 1012 STM32_FUNCTION(2, "TIM1_BKIN"), 1013 STM32_FUNCTION(5, "SAI1_D4"), 1014 STM32_FUNCTION(9, "UART8_RTS UART8_DE"), 1015 STM32_FUNCTION(10, "QUADSPI_BK1_NCS"), 1016 STM32_FUNCTION(11, "QUADSPI_BK2_IO2"), 1017 STM32_FUNCTION(13, "FMC_D11 FMC_AD11"), 1018 STM32_FUNCTION(14, "DCMIPP_D7"), 1019 STM32_FUNCTION(15, "LCD_G0"), 1020 STM32_FUNCTION(17, "ANALOG") 1021 ), 1022 STM32_PIN( 1023 PINCTRL_PIN(79, "PE15"), 1024 STM32_FUNCTION(0, "GPIOE15"), 1025 STM32_FUNCTION(2, "TIM2_ETR"), 1026 STM32_FUNCTION(3, "TIM1_BKIN"), 1027 STM32_FUNCTION(4, "USART2_CTS USART2_NSS"), 1028 STM32_FUNCTION(7, "I2C4_SCL"), 1029 STM32_FUNCTION(13, "FMC_D12 FMC_AD12"), 1030 STM32_FUNCTION(14, "DCMIPP_D10"), 1031 STM32_FUNCTION(15, "LCD_B7"), 1032 STM32_FUNCTION(16, "HDP7"), 1033 STM32_FUNCTION(17, "ANALOG") 1034 ), 1035 STM32_PIN( 1036 PINCTRL_PIN(80, "PF0"), 1037 STM32_FUNCTION(0, "GPIOF0"), 1038 STM32_FUNCTION(1, "TRACED13"), 1039 STM32_FUNCTION(4, "DFSDM1_CKOUT"), 1040 STM32_FUNCTION(8, "USART3_CK"), 1041 STM32_FUNCTION(11, "SDMMC2_D4"), 1042 STM32_FUNCTION(13, "FMC_A0"), 1043 STM32_FUNCTION(14, "LCD_R6"), 1044 STM32_FUNCTION(15, "LCD_G0"), 1045 STM32_FUNCTION(17, "ANALOG") 1046 ), 1047 STM32_PIN( 1048 PINCTRL_PIN(81, "PF1"), 1049 STM32_FUNCTION(0, "GPIOF1"), 1050 STM32_FUNCTION(1, "TRACED7"), 1051 STM32_FUNCTION(5, "I2C2_SDA"), 1052 STM32_FUNCTION(6, "SPI3_MOSI I2S3_SDO"), 1053 STM32_FUNCTION(13, "FMC_A1"), 1054 STM32_FUNCTION(14, "LCD_B7"), 1055 STM32_FUNCTION(15, "LCD_G1"), 1056 STM32_FUNCTION(16, "HDP7"), 1057 STM32_FUNCTION(17, "ANALOG") 1058 ), 1059 STM32_PIN( 1060 PINCTRL_PIN(82, "PF2"), 1061 STM32_FUNCTION(0, "GPIOF2"), 1062 STM32_FUNCTION(1, "TRACED1"), 1063 STM32_FUNCTION(5, "I2C2_SCL"), 1064 STM32_FUNCTION(7, "DFSDM1_CKIN1"), 1065 STM32_FUNCTION(8, "USART6_CK"), 1066 STM32_FUNCTION(10, "SDMMC2_D0DIR"), 1067 STM32_FUNCTION(12, "SDMMC1_D0DIR"), 1068 STM32_FUNCTION(13, "FMC_A2"), 1069 STM32_FUNCTION(14, "LCD_G4"), 1070 STM32_FUNCTION(15, "LCD_B3"), 1071 STM32_FUNCTION(17, "ANALOG") 1072 ), 1073 STM32_PIN( 1074 PINCTRL_PIN(83, "PF3"), 1075 STM32_FUNCTION(0, "GPIOF3"), 1076 STM32_FUNCTION(4, "LPTIM2_IN2"), 1077 STM32_FUNCTION(5, "I2C5_SDA"), 1078 STM32_FUNCTION(6, "SPI4_MISO I2S4_SDI"), 1079 STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"), 1080 STM32_FUNCTION(13, "FMC_A3"), 1081 STM32_FUNCTION(15, "LCD_G3"), 1082 STM32_FUNCTION(17, "ANALOG") 1083 ), 1084 STM32_PIN( 1085 PINCTRL_PIN(84, "PF4"), 1086 STM32_FUNCTION(0, "GPIOF4"), 1087 STM32_FUNCTION(4, "USART2_RX"), 1088 STM32_FUNCTION(11, "TSC_G3_IO3"), 1089 STM32_FUNCTION(12, "ETH2_MII_RXD0 ETH2_RGMII_RXD0 ETH2_RMII_RXD0"), 1090 STM32_FUNCTION(13, "FMC_A4"), 1091 STM32_FUNCTION(14, "DCMIPP_D4"), 1092 STM32_FUNCTION(15, "LCD_B6"), 1093 STM32_FUNCTION(17, "ANALOG") 1094 ), 1095 STM32_PIN( 1096 PINCTRL_PIN(85, "PF5"), 1097 STM32_FUNCTION(0, "GPIOF5"), 1098 STM32_FUNCTION(1, "TRACED12"), 1099 STM32_FUNCTION(5, "DFSDM1_CKIN0"), 1100 STM32_FUNCTION(6, "I2C1_SMBA"), 1101 STM32_FUNCTION(10, "LCD_G0"), 1102 STM32_FUNCTION(13, "FMC_A5"), 1103 STM32_FUNCTION(14, "DCMIPP_D11"), 1104 STM32_FUNCTION(15, "LCD_R5"), 1105 STM32_FUNCTION(17, "ANALOG") 1106 ), 1107 STM32_PIN( 1108 PINCTRL_PIN(86, "PF6"), 1109 STM32_FUNCTION(0, "GPIOF6"), 1110 STM32_FUNCTION(2, "TIM16_CH1"), 1111 STM32_FUNCTION(6, "SPI5_NSS"), 1112 STM32_FUNCTION(8, "UART7_RX"), 1113 STM32_FUNCTION(10, "QUADSPI_BK1_IO2"), 1114 STM32_FUNCTION(12, "ETH2_MII_TX_EN ETH2_RGMII_TX_CTL ETH2_RMII_TX_EN"), 1115 STM32_FUNCTION(14, "LCD_R7"), 1116 STM32_FUNCTION(15, "LCD_G4"), 1117 STM32_FUNCTION(17, "ANALOG") 1118 ), 1119 STM32_PIN( 1120 PINCTRL_PIN(87, "PF7"), 1121 STM32_FUNCTION(0, "GPIOF7"), 1122 STM32_FUNCTION(2, "TIM17_CH1"), 1123 STM32_FUNCTION(8, "UART7_TX"), 1124 STM32_FUNCTION(9, "UART4_CTS"), 1125 STM32_FUNCTION(11, "ETH1_RGMII_CLK125"), 1126 STM32_FUNCTION(12, "ETH2_MII_TXD0 ETH2_RGMII_TXD0 ETH2_RMII_TXD0"), 1127 STM32_FUNCTION(13, "FMC_A18"), 1128 STM32_FUNCTION(15, "LCD_G2"), 1129 STM32_FUNCTION(17, "ANALOG") 1130 ), 1131 STM32_PIN( 1132 PINCTRL_PIN(88, "PF8"), 1133 STM32_FUNCTION(0, "GPIOF8"), 1134 STM32_FUNCTION(2, "TIM16_CH1N"), 1135 STM32_FUNCTION(3, "TIM4_CH3"), 1136 STM32_FUNCTION(4, "TIM8_CH3"), 1137 STM32_FUNCTION(7, "SAI1_SCK_B"), 1138 STM32_FUNCTION(8, "USART6_TX"), 1139 STM32_FUNCTION(10, "TIM13_CH1"), 1140 STM32_FUNCTION(11, "QUADSPI_BK1_IO0"), 1141 STM32_FUNCTION(14, "DCMIPP_D15"), 1142 STM32_FUNCTION(15, "LCD_B3"), 1143 STM32_FUNCTION(17, "ANALOG") 1144 ), 1145 STM32_PIN( 1146 PINCTRL_PIN(89, "PF9"), 1147 STM32_FUNCTION(0, "GPIOF9"), 1148 STM32_FUNCTION(2, "TIM17_CH1N"), 1149 STM32_FUNCTION(3, "TIM1_CH1"), 1150 STM32_FUNCTION(4, "DFSDM1_CKIN3"), 1151 STM32_FUNCTION(7, "SAI1_D4"), 1152 STM32_FUNCTION(8, "UART7_CTS"), 1153 STM32_FUNCTION(9, "UART8_RX"), 1154 STM32_FUNCTION(10, "TIM14_CH1"), 1155 STM32_FUNCTION(11, "QUADSPI_BK1_IO1"), 1156 STM32_FUNCTION(12, "QUADSPI_BK2_IO3"), 1157 STM32_FUNCTION(13, "FMC_A9"), 1158 STM32_FUNCTION(15, "LCD_B6"), 1159 STM32_FUNCTION(17, "ANALOG") 1160 ), 1161 STM32_PIN( 1162 PINCTRL_PIN(90, "PF10"), 1163 STM32_FUNCTION(0, "GPIOF10"), 1164 STM32_FUNCTION(2, "TIM16_BKIN"), 1165 STM32_FUNCTION(3, "SAI1_D3"), 1166 STM32_FUNCTION(4, "TIM8_BKIN"), 1167 STM32_FUNCTION(6, "SPI5_NSS"), 1168 STM32_FUNCTION(8, "USART6_RTS USART6_DE"), 1169 STM32_FUNCTION(9, "UART7_RTS UART7_DE"), 1170 STM32_FUNCTION(10, "QUADSPI_CLK"), 1171 STM32_FUNCTION(14, "DCMIPP_HSYNC"), 1172 STM32_FUNCTION(15, "LCD_B5"), 1173 STM32_FUNCTION(17, "ANALOG") 1174 ), 1175 STM32_PIN( 1176 PINCTRL_PIN(91, "PF11"), 1177 STM32_FUNCTION(0, "GPIOF11"), 1178 STM32_FUNCTION(2, "USART2_TX"), 1179 STM32_FUNCTION(3, "SAI1_D2"), 1180 STM32_FUNCTION(4, "DFSDM1_CKIN3"), 1181 STM32_FUNCTION(7, "SAI1_FS_A"), 1182 STM32_FUNCTION(13, "ETH2_MII_RX_ER"), 1183 STM32_FUNCTION(17, "ANALOG") 1184 ), 1185 STM32_PIN( 1186 PINCTRL_PIN(92, "PF12"), 1187 STM32_FUNCTION(0, "GPIOF12"), 1188 STM32_FUNCTION(6, "SPI1_NSS I2S1_WS"), 1189 STM32_FUNCTION(7, "SAI1_SD_A"), 1190 STM32_FUNCTION(9, "UART4_TX"), 1191 STM32_FUNCTION(11, "ETH1_MII_TX_ER"), 1192 STM32_FUNCTION(12, "ETH1_RGMII_CLK125"), 1193 STM32_FUNCTION(17, "ANALOG") 1194 ), 1195 STM32_PIN( 1196 PINCTRL_PIN(93, "PF13"), 1197 STM32_FUNCTION(0, "GPIOF13"), 1198 STM32_FUNCTION(2, "TIM2_ETR"), 1199 STM32_FUNCTION(3, "SAI1_MCLK_B"), 1200 STM32_FUNCTION(7, "DFSDM1_DATIN3"), 1201 STM32_FUNCTION(8, "USART2_TX"), 1202 STM32_FUNCTION(9, "UART5_RX"), 1203 STM32_FUNCTION(17, "ANALOG") 1204 ), 1205 STM32_PIN( 1206 PINCTRL_PIN(94, "PF14"), 1207 STM32_FUNCTION(0, "GPIOF14"), 1208 STM32_FUNCTION(1, "JTCK SWCLK"), 1209 STM32_FUNCTION(17, "ANALOG") 1210 ), 1211 STM32_PIN( 1212 PINCTRL_PIN(95, "PF15"), 1213 STM32_FUNCTION(0, "GPIOF15"), 1214 STM32_FUNCTION(1, "JTMS SWDIO"), 1215 STM32_FUNCTION(17, "ANALOG") 1216 ), 1217 STM32_PIN( 1218 PINCTRL_PIN(96, "PG0"), 1219 STM32_FUNCTION(0, "GPIOG0"), 1220 STM32_FUNCTION(10, "FDCAN2_TX"), 1221 STM32_FUNCTION(11, "TSC_G4_IO2"), 1222 STM32_FUNCTION(13, "FMC_A10"), 1223 STM32_FUNCTION(14, "DCMIPP_PIXCLK"), 1224 STM32_FUNCTION(15, "LCD_G5"), 1225 STM32_FUNCTION(17, "ANALOG") 1226 ), 1227 STM32_PIN( 1228 PINCTRL_PIN(97, "PG1"), 1229 STM32_FUNCTION(0, "GPIOG1"), 1230 STM32_FUNCTION(2, "LPTIM1_ETR"), 1231 STM32_FUNCTION(3, "TIM4_ETR"), 1232 STM32_FUNCTION(4, "SAI2_FS_A"), 1233 STM32_FUNCTION(5, "I2C2_SMBA"), 1234 STM32_FUNCTION(6, "SPI2_MISO I2S2_SDI"), 1235 STM32_FUNCTION(7, "SAI2_D2"), 1236 STM32_FUNCTION(10, "FDCAN2_TX"), 1237 STM32_FUNCTION(11, "ETH2_MII_TXD2 ETH2_RGMII_TXD2"), 1238 STM32_FUNCTION(13, "FMC_NBL0"), 1239 STM32_FUNCTION(15, "LCD_G7"), 1240 STM32_FUNCTION(17, "ANALOG") 1241 ), 1242 STM32_PIN( 1243 PINCTRL_PIN(98, "PG2"), 1244 STM32_FUNCTION(0, "GPIOG2"), 1245 STM32_FUNCTION(2, "MCO2"), 1246 STM32_FUNCTION(4, "TIM8_BKIN"), 1247 STM32_FUNCTION(11, "SAI2_MCLK_B"), 1248 STM32_FUNCTION(12, "ETH1_MDC"), 1249 STM32_FUNCTION(14, "DCMIPP_D1"), 1250 STM32_FUNCTION(17, "ANALOG") 1251 ), 1252 STM32_PIN( 1253 PINCTRL_PIN(99, "PG3"), 1254 STM32_FUNCTION(0, "GPIOG3"), 1255 STM32_FUNCTION(4, "TIM8_BKIN2"), 1256 STM32_FUNCTION(5, "I2C2_SDA"), 1257 STM32_FUNCTION(7, "SAI2_SD_B"), 1258 STM32_FUNCTION(10, "FDCAN2_RX"), 1259 STM32_FUNCTION(11, "ETH2_RGMII_GTX_CLK"), 1260 STM32_FUNCTION(12, "ETH1_MDIO"), 1261 STM32_FUNCTION(13, "FMC_A13"), 1262 STM32_FUNCTION(14, "DCMIPP_D15"), 1263 STM32_FUNCTION(15, "DCMIPP_D12"), 1264 STM32_FUNCTION(17, "ANALOG") 1265 ), 1266 STM32_PIN( 1267 PINCTRL_PIN(100, "PG4"), 1268 STM32_FUNCTION(0, "GPIOG4"), 1269 STM32_FUNCTION(1, "TRACED1"), 1270 STM32_FUNCTION(2, "TIM1_BKIN2"), 1271 STM32_FUNCTION(5, "DFSDM1_CKIN3"), 1272 STM32_FUNCTION(9, "USART3_RX"), 1273 STM32_FUNCTION(11, "SDMMC2_D123DIR"), 1274 STM32_FUNCTION(12, "LCD_VSYNC"), 1275 STM32_FUNCTION(13, "FMC_A14"), 1276 STM32_FUNCTION(14, "DCMIPP_D8"), 1277 STM32_FUNCTION(15, "DCMIPP_D13"), 1278 STM32_FUNCTION(16, "HDP1"), 1279 STM32_FUNCTION(17, "ANALOG") 1280 ), 1281 STM32_PIN( 1282 PINCTRL_PIN(101, "PG5"), 1283 STM32_FUNCTION(0, "GPIOG5"), 1284 STM32_FUNCTION(2, "TIM17_CH1"), 1285 STM32_FUNCTION(11, "ETH2_MDC"), 1286 STM32_FUNCTION(12, "LCD_G4"), 1287 STM32_FUNCTION(13, "FMC_A15"), 1288 STM32_FUNCTION(14, "DCMIPP_VSYNC"), 1289 STM32_FUNCTION(15, "DCMIPP_D3"), 1290 STM32_FUNCTION(17, "ANALOG") 1291 ), 1292 STM32_PIN( 1293 PINCTRL_PIN(102, "PG6"), 1294 STM32_FUNCTION(0, "GPIOG6"), 1295 STM32_FUNCTION(1, "TRACED3"), 1296 STM32_FUNCTION(2, "TIM17_BKIN"), 1297 STM32_FUNCTION(3, "TIM5_CH4"), 1298 STM32_FUNCTION(4, "SAI2_D1"), 1299 STM32_FUNCTION(5, "USART1_RX"), 1300 STM32_FUNCTION(7, "SAI2_SD_A"), 1301 STM32_FUNCTION(11, "SDMMC2_CMD"), 1302 STM32_FUNCTION(12, "LCD_G0"), 1303 STM32_FUNCTION(14, "LCD_DE"), 1304 STM32_FUNCTION(15, "LCD_R7"), 1305 STM32_FUNCTION(16, "HDP3"), 1306 STM32_FUNCTION(17, "ANALOG") 1307 ), 1308 STM32_PIN( 1309 PINCTRL_PIN(103, "PG7"), 1310 STM32_FUNCTION(0, "GPIOG7"), 1311 STM32_FUNCTION(1, "TRACED8"), 1312 STM32_FUNCTION(2, "TIM1_ETR"), 1313 STM32_FUNCTION(6, "SPI3_MISO I2S3_SDI"), 1314 STM32_FUNCTION(9, "UART7_CTS"), 1315 STM32_FUNCTION(11, "SDMMC2_CKIN"), 1316 STM32_FUNCTION(12, "LCD_R1"), 1317 STM32_FUNCTION(14, "LCD_R5"), 1318 STM32_FUNCTION(15, "LCD_R2"), 1319 STM32_FUNCTION(17, "ANALOG") 1320 ), 1321 STM32_PIN( 1322 PINCTRL_PIN(104, "PG8"), 1323 STM32_FUNCTION(0, "GPIOG8"), 1324 STM32_FUNCTION(2, "TIM2_CH1"), 1325 STM32_FUNCTION(4, "TIM8_ETR"), 1326 STM32_FUNCTION(6, "SPI5_MISO"), 1327 STM32_FUNCTION(7, "SAI1_MCLK_B"), 1328 STM32_FUNCTION(8, "LCD_B1"), 1329 STM32_FUNCTION(9, "USART3_RTS USART3_DE"), 1330 STM32_FUNCTION(10, "SPDIFRX_IN2"), 1331 STM32_FUNCTION(11, "QUADSPI_BK2_IO2"), 1332 STM32_FUNCTION(12, "QUADSPI_BK1_IO3"), 1333 STM32_FUNCTION(13, "FMC_NE2"), 1334 STM32_FUNCTION(14, "ETH2_CLK"), 1335 STM32_FUNCTION(15, "DCMIPP_D6"), 1336 STM32_FUNCTION(17, "ANALOG") 1337 ), 1338 STM32_PIN( 1339 PINCTRL_PIN(105, "PG9"), 1340 STM32_FUNCTION(0, "GPIOG9"), 1341 STM32_FUNCTION(1, "DBTRGO"), 1342 STM32_FUNCTION(5, "I2C2_SDA"), 1343 STM32_FUNCTION(8, "USART6_RX"), 1344 STM32_FUNCTION(9, "SPDIFRX_IN3"), 1345 STM32_FUNCTION(10, "FDCAN1_RX"), 1346 STM32_FUNCTION(11, "FMC_NE2"), 1347 STM32_FUNCTION(13, "FMC_NCE"), 1348 STM32_FUNCTION(14, "DCMIPP_VSYNC"), 1349 STM32_FUNCTION(17, "ANALOG") 1350 ), 1351 STM32_PIN( 1352 PINCTRL_PIN(106, "PG10"), 1353 STM32_FUNCTION(0, "GPIOG10"), 1354 STM32_FUNCTION(6, "SPI5_SCK"), 1355 STM32_FUNCTION(7, "SAI1_SD_B"), 1356 STM32_FUNCTION(9, "UART8_CTS"), 1357 STM32_FUNCTION(10, "FDCAN1_TX"), 1358 STM32_FUNCTION(11, "QUADSPI_BK2_IO1"), 1359 STM32_FUNCTION(13, "FMC_NE3"), 1360 STM32_FUNCTION(14, "DCMIPP_D2"), 1361 STM32_FUNCTION(17, "ANALOG") 1362 ), 1363 STM32_PIN( 1364 PINCTRL_PIN(107, "PG11"), 1365 STM32_FUNCTION(0, "GPIOG11"), 1366 STM32_FUNCTION(5, "SAI2_D3"), 1367 STM32_FUNCTION(6, "I2S2_MCK"), 1368 STM32_FUNCTION(8, "USART3_TX"), 1369 STM32_FUNCTION(9, "UART4_TX"), 1370 STM32_FUNCTION(11, "ETH2_MII_TXD1 ETH2_RGMII_TXD1 ETH2_RMII_TXD1"), 1371 STM32_FUNCTION(13, "FMC_A24"), 1372 STM32_FUNCTION(14, "DCMIPP_D14"), 1373 STM32_FUNCTION(15, "LCD_B2"), 1374 STM32_FUNCTION(17, "ANALOG") 1375 ), 1376 STM32_PIN( 1377 PINCTRL_PIN(108, "PG12"), 1378 STM32_FUNCTION(0, "GPIOG12"), 1379 STM32_FUNCTION(2, "LPTIM1_IN1"), 1380 STM32_FUNCTION(4, "TSC_G5_IO2"), 1381 STM32_FUNCTION(5, "SAI2_SCK_A"), 1382 STM32_FUNCTION(7, "SAI2_CK2"), 1383 STM32_FUNCTION(8, "USART6_RTS USART6_DE"), 1384 STM32_FUNCTION(9, "USART3_CTS"), 1385 STM32_FUNCTION(11, "ETH2_PHY_INTN"), 1386 STM32_FUNCTION(12, "ETH1_PHY_INTN"), 1387 STM32_FUNCTION(13, "ETH2_MII_RX_DV ETH2_RGMII_RX_CTL ETH2_RMII_CRS_DV"), 1388 STM32_FUNCTION(17, "ANALOG") 1389 ), 1390 STM32_PIN( 1391 PINCTRL_PIN(109, "PG13"), 1392 STM32_FUNCTION(0, "GPIOG13"), 1393 STM32_FUNCTION(2, "LPTIM1_OUT"), 1394 STM32_FUNCTION(8, "USART6_CTS USART6_NSS"), 1395 STM32_FUNCTION(12, "ETH1_MII_TXD0 ETH1_RGMII_TXD0 ETH1_RMII_TXD0"), 1396 STM32_FUNCTION(17, "ANALOG") 1397 ), 1398 STM32_PIN( 1399 PINCTRL_PIN(110, "PG14"), 1400 STM32_FUNCTION(0, "GPIOG14"), 1401 STM32_FUNCTION(2, "LPTIM1_ETR"), 1402 STM32_FUNCTION(7, "SAI2_D1"), 1403 STM32_FUNCTION(8, "USART6_TX"), 1404 STM32_FUNCTION(11, "SAI2_SD_A"), 1405 STM32_FUNCTION(12, "ETH1_MII_TXD1 ETH1_RGMII_TXD1 ETH1_RMII_TXD1"), 1406 STM32_FUNCTION(17, "ANALOG") 1407 ), 1408 STM32_PIN( 1409 PINCTRL_PIN(111, "PG15"), 1410 STM32_FUNCTION(0, "GPIOG15"), 1411 STM32_FUNCTION(8, "USART6_CTS USART6_NSS"), 1412 STM32_FUNCTION(9, "UART7_CTS"), 1413 STM32_FUNCTION(10, "QUADSPI_BK1_IO1"), 1414 STM32_FUNCTION(11, "ETH2_PHY_INTN"), 1415 STM32_FUNCTION(12, "LCD_B4"), 1416 STM32_FUNCTION(14, "DCMIPP_D10"), 1417 STM32_FUNCTION(15, "LCD_B3"), 1418 STM32_FUNCTION(17, "ANALOG") 1419 ), 1420 STM32_PIN( 1421 PINCTRL_PIN(112, "PH0"), 1422 STM32_FUNCTION(0, "GPIOH0"), 1423 STM32_FUNCTION(17, "ANALOG") 1424 ), 1425 STM32_PIN( 1426 PINCTRL_PIN(113, "PH1"), 1427 STM32_FUNCTION(0, "GPIOH1"), 1428 STM32_FUNCTION(17, "ANALOG") 1429 ), 1430 STM32_PIN( 1431 PINCTRL_PIN(114, "PH2"), 1432 STM32_FUNCTION(0, "GPIOH2"), 1433 STM32_FUNCTION(2, "LPTIM1_IN2"), 1434 STM32_FUNCTION(4, "TSC_G4_IO3"), 1435 STM32_FUNCTION(7, "DCMIPP_D9"), 1436 STM32_FUNCTION(8, "LCD_G1"), 1437 STM32_FUNCTION(9, "UART7_TX"), 1438 STM32_FUNCTION(10, "QUADSPI_BK2_IO0"), 1439 STM32_FUNCTION(11, "ETH2_MII_CRS"), 1440 STM32_FUNCTION(12, "ETH1_MII_CRS"), 1441 STM32_FUNCTION(13, "FMC_NE4"), 1442 STM32_FUNCTION(14, "ETH2_RGMII_CLK125"), 1443 STM32_FUNCTION(15, "LCD_B0"), 1444 STM32_FUNCTION(17, "ANALOG") 1445 ), 1446 STM32_PIN( 1447 PINCTRL_PIN(115, "PH3"), 1448 STM32_FUNCTION(0, "GPIOH3"), 1449 STM32_FUNCTION(5, "I2C3_SCL"), 1450 STM32_FUNCTION(6, "SPI5_MOSI"), 1451 STM32_FUNCTION(10, "QUADSPI_BK2_IO1"), 1452 STM32_FUNCTION(11, "ETH1_MII_COL"), 1453 STM32_FUNCTION(12, "LCD_R5"), 1454 STM32_FUNCTION(13, "ETH2_MII_COL"), 1455 STM32_FUNCTION(14, "QUADSPI_BK1_IO0"), 1456 STM32_FUNCTION(15, "LCD_B4"), 1457 STM32_FUNCTION(17, "ANALOG") 1458 ), 1459 STM32_PIN( 1460 PINCTRL_PIN(116, "PH4"), 1461 STM32_FUNCTION(0, "GPIOH4"), 1462 STM32_FUNCTION(1, "JTDI"), 1463 STM32_FUNCTION(17, "ANALOG") 1464 ), 1465 STM32_PIN( 1466 PINCTRL_PIN(117, "PH5"), 1467 STM32_FUNCTION(0, "GPIOH5"), 1468 STM32_FUNCTION(1, "JTDO"), 1469 STM32_FUNCTION(17, "ANALOG") 1470 ), 1471 STM32_PIN( 1472 PINCTRL_PIN(118, "PH6"), 1473 STM32_FUNCTION(0, "GPIOH6"), 1474 STM32_FUNCTION(3, "TIM12_CH1"), 1475 STM32_FUNCTION(4, "USART2_CK"), 1476 STM32_FUNCTION(5, "I2C5_SDA"), 1477 STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"), 1478 STM32_FUNCTION(10, "QUADSPI_BK1_IO2"), 1479 STM32_FUNCTION(11, "ETH1_PHY_INTN"), 1480 STM32_FUNCTION(12, "ETH1_MII_RX_ER"), 1481 STM32_FUNCTION(13, "ETH2_MII_RXD2 ETH2_RGMII_RXD2"), 1482 STM32_FUNCTION(14, "QUADSPI_BK1_NCS"), 1483 STM32_FUNCTION(17, "ANALOG") 1484 ), 1485 STM32_PIN( 1486 PINCTRL_PIN(119, "PH7"), 1487 STM32_FUNCTION(0, "GPIOH7"), 1488 STM32_FUNCTION(3, "SAI2_FS_B"), 1489 STM32_FUNCTION(6, "I2C3_SDA"), 1490 STM32_FUNCTION(7, "SPI5_SCK"), 1491 STM32_FUNCTION(10, "QUADSPI_BK2_IO3"), 1492 STM32_FUNCTION(11, "ETH2_MII_TX_CLK"), 1493 STM32_FUNCTION(12, "ETH1_MII_TX_CLK"), 1494 STM32_FUNCTION(14, "QUADSPI_BK1_IO3"), 1495 STM32_FUNCTION(15, "LCD_B2"), 1496 STM32_FUNCTION(17, "ANALOG") 1497 ), 1498 STM32_PIN( 1499 PINCTRL_PIN(120, "PH8"), 1500 STM32_FUNCTION(0, "GPIOH8"), 1501 STM32_FUNCTION(1, "TRACED9"), 1502 STM32_FUNCTION(3, "TIM5_ETR"), 1503 STM32_FUNCTION(4, "USART2_RX"), 1504 STM32_FUNCTION(5, "I2C3_SDA"), 1505 STM32_FUNCTION(12, "LCD_R6"), 1506 STM32_FUNCTION(13, "FMC_A8"), 1507 STM32_FUNCTION(14, "DCMIPP_HSYNC"), 1508 STM32_FUNCTION(15, "LCD_R2"), 1509 STM32_FUNCTION(16, "HDP2"), 1510 STM32_FUNCTION(17, "ANALOG") 1511 ), 1512 STM32_PIN( 1513 PINCTRL_PIN(121, "PH9"), 1514 STM32_FUNCTION(0, "GPIOH9"), 1515 STM32_FUNCTION(2, "TIM1_CH4"), 1516 STM32_FUNCTION(3, "TIM12_CH2"), 1517 STM32_FUNCTION(4, "TSC_SYNC"), 1518 STM32_FUNCTION(6, "SPI4_SCK I2S4_CK"), 1519 STM32_FUNCTION(7, "DCMIPP_D13"), 1520 STM32_FUNCTION(10, "LCD_B5"), 1521 STM32_FUNCTION(12, "LCD_DE"), 1522 STM32_FUNCTION(13, "FMC_A20"), 1523 STM32_FUNCTION(14, "DCMIPP_D9"), 1524 STM32_FUNCTION(15, "DCMIPP_D8"), 1525 STM32_FUNCTION(17, "ANALOG") 1526 ), 1527 STM32_PIN( 1528 PINCTRL_PIN(122, "PH10"), 1529 STM32_FUNCTION(0, "GPIOH10"), 1530 STM32_FUNCTION(1, "TRACED0"), 1531 STM32_FUNCTION(3, "TIM5_CH1"), 1532 STM32_FUNCTION(4, "SAI2_D3"), 1533 STM32_FUNCTION(5, "DFSDM1_DATIN2"), 1534 STM32_FUNCTION(6, "I2S3_MCK"), 1535 STM32_FUNCTION(7, "SPI2_MOSI I2S2_SDO"), 1536 STM32_FUNCTION(8, "USART3_CTS USART3_NSS"), 1537 STM32_FUNCTION(9, "SDMMC1_D4"), 1538 STM32_FUNCTION(14, "LCD_HSYNC"), 1539 STM32_FUNCTION(15, "LCD_R2"), 1540 STM32_FUNCTION(16, "HDP0"), 1541 STM32_FUNCTION(17, "ANALOG") 1542 ), 1543 STM32_PIN( 1544 PINCTRL_PIN(123, "PH11"), 1545 STM32_FUNCTION(0, "GPIOH11"), 1546 STM32_FUNCTION(2, "SPI5_NSS"), 1547 STM32_FUNCTION(3, "TIM5_CH2"), 1548 STM32_FUNCTION(4, "SAI2_SD_A"), 1549 STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"), 1550 STM32_FUNCTION(7, "I2C4_SCL"), 1551 STM32_FUNCTION(8, "USART6_RX"), 1552 STM32_FUNCTION(10, "QUADSPI_BK2_IO0"), 1553 STM32_FUNCTION(12, "ETH2_MII_RX_CLK ETH2_RGMII_RX_CLK ETH2_RMII_REF_CLK"), 1554 STM32_FUNCTION(13, "FMC_A12"), 1555 STM32_FUNCTION(15, "LCD_G6"), 1556 STM32_FUNCTION(17, "ANALOG") 1557 ), 1558 STM32_PIN( 1559 PINCTRL_PIN(124, "PH12"), 1560 STM32_FUNCTION(0, "GPIOH12"), 1561 STM32_FUNCTION(2, "USART2_TX"), 1562 STM32_FUNCTION(3, "TIM5_CH3"), 1563 STM32_FUNCTION(4, "DFSDM1_CKIN1"), 1564 STM32_FUNCTION(5, "I2C3_SCL"), 1565 STM32_FUNCTION(6, "SPI5_MOSI"), 1566 STM32_FUNCTION(7, "SAI1_SCK_A"), 1567 STM32_FUNCTION(10, "QUADSPI_BK2_IO2"), 1568 STM32_FUNCTION(11, "SAI1_CK2"), 1569 STM32_FUNCTION(12, "ETH1_MII_CRS"), 1570 STM32_FUNCTION(13, "FMC_A6"), 1571 STM32_FUNCTION(14, "DCMIPP_D3"), 1572 STM32_FUNCTION(17, "ANALOG") 1573 ), 1574 STM32_PIN( 1575 PINCTRL_PIN(125, "PH13"), 1576 STM32_FUNCTION(0, "GPIOH13"), 1577 STM32_FUNCTION(1, "TRACED15"), 1578 STM32_FUNCTION(3, "USART2_CK"), 1579 STM32_FUNCTION(4, "TIM8_CH1N"), 1580 STM32_FUNCTION(5, "I2C5_SCL"), 1581 STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"), 1582 STM32_FUNCTION(9, "UART4_TX"), 1583 STM32_FUNCTION(14, "LCD_G3"), 1584 STM32_FUNCTION(15, "LCD_G2"), 1585 STM32_FUNCTION(17, "ANALOG") 1586 ), 1587 STM32_PIN( 1588 PINCTRL_PIN(126, "PH14"), 1589 STM32_FUNCTION(0, "GPIOH14"), 1590 STM32_FUNCTION(4, "DFSDM1_DATIN2"), 1591 STM32_FUNCTION(5, "I2C3_SDA"), 1592 STM32_FUNCTION(7, "DCMIPP_D8"), 1593 STM32_FUNCTION(9, "UART4_RX"), 1594 STM32_FUNCTION(12, "LCD_B4"), 1595 STM32_FUNCTION(14, "DCMIPP_D2"), 1596 STM32_FUNCTION(15, "DCMIPP_PIXCLK"), 1597 STM32_FUNCTION(17, "ANALOG") 1598 ), 1599 STM32_PIN( 1600 PINCTRL_PIN(128, "PI0"), 1601 STM32_FUNCTION(0, "GPIOI0"), 1602 STM32_FUNCTION(9, "SPDIFRX_IN0"), 1603 STM32_FUNCTION(17, "ANALOG") 1604 ), 1605 STM32_PIN( 1606 PINCTRL_PIN(129, "PI1"), 1607 STM32_FUNCTION(0, "GPIOI1"), 1608 STM32_FUNCTION(9, "SPDIFRX_IN1"), 1609 STM32_FUNCTION(17, "ANALOG") 1610 ), 1611 STM32_PIN( 1612 PINCTRL_PIN(130, "PI2"), 1613 STM32_FUNCTION(0, "GPIOI2"), 1614 STM32_FUNCTION(9, "SPDIFRX_IN2"), 1615 STM32_FUNCTION(17, "ANALOG") 1616 ), 1617 STM32_PIN( 1618 PINCTRL_PIN(131, "PI3"), 1619 STM32_FUNCTION(0, "GPIOI3"), 1620 STM32_FUNCTION(9, "SPDIFRX_IN3"), 1621 STM32_FUNCTION(12, "ETH1_MII_RX_ER"), 1622 STM32_FUNCTION(17, "ANALOG") 1623 ), 1624 STM32_PIN( 1625 PINCTRL_PIN(132, "PI4"), 1626 STM32_FUNCTION(0, "GPIOI4"), 1627 STM32_FUNCTION(1, "BOOT0"), 1628 STM32_FUNCTION(17, "ANALOG") 1629 ), 1630 STM32_PIN( 1631 PINCTRL_PIN(133, "PI5"), 1632 STM32_FUNCTION(0, "GPIOI5"), 1633 STM32_FUNCTION(1, "BOOT1"), 1634 STM32_FUNCTION(17, "ANALOG") 1635 ), 1636 STM32_PIN( 1637 PINCTRL_PIN(134, "PI6"), 1638 STM32_FUNCTION(0, "GPIOI6"), 1639 STM32_FUNCTION(1, "BOOT2"), 1640 STM32_FUNCTION(17, "ANALOG") 1641 ), 1642 STM32_PIN( 1643 PINCTRL_PIN(135, "PI7"), 1644 STM32_FUNCTION(0, "GPIOI7"), 1645 STM32_FUNCTION(17, "ANALOG") 1646 ), 1647}; 1648 1649static struct stm32_pinctrl_match_data stm32mp135_match_data = { 1650 .pins = stm32mp135_pins, 1651 .npins = ARRAY_SIZE(stm32mp135_pins), 1652 .secure_control = true, 1653}; 1654 1655static const struct of_device_id stm32mp135_pctrl_match[] = { 1656 { 1657 .compatible = "st,stm32mp135-pinctrl", 1658 .data = &stm32mp135_match_data, 1659 }, 1660 { } 1661}; 1662 1663static const struct dev_pm_ops stm32_pinctrl_dev_pm_ops = { 1664 SET_LATE_SYSTEM_SLEEP_PM_OPS(stm32_pinctrl_suspend, stm32_pinctrl_resume) 1665}; 1666 1667static struct platform_driver stm32mp135_pinctrl_driver = { 1668 .probe = stm32_pctl_probe, 1669 .driver = { 1670 .name = "stm32mp135-pinctrl", 1671 .of_match_table = stm32mp135_pctrl_match, 1672 .pm = &stm32_pinctrl_dev_pm_ops, 1673 }, 1674}; 1675 1676static int __init stm32mp135_pinctrl_init(void) 1677{ 1678 return platform_driver_register(&stm32mp135_pinctrl_driver); 1679} 1680arch_initcall(stm32mp135_pinctrl_init);