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