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 /* CAN_RX */ 80 81 can1_rx_pa11: can1_rx_pa11 { 82 pinmux = <STM32_PINMUX('A', 11, AF9)>; 83 bias-pull-up; 84 }; 85 86 can1_rx_pb5: can1_rx_pb5 { 87 pinmux = <STM32_PINMUX('B', 5, AF3)>; 88 bias-pull-up; 89 }; 90 91 can1_rx_pb8: can1_rx_pb8 { 92 pinmux = <STM32_PINMUX('B', 8, AF9)>; 93 bias-pull-up; 94 }; 95 96 can1_rx_pb12: can1_rx_pb12 { 97 pinmux = <STM32_PINMUX('B', 12, AF10)>; 98 bias-pull-up; 99 }; 100 101 /* CAN_TX */ 102 103 can1_tx_pa12: can1_tx_pa12 { 104 pinmux = <STM32_PINMUX('A', 12, AF9)>; 105 }; 106 107 can1_tx_pb6: can1_tx_pb6 { 108 pinmux = <STM32_PINMUX('B', 6, AF8)>; 109 }; 110 111 can1_tx_pb9: can1_tx_pb9 { 112 pinmux = <STM32_PINMUX('B', 9, AF9)>; 113 }; 114 115 can1_tx_pb13: can1_tx_pb13 { 116 pinmux = <STM32_PINMUX('B', 13, AF10)>; 117 }; 118 119 /* DAC_OUT */ 120 121 dac1_out1_pa4: dac1_out1_pa4 { 122 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 123 }; 124 125 /* I2C_SCL */ 126 127 i2c1_scl_pa9: i2c1_scl_pa9 { 128 pinmux = <STM32_PINMUX('A', 9, AF4)>; 129 bias-pull-up; 130 drive-open-drain; 131 }; 132 133 i2c1_scl_pb6: i2c1_scl_pb6 { 134 pinmux = <STM32_PINMUX('B', 6, AF4)>; 135 bias-pull-up; 136 drive-open-drain; 137 }; 138 139 i2c1_scl_pb8: i2c1_scl_pb8 { 140 pinmux = <STM32_PINMUX('B', 8, AF4)>; 141 bias-pull-up; 142 drive-open-drain; 143 }; 144 145 i2c2_scl_pb10: i2c2_scl_pb10 { 146 pinmux = <STM32_PINMUX('B', 10, AF4)>; 147 bias-pull-up; 148 drive-open-drain; 149 }; 150 151 i2c2_scl_pb13: i2c2_scl_pb13 { 152 pinmux = <STM32_PINMUX('B', 13, AF4)>; 153 bias-pull-up; 154 drive-open-drain; 155 }; 156 157 i2c3_scl_pa7: i2c3_scl_pa7 { 158 pinmux = <STM32_PINMUX('A', 7, AF4)>; 159 bias-pull-up; 160 drive-open-drain; 161 }; 162 163 i2c3_scl_pc0: i2c3_scl_pc0 { 164 pinmux = <STM32_PINMUX('C', 0, AF4)>; 165 bias-pull-up; 166 drive-open-drain; 167 }; 168 169 i2c4_scl_pb6: i2c4_scl_pb6 { 170 pinmux = <STM32_PINMUX('B', 6, AF5)>; 171 bias-pull-up; 172 drive-open-drain; 173 }; 174 175 i2c4_scl_pb10: i2c4_scl_pb10 { 176 pinmux = <STM32_PINMUX('B', 10, AF3)>; 177 bias-pull-up; 178 drive-open-drain; 179 }; 180 181 i2c4_scl_pc0: i2c4_scl_pc0 { 182 pinmux = <STM32_PINMUX('C', 0, AF2)>; 183 bias-pull-up; 184 drive-open-drain; 185 }; 186 187 /* I2C_SDA */ 188 189 i2c1_sda_pa10: i2c1_sda_pa10 { 190 pinmux = <STM32_PINMUX('A', 10, AF4)>; 191 bias-pull-up; 192 drive-open-drain; 193 }; 194 195 i2c1_sda_pb7: i2c1_sda_pb7 { 196 pinmux = <STM32_PINMUX('B', 7, AF4)>; 197 bias-pull-up; 198 drive-open-drain; 199 }; 200 201 i2c1_sda_pb9: i2c1_sda_pb9 { 202 pinmux = <STM32_PINMUX('B', 9, AF4)>; 203 bias-pull-up; 204 drive-open-drain; 205 }; 206 207 i2c2_sda_pb11: i2c2_sda_pb11 { 208 pinmux = <STM32_PINMUX('B', 11, AF4)>; 209 bias-pull-up; 210 drive-open-drain; 211 }; 212 213 i2c2_sda_pb14: i2c2_sda_pb14 { 214 pinmux = <STM32_PINMUX('B', 14, AF4)>; 215 bias-pull-up; 216 drive-open-drain; 217 }; 218 219 i2c3_sda_pb4: i2c3_sda_pb4 { 220 pinmux = <STM32_PINMUX('B', 4, AF4)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 i2c3_sda_pc1: i2c3_sda_pc1 { 226 pinmux = <STM32_PINMUX('C', 1, AF4)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 i2c4_sda_pb7: i2c4_sda_pb7 { 232 pinmux = <STM32_PINMUX('B', 7, AF5)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 i2c4_sda_pb11: i2c4_sda_pb11 { 238 pinmux = <STM32_PINMUX('B', 11, AF3)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 i2c4_sda_pc1: i2c4_sda_pc1 { 244 pinmux = <STM32_PINMUX('C', 1, AF2)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 /* QUADSPI */ 250 251 quadspi_bk1_ncs_pa2: quadspi_bk1_ncs_pa2 { 252 pinmux = <STM32_PINMUX('A', 2, AF10)>; 253 slew-rate = "very-high-speed"; 254 }; 255 256 quadspi_clk_pa3: quadspi_clk_pa3 { 257 pinmux = <STM32_PINMUX('A', 3, AF10)>; 258 slew-rate = "very-high-speed"; 259 }; 260 261 quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 262 pinmux = <STM32_PINMUX('A', 6, AF10)>; 263 slew-rate = "very-high-speed"; 264 }; 265 266 quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 267 pinmux = <STM32_PINMUX('A', 7, AF10)>; 268 slew-rate = "very-high-speed"; 269 }; 270 271 quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 { 272 pinmux = <STM32_PINMUX('B', 0, AF10)>; 273 slew-rate = "very-high-speed"; 274 }; 275 276 quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 { 277 pinmux = <STM32_PINMUX('B', 1, AF10)>; 278 slew-rate = "very-high-speed"; 279 }; 280 281 quadspi_clk_pb10: quadspi_clk_pb10 { 282 pinmux = <STM32_PINMUX('B', 10, AF10)>; 283 slew-rate = "very-high-speed"; 284 }; 285 286 quadspi_bk1_ncs_pb11: quadspi_bk1_ncs_pb11 { 287 pinmux = <STM32_PINMUX('B', 11, AF10)>; 288 slew-rate = "very-high-speed"; 289 }; 290 291 /* SDMMC */ 292 293 sdmmc1_d4_pb8: sdmmc1_d4_pb8 { 294 pinmux = <STM32_PINMUX('B', 8, AF12)>; 295 bias-pull-up; 296 slew-rate = "very-high-speed"; 297 }; 298 299 sdmmc1_d5_pb9: sdmmc1_d5_pb9 { 300 pinmux = <STM32_PINMUX('B', 9, AF12)>; 301 bias-pull-up; 302 slew-rate = "very-high-speed"; 303 }; 304 305 sdmmc1_d6_pc6: sdmmc1_d6_pc6 { 306 pinmux = <STM32_PINMUX('C', 6, AF12)>; 307 bias-pull-up; 308 slew-rate = "very-high-speed"; 309 }; 310 311 sdmmc1_d7_pc7: sdmmc1_d7_pc7 { 312 pinmux = <STM32_PINMUX('C', 7, AF12)>; 313 bias-pull-up; 314 slew-rate = "very-high-speed"; 315 }; 316 317 sdmmc1_d0_pc8: sdmmc1_d0_pc8 { 318 pinmux = <STM32_PINMUX('C', 8, AF12)>; 319 bias-pull-up; 320 slew-rate = "very-high-speed"; 321 }; 322 323 sdmmc1_d1_pc9: sdmmc1_d1_pc9 { 324 pinmux = <STM32_PINMUX('C', 9, AF12)>; 325 bias-pull-up; 326 slew-rate = "very-high-speed"; 327 }; 328 329 sdmmc1_d2_pc10: sdmmc1_d2_pc10 { 330 pinmux = <STM32_PINMUX('C', 10, AF12)>; 331 bias-pull-up; 332 slew-rate = "very-high-speed"; 333 }; 334 335 sdmmc1_d3_pc11: sdmmc1_d3_pc11 { 336 pinmux = <STM32_PINMUX('C', 11, AF12)>; 337 bias-pull-up; 338 slew-rate = "very-high-speed"; 339 }; 340 341 sdmmc1_ck_pc12: sdmmc1_ck_pc12 { 342 pinmux = <STM32_PINMUX('C', 12, AF12)>; 343 bias-pull-up; 344 slew-rate = "very-high-speed"; 345 }; 346 347 sdmmc1_cmd_pd2: sdmmc1_cmd_pd2 { 348 pinmux = <STM32_PINMUX('D', 2, AF12)>; 349 bias-pull-up; 350 slew-rate = "very-high-speed"; 351 }; 352 353 /* SPI_MISO */ 354 355 spi1_miso_pa6: spi1_miso_pa6 { 356 pinmux = <STM32_PINMUX('A', 6, AF5)>; 357 bias-pull-down; 358 }; 359 360 spi1_miso_pa11: spi1_miso_pa11 { 361 pinmux = <STM32_PINMUX('A', 11, AF5)>; 362 bias-pull-down; 363 }; 364 365 spi1_miso_pb4: spi1_miso_pb4 { 366 pinmux = <STM32_PINMUX('B', 4, AF5)>; 367 bias-pull-down; 368 }; 369 370 spi2_miso_pb14: spi2_miso_pb14 { 371 pinmux = <STM32_PINMUX('B', 14, AF5)>; 372 bias-pull-down; 373 }; 374 375 spi2_miso_pc2: spi2_miso_pc2 { 376 pinmux = <STM32_PINMUX('C', 2, AF5)>; 377 bias-pull-down; 378 }; 379 380 spi3_miso_pb4: spi3_miso_pb4 { 381 pinmux = <STM32_PINMUX('B', 4, AF6)>; 382 bias-pull-down; 383 }; 384 385 spi3_miso_pc11: spi3_miso_pc11 { 386 pinmux = <STM32_PINMUX('C', 11, AF6)>; 387 bias-pull-down; 388 }; 389 390 /* SPI_MOSI */ 391 392 spi1_mosi_pa7: spi1_mosi_pa7 { 393 pinmux = <STM32_PINMUX('A', 7, AF5)>; 394 bias-pull-down; 395 }; 396 397 spi1_mosi_pa12: spi1_mosi_pa12 { 398 pinmux = <STM32_PINMUX('A', 12, AF5)>; 399 bias-pull-down; 400 }; 401 402 spi1_mosi_pb5: spi1_mosi_pb5 { 403 pinmux = <STM32_PINMUX('B', 5, AF5)>; 404 bias-pull-down; 405 }; 406 407 spi2_mosi_pb15: spi2_mosi_pb15 { 408 pinmux = <STM32_PINMUX('B', 15, AF5)>; 409 bias-pull-down; 410 }; 411 412 spi2_mosi_pc3: spi2_mosi_pc3 { 413 pinmux = <STM32_PINMUX('C', 3, AF5)>; 414 bias-pull-down; 415 }; 416 417 spi3_mosi_pb5: spi3_mosi_pb5 { 418 pinmux = <STM32_PINMUX('B', 5, AF6)>; 419 bias-pull-down; 420 }; 421 422 spi3_mosi_pc12: spi3_mosi_pc12 { 423 pinmux = <STM32_PINMUX('C', 12, AF6)>; 424 bias-pull-down; 425 }; 426 427 /* SPI_NSS */ 428 429 spi1_nss_pa4: spi1_nss_pa4 { 430 pinmux = <STM32_PINMUX('A', 4, AF5)>; 431 bias-pull-up; 432 }; 433 434 spi1_nss_pa15: spi1_nss_pa15 { 435 pinmux = <STM32_PINMUX('A', 15, AF5)>; 436 bias-pull-up; 437 }; 438 439 spi1_nss_pb0: spi1_nss_pb0 { 440 pinmux = <STM32_PINMUX('B', 0, AF5)>; 441 bias-pull-up; 442 }; 443 444 spi2_nss_pb9: spi2_nss_pb9 { 445 pinmux = <STM32_PINMUX('B', 9, AF5)>; 446 bias-pull-up; 447 }; 448 449 spi2_nss_pb12: spi2_nss_pb12 { 450 pinmux = <STM32_PINMUX('B', 12, AF5)>; 451 bias-pull-up; 452 }; 453 454 spi3_nss_pa4: spi3_nss_pa4 { 455 pinmux = <STM32_PINMUX('A', 4, AF6)>; 456 bias-pull-up; 457 }; 458 459 spi3_nss_pa15: spi3_nss_pa15 { 460 pinmux = <STM32_PINMUX('A', 15, AF6)>; 461 bias-pull-up; 462 }; 463 464 /* SPI_SCK */ 465 466 spi1_sck_pa1: spi1_sck_pa1 { 467 pinmux = <STM32_PINMUX('A', 1, AF5)>; 468 bias-pull-down; 469 slew-rate = "very-high-speed"; 470 }; 471 472 spi1_sck_pa5: spi1_sck_pa5 { 473 pinmux = <STM32_PINMUX('A', 5, AF5)>; 474 bias-pull-down; 475 slew-rate = "very-high-speed"; 476 }; 477 478 spi1_sck_pb3: spi1_sck_pb3 { 479 pinmux = <STM32_PINMUX('B', 3, AF5)>; 480 bias-pull-down; 481 slew-rate = "very-high-speed"; 482 }; 483 484 spi2_sck_pb10: spi2_sck_pb10 { 485 pinmux = <STM32_PINMUX('B', 10, AF5)>; 486 bias-pull-down; 487 slew-rate = "very-high-speed"; 488 }; 489 490 spi2_sck_pb13: spi2_sck_pb13 { 491 pinmux = <STM32_PINMUX('B', 13, AF5)>; 492 bias-pull-down; 493 slew-rate = "very-high-speed"; 494 }; 495 496 spi3_sck_pb3: spi3_sck_pb3 { 497 pinmux = <STM32_PINMUX('B', 3, AF6)>; 498 bias-pull-down; 499 slew-rate = "very-high-speed"; 500 }; 501 502 spi3_sck_pc10: spi3_sck_pc10 { 503 pinmux = <STM32_PINMUX('C', 10, AF6)>; 504 bias-pull-down; 505 slew-rate = "very-high-speed"; 506 }; 507 508 /* TIM_CH / TIM_CHN */ 509 510 tim1_ch1n_pa7: tim1_ch1n_pa7 { 511 pinmux = <STM32_PINMUX('A', 7, AF1)>; 512 }; 513 514 tim1_ch1_pa8: tim1_ch1_pa8 { 515 pinmux = <STM32_PINMUX('A', 8, AF1)>; 516 }; 517 518 tim1_ch2_pa9: tim1_ch2_pa9 { 519 pinmux = <STM32_PINMUX('A', 9, AF1)>; 520 }; 521 522 tim1_ch3_pa10: tim1_ch3_pa10 { 523 pinmux = <STM32_PINMUX('A', 10, AF1)>; 524 }; 525 526 tim1_ch4_pa11: tim1_ch4_pa11 { 527 pinmux = <STM32_PINMUX('A', 11, AF1)>; 528 }; 529 530 tim1_ch2n_pb0: tim1_ch2n_pb0 { 531 pinmux = <STM32_PINMUX('B', 0, AF1)>; 532 }; 533 534 tim1_ch3n_pb1: tim1_ch3n_pb1 { 535 pinmux = <STM32_PINMUX('B', 1, AF1)>; 536 }; 537 538 tim1_ch1n_pb13: tim1_ch1n_pb13 { 539 pinmux = <STM32_PINMUX('B', 13, AF1)>; 540 }; 541 542 tim1_ch2n_pb14: tim1_ch2n_pb14 { 543 pinmux = <STM32_PINMUX('B', 14, AF1)>; 544 }; 545 546 tim1_ch3n_pb15: tim1_ch3n_pb15 { 547 pinmux = <STM32_PINMUX('B', 15, AF1)>; 548 }; 549 550 tim2_ch1_pa0: tim2_ch1_pa0 { 551 pinmux = <STM32_PINMUX('A', 0, AF1)>; 552 }; 553 554 tim2_ch2_pa1: tim2_ch2_pa1 { 555 pinmux = <STM32_PINMUX('A', 1, AF1)>; 556 }; 557 558 tim2_ch3_pa2: tim2_ch3_pa2 { 559 pinmux = <STM32_PINMUX('A', 2, AF1)>; 560 }; 561 562 tim2_ch4_pa3: tim2_ch4_pa3 { 563 pinmux = <STM32_PINMUX('A', 3, AF1)>; 564 }; 565 566 tim2_ch1_pa5: tim2_ch1_pa5 { 567 pinmux = <STM32_PINMUX('A', 5, AF1)>; 568 }; 569 570 tim2_ch1_pa15: tim2_ch1_pa15 { 571 pinmux = <STM32_PINMUX('A', 15, AF1)>; 572 }; 573 574 tim2_ch2_pb3: tim2_ch2_pb3 { 575 pinmux = <STM32_PINMUX('B', 3, AF1)>; 576 }; 577 578 tim2_ch3_pb10: tim2_ch3_pb10 { 579 pinmux = <STM32_PINMUX('B', 10, AF1)>; 580 }; 581 582 tim2_ch4_pb11: tim2_ch4_pb11 { 583 pinmux = <STM32_PINMUX('B', 11, AF1)>; 584 }; 585 586 tim3_ch1_pa6: tim3_ch1_pa6 { 587 pinmux = <STM32_PINMUX('A', 6, AF2)>; 588 }; 589 590 tim3_ch2_pa7: tim3_ch2_pa7 { 591 pinmux = <STM32_PINMUX('A', 7, AF2)>; 592 }; 593 594 tim3_ch3_pb0: tim3_ch3_pb0 { 595 pinmux = <STM32_PINMUX('B', 0, AF2)>; 596 }; 597 598 tim3_ch4_pb1: tim3_ch4_pb1 { 599 pinmux = <STM32_PINMUX('B', 1, AF2)>; 600 }; 601 602 tim3_ch1_pb4: tim3_ch1_pb4 { 603 pinmux = <STM32_PINMUX('B', 4, AF2)>; 604 }; 605 606 tim3_ch2_pb5: tim3_ch2_pb5 { 607 pinmux = <STM32_PINMUX('B', 5, AF2)>; 608 }; 609 610 tim3_ch1_pc6: tim3_ch1_pc6 { 611 pinmux = <STM32_PINMUX('C', 6, AF2)>; 612 }; 613 614 tim3_ch2_pc7: tim3_ch2_pc7 { 615 pinmux = <STM32_PINMUX('C', 7, AF2)>; 616 }; 617 618 tim3_ch3_pc8: tim3_ch3_pc8 { 619 pinmux = <STM32_PINMUX('C', 8, AF2)>; 620 }; 621 622 tim3_ch4_pc9: tim3_ch4_pc9 { 623 pinmux = <STM32_PINMUX('C', 9, AF2)>; 624 }; 625 626 tim15_ch1n_pa1: tim15_ch1n_pa1 { 627 pinmux = <STM32_PINMUX('A', 1, AF14)>; 628 }; 629 630 tim15_ch1_pa2: tim15_ch1_pa2 { 631 pinmux = <STM32_PINMUX('A', 2, AF14)>; 632 }; 633 634 tim15_ch2_pa3: tim15_ch2_pa3 { 635 pinmux = <STM32_PINMUX('A', 3, AF14)>; 636 }; 637 638 tim15_ch1n_pb13: tim15_ch1n_pb13 { 639 pinmux = <STM32_PINMUX('B', 13, AF14)>; 640 }; 641 642 tim15_ch1_pb14: tim15_ch1_pb14 { 643 pinmux = <STM32_PINMUX('B', 14, AF14)>; 644 }; 645 646 tim15_ch2_pb15: tim15_ch2_pb15 { 647 pinmux = <STM32_PINMUX('B', 15, AF14)>; 648 }; 649 650 tim16_ch1_pa6: tim16_ch1_pa6 { 651 pinmux = <STM32_PINMUX('A', 6, AF14)>; 652 }; 653 654 tim16_ch1n_pb6: tim16_ch1n_pb6 { 655 pinmux = <STM32_PINMUX('B', 6, AF14)>; 656 }; 657 658 tim16_ch1_pb8: tim16_ch1_pb8 { 659 pinmux = <STM32_PINMUX('B', 8, AF14)>; 660 }; 661 662 /* UART_CTS / USART_CTS / LPUART_CTS */ 663 664 lpuart1_cts_pa6: lpuart1_cts_pa6 { 665 pinmux = <STM32_PINMUX('A', 6, AF8)>; 666 bias-pull-up; 667 drive-open-drain; 668 }; 669 670 usart1_cts_pa11: usart1_cts_pa11 { 671 pinmux = <STM32_PINMUX('A', 11, AF7)>; 672 bias-pull-up; 673 drive-open-drain; 674 }; 675 676 usart1_cts_pb4: usart1_cts_pb4 { 677 pinmux = <STM32_PINMUX('B', 4, AF7)>; 678 bias-pull-up; 679 drive-open-drain; 680 }; 681 682 lpuart1_cts_pb13: lpuart1_cts_pb13 { 683 pinmux = <STM32_PINMUX('B', 13, AF8)>; 684 bias-pull-up; 685 drive-open-drain; 686 }; 687 688 usart2_cts_pa0: usart2_cts_pa0 { 689 pinmux = <STM32_PINMUX('A', 0, AF7)>; 690 bias-pull-up; 691 drive-open-drain; 692 }; 693 694 usart3_cts_pa6: usart3_cts_pa6 { 695 pinmux = <STM32_PINMUX('A', 6, AF7)>; 696 bias-pull-up; 697 drive-open-drain; 698 }; 699 700 usart3_cts_pb13: usart3_cts_pb13 { 701 pinmux = <STM32_PINMUX('B', 13, AF7)>; 702 bias-pull-up; 703 drive-open-drain; 704 }; 705 706 uart4_cts_pb7: uart4_cts_pb7 { 707 pinmux = <STM32_PINMUX('B', 7, AF8)>; 708 bias-pull-up; 709 drive-open-drain; 710 }; 711 712 /* UART_RTS / USART_RTS / LPUART_RTS */ 713 714 usart1_rts_pa12: usart1_rts_pa12 { 715 pinmux = <STM32_PINMUX('A', 12, AF7)>; 716 bias-pull-up; 717 drive-open-drain; 718 }; 719 720 lpuart1_rts_pb1: lpuart1_rts_pb1 { 721 pinmux = <STM32_PINMUX('B', 1, AF8)>; 722 bias-pull-up; 723 drive-open-drain; 724 }; 725 726 usart1_rts_pb3: usart1_rts_pb3 { 727 pinmux = <STM32_PINMUX('B', 3, AF7)>; 728 bias-pull-up; 729 drive-open-drain; 730 }; 731 732 lpuart1_rts_pb12: lpuart1_rts_pb12 { 733 pinmux = <STM32_PINMUX('B', 12, AF8)>; 734 bias-pull-up; 735 drive-open-drain; 736 }; 737 738 usart2_rts_pa1: usart2_rts_pa1 { 739 pinmux = <STM32_PINMUX('A', 1, AF7)>; 740 bias-pull-up; 741 drive-open-drain; 742 }; 743 744 usart3_rts_pa15: usart3_rts_pa15 { 745 pinmux = <STM32_PINMUX('A', 15, AF7)>; 746 bias-pull-up; 747 drive-open-drain; 748 }; 749 750 usart3_rts_pb1: usart3_rts_pb1 { 751 pinmux = <STM32_PINMUX('B', 1, AF7)>; 752 bias-pull-up; 753 drive-open-drain; 754 }; 755 756 usart3_rts_pb14: usart3_rts_pb14 { 757 pinmux = <STM32_PINMUX('B', 14, AF7)>; 758 bias-pull-up; 759 drive-open-drain; 760 }; 761 762 usart3_rts_pd2: usart3_rts_pd2 { 763 pinmux = <STM32_PINMUX('D', 2, AF7)>; 764 bias-pull-up; 765 drive-open-drain; 766 }; 767 768 uart4_rts_pa15: uart4_rts_pa15 { 769 pinmux = <STM32_PINMUX('A', 15, AF8)>; 770 bias-pull-up; 771 drive-open-drain; 772 }; 773 774 /* UART_RX / USART_RX / LPUART_RX */ 775 776 lpuart1_rx_pa3: lpuart1_rx_pa3 { 777 pinmux = <STM32_PINMUX('A', 3, AF8)>; 778 }; 779 780 usart1_rx_pa10: usart1_rx_pa10 { 781 pinmux = <STM32_PINMUX('A', 10, AF7)>; 782 }; 783 784 usart1_rx_pb7: usart1_rx_pb7 { 785 pinmux = <STM32_PINMUX('B', 7, AF7)>; 786 }; 787 788 lpuart1_rx_pb10: lpuart1_rx_pb10 { 789 pinmux = <STM32_PINMUX('B', 10, AF8)>; 790 }; 791 792 lpuart1_rx_pc0: lpuart1_rx_pc0 { 793 pinmux = <STM32_PINMUX('C', 0, AF8)>; 794 }; 795 796 usart2_rx_pa3: usart2_rx_pa3 { 797 pinmux = <STM32_PINMUX('A', 3, AF7)>; 798 }; 799 800 usart2_rx_pa15: usart2_rx_pa15 { 801 pinmux = <STM32_PINMUX('A', 15, AF3)>; 802 }; 803 804 usart3_rx_pb11: usart3_rx_pb11 { 805 pinmux = <STM32_PINMUX('B', 11, AF7)>; 806 }; 807 808 usart3_rx_pc5: usart3_rx_pc5 { 809 pinmux = <STM32_PINMUX('C', 5, AF7)>; 810 }; 811 812 usart3_rx_pc11: usart3_rx_pc11 { 813 pinmux = <STM32_PINMUX('C', 11, AF7)>; 814 }; 815 816 uart4_rx_pa1: uart4_rx_pa1 { 817 pinmux = <STM32_PINMUX('A', 1, AF8)>; 818 }; 819 820 uart4_rx_pc11: uart4_rx_pc11 { 821 pinmux = <STM32_PINMUX('C', 11, AF8)>; 822 }; 823 824 /* UART_TX / USART_TX / LPUART_TX */ 825 826 lpuart1_tx_pa2: lpuart1_tx_pa2 { 827 pinmux = <STM32_PINMUX('A', 2, AF8)>; 828 bias-pull-up; 829 }; 830 831 usart1_tx_pa9: usart1_tx_pa9 { 832 pinmux = <STM32_PINMUX('A', 9, AF7)>; 833 bias-pull-up; 834 }; 835 836 usart1_tx_pb6: usart1_tx_pb6 { 837 pinmux = <STM32_PINMUX('B', 6, AF7)>; 838 bias-pull-up; 839 }; 840 841 lpuart1_tx_pb11: lpuart1_tx_pb11 { 842 pinmux = <STM32_PINMUX('B', 11, AF8)>; 843 bias-pull-up; 844 }; 845 846 lpuart1_tx_pc1: lpuart1_tx_pc1 { 847 pinmux = <STM32_PINMUX('C', 1, AF8)>; 848 bias-pull-up; 849 }; 850 851 usart2_tx_pa2: usart2_tx_pa2 { 852 pinmux = <STM32_PINMUX('A', 2, AF7)>; 853 bias-pull-up; 854 }; 855 856 usart3_tx_pb10: usart3_tx_pb10 { 857 pinmux = <STM32_PINMUX('B', 10, AF7)>; 858 bias-pull-up; 859 }; 860 861 usart3_tx_pc4: usart3_tx_pc4 { 862 pinmux = <STM32_PINMUX('C', 4, AF7)>; 863 bias-pull-up; 864 }; 865 866 usart3_tx_pc10: usart3_tx_pc10 { 867 pinmux = <STM32_PINMUX('C', 10, AF7)>; 868 bias-pull-up; 869 }; 870 871 uart4_tx_pa0: uart4_tx_pa0 { 872 pinmux = <STM32_PINMUX('A', 0, AF8)>; 873 bias-pull-up; 874 }; 875 876 uart4_tx_pc10: uart4_tx_pc10 { 877 pinmux = <STM32_PINMUX('C', 10, AF8)>; 878 bias-pull-up; 879 }; 880 881 /* USB */ 882 883 usb_dm_pa11: usb_dm_pa11 { 884 pinmux = <STM32_PINMUX('A', 11, AF10)>; 885 }; 886 887 usb_dp_pa12: usb_dp_pa12 { 888 pinmux = <STM32_PINMUX('A', 12, AF10)>; 889 }; 890 891 usb_noe_pa13: usb_noe_pa13 { 892 pinmux = <STM32_PINMUX('A', 13, AF10)>; 893 }; 894 895 usb_noe_pc9: usb_noe_pc9 { 896 pinmux = <STM32_PINMUX('C', 9, AF10)>; 897 }; 898 899 }; 900 }; 901};