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@48000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc_in0_pa0: adc_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in8_pb0: adc_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, 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_pa3: analog_pa3 { 70 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa4: analog_pa4 { 74 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa5: analog_pa5 { 78 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa6: analog_pa6 { 82 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa7: analog_pa7 { 86 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa8: analog_pa8 { 90 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa9: analog_pa9 { 94 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa10: analog_pa10 { 98 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa11: analog_pa11 { 102 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa12: analog_pa12 { 106 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa13: analog_pa13 { 110 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa14: analog_pa14 { 114 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa15: analog_pa15 { 118 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb0: analog_pb0 { 122 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb1: analog_pb1 { 126 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb2: analog_pb2 { 130 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb3: analog_pb3 { 134 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb4: analog_pb4 { 138 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb5: analog_pb5 { 142 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb6: analog_pb6 { 146 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb7: analog_pb7 { 150 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb8: analog_pb8 { 154 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb9: analog_pb9 { 158 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb10: analog_pb10 { 162 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb11: analog_pb11 { 166 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb12: analog_pb12 { 170 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb13: analog_pb13 { 174 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb14: analog_pb14 { 178 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb15: analog_pb15 { 182 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pc13: analog_pc13 { 186 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pc14: analog_pc14 { 190 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pc15: analog_pc15 { 194 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pf0: analog_pf0 { 198 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pf1: analog_pf1 { 202 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pf6: analog_pf6 { 206 pinmux = <STM32_PINMUX('F', 6, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pf7: analog_pf7 { 210 pinmux = <STM32_PINMUX('F', 7, ANALOG)>; 211 }; 212 213 /* DAC_OUT */ 214 215 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 216 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 217 }; 218 219 /* I2C_SCL */ 220 221 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 222 pinmux = <STM32_PINMUX('B', 6, AF1)>; 223 bias-pull-up; 224 drive-open-drain; 225 }; 226 227 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 228 pinmux = <STM32_PINMUX('B', 8, AF1)>; 229 bias-pull-up; 230 drive-open-drain; 231 }; 232 233 /* I2C_SDA */ 234 235 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 236 pinmux = <STM32_PINMUX('B', 7, AF1)>; 237 bias-pull-up; 238 drive-open-drain; 239 }; 240 241 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 242 pinmux = <STM32_PINMUX('B', 9, AF1)>; 243 bias-pull-up; 244 drive-open-drain; 245 }; 246 247 /* I2S_CK */ 248 249 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 250 pinmux = <STM32_PINMUX('A', 5, AF0)>; 251 slew-rate = "very-high-speed"; 252 }; 253 254 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 255 pinmux = <STM32_PINMUX('B', 3, AF0)>; 256 slew-rate = "very-high-speed"; 257 }; 258 259 /* I2S_MCK */ 260 261 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 262 pinmux = <STM32_PINMUX('A', 6, AF0)>; 263 slew-rate = "very-high-speed"; 264 }; 265 266 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 267 pinmux = <STM32_PINMUX('B', 4, AF0)>; 268 slew-rate = "very-high-speed"; 269 }; 270 271 /* I2S_SD */ 272 273 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 274 pinmux = <STM32_PINMUX('A', 7, AF0)>; 275 }; 276 277 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 278 pinmux = <STM32_PINMUX('B', 5, AF0)>; 279 }; 280 281 /* I2S_WS */ 282 283 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 284 pinmux = <STM32_PINMUX('A', 4, AF0)>; 285 }; 286 287 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 288 pinmux = <STM32_PINMUX('A', 15, AF0)>; 289 }; 290 291 /* SPI_MISO */ 292 293 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 294 pinmux = <STM32_PINMUX('A', 6, AF0)>; 295 bias-pull-down; 296 }; 297 298 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 299 pinmux = <STM32_PINMUX('B', 4, AF0)>; 300 bias-pull-down; 301 }; 302 303 /* SPI_MOSI */ 304 305 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 306 pinmux = <STM32_PINMUX('A', 7, AF0)>; 307 bias-pull-down; 308 }; 309 310 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 311 pinmux = <STM32_PINMUX('B', 5, AF0)>; 312 bias-pull-down; 313 }; 314 315 /* SPI_NSS */ 316 317 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 318 pinmux = <STM32_PINMUX('A', 4, AF0)>; 319 bias-pull-up; 320 }; 321 322 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 323 pinmux = <STM32_PINMUX('A', 15, AF0)>; 324 bias-pull-up; 325 }; 326 327 /* SPI_SCK */ 328 329 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 330 pinmux = <STM32_PINMUX('A', 5, AF0)>; 331 bias-pull-down; 332 slew-rate = "very-high-speed"; 333 }; 334 335 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 336 pinmux = <STM32_PINMUX('B', 3, AF0)>; 337 bias-pull-down; 338 slew-rate = "very-high-speed"; 339 }; 340 341 /* TIM_BKIN */ 342 343 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 344 pinmux = <STM32_PINMUX('A', 6, AF2)>; 345 }; 346 347 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 348 pinmux = <STM32_PINMUX('B', 12, AF2)>; 349 }; 350 351 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 352 pinmux = <STM32_PINMUX('A', 9, AF0)>; 353 }; 354 355 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 356 pinmux = <STM32_PINMUX('B', 5, AF2)>; 357 }; 358 359 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 360 pinmux = <STM32_PINMUX('A', 10, AF0)>; 361 }; 362 363 /* TIM_CH / TIM_CHN */ 364 365 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 366 pinmux = <STM32_PINMUX('A', 7, AF2)>; 367 }; 368 369 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 370 pinmux = <STM32_PINMUX('A', 8, AF2)>; 371 }; 372 373 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 374 pinmux = <STM32_PINMUX('A', 9, AF2)>; 375 }; 376 377 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 378 pinmux = <STM32_PINMUX('A', 10, AF2)>; 379 }; 380 381 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 382 pinmux = <STM32_PINMUX('A', 11, AF2)>; 383 }; 384 385 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 386 pinmux = <STM32_PINMUX('B', 0, AF2)>; 387 }; 388 389 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 390 pinmux = <STM32_PINMUX('B', 1, AF2)>; 391 }; 392 393 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 394 pinmux = <STM32_PINMUX('B', 13, AF2)>; 395 }; 396 397 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 398 pinmux = <STM32_PINMUX('B', 14, AF2)>; 399 }; 400 401 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 402 pinmux = <STM32_PINMUX('B', 15, AF2)>; 403 }; 404 405 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 406 pinmux = <STM32_PINMUX('A', 0, AF2)>; 407 }; 408 409 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 410 pinmux = <STM32_PINMUX('A', 1, AF2)>; 411 }; 412 413 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 414 pinmux = <STM32_PINMUX('A', 2, AF2)>; 415 }; 416 417 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 418 pinmux = <STM32_PINMUX('A', 3, AF2)>; 419 }; 420 421 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 422 pinmux = <STM32_PINMUX('A', 5, AF2)>; 423 }; 424 425 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 426 pinmux = <STM32_PINMUX('A', 15, AF2)>; 427 }; 428 429 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 430 pinmux = <STM32_PINMUX('B', 3, AF2)>; 431 }; 432 433 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 434 pinmux = <STM32_PINMUX('B', 10, AF2)>; 435 }; 436 437 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 438 pinmux = <STM32_PINMUX('B', 11, AF2)>; 439 }; 440 441 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 442 pinmux = <STM32_PINMUX('A', 6, AF1)>; 443 }; 444 445 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 446 pinmux = <STM32_PINMUX('A', 7, AF1)>; 447 }; 448 449 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 450 pinmux = <STM32_PINMUX('B', 0, AF1)>; 451 }; 452 453 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 454 pinmux = <STM32_PINMUX('B', 1, AF1)>; 455 }; 456 457 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 458 pinmux = <STM32_PINMUX('B', 4, AF1)>; 459 }; 460 461 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 462 pinmux = <STM32_PINMUX('B', 5, AF1)>; 463 }; 464 465 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 466 pinmux = <STM32_PINMUX('A', 4, AF4)>; 467 }; 468 469 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 470 pinmux = <STM32_PINMUX('A', 7, AF4)>; 471 }; 472 473 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 474 pinmux = <STM32_PINMUX('B', 1, AF0)>; 475 }; 476 477 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 478 pinmux = <STM32_PINMUX('A', 2, AF0)>; 479 }; 480 481 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 482 pinmux = <STM32_PINMUX('A', 3, AF0)>; 483 }; 484 485 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 486 pinmux = <STM32_PINMUX('B', 14, AF1)>; 487 }; 488 489 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 490 pinmux = <STM32_PINMUX('B', 15, AF3)>; 491 }; 492 493 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 494 pinmux = <STM32_PINMUX('B', 15, AF1)>; 495 }; 496 497 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 498 pinmux = <STM32_PINMUX('A', 6, AF5)>; 499 }; 500 501 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 502 pinmux = <STM32_PINMUX('B', 6, AF2)>; 503 }; 504 505 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 506 pinmux = <STM32_PINMUX('B', 8, AF2)>; 507 }; 508 509 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 510 pinmux = <STM32_PINMUX('A', 7, AF5)>; 511 }; 512 513 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 514 pinmux = <STM32_PINMUX('B', 7, AF2)>; 515 }; 516 517 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 518 pinmux = <STM32_PINMUX('B', 9, AF2)>; 519 }; 520 521 /* UART_CTS / USART_CTS / LPUART_CTS */ 522 523 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 524 pinmux = <STM32_PINMUX('A', 11, AF1)>; 525 bias-pull-up; 526 drive-open-drain; 527 }; 528 529 /* UART_DE / USART_DE / LPUART_DE */ 530 531 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 532 pinmux = <STM32_PINMUX('A', 12, AF1)>; 533 drive-push-pull; 534 }; 535 536 /* UART_RTS / USART_RTS / LPUART_RTS */ 537 538 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 539 pinmux = <STM32_PINMUX('A', 12, AF1)>; 540 bias-pull-up; 541 drive-open-drain; 542 }; 543 544 /* UART_RX / USART_RX / LPUART_RX */ 545 546 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 547 pinmux = <STM32_PINMUX('A', 10, AF1)>; 548 }; 549 550 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 551 pinmux = <STM32_PINMUX('B', 7, AF0)>; 552 }; 553 554 /* UART_TX / USART_TX / LPUART_TX */ 555 556 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 557 pinmux = <STM32_PINMUX('A', 9, AF1)>; 558 bias-pull-up; 559 }; 560 561 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 562 pinmux = <STM32_PINMUX('B', 6, AF0)>; 563 bias-pull-up; 564 }; 565 566 }; 567 }; 568};