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 /* CAN_RX */ 144 145 can1_rx_pa11: can1_rx_pa11 { 146 pinmux = <STM32_PINMUX('A', 11, AF9)>; 147 bias-pull-up; 148 }; 149 150 can1_rx_pb8: can1_rx_pb8 { 151 pinmux = <STM32_PINMUX('B', 8, AF9)>; 152 bias-pull-up; 153 }; 154 155 /* CAN_TX */ 156 157 can1_tx_pa12: can1_tx_pa12 { 158 pinmux = <STM32_PINMUX('A', 12, AF9)>; 159 }; 160 161 can1_tx_pb9: can1_tx_pb9 { 162 pinmux = <STM32_PINMUX('B', 9, AF9)>; 163 }; 164 165 /* DAC_OUT */ 166 167 dac1_out1_pa4: dac1_out1_pa4 { 168 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 169 }; 170 171 dac1_out2_pa5: dac1_out2_pa5 { 172 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 173 }; 174 175 /* I2C_SCL */ 176 177 i2c1_scl_pb6: i2c1_scl_pb6 { 178 pinmux = <STM32_PINMUX('B', 6, AF4)>; 179 bias-pull-up; 180 drive-open-drain; 181 }; 182 183 i2c1_scl_pb8: i2c1_scl_pb8 { 184 pinmux = <STM32_PINMUX('B', 8, AF4)>; 185 bias-pull-up; 186 drive-open-drain; 187 }; 188 189 i2c2_scl_pb10: i2c2_scl_pb10 { 190 pinmux = <STM32_PINMUX('B', 10, AF4)>; 191 bias-pull-up; 192 drive-open-drain; 193 }; 194 195 i2c2_scl_pb13: i2c2_scl_pb13 { 196 pinmux = <STM32_PINMUX('B', 13, AF4)>; 197 bias-pull-up; 198 drive-open-drain; 199 }; 200 201 i2c3_scl_pa7: i2c3_scl_pa7 { 202 pinmux = <STM32_PINMUX('A', 7, AF4)>; 203 bias-pull-up; 204 drive-open-drain; 205 }; 206 207 i2c3_scl_pc0: i2c3_scl_pc0 { 208 pinmux = <STM32_PINMUX('C', 0, AF4)>; 209 bias-pull-up; 210 drive-open-drain; 211 }; 212 213 i2c4_scl_pb6: i2c4_scl_pb6 { 214 pinmux = <STM32_PINMUX('B', 6, AF5)>; 215 bias-pull-up; 216 drive-open-drain; 217 }; 218 219 i2c4_scl_pb10: i2c4_scl_pb10 { 220 pinmux = <STM32_PINMUX('B', 10, AF3)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 /* I2C_SDA */ 226 227 i2c1_sda_pb7: i2c1_sda_pb7 { 228 pinmux = <STM32_PINMUX('B', 7, AF4)>; 229 bias-pull-up; 230 drive-open-drain; 231 }; 232 233 i2c1_sda_pb9: i2c1_sda_pb9 { 234 pinmux = <STM32_PINMUX('B', 9, AF4)>; 235 bias-pull-up; 236 drive-open-drain; 237 }; 238 239 i2c2_sda_pb11: i2c2_sda_pb11 { 240 pinmux = <STM32_PINMUX('B', 11, AF4)>; 241 bias-pull-up; 242 drive-open-drain; 243 }; 244 245 i2c2_sda_pb14: i2c2_sda_pb14 { 246 pinmux = <STM32_PINMUX('B', 14, AF4)>; 247 bias-pull-up; 248 drive-open-drain; 249 }; 250 251 i2c3_sda_pb4: i2c3_sda_pb4 { 252 pinmux = <STM32_PINMUX('B', 4, AF4)>; 253 bias-pull-up; 254 drive-open-drain; 255 }; 256 257 i2c3_sda_pc1: i2c3_sda_pc1 { 258 pinmux = <STM32_PINMUX('C', 1, AF4)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 i2c3_sda_pc9: i2c3_sda_pc9 { 264 pinmux = <STM32_PINMUX('C', 9, AF6)>; 265 bias-pull-up; 266 drive-open-drain; 267 }; 268 269 i2c4_sda_pb7: i2c4_sda_pb7 { 270 pinmux = <STM32_PINMUX('B', 7, AF5)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 i2c4_sda_pb11: i2c4_sda_pb11 { 276 pinmux = <STM32_PINMUX('B', 11, AF3)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /* SDMMC */ 282 283 sdmmc1_ckin_pb8: sdmmc1_ckin_pb8 { 284 pinmux = <STM32_PINMUX('B', 8, AF8)>; 285 bias-pull-up; 286 slew-rate = "very-high-speed"; 287 }; 288 289 sdmmc1_d4_pb8: sdmmc1_d4_pb8 { 290 pinmux = <STM32_PINMUX('B', 8, AF12)>; 291 bias-pull-up; 292 slew-rate = "very-high-speed"; 293 }; 294 295 sdmmc1_cdir_pb9: sdmmc1_cdir_pb9 { 296 pinmux = <STM32_PINMUX('B', 9, AF8)>; 297 bias-pull-up; 298 slew-rate = "very-high-speed"; 299 }; 300 301 sdmmc1_d5_pb9: sdmmc1_d5_pb9 { 302 pinmux = <STM32_PINMUX('B', 9, AF12)>; 303 bias-pull-up; 304 slew-rate = "very-high-speed"; 305 }; 306 307 sdmmc1_cmd_pc0: sdmmc1_cmd_pc0 { 308 pinmux = <STM32_PINMUX('C', 0, AF12)>; 309 bias-pull-up; 310 slew-rate = "very-high-speed"; 311 }; 312 313 sdmmc1_d0dir_pc6: sdmmc1_d0dir_pc6 { 314 pinmux = <STM32_PINMUX('C', 6, AF8)>; 315 bias-pull-up; 316 slew-rate = "very-high-speed"; 317 }; 318 319 sdmmc1_d6_pc6: sdmmc1_d6_pc6 { 320 pinmux = <STM32_PINMUX('C', 6, AF12)>; 321 bias-pull-up; 322 slew-rate = "very-high-speed"; 323 }; 324 325 sdmmc1_d123dir_pc7: sdmmc1_d123dir_pc7 { 326 pinmux = <STM32_PINMUX('C', 7, AF8)>; 327 bias-pull-up; 328 slew-rate = "very-high-speed"; 329 }; 330 331 sdmmc1_d7_pc7: sdmmc1_d7_pc7 { 332 pinmux = <STM32_PINMUX('C', 7, AF12)>; 333 bias-pull-up; 334 slew-rate = "very-high-speed"; 335 }; 336 337 sdmmc1_d0_pc8: sdmmc1_d0_pc8 { 338 pinmux = <STM32_PINMUX('C', 8, AF12)>; 339 bias-pull-up; 340 slew-rate = "very-high-speed"; 341 }; 342 343 sdmmc1_d1_pc9: sdmmc1_d1_pc9 { 344 pinmux = <STM32_PINMUX('C', 9, AF12)>; 345 bias-pull-up; 346 slew-rate = "very-high-speed"; 347 }; 348 349 sdmmc1_d2_pc10: sdmmc1_d2_pc10 { 350 pinmux = <STM32_PINMUX('C', 10, AF12)>; 351 bias-pull-up; 352 slew-rate = "very-high-speed"; 353 }; 354 355 sdmmc1_d3_pc11: sdmmc1_d3_pc11 { 356 pinmux = <STM32_PINMUX('C', 11, AF12)>; 357 bias-pull-up; 358 slew-rate = "very-high-speed"; 359 }; 360 361 sdmmc1_ck_pc12: sdmmc1_ck_pc12 { 362 pinmux = <STM32_PINMUX('C', 12, AF12)>; 363 bias-pull-up; 364 slew-rate = "very-high-speed"; 365 }; 366 367 sdmmc1_cmd_pd2: sdmmc1_cmd_pd2 { 368 pinmux = <STM32_PINMUX('D', 2, AF12)>; 369 bias-pull-up; 370 slew-rate = "very-high-speed"; 371 }; 372 373 sdmmc2_cmd_pa1: sdmmc2_cmd_pa1 { 374 pinmux = <STM32_PINMUX('A', 1, AF12)>; 375 bias-pull-up; 376 slew-rate = "very-high-speed"; 377 }; 378 379 sdmmc2_d2_pb3: sdmmc2_d2_pb3 { 380 pinmux = <STM32_PINMUX('B', 3, AF12)>; 381 bias-pull-up; 382 slew-rate = "very-high-speed"; 383 }; 384 385 sdmmc2_d3_pb4: sdmmc2_d3_pb4 { 386 pinmux = <STM32_PINMUX('B', 4, AF12)>; 387 bias-pull-up; 388 slew-rate = "very-high-speed"; 389 }; 390 391 sdmmc2_d4_pb8: sdmmc2_d4_pb8 { 392 pinmux = <STM32_PINMUX('B', 8, AF7)>; 393 bias-pull-up; 394 slew-rate = "very-high-speed"; 395 }; 396 397 sdmmc2_d5_pb9: sdmmc2_d5_pb9 { 398 pinmux = <STM32_PINMUX('B', 9, AF7)>; 399 bias-pull-up; 400 slew-rate = "very-high-speed"; 401 }; 402 403 sdmmc2_ck_pb12: sdmmc2_ck_pb12 { 404 pinmux = <STM32_PINMUX('B', 12, AF12)>; 405 bias-pull-up; 406 slew-rate = "very-high-speed"; 407 }; 408 409 sdmmc2_d0_pb14: sdmmc2_d0_pb14 { 410 pinmux = <STM32_PINMUX('B', 14, AF11)>; 411 bias-pull-up; 412 slew-rate = "very-high-speed"; 413 }; 414 415 sdmmc2_d1_pb15: sdmmc2_d1_pb15 { 416 pinmux = <STM32_PINMUX('B', 15, AF11)>; 417 bias-pull-up; 418 slew-rate = "very-high-speed"; 419 }; 420 421 sdmmc2_ckin_pc0: sdmmc2_ckin_pc0 { 422 pinmux = <STM32_PINMUX('C', 0, AF7)>; 423 bias-pull-up; 424 slew-rate = "very-high-speed"; 425 }; 426 427 sdmmc2_d6_pc6: sdmmc2_d6_pc6 { 428 pinmux = <STM32_PINMUX('C', 6, AF7)>; 429 bias-pull-up; 430 slew-rate = "very-high-speed"; 431 }; 432 433 sdmmc2_d7_pc7: sdmmc2_d7_pc7 { 434 pinmux = <STM32_PINMUX('C', 7, AF7)>; 435 bias-pull-up; 436 slew-rate = "very-high-speed"; 437 }; 438 439 /* SPI_MISO */ 440 441 spi1_miso_pa6: spi1_miso_pa6 { 442 pinmux = <STM32_PINMUX('A', 6, AF5)>; 443 bias-pull-down; 444 }; 445 446 spi1_miso_pa11: spi1_miso_pa11 { 447 pinmux = <STM32_PINMUX('A', 11, AF5)>; 448 bias-pull-down; 449 }; 450 451 spi1_miso_pb4: spi1_miso_pb4 { 452 pinmux = <STM32_PINMUX('B', 4, AF5)>; 453 bias-pull-down; 454 }; 455 456 spi2_miso_pb14: spi2_miso_pb14 { 457 pinmux = <STM32_PINMUX('B', 14, AF5)>; 458 bias-pull-down; 459 }; 460 461 spi2_miso_pc2: spi2_miso_pc2 { 462 pinmux = <STM32_PINMUX('C', 2, AF5)>; 463 bias-pull-down; 464 }; 465 466 spi3_miso_pb4: spi3_miso_pb4 { 467 pinmux = <STM32_PINMUX('B', 4, AF6)>; 468 bias-pull-down; 469 }; 470 471 spi3_miso_pc11: spi3_miso_pc11 { 472 pinmux = <STM32_PINMUX('C', 11, AF6)>; 473 bias-pull-down; 474 }; 475 476 /* SPI_MOSI */ 477 478 spi1_mosi_pa7: spi1_mosi_pa7 { 479 pinmux = <STM32_PINMUX('A', 7, AF5)>; 480 bias-pull-down; 481 }; 482 483 spi1_mosi_pa12: spi1_mosi_pa12 { 484 pinmux = <STM32_PINMUX('A', 12, AF5)>; 485 bias-pull-down; 486 }; 487 488 spi1_mosi_pb5: spi1_mosi_pb5 { 489 pinmux = <STM32_PINMUX('B', 5, AF5)>; 490 bias-pull-down; 491 }; 492 493 spi2_mosi_pb15: spi2_mosi_pb15 { 494 pinmux = <STM32_PINMUX('B', 15, AF5)>; 495 bias-pull-down; 496 }; 497 498 spi2_mosi_pc1: spi2_mosi_pc1 { 499 pinmux = <STM32_PINMUX('C', 1, AF3)>; 500 bias-pull-down; 501 }; 502 503 spi2_mosi_pc3: spi2_mosi_pc3 { 504 pinmux = <STM32_PINMUX('C', 3, AF5)>; 505 bias-pull-down; 506 }; 507 508 spi3_mosi_pb5: spi3_mosi_pb5 { 509 pinmux = <STM32_PINMUX('B', 5, AF6)>; 510 bias-pull-down; 511 }; 512 513 spi3_mosi_pc12: spi3_mosi_pc12 { 514 pinmux = <STM32_PINMUX('C', 12, AF6)>; 515 bias-pull-down; 516 }; 517 518 /* SPI_NSS */ 519 520 spi1_nss_pa4: spi1_nss_pa4 { 521 pinmux = <STM32_PINMUX('A', 4, AF5)>; 522 bias-pull-up; 523 }; 524 525 spi1_nss_pa15: spi1_nss_pa15 { 526 pinmux = <STM32_PINMUX('A', 15, AF5)>; 527 bias-pull-up; 528 }; 529 530 spi1_nss_pb0: spi1_nss_pb0 { 531 pinmux = <STM32_PINMUX('B', 0, AF5)>; 532 bias-pull-up; 533 }; 534 535 spi2_nss_pb9: spi2_nss_pb9 { 536 pinmux = <STM32_PINMUX('B', 9, AF5)>; 537 bias-pull-up; 538 }; 539 540 spi2_nss_pb12: spi2_nss_pb12 { 541 pinmux = <STM32_PINMUX('B', 12, AF5)>; 542 bias-pull-up; 543 }; 544 545 spi3_nss_pa4: spi3_nss_pa4 { 546 pinmux = <STM32_PINMUX('A', 4, AF6)>; 547 bias-pull-up; 548 }; 549 550 spi3_nss_pa15: spi3_nss_pa15 { 551 pinmux = <STM32_PINMUX('A', 15, AF6)>; 552 bias-pull-up; 553 }; 554 555 /* SPI_SCK */ 556 557 spi1_sck_pa1: spi1_sck_pa1 { 558 pinmux = <STM32_PINMUX('A', 1, AF5)>; 559 bias-pull-down; 560 slew-rate = "very-high-speed"; 561 }; 562 563 spi1_sck_pa5: spi1_sck_pa5 { 564 pinmux = <STM32_PINMUX('A', 5, AF5)>; 565 bias-pull-down; 566 slew-rate = "very-high-speed"; 567 }; 568 569 spi1_sck_pb3: spi1_sck_pb3 { 570 pinmux = <STM32_PINMUX('B', 3, AF5)>; 571 bias-pull-down; 572 slew-rate = "very-high-speed"; 573 }; 574 575 spi2_sck_pa9: spi2_sck_pa9 { 576 pinmux = <STM32_PINMUX('A', 9, AF3)>; 577 bias-pull-down; 578 slew-rate = "very-high-speed"; 579 }; 580 581 spi2_sck_pb10: spi2_sck_pb10 { 582 pinmux = <STM32_PINMUX('B', 10, AF5)>; 583 bias-pull-down; 584 slew-rate = "very-high-speed"; 585 }; 586 587 spi2_sck_pb13: spi2_sck_pb13 { 588 pinmux = <STM32_PINMUX('B', 13, AF5)>; 589 bias-pull-down; 590 slew-rate = "very-high-speed"; 591 }; 592 593 spi3_sck_pb3: spi3_sck_pb3 { 594 pinmux = <STM32_PINMUX('B', 3, AF6)>; 595 bias-pull-down; 596 slew-rate = "very-high-speed"; 597 }; 598 599 spi3_sck_pc10: spi3_sck_pc10 { 600 pinmux = <STM32_PINMUX('C', 10, AF6)>; 601 bias-pull-down; 602 slew-rate = "very-high-speed"; 603 }; 604 605 /* TIM_CH / TIM_CHN */ 606 607 tim1_ch1n_pa7: tim1_ch1n_pa7 { 608 pinmux = <STM32_PINMUX('A', 7, AF1)>; 609 }; 610 611 tim1_ch1_pa8: tim1_ch1_pa8 { 612 pinmux = <STM32_PINMUX('A', 8, AF1)>; 613 }; 614 615 tim1_ch2_pa9: tim1_ch2_pa9 { 616 pinmux = <STM32_PINMUX('A', 9, AF1)>; 617 }; 618 619 tim1_ch3_pa10: tim1_ch3_pa10 { 620 pinmux = <STM32_PINMUX('A', 10, AF1)>; 621 }; 622 623 tim1_ch4_pa11: tim1_ch4_pa11 { 624 pinmux = <STM32_PINMUX('A', 11, AF1)>; 625 }; 626 627 tim1_ch2n_pb0: tim1_ch2n_pb0 { 628 pinmux = <STM32_PINMUX('B', 0, AF1)>; 629 }; 630 631 tim1_ch3n_pb1: tim1_ch3n_pb1 { 632 pinmux = <STM32_PINMUX('B', 1, AF1)>; 633 }; 634 635 tim1_ch1n_pb13: tim1_ch1n_pb13 { 636 pinmux = <STM32_PINMUX('B', 13, AF1)>; 637 }; 638 639 tim1_ch2n_pb14: tim1_ch2n_pb14 { 640 pinmux = <STM32_PINMUX('B', 14, AF1)>; 641 }; 642 643 tim1_ch3n_pb15: tim1_ch3n_pb15 { 644 pinmux = <STM32_PINMUX('B', 15, AF1)>; 645 }; 646 647 tim2_ch1_pa0: tim2_ch1_pa0 { 648 pinmux = <STM32_PINMUX('A', 0, AF1)>; 649 }; 650 651 tim2_ch2_pa1: tim2_ch2_pa1 { 652 pinmux = <STM32_PINMUX('A', 1, AF1)>; 653 }; 654 655 tim2_ch3_pa2: tim2_ch3_pa2 { 656 pinmux = <STM32_PINMUX('A', 2, AF1)>; 657 }; 658 659 tim2_ch4_pa3: tim2_ch4_pa3 { 660 pinmux = <STM32_PINMUX('A', 3, AF1)>; 661 }; 662 663 tim2_ch1_pa5: tim2_ch1_pa5 { 664 pinmux = <STM32_PINMUX('A', 5, AF1)>; 665 }; 666 667 tim2_ch1_pa15: tim2_ch1_pa15 { 668 pinmux = <STM32_PINMUX('A', 15, AF1)>; 669 }; 670 671 tim2_ch2_pb3: tim2_ch2_pb3 { 672 pinmux = <STM32_PINMUX('B', 3, AF1)>; 673 }; 674 675 tim2_ch3_pb10: tim2_ch3_pb10 { 676 pinmux = <STM32_PINMUX('B', 10, AF1)>; 677 }; 678 679 tim2_ch4_pb11: tim2_ch4_pb11 { 680 pinmux = <STM32_PINMUX('B', 11, AF1)>; 681 }; 682 683 tim3_ch1_pa6: tim3_ch1_pa6 { 684 pinmux = <STM32_PINMUX('A', 6, AF2)>; 685 }; 686 687 tim3_ch2_pa7: tim3_ch2_pa7 { 688 pinmux = <STM32_PINMUX('A', 7, AF2)>; 689 }; 690 691 tim3_ch3_pb0: tim3_ch3_pb0 { 692 pinmux = <STM32_PINMUX('B', 0, AF2)>; 693 }; 694 695 tim3_ch4_pb1: tim3_ch4_pb1 { 696 pinmux = <STM32_PINMUX('B', 1, AF2)>; 697 }; 698 699 tim3_ch1_pb4: tim3_ch1_pb4 { 700 pinmux = <STM32_PINMUX('B', 4, AF2)>; 701 }; 702 703 tim3_ch2_pb5: tim3_ch2_pb5 { 704 pinmux = <STM32_PINMUX('B', 5, AF2)>; 705 }; 706 707 tim3_ch1_pc6: tim3_ch1_pc6 { 708 pinmux = <STM32_PINMUX('C', 6, AF2)>; 709 }; 710 711 tim3_ch2_pc7: tim3_ch2_pc7 { 712 pinmux = <STM32_PINMUX('C', 7, AF2)>; 713 }; 714 715 tim3_ch3_pc8: tim3_ch3_pc8 { 716 pinmux = <STM32_PINMUX('C', 8, AF2)>; 717 }; 718 719 tim3_ch4_pc9: tim3_ch4_pc9 { 720 pinmux = <STM32_PINMUX('C', 9, AF2)>; 721 }; 722 723 tim4_ch1_pb6: tim4_ch1_pb6 { 724 pinmux = <STM32_PINMUX('B', 6, AF2)>; 725 }; 726 727 tim4_ch2_pb7: tim4_ch2_pb7 { 728 pinmux = <STM32_PINMUX('B', 7, AF2)>; 729 }; 730 731 tim4_ch3_pb8: tim4_ch3_pb8 { 732 pinmux = <STM32_PINMUX('B', 8, AF2)>; 733 }; 734 735 tim4_ch4_pb9: tim4_ch4_pb9 { 736 pinmux = <STM32_PINMUX('B', 9, AF2)>; 737 }; 738 739 tim5_ch1_pa0: tim5_ch1_pa0 { 740 pinmux = <STM32_PINMUX('A', 0, AF2)>; 741 }; 742 743 tim15_ch1n_pa1: tim15_ch1n_pa1 { 744 pinmux = <STM32_PINMUX('A', 1, AF14)>; 745 }; 746 747 tim5_ch2_pa1: tim5_ch2_pa1 { 748 pinmux = <STM32_PINMUX('A', 1, AF2)>; 749 }; 750 751 tim15_ch1_pa2: tim15_ch1_pa2 { 752 pinmux = <STM32_PINMUX('A', 2, AF14)>; 753 }; 754 755 tim5_ch3_pa2: tim5_ch3_pa2 { 756 pinmux = <STM32_PINMUX('A', 2, AF2)>; 757 }; 758 759 tim15_ch2_pa3: tim15_ch2_pa3 { 760 pinmux = <STM32_PINMUX('A', 3, AF14)>; 761 }; 762 763 tim5_ch4_pa3: tim5_ch4_pa3 { 764 pinmux = <STM32_PINMUX('A', 3, AF2)>; 765 }; 766 767 tim15_ch1n_pb13: tim15_ch1n_pb13 { 768 pinmux = <STM32_PINMUX('B', 13, AF14)>; 769 }; 770 771 tim15_ch1_pb14: tim15_ch1_pb14 { 772 pinmux = <STM32_PINMUX('B', 14, AF14)>; 773 }; 774 775 tim15_ch2_pb15: tim15_ch2_pb15 { 776 pinmux = <STM32_PINMUX('B', 15, AF14)>; 777 }; 778 779 tim16_ch1_pa6: tim16_ch1_pa6 { 780 pinmux = <STM32_PINMUX('A', 6, AF14)>; 781 }; 782 783 tim16_ch1n_pb6: tim16_ch1n_pb6 { 784 pinmux = <STM32_PINMUX('B', 6, AF14)>; 785 }; 786 787 tim16_ch1_pb8: tim16_ch1_pb8 { 788 pinmux = <STM32_PINMUX('B', 8, AF14)>; 789 }; 790 791 tim17_ch1_pa7: tim17_ch1_pa7 { 792 pinmux = <STM32_PINMUX('A', 7, AF14)>; 793 }; 794 795 tim17_ch1n_pb7: tim17_ch1n_pb7 { 796 pinmux = <STM32_PINMUX('B', 7, AF14)>; 797 }; 798 799 tim17_ch1_pb9: tim17_ch1_pb9 { 800 pinmux = <STM32_PINMUX('B', 9, AF14)>; 801 }; 802 803 tim8_ch1n_pa5: tim8_ch1n_pa5 { 804 pinmux = <STM32_PINMUX('A', 5, AF3)>; 805 }; 806 807 tim8_ch1n_pa7: tim8_ch1n_pa7 { 808 pinmux = <STM32_PINMUX('A', 7, AF3)>; 809 }; 810 811 tim8_ch2n_pb0: tim8_ch2n_pb0 { 812 pinmux = <STM32_PINMUX('B', 0, AF3)>; 813 }; 814 815 tim8_ch3n_pb1: tim8_ch3n_pb1 { 816 pinmux = <STM32_PINMUX('B', 1, AF3)>; 817 }; 818 819 tim8_ch2n_pb14: tim8_ch2n_pb14 { 820 pinmux = <STM32_PINMUX('B', 14, AF3)>; 821 }; 822 823 tim8_ch3n_pb15: tim8_ch3n_pb15 { 824 pinmux = <STM32_PINMUX('B', 15, AF3)>; 825 }; 826 827 tim8_ch1_pc6: tim8_ch1_pc6 { 828 pinmux = <STM32_PINMUX('C', 6, AF3)>; 829 }; 830 831 tim8_ch2_pc7: tim8_ch2_pc7 { 832 pinmux = <STM32_PINMUX('C', 7, AF3)>; 833 }; 834 835 tim8_ch3_pc8: tim8_ch3_pc8 { 836 pinmux = <STM32_PINMUX('C', 8, AF3)>; 837 }; 838 839 tim8_ch4_pc9: tim8_ch4_pc9 { 840 pinmux = <STM32_PINMUX('C', 9, AF3)>; 841 }; 842 843 /* UART_CTS / USART_CTS / LPUART_CTS */ 844 845 lpuart1_cts_pa6: lpuart1_cts_pa6 { 846 pinmux = <STM32_PINMUX('A', 6, AF8)>; 847 bias-pull-up; 848 drive-open-drain; 849 }; 850 851 usart1_cts_pa11: usart1_cts_pa11 { 852 pinmux = <STM32_PINMUX('A', 11, AF7)>; 853 bias-pull-up; 854 drive-open-drain; 855 }; 856 857 usart1_cts_pb4: usart1_cts_pb4 { 858 pinmux = <STM32_PINMUX('B', 4, AF7)>; 859 bias-pull-up; 860 drive-open-drain; 861 }; 862 863 lpuart1_cts_pb13: lpuart1_cts_pb13 { 864 pinmux = <STM32_PINMUX('B', 13, AF8)>; 865 bias-pull-up; 866 drive-open-drain; 867 }; 868 869 usart2_cts_pa0: usart2_cts_pa0 { 870 pinmux = <STM32_PINMUX('A', 0, AF7)>; 871 bias-pull-up; 872 drive-open-drain; 873 }; 874 875 usart3_cts_pa6: usart3_cts_pa6 { 876 pinmux = <STM32_PINMUX('A', 6, AF7)>; 877 bias-pull-up; 878 drive-open-drain; 879 }; 880 881 usart3_cts_pb13: usart3_cts_pb13 { 882 pinmux = <STM32_PINMUX('B', 13, AF7)>; 883 bias-pull-up; 884 drive-open-drain; 885 }; 886 887 uart4_cts_pb7: uart4_cts_pb7 { 888 pinmux = <STM32_PINMUX('B', 7, AF8)>; 889 bias-pull-up; 890 drive-open-drain; 891 }; 892 893 /* UART_RTS / USART_RTS / LPUART_RTS */ 894 895 usart1_rts_pa12: usart1_rts_pa12 { 896 pinmux = <STM32_PINMUX('A', 12, AF7)>; 897 bias-pull-up; 898 drive-open-drain; 899 }; 900 901 lpuart1_rts_pb1: lpuart1_rts_pb1 { 902 pinmux = <STM32_PINMUX('B', 1, AF8)>; 903 bias-pull-up; 904 drive-open-drain; 905 }; 906 907 usart1_rts_pb3: usart1_rts_pb3 { 908 pinmux = <STM32_PINMUX('B', 3, AF7)>; 909 bias-pull-up; 910 drive-open-drain; 911 }; 912 913 lpuart1_rts_pb12: lpuart1_rts_pb12 { 914 pinmux = <STM32_PINMUX('B', 12, AF8)>; 915 bias-pull-up; 916 drive-open-drain; 917 }; 918 919 usart2_rts_pa1: usart2_rts_pa1 { 920 pinmux = <STM32_PINMUX('A', 1, AF7)>; 921 bias-pull-up; 922 drive-open-drain; 923 }; 924 925 usart3_rts_pa15: usart3_rts_pa15 { 926 pinmux = <STM32_PINMUX('A', 15, AF7)>; 927 bias-pull-up; 928 drive-open-drain; 929 }; 930 931 usart3_rts_pb1: usart3_rts_pb1 { 932 pinmux = <STM32_PINMUX('B', 1, AF7)>; 933 bias-pull-up; 934 drive-open-drain; 935 }; 936 937 usart3_rts_pb14: usart3_rts_pb14 { 938 pinmux = <STM32_PINMUX('B', 14, AF7)>; 939 bias-pull-up; 940 drive-open-drain; 941 }; 942 943 usart3_rts_pd2: usart3_rts_pd2 { 944 pinmux = <STM32_PINMUX('D', 2, AF7)>; 945 bias-pull-up; 946 drive-open-drain; 947 }; 948 949 uart4_rts_pa15: uart4_rts_pa15 { 950 pinmux = <STM32_PINMUX('A', 15, AF8)>; 951 bias-pull-up; 952 drive-open-drain; 953 }; 954 955 /* UART_RX / USART_RX / LPUART_RX */ 956 957 lpuart1_rx_pa3: lpuart1_rx_pa3 { 958 pinmux = <STM32_PINMUX('A', 3, AF8)>; 959 }; 960 961 usart1_rx_pa10: usart1_rx_pa10 { 962 pinmux = <STM32_PINMUX('A', 10, AF7)>; 963 }; 964 965 usart1_rx_pb7: usart1_rx_pb7 { 966 pinmux = <STM32_PINMUX('B', 7, AF7)>; 967 }; 968 969 lpuart1_rx_pb10: lpuart1_rx_pb10 { 970 pinmux = <STM32_PINMUX('B', 10, AF8)>; 971 }; 972 973 lpuart1_rx_pc0: lpuart1_rx_pc0 { 974 pinmux = <STM32_PINMUX('C', 0, AF8)>; 975 }; 976 977 usart2_rx_pa3: usart2_rx_pa3 { 978 pinmux = <STM32_PINMUX('A', 3, AF7)>; 979 }; 980 981 usart2_rx_pa15: usart2_rx_pa15 { 982 pinmux = <STM32_PINMUX('A', 15, AF3)>; 983 }; 984 985 usart3_rx_pb11: usart3_rx_pb11 { 986 pinmux = <STM32_PINMUX('B', 11, AF7)>; 987 }; 988 989 usart3_rx_pc5: usart3_rx_pc5 { 990 pinmux = <STM32_PINMUX('C', 5, AF7)>; 991 }; 992 993 usart3_rx_pc11: usart3_rx_pc11 { 994 pinmux = <STM32_PINMUX('C', 11, AF7)>; 995 }; 996 997 uart4_rx_pa1: uart4_rx_pa1 { 998 pinmux = <STM32_PINMUX('A', 1, AF8)>; 999 }; 1000 1001 uart4_rx_pc11: uart4_rx_pc11 { 1002 pinmux = <STM32_PINMUX('C', 11, AF8)>; 1003 }; 1004 1005 /* UART_TX / USART_TX / LPUART_TX */ 1006 1007 lpuart1_tx_pa2: lpuart1_tx_pa2 { 1008 pinmux = <STM32_PINMUX('A', 2, AF8)>; 1009 bias-pull-up; 1010 }; 1011 1012 usart1_tx_pa9: usart1_tx_pa9 { 1013 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1014 bias-pull-up; 1015 }; 1016 1017 usart1_tx_pb6: usart1_tx_pb6 { 1018 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1019 bias-pull-up; 1020 }; 1021 1022 lpuart1_tx_pb11: lpuart1_tx_pb11 { 1023 pinmux = <STM32_PINMUX('B', 11, AF8)>; 1024 bias-pull-up; 1025 }; 1026 1027 lpuart1_tx_pc1: lpuart1_tx_pc1 { 1028 pinmux = <STM32_PINMUX('C', 1, AF8)>; 1029 bias-pull-up; 1030 }; 1031 1032 usart2_tx_pa2: usart2_tx_pa2 { 1033 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1034 bias-pull-up; 1035 }; 1036 1037 usart3_tx_pb10: usart3_tx_pb10 { 1038 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1039 bias-pull-up; 1040 }; 1041 1042 usart3_tx_pc4: usart3_tx_pc4 { 1043 pinmux = <STM32_PINMUX('C', 4, AF7)>; 1044 bias-pull-up; 1045 }; 1046 1047 usart3_tx_pc10: usart3_tx_pc10 { 1048 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1049 bias-pull-up; 1050 }; 1051 1052 uart4_tx_pa0: uart4_tx_pa0 { 1053 pinmux = <STM32_PINMUX('A', 0, AF8)>; 1054 bias-pull-up; 1055 }; 1056 1057 uart4_tx_pc10: uart4_tx_pc10 { 1058 pinmux = <STM32_PINMUX('C', 10, AF8)>; 1059 bias-pull-up; 1060 }; 1061 1062 /* USB_OTG_FS */ 1063 1064 usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 1065 pinmux = <STM32_PINMUX('A', 8, AF10)>; 1066 }; 1067 1068 usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 1069 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 1070 }; 1071 1072 usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 1073 pinmux = <STM32_PINMUX('A', 10, AF10)>; 1074 }; 1075 1076 usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 1077 pinmux = <STM32_PINMUX('A', 11, AF10)>; 1078 }; 1079 1080 usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 1081 pinmux = <STM32_PINMUX('A', 12, AF10)>; 1082 }; 1083 1084 usb_otg_fs_sof_pa14: usb_otg_fs_sof_pa14 { 1085 pinmux = <STM32_PINMUX('A', 14, AF10)>; 1086 }; 1087 1088 }; 1089 }; 1090};