1/* 2 * NOTE: Autogenerated file using genpinctrl.py 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <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 adc1_in5_pa0: adc1_in5_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 adc1_in6_pa1: adc1_in6_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 adc1_in7_pa2: adc1_in7_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 adc1_in8_pa3: adc1_in8_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 adc1_in9_pa4: adc1_in9_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 adc1_in10_pa5: adc1_in10_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 adc1_in11_pa6: adc1_in11_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 adc1_in12_pa7: adc1_in12_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 adc1_in15_pb0: adc1_in15_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 adc1_in16_pb1: adc1_in16_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 53 }; 54 55 adc1_in1_pc0: adc1_in1_pc0 { 56 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 57 }; 58 59 adc1_in2_pc1: adc1_in2_pc1 { 60 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 61 }; 62 63 adc1_in3_pc2: adc1_in3_pc2 { 64 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 65 }; 66 67 adc1_in4_pc3: adc1_in4_pc3 { 68 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 69 }; 70 71 adc1_in13_pc4: adc1_in13_pc4 { 72 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 73 }; 74 75 adc1_in14_pc5: adc1_in14_pc5 { 76 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 77 }; 78 79 adc2_in5_pa0: adc2_in5_pa0 { 80 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 81 }; 82 83 adc2_in6_pa1: adc2_in6_pa1 { 84 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 85 }; 86 87 adc2_in7_pa2: adc2_in7_pa2 { 88 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 89 }; 90 91 adc2_in8_pa3: adc2_in8_pa3 { 92 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 93 }; 94 95 adc2_in9_pa4: adc2_in9_pa4 { 96 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 97 }; 98 99 adc2_in10_pa5: adc2_in10_pa5 { 100 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 101 }; 102 103 adc2_in11_pa6: adc2_in11_pa6 { 104 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 105 }; 106 107 adc2_in12_pa7: adc2_in12_pa7 { 108 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 109 }; 110 111 adc2_in15_pb0: adc2_in15_pb0 { 112 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 113 }; 114 115 adc2_in16_pb1: adc2_in16_pb1 { 116 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 117 }; 118 119 adc2_in1_pc0: adc2_in1_pc0 { 120 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 121 }; 122 123 adc2_in2_pc1: adc2_in2_pc1 { 124 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 125 }; 126 127 adc2_in3_pc2: adc2_in3_pc2 { 128 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 129 }; 130 131 adc2_in4_pc3: adc2_in4_pc3 { 132 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 133 }; 134 135 adc2_in13_pc4: adc2_in13_pc4 { 136 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 137 }; 138 139 adc2_in14_pc5: adc2_in14_pc5 { 140 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 141 }; 142 143 adc3_in1_pc0: adc3_in1_pc0 { 144 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 145 }; 146 147 adc3_in2_pc1: adc3_in2_pc1 { 148 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 149 }; 150 151 adc3_in3_pc2: adc3_in3_pc2 { 152 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 153 }; 154 155 adc3_in4_pc3: adc3_in4_pc3 { 156 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 157 }; 158 159 /* CAN_RX */ 160 161 can1_rx_pa11: can1_rx_pa11 { 162 pinmux = <STM32_PINMUX('A', 11, AF9)>; 163 bias-pull-up; 164 }; 165 166 can1_rx_pb8: can1_rx_pb8 { 167 pinmux = <STM32_PINMUX('B', 8, AF9)>; 168 bias-pull-up; 169 }; 170 171 /* CAN_TX */ 172 173 can1_tx_pa12: can1_tx_pa12 { 174 pinmux = <STM32_PINMUX('A', 12, AF9)>; 175 }; 176 177 can1_tx_pb9: can1_tx_pb9 { 178 pinmux = <STM32_PINMUX('B', 9, AF9)>; 179 }; 180 181 /* DAC_OUT */ 182 183 dac1_out1_pa4: dac1_out1_pa4 { 184 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 185 }; 186 187 dac1_out2_pa5: dac1_out2_pa5 { 188 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 189 }; 190 191 /* I2C_SCL */ 192 193 i2c1_scl_pb6: i2c1_scl_pb6 { 194 pinmux = <STM32_PINMUX('B', 6, AF4)>; 195 bias-pull-up; 196 drive-open-drain; 197 }; 198 199 i2c1_scl_pb8: i2c1_scl_pb8 { 200 pinmux = <STM32_PINMUX('B', 8, AF4)>; 201 bias-pull-up; 202 drive-open-drain; 203 }; 204 205 i2c1_scl_pg14: i2c1_scl_pg14 { 206 pinmux = <STM32_PINMUX('G', 14, AF4)>; 207 bias-pull-up; 208 drive-open-drain; 209 }; 210 211 i2c2_scl_pb10: i2c2_scl_pb10 { 212 pinmux = <STM32_PINMUX('B', 10, AF4)>; 213 bias-pull-up; 214 drive-open-drain; 215 }; 216 217 i2c2_scl_pb13: i2c2_scl_pb13 { 218 pinmux = <STM32_PINMUX('B', 13, AF4)>; 219 bias-pull-up; 220 drive-open-drain; 221 }; 222 223 i2c3_scl_pc0: i2c3_scl_pc0 { 224 pinmux = <STM32_PINMUX('C', 0, AF4)>; 225 bias-pull-up; 226 drive-open-drain; 227 }; 228 229 /* I2C_SDA */ 230 231 i2c1_sda_pb7: i2c1_sda_pb7 { 232 pinmux = <STM32_PINMUX('B', 7, AF4)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 i2c1_sda_pb9: i2c1_sda_pb9 { 238 pinmux = <STM32_PINMUX('B', 9, AF4)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 i2c1_sda_pg13: i2c1_sda_pg13 { 244 pinmux = <STM32_PINMUX('G', 13, AF4)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 i2c2_sda_pb11: i2c2_sda_pb11 { 250 pinmux = <STM32_PINMUX('B', 11, AF4)>; 251 bias-pull-up; 252 drive-open-drain; 253 }; 254 255 i2c2_sda_pb14: i2c2_sda_pb14 { 256 pinmux = <STM32_PINMUX('B', 14, AF4)>; 257 bias-pull-up; 258 drive-open-drain; 259 }; 260 261 i2c3_sda_pc1: i2c3_sda_pc1 { 262 pinmux = <STM32_PINMUX('C', 1, AF4)>; 263 bias-pull-up; 264 drive-open-drain; 265 }; 266 267 /* QUADSPI */ 268 269 quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 270 pinmux = <STM32_PINMUX('A', 6, AF10)>; 271 slew-rate = "very-high-speed"; 272 }; 273 274 quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 275 pinmux = <STM32_PINMUX('A', 7, AF10)>; 276 slew-rate = "very-high-speed"; 277 }; 278 279 quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 { 280 pinmux = <STM32_PINMUX('B', 0, AF10)>; 281 slew-rate = "very-high-speed"; 282 }; 283 284 quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 { 285 pinmux = <STM32_PINMUX('B', 1, AF10)>; 286 slew-rate = "very-high-speed"; 287 }; 288 289 quadspi_clk_pb10: quadspi_clk_pb10 { 290 pinmux = <STM32_PINMUX('B', 10, AF10)>; 291 slew-rate = "very-high-speed"; 292 }; 293 294 quadspi_ncs_pb11: quadspi_ncs_pb11 { 295 pinmux = <STM32_PINMUX('B', 11, AF10)>; 296 slew-rate = "very-high-speed"; 297 }; 298 299 /* SDMMC */ 300 301 sdmmc1_d4_pb8: sdmmc1_d4_pb8 { 302 pinmux = <STM32_PINMUX('B', 8, AF12)>; 303 bias-pull-up; 304 slew-rate = "very-high-speed"; 305 }; 306 307 sdmmc1_d5_pb9: sdmmc1_d5_pb9 { 308 pinmux = <STM32_PINMUX('B', 9, AF12)>; 309 bias-pull-up; 310 slew-rate = "very-high-speed"; 311 }; 312 313 sdmmc1_d6_pc6: sdmmc1_d6_pc6 { 314 pinmux = <STM32_PINMUX('C', 6, AF12)>; 315 bias-pull-up; 316 slew-rate = "very-high-speed"; 317 }; 318 319 sdmmc1_d7_pc7: sdmmc1_d7_pc7 { 320 pinmux = <STM32_PINMUX('C', 7, AF12)>; 321 bias-pull-up; 322 slew-rate = "very-high-speed"; 323 }; 324 325 sdmmc1_d0_pc8: sdmmc1_d0_pc8 { 326 pinmux = <STM32_PINMUX('C', 8, AF12)>; 327 bias-pull-up; 328 slew-rate = "very-high-speed"; 329 }; 330 331 sdmmc1_d1_pc9: sdmmc1_d1_pc9 { 332 pinmux = <STM32_PINMUX('C', 9, AF12)>; 333 bias-pull-up; 334 slew-rate = "very-high-speed"; 335 }; 336 337 sdmmc1_d2_pc10: sdmmc1_d2_pc10 { 338 pinmux = <STM32_PINMUX('C', 10, AF12)>; 339 bias-pull-up; 340 slew-rate = "very-high-speed"; 341 }; 342 343 sdmmc1_d3_pc11: sdmmc1_d3_pc11 { 344 pinmux = <STM32_PINMUX('C', 11, AF12)>; 345 bias-pull-up; 346 slew-rate = "very-high-speed"; 347 }; 348 349 sdmmc1_ck_pc12: sdmmc1_ck_pc12 { 350 pinmux = <STM32_PINMUX('C', 12, AF12)>; 351 bias-pull-up; 352 slew-rate = "very-high-speed"; 353 }; 354 355 sdmmc1_cmd_pd2: sdmmc1_cmd_pd2 { 356 pinmux = <STM32_PINMUX('D', 2, AF12)>; 357 bias-pull-up; 358 slew-rate = "very-high-speed"; 359 }; 360 361 /* SPI_MISO */ 362 363 spi1_miso_pa6: spi1_miso_pa6 { 364 pinmux = <STM32_PINMUX('A', 6, AF5)>; 365 bias-pull-down; 366 }; 367 368 spi1_miso_pb4: spi1_miso_pb4 { 369 pinmux = <STM32_PINMUX('B', 4, AF5)>; 370 bias-pull-down; 371 }; 372 373 spi2_miso_pb14: spi2_miso_pb14 { 374 pinmux = <STM32_PINMUX('B', 14, AF5)>; 375 bias-pull-down; 376 }; 377 378 spi2_miso_pc2: spi2_miso_pc2 { 379 pinmux = <STM32_PINMUX('C', 2, AF5)>; 380 bias-pull-down; 381 }; 382 383 spi3_miso_pb4: spi3_miso_pb4 { 384 pinmux = <STM32_PINMUX('B', 4, AF6)>; 385 bias-pull-down; 386 }; 387 388 spi3_miso_pc11: spi3_miso_pc11 { 389 pinmux = <STM32_PINMUX('C', 11, AF6)>; 390 bias-pull-down; 391 }; 392 393 spi3_miso_pg10: spi3_miso_pg10 { 394 pinmux = <STM32_PINMUX('G', 10, AF6)>; 395 bias-pull-down; 396 }; 397 398 /* SPI_MOSI */ 399 400 spi1_mosi_pa7: spi1_mosi_pa7 { 401 pinmux = <STM32_PINMUX('A', 7, AF5)>; 402 bias-pull-down; 403 }; 404 405 spi1_mosi_pb5: spi1_mosi_pb5 { 406 pinmux = <STM32_PINMUX('B', 5, AF5)>; 407 bias-pull-down; 408 }; 409 410 spi2_mosi_pb15: spi2_mosi_pb15 { 411 pinmux = <STM32_PINMUX('B', 15, AF5)>; 412 bias-pull-down; 413 }; 414 415 spi2_mosi_pc3: spi2_mosi_pc3 { 416 pinmux = <STM32_PINMUX('C', 3, AF5)>; 417 bias-pull-down; 418 }; 419 420 spi3_mosi_pb5: spi3_mosi_pb5 { 421 pinmux = <STM32_PINMUX('B', 5, AF6)>; 422 bias-pull-down; 423 }; 424 425 spi3_mosi_pc12: spi3_mosi_pc12 { 426 pinmux = <STM32_PINMUX('C', 12, AF6)>; 427 bias-pull-down; 428 }; 429 430 spi3_mosi_pg11: spi3_mosi_pg11 { 431 pinmux = <STM32_PINMUX('G', 11, AF6)>; 432 bias-pull-down; 433 }; 434 435 /* SPI_NSS */ 436 437 spi1_nss_pa4: spi1_nss_pa4 { 438 pinmux = <STM32_PINMUX('A', 4, AF5)>; 439 bias-pull-up; 440 }; 441 442 spi1_nss_pa15: spi1_nss_pa15 { 443 pinmux = <STM32_PINMUX('A', 15, AF5)>; 444 bias-pull-up; 445 }; 446 447 spi2_nss_pb9: spi2_nss_pb9 { 448 pinmux = <STM32_PINMUX('B', 9, AF5)>; 449 bias-pull-up; 450 }; 451 452 spi2_nss_pb12: spi2_nss_pb12 { 453 pinmux = <STM32_PINMUX('B', 12, AF5)>; 454 bias-pull-up; 455 }; 456 457 spi3_nss_pa4: spi3_nss_pa4 { 458 pinmux = <STM32_PINMUX('A', 4, AF6)>; 459 bias-pull-up; 460 }; 461 462 spi3_nss_pa15: spi3_nss_pa15 { 463 pinmux = <STM32_PINMUX('A', 15, AF6)>; 464 bias-pull-up; 465 }; 466 467 spi3_nss_pg12: spi3_nss_pg12 { 468 pinmux = <STM32_PINMUX('G', 12, AF6)>; 469 bias-pull-up; 470 }; 471 472 /* SPI_SCK */ 473 474 spi1_sck_pa5: spi1_sck_pa5 { 475 pinmux = <STM32_PINMUX('A', 5, AF5)>; 476 bias-pull-down; 477 slew-rate = "very-high-speed"; 478 }; 479 480 spi1_sck_pb3: spi1_sck_pb3 { 481 pinmux = <STM32_PINMUX('B', 3, AF5)>; 482 bias-pull-down; 483 slew-rate = "very-high-speed"; 484 }; 485 486 spi2_sck_pb10: spi2_sck_pb10 { 487 pinmux = <STM32_PINMUX('B', 10, AF5)>; 488 bias-pull-down; 489 slew-rate = "very-high-speed"; 490 }; 491 492 spi2_sck_pb13: spi2_sck_pb13 { 493 pinmux = <STM32_PINMUX('B', 13, AF5)>; 494 bias-pull-down; 495 slew-rate = "very-high-speed"; 496 }; 497 498 spi3_sck_pb3: spi3_sck_pb3 { 499 pinmux = <STM32_PINMUX('B', 3, AF6)>; 500 bias-pull-down; 501 slew-rate = "very-high-speed"; 502 }; 503 504 spi3_sck_pc10: spi3_sck_pc10 { 505 pinmux = <STM32_PINMUX('C', 10, AF6)>; 506 bias-pull-down; 507 slew-rate = "very-high-speed"; 508 }; 509 510 spi3_sck_pg9: spi3_sck_pg9 { 511 pinmux = <STM32_PINMUX('G', 9, AF6)>; 512 bias-pull-down; 513 slew-rate = "very-high-speed"; 514 }; 515 516 /* TIM_CH / TIM_CHN */ 517 518 tim1_ch1n_pa7: tim1_ch1n_pa7 { 519 pinmux = <STM32_PINMUX('A', 7, AF1)>; 520 }; 521 522 tim1_ch1_pa8: tim1_ch1_pa8 { 523 pinmux = <STM32_PINMUX('A', 8, AF1)>; 524 }; 525 526 tim1_ch2_pa9: tim1_ch2_pa9 { 527 pinmux = <STM32_PINMUX('A', 9, AF1)>; 528 }; 529 530 tim1_ch3_pa10: tim1_ch3_pa10 { 531 pinmux = <STM32_PINMUX('A', 10, AF1)>; 532 }; 533 534 tim1_ch4_pa11: tim1_ch4_pa11 { 535 pinmux = <STM32_PINMUX('A', 11, AF1)>; 536 }; 537 538 tim1_ch2n_pb0: tim1_ch2n_pb0 { 539 pinmux = <STM32_PINMUX('B', 0, AF1)>; 540 }; 541 542 tim1_ch3n_pb1: tim1_ch3n_pb1 { 543 pinmux = <STM32_PINMUX('B', 1, AF1)>; 544 }; 545 546 tim1_ch1n_pb13: tim1_ch1n_pb13 { 547 pinmux = <STM32_PINMUX('B', 13, AF1)>; 548 }; 549 550 tim1_ch2n_pb14: tim1_ch2n_pb14 { 551 pinmux = <STM32_PINMUX('B', 14, AF1)>; 552 }; 553 554 tim1_ch3n_pb15: tim1_ch3n_pb15 { 555 pinmux = <STM32_PINMUX('B', 15, AF1)>; 556 }; 557 558 tim2_ch1_pa0: tim2_ch1_pa0 { 559 pinmux = <STM32_PINMUX('A', 0, AF1)>; 560 }; 561 562 tim2_ch2_pa1: tim2_ch2_pa1 { 563 pinmux = <STM32_PINMUX('A', 1, AF1)>; 564 }; 565 566 tim2_ch3_pa2: tim2_ch3_pa2 { 567 pinmux = <STM32_PINMUX('A', 2, AF1)>; 568 }; 569 570 tim2_ch4_pa3: tim2_ch4_pa3 { 571 pinmux = <STM32_PINMUX('A', 3, AF1)>; 572 }; 573 574 tim2_ch1_pa5: tim2_ch1_pa5 { 575 pinmux = <STM32_PINMUX('A', 5, AF1)>; 576 }; 577 578 tim2_ch1_pa15: tim2_ch1_pa15 { 579 pinmux = <STM32_PINMUX('A', 15, AF1)>; 580 }; 581 582 tim2_ch2_pb3: tim2_ch2_pb3 { 583 pinmux = <STM32_PINMUX('B', 3, AF1)>; 584 }; 585 586 tim2_ch3_pb10: tim2_ch3_pb10 { 587 pinmux = <STM32_PINMUX('B', 10, AF1)>; 588 }; 589 590 tim2_ch4_pb11: tim2_ch4_pb11 { 591 pinmux = <STM32_PINMUX('B', 11, AF1)>; 592 }; 593 594 tim3_ch1_pa6: tim3_ch1_pa6 { 595 pinmux = <STM32_PINMUX('A', 6, AF2)>; 596 }; 597 598 tim3_ch2_pa7: tim3_ch2_pa7 { 599 pinmux = <STM32_PINMUX('A', 7, AF2)>; 600 }; 601 602 tim3_ch3_pb0: tim3_ch3_pb0 { 603 pinmux = <STM32_PINMUX('B', 0, AF2)>; 604 }; 605 606 tim3_ch4_pb1: tim3_ch4_pb1 { 607 pinmux = <STM32_PINMUX('B', 1, AF2)>; 608 }; 609 610 tim3_ch1_pb4: tim3_ch1_pb4 { 611 pinmux = <STM32_PINMUX('B', 4, AF2)>; 612 }; 613 614 tim3_ch2_pb5: tim3_ch2_pb5 { 615 pinmux = <STM32_PINMUX('B', 5, AF2)>; 616 }; 617 618 tim3_ch1_pc6: tim3_ch1_pc6 { 619 pinmux = <STM32_PINMUX('C', 6, AF2)>; 620 }; 621 622 tim3_ch2_pc7: tim3_ch2_pc7 { 623 pinmux = <STM32_PINMUX('C', 7, AF2)>; 624 }; 625 626 tim3_ch3_pc8: tim3_ch3_pc8 { 627 pinmux = <STM32_PINMUX('C', 8, AF2)>; 628 }; 629 630 tim3_ch4_pc9: tim3_ch4_pc9 { 631 pinmux = <STM32_PINMUX('C', 9, AF2)>; 632 }; 633 634 tim4_ch1_pb6: tim4_ch1_pb6 { 635 pinmux = <STM32_PINMUX('B', 6, AF2)>; 636 }; 637 638 tim4_ch2_pb7: tim4_ch2_pb7 { 639 pinmux = <STM32_PINMUX('B', 7, AF2)>; 640 }; 641 642 tim4_ch3_pb8: tim4_ch3_pb8 { 643 pinmux = <STM32_PINMUX('B', 8, AF2)>; 644 }; 645 646 tim4_ch4_pb9: tim4_ch4_pb9 { 647 pinmux = <STM32_PINMUX('B', 9, AF2)>; 648 }; 649 650 tim5_ch1_pa0: tim5_ch1_pa0 { 651 pinmux = <STM32_PINMUX('A', 0, AF2)>; 652 }; 653 654 tim15_ch1n_pa1: tim15_ch1n_pa1 { 655 pinmux = <STM32_PINMUX('A', 1, AF14)>; 656 }; 657 658 tim5_ch2_pa1: tim5_ch2_pa1 { 659 pinmux = <STM32_PINMUX('A', 1, AF2)>; 660 }; 661 662 tim15_ch1_pa2: tim15_ch1_pa2 { 663 pinmux = <STM32_PINMUX('A', 2, AF14)>; 664 }; 665 666 tim5_ch3_pa2: tim5_ch3_pa2 { 667 pinmux = <STM32_PINMUX('A', 2, AF2)>; 668 }; 669 670 tim15_ch2_pa3: tim15_ch2_pa3 { 671 pinmux = <STM32_PINMUX('A', 3, AF14)>; 672 }; 673 674 tim5_ch4_pa3: tim5_ch4_pa3 { 675 pinmux = <STM32_PINMUX('A', 3, AF2)>; 676 }; 677 678 tim15_ch1n_pb13: tim15_ch1n_pb13 { 679 pinmux = <STM32_PINMUX('B', 13, AF14)>; 680 }; 681 682 tim15_ch1_pb14: tim15_ch1_pb14 { 683 pinmux = <STM32_PINMUX('B', 14, AF14)>; 684 }; 685 686 tim15_ch2_pb15: tim15_ch2_pb15 { 687 pinmux = <STM32_PINMUX('B', 15, AF14)>; 688 }; 689 690 tim15_ch1n_pg9: tim15_ch1n_pg9 { 691 pinmux = <STM32_PINMUX('G', 9, AF14)>; 692 }; 693 694 tim15_ch1_pg10: tim15_ch1_pg10 { 695 pinmux = <STM32_PINMUX('G', 10, AF14)>; 696 }; 697 698 tim15_ch2_pg11: tim15_ch2_pg11 { 699 pinmux = <STM32_PINMUX('G', 11, AF14)>; 700 }; 701 702 tim16_ch1_pa6: tim16_ch1_pa6 { 703 pinmux = <STM32_PINMUX('A', 6, AF14)>; 704 }; 705 706 tim16_ch1n_pb6: tim16_ch1n_pb6 { 707 pinmux = <STM32_PINMUX('B', 6, AF14)>; 708 }; 709 710 tim16_ch1_pb8: tim16_ch1_pb8 { 711 pinmux = <STM32_PINMUX('B', 8, AF14)>; 712 }; 713 714 tim17_ch1_pa7: tim17_ch1_pa7 { 715 pinmux = <STM32_PINMUX('A', 7, AF14)>; 716 }; 717 718 tim17_ch1n_pb7: tim17_ch1n_pb7 { 719 pinmux = <STM32_PINMUX('B', 7, AF14)>; 720 }; 721 722 tim17_ch1_pb9: tim17_ch1_pb9 { 723 pinmux = <STM32_PINMUX('B', 9, AF14)>; 724 }; 725 726 tim8_ch1n_pa5: tim8_ch1n_pa5 { 727 pinmux = <STM32_PINMUX('A', 5, AF3)>; 728 }; 729 730 tim8_ch1n_pa7: tim8_ch1n_pa7 { 731 pinmux = <STM32_PINMUX('A', 7, AF3)>; 732 }; 733 734 tim8_ch2n_pb0: tim8_ch2n_pb0 { 735 pinmux = <STM32_PINMUX('B', 0, AF3)>; 736 }; 737 738 tim8_ch3n_pb1: tim8_ch3n_pb1 { 739 pinmux = <STM32_PINMUX('B', 1, AF3)>; 740 }; 741 742 tim8_ch2n_pb14: tim8_ch2n_pb14 { 743 pinmux = <STM32_PINMUX('B', 14, AF3)>; 744 }; 745 746 tim8_ch3n_pb15: tim8_ch3n_pb15 { 747 pinmux = <STM32_PINMUX('B', 15, AF3)>; 748 }; 749 750 tim8_ch1_pc6: tim8_ch1_pc6 { 751 pinmux = <STM32_PINMUX('C', 6, AF3)>; 752 }; 753 754 tim8_ch2_pc7: tim8_ch2_pc7 { 755 pinmux = <STM32_PINMUX('C', 7, AF3)>; 756 }; 757 758 tim8_ch3_pc8: tim8_ch3_pc8 { 759 pinmux = <STM32_PINMUX('C', 8, AF3)>; 760 }; 761 762 tim8_ch4_pc9: tim8_ch4_pc9 { 763 pinmux = <STM32_PINMUX('C', 9, AF3)>; 764 }; 765 766 /* UART_CTS / USART_CTS / LPUART_CTS */ 767 768 usart1_cts_pa11: usart1_cts_pa11 { 769 pinmux = <STM32_PINMUX('A', 11, AF7)>; 770 bias-pull-up; 771 drive-open-drain; 772 }; 773 774 usart1_cts_pb4: usart1_cts_pb4 { 775 pinmux = <STM32_PINMUX('B', 4, AF7)>; 776 bias-pull-up; 777 drive-open-drain; 778 }; 779 780 lpuart1_cts_pb13: lpuart1_cts_pb13 { 781 pinmux = <STM32_PINMUX('B', 13, AF8)>; 782 bias-pull-up; 783 drive-open-drain; 784 }; 785 786 usart1_cts_pg11: usart1_cts_pg11 { 787 pinmux = <STM32_PINMUX('G', 11, AF7)>; 788 bias-pull-up; 789 drive-open-drain; 790 }; 791 792 usart2_cts_pa0: usart2_cts_pa0 { 793 pinmux = <STM32_PINMUX('A', 0, AF7)>; 794 bias-pull-up; 795 drive-open-drain; 796 }; 797 798 usart3_cts_pa6: usart3_cts_pa6 { 799 pinmux = <STM32_PINMUX('A', 6, AF7)>; 800 bias-pull-up; 801 drive-open-drain; 802 }; 803 804 usart3_cts_pb13: usart3_cts_pb13 { 805 pinmux = <STM32_PINMUX('B', 13, AF7)>; 806 bias-pull-up; 807 drive-open-drain; 808 }; 809 810 uart4_cts_pb7: uart4_cts_pb7 { 811 pinmux = <STM32_PINMUX('B', 7, AF8)>; 812 bias-pull-up; 813 drive-open-drain; 814 }; 815 816 uart5_cts_pb5: uart5_cts_pb5 { 817 pinmux = <STM32_PINMUX('B', 5, AF8)>; 818 bias-pull-up; 819 drive-open-drain; 820 }; 821 822 /* UART_RTS / USART_RTS / LPUART_RTS */ 823 824 usart1_rts_pa12: usart1_rts_pa12 { 825 pinmux = <STM32_PINMUX('A', 12, AF7)>; 826 bias-pull-up; 827 drive-open-drain; 828 }; 829 830 usart1_rts_pb3: usart1_rts_pb3 { 831 pinmux = <STM32_PINMUX('B', 3, AF7)>; 832 bias-pull-up; 833 drive-open-drain; 834 }; 835 836 lpuart1_rts_pb12: lpuart1_rts_pb12 { 837 pinmux = <STM32_PINMUX('B', 12, AF8)>; 838 bias-pull-up; 839 drive-open-drain; 840 }; 841 842 usart1_rts_pg12: usart1_rts_pg12 { 843 pinmux = <STM32_PINMUX('G', 12, AF7)>; 844 bias-pull-up; 845 drive-open-drain; 846 }; 847 848 usart2_rts_pa1: usart2_rts_pa1 { 849 pinmux = <STM32_PINMUX('A', 1, AF7)>; 850 bias-pull-up; 851 drive-open-drain; 852 }; 853 854 usart3_rts_pb1: usart3_rts_pb1 { 855 pinmux = <STM32_PINMUX('B', 1, AF7)>; 856 bias-pull-up; 857 drive-open-drain; 858 }; 859 860 usart3_rts_pb14: usart3_rts_pb14 { 861 pinmux = <STM32_PINMUX('B', 14, AF7)>; 862 bias-pull-up; 863 drive-open-drain; 864 }; 865 866 usart3_rts_pd2: usart3_rts_pd2 { 867 pinmux = <STM32_PINMUX('D', 2, AF7)>; 868 bias-pull-up; 869 drive-open-drain; 870 }; 871 872 uart4_rts_pa15: uart4_rts_pa15 { 873 pinmux = <STM32_PINMUX('A', 15, AF8)>; 874 bias-pull-up; 875 drive-open-drain; 876 }; 877 878 uart5_rts_pb4: uart5_rts_pb4 { 879 pinmux = <STM32_PINMUX('B', 4, AF8)>; 880 bias-pull-up; 881 drive-open-drain; 882 }; 883 884 /* UART_RX / USART_RX / LPUART_RX */ 885 886 usart1_rx_pa10: usart1_rx_pa10 { 887 pinmux = <STM32_PINMUX('A', 10, AF7)>; 888 }; 889 890 usart1_rx_pb7: usart1_rx_pb7 { 891 pinmux = <STM32_PINMUX('B', 7, AF7)>; 892 }; 893 894 lpuart1_rx_pb10: lpuart1_rx_pb10 { 895 pinmux = <STM32_PINMUX('B', 10, AF8)>; 896 }; 897 898 lpuart1_rx_pc0: lpuart1_rx_pc0 { 899 pinmux = <STM32_PINMUX('C', 0, AF8)>; 900 }; 901 902 usart1_rx_pg10: usart1_rx_pg10 { 903 pinmux = <STM32_PINMUX('G', 10, AF7)>; 904 }; 905 906 usart2_rx_pa3: usart2_rx_pa3 { 907 pinmux = <STM32_PINMUX('A', 3, AF7)>; 908 }; 909 910 usart3_rx_pb11: usart3_rx_pb11 { 911 pinmux = <STM32_PINMUX('B', 11, AF7)>; 912 }; 913 914 usart3_rx_pc5: usart3_rx_pc5 { 915 pinmux = <STM32_PINMUX('C', 5, AF7)>; 916 }; 917 918 usart3_rx_pc11: usart3_rx_pc11 { 919 pinmux = <STM32_PINMUX('C', 11, AF7)>; 920 }; 921 922 uart4_rx_pa1: uart4_rx_pa1 { 923 pinmux = <STM32_PINMUX('A', 1, AF8)>; 924 }; 925 926 uart4_rx_pc11: uart4_rx_pc11 { 927 pinmux = <STM32_PINMUX('C', 11, AF8)>; 928 }; 929 930 uart5_rx_pd2: uart5_rx_pd2 { 931 pinmux = <STM32_PINMUX('D', 2, AF8)>; 932 }; 933 934 /* UART_TX / USART_TX / LPUART_TX */ 935 936 usart1_tx_pa9: usart1_tx_pa9 { 937 pinmux = <STM32_PINMUX('A', 9, AF7)>; 938 bias-pull-up; 939 }; 940 941 usart1_tx_pb6: usart1_tx_pb6 { 942 pinmux = <STM32_PINMUX('B', 6, AF7)>; 943 bias-pull-up; 944 }; 945 946 lpuart1_tx_pb11: lpuart1_tx_pb11 { 947 pinmux = <STM32_PINMUX('B', 11, AF8)>; 948 bias-pull-up; 949 }; 950 951 lpuart1_tx_pc1: lpuart1_tx_pc1 { 952 pinmux = <STM32_PINMUX('C', 1, AF8)>; 953 bias-pull-up; 954 }; 955 956 usart1_tx_pg9: usart1_tx_pg9 { 957 pinmux = <STM32_PINMUX('G', 9, AF7)>; 958 bias-pull-up; 959 }; 960 961 usart2_tx_pa2: usart2_tx_pa2 { 962 pinmux = <STM32_PINMUX('A', 2, AF7)>; 963 bias-pull-up; 964 }; 965 966 usart3_tx_pb10: usart3_tx_pb10 { 967 pinmux = <STM32_PINMUX('B', 10, AF7)>; 968 bias-pull-up; 969 }; 970 971 usart3_tx_pc4: usart3_tx_pc4 { 972 pinmux = <STM32_PINMUX('C', 4, AF7)>; 973 bias-pull-up; 974 }; 975 976 usart3_tx_pc10: usart3_tx_pc10 { 977 pinmux = <STM32_PINMUX('C', 10, AF7)>; 978 bias-pull-up; 979 }; 980 981 uart4_tx_pa0: uart4_tx_pa0 { 982 pinmux = <STM32_PINMUX('A', 0, AF8)>; 983 bias-pull-up; 984 }; 985 986 uart4_tx_pc10: uart4_tx_pc10 { 987 pinmux = <STM32_PINMUX('C', 10, AF8)>; 988 bias-pull-up; 989 }; 990 991 uart5_tx_pc12: uart5_tx_pc12 { 992 pinmux = <STM32_PINMUX('C', 12, AF8)>; 993 bias-pull-up; 994 }; 995 996 /* USB_OTG_FS */ 997 998 usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 999 pinmux = <STM32_PINMUX('A', 8, AF10)>; 1000 }; 1001 1002 usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 1003 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 1004 }; 1005 1006 usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 1007 pinmux = <STM32_PINMUX('A', 10, AF10)>; 1008 }; 1009 1010 usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 1011 pinmux = <STM32_PINMUX('A', 11, AF10)>; 1012 }; 1013 1014 usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 1015 pinmux = <STM32_PINMUX('A', 12, AF10)>; 1016 }; 1017 1018 }; 1019 }; 1020};