1/* 2 * NOTE: Autogenerated file using genpinctrl.py 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/pinctrl/stm32-pinctrl.h> 8 9/ { 10 soc { 11 pinctrl: pin-controller@50000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in15_pa11: adc1_in15_pa11 { 28 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in16_pa12: adc1_in16_pa12 { 32 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in17_pa13: adc1_in17_pa13 { 36 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in18_pa14: adc1_in18_pa14 { 40 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 44 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in9_pb1: adc1_in9_pb1 { 48 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in11_pb7: adc1_in11_pb7 { 52 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 53 }; 54 55 /* Analog */ 56 57 /omit-if-no-ref/ analog_pa0: analog_pa0 { 58 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 59 }; 60 61 /omit-if-no-ref/ analog_pa1: analog_pa1 { 62 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 63 }; 64 65 /omit-if-no-ref/ analog_pa2: analog_pa2 { 66 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa8: analog_pa8 { 70 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa9: analog_pa9 { 74 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa10: analog_pa10 { 78 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa11: analog_pa11 { 82 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa12: analog_pa12 { 86 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa13: analog_pa13 { 90 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa14: analog_pa14 { 94 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa15: analog_pa15 { 98 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pb0: analog_pb0 { 102 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pb1: analog_pb1 { 106 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pb5: analog_pb5 { 110 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pb6: analog_pb6 { 114 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pb7: analog_pb7 { 118 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb8: analog_pb8 { 122 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb9: analog_pb9 { 126 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pc14: analog_pc14 { 130 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pf2: analog_pf2 { 134 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 135 }; 136 137 /* I2C_SCL */ 138 139 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 140 pinmux = <STM32_PINMUX('A', 9, AF6)>; 141 bias-pull-up; 142 drive-open-drain; 143 }; 144 145 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 146 pinmux = <STM32_PINMUX('B', 6, AF6)>; 147 bias-pull-up; 148 drive-open-drain; 149 }; 150 151 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 152 pinmux = <STM32_PINMUX('B', 8, AF6)>; 153 bias-pull-up; 154 drive-open-drain; 155 }; 156 157 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 158 pinmux = <STM32_PINMUX('A', 11, AF6)>; 159 bias-pull-up; 160 drive-open-drain; 161 }; 162 163 /* I2C_SDA */ 164 165 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 166 pinmux = <STM32_PINMUX('A', 10, AF6)>; 167 bias-pull-up; 168 drive-open-drain; 169 }; 170 171 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 172 pinmux = <STM32_PINMUX('B', 7, AF6)>; 173 bias-pull-up; 174 drive-open-drain; 175 }; 176 177 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 178 pinmux = <STM32_PINMUX('B', 9, AF6)>; 179 bias-pull-up; 180 drive-open-drain; 181 }; 182 183 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 184 pinmux = <STM32_PINMUX('A', 12, AF6)>; 185 bias-pull-up; 186 drive-open-drain; 187 }; 188 189 /* I2S_CK */ 190 191 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 192 pinmux = <STM32_PINMUX('A', 1, AF0)>; 193 slew-rate = "very-high-speed"; 194 }; 195 196 /* I2S_MCK */ 197 198 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 199 pinmux = <STM32_PINMUX('A', 11, AF0)>; 200 slew-rate = "very-high-speed"; 201 }; 202 203 /* I2S_SD */ 204 205 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 206 pinmux = <STM32_PINMUX('A', 2, AF0)>; 207 }; 208 209 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 210 pinmux = <STM32_PINMUX('A', 12, AF0)>; 211 }; 212 213 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 214 pinmux = <STM32_PINMUX('B', 5, AF0)>; 215 }; 216 217 /* I2S_WS */ 218 219 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 220 pinmux = <STM32_PINMUX('A', 15, AF0)>; 221 }; 222 223 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 224 pinmux = <STM32_PINMUX('B', 0, AF0)>; 225 }; 226 227 /* SPI_MISO */ 228 229 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 230 pinmux = <STM32_PINMUX('A', 11, AF0)>; 231 bias-pull-down; 232 }; 233 234 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 235 pinmux = <STM32_PINMUX('A', 9, AF4)>; 236 bias-pull-down; 237 }; 238 239 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 240 pinmux = <STM32_PINMUX('B', 6, AF4)>; 241 bias-pull-down; 242 }; 243 244 /* SPI_MOSI */ 245 246 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 247 pinmux = <STM32_PINMUX('A', 2, AF0)>; 248 bias-pull-down; 249 }; 250 251 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 252 pinmux = <STM32_PINMUX('A', 12, AF0)>; 253 bias-pull-down; 254 }; 255 256 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 257 pinmux = <STM32_PINMUX('B', 5, AF0)>; 258 bias-pull-down; 259 }; 260 261 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 262 pinmux = <STM32_PINMUX('A', 10, AF0)>; 263 bias-pull-down; 264 }; 265 266 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 267 pinmux = <STM32_PINMUX('B', 7, AF1)>; 268 bias-pull-down; 269 }; 270 271 /* SPI_NSS */ 272 273 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 274 pinmux = <STM32_PINMUX('A', 15, AF0)>; 275 bias-pull-up; 276 }; 277 278 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 279 pinmux = <STM32_PINMUX('B', 0, AF0)>; 280 bias-pull-up; 281 }; 282 283 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 284 pinmux = <STM32_PINMUX('A', 8, AF1)>; 285 bias-pull-up; 286 }; 287 288 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 289 pinmux = <STM32_PINMUX('B', 9, AF5)>; 290 bias-pull-up; 291 }; 292 293 /* SPI_SCK */ 294 295 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 296 pinmux = <STM32_PINMUX('A', 1, AF0)>; 297 bias-pull-down; 298 slew-rate = "very-high-speed"; 299 }; 300 301 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 302 pinmux = <STM32_PINMUX('A', 0, AF0)>; 303 bias-pull-down; 304 slew-rate = "very-high-speed"; 305 }; 306 307 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 308 pinmux = <STM32_PINMUX('B', 8, AF1)>; 309 bias-pull-down; 310 slew-rate = "very-high-speed"; 311 }; 312 313 /* TIM_CH / TIM_CHN */ 314 315 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 316 pinmux = <STM32_PINMUX('A', 8, AF2)>; 317 }; 318 319 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 320 pinmux = <STM32_PINMUX('A', 9, AF2)>; 321 }; 322 323 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 324 pinmux = <STM32_PINMUX('A', 10, AF2)>; 325 }; 326 327 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 328 pinmux = <STM32_PINMUX('A', 11, AF2)>; 329 }; 330 331 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 332 pinmux = <STM32_PINMUX('B', 0, AF2)>; 333 }; 334 335 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 336 pinmux = <STM32_PINMUX('B', 1, AF2)>; 337 }; 338 339 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 340 pinmux = <STM32_PINMUX('B', 6, AF1)>; 341 }; 342 343 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 344 pinmux = <STM32_PINMUX('A', 0, AF2)>; 345 }; 346 347 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 348 pinmux = <STM32_PINMUX('A', 1, AF2)>; 349 }; 350 351 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 352 pinmux = <STM32_PINMUX('A', 2, AF2)>; 353 }; 354 355 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 356 pinmux = <STM32_PINMUX('A', 15, AF2)>; 357 }; 358 359 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 360 pinmux = <STM32_PINMUX('B', 0, AF1)>; 361 }; 362 363 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 364 pinmux = <STM32_PINMUX('B', 1, AF1)>; 365 }; 366 367 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 368 pinmux = <STM32_PINMUX('B', 5, AF1)>; 369 }; 370 371 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 372 pinmux = <STM32_PINMUX('B', 1, AF0)>; 373 }; 374 375 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 376 pinmux = <STM32_PINMUX('B', 6, AF2)>; 377 }; 378 379 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 380 pinmux = <STM32_PINMUX('B', 8, AF2)>; 381 }; 382 383 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 384 pinmux = <STM32_PINMUX('B', 7, AF2)>; 385 }; 386 387 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 388 pinmux = <STM32_PINMUX('B', 9, AF2)>; 389 }; 390 391 /* UART_CTS / USART_CTS / LPUART_CTS */ 392 393 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 394 pinmux = <STM32_PINMUX('A', 11, AF1)>; 395 bias-pull-up; 396 drive-open-drain; 397 }; 398 399 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 400 pinmux = <STM32_PINMUX('A', 0, AF1)>; 401 bias-pull-up; 402 drive-open-drain; 403 }; 404 405 /* UART_DE / USART_DE / LPUART_DE */ 406 407 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 408 pinmux = <STM32_PINMUX('A', 12, AF1)>; 409 drive-push-pull; 410 }; 411 412 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 413 pinmux = <STM32_PINMUX('B', 1, AF6)>; 414 drive-push-pull; 415 }; 416 417 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 418 pinmux = <STM32_PINMUX('A', 1, AF1)>; 419 drive-push-pull; 420 }; 421 422 /* UART_RTS / USART_RTS / LPUART_RTS */ 423 424 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 425 pinmux = <STM32_PINMUX('A', 12, AF1)>; 426 bias-pull-up; 427 drive-open-drain; 428 }; 429 430 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 431 pinmux = <STM32_PINMUX('B', 1, AF6)>; 432 bias-pull-up; 433 drive-open-drain; 434 }; 435 436 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 437 pinmux = <STM32_PINMUX('A', 1, AF1)>; 438 bias-pull-up; 439 drive-open-drain; 440 }; 441 442 /* UART_RX / USART_RX / LPUART_RX */ 443 444 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 445 pinmux = <STM32_PINMUX('A', 10, AF1)>; 446 }; 447 448 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 449 pinmux = <STM32_PINMUX('B', 7, AF0)>; 450 }; 451 452 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 453 pinmux = <STM32_PINMUX('A', 15, AF1)>; 454 }; 455 456 /* UART_TX / USART_TX / LPUART_TX */ 457 458 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 459 pinmux = <STM32_PINMUX('A', 2, AF6)>; 460 bias-pull-up; 461 }; 462 463 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 464 pinmux = <STM32_PINMUX('A', 9, AF1)>; 465 bias-pull-up; 466 }; 467 468 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 469 pinmux = <STM32_PINMUX('B', 6, AF0)>; 470 bias-pull-up; 471 }; 472 473 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 474 pinmux = <STM32_PINMUX('A', 2, AF1)>; 475 bias-pull-up; 476 }; 477 478 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 479 pinmux = <STM32_PINMUX('A', 14, AF1)>; 480 bias-pull-up; 481 }; 482 483 }; 484 }; 485};