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 i2c2_scl_pb10: i2c2_scl_pb10 { 206 pinmux = <STM32_PINMUX('B', 10, AF4)>; 207 bias-pull-up; 208 drive-open-drain; 209 }; 210 211 i2c2_scl_pb13: i2c2_scl_pb13 { 212 pinmux = <STM32_PINMUX('B', 13, AF4)>; 213 bias-pull-up; 214 drive-open-drain; 215 }; 216 217 i2c3_scl_pc0: i2c3_scl_pc0 { 218 pinmux = <STM32_PINMUX('C', 0, AF4)>; 219 bias-pull-up; 220 drive-open-drain; 221 }; 222 223 /* I2C_SDA */ 224 225 i2c1_sda_pb7: i2c1_sda_pb7 { 226 pinmux = <STM32_PINMUX('B', 7, AF4)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 i2c1_sda_pb9: i2c1_sda_pb9 { 232 pinmux = <STM32_PINMUX('B', 9, AF4)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 i2c2_sda_pb11: i2c2_sda_pb11 { 238 pinmux = <STM32_PINMUX('B', 11, AF4)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 i2c2_sda_pb14: i2c2_sda_pb14 { 244 pinmux = <STM32_PINMUX('B', 14, AF4)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 i2c3_sda_pc1: i2c3_sda_pc1 { 250 pinmux = <STM32_PINMUX('C', 1, AF4)>; 251 bias-pull-up; 252 drive-open-drain; 253 }; 254 255 /* QUADSPI */ 256 257 quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 258 pinmux = <STM32_PINMUX('A', 6, AF10)>; 259 slew-rate = "very-high-speed"; 260 }; 261 262 quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 263 pinmux = <STM32_PINMUX('A', 7, AF10)>; 264 slew-rate = "very-high-speed"; 265 }; 266 267 quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 { 268 pinmux = <STM32_PINMUX('B', 0, AF10)>; 269 slew-rate = "very-high-speed"; 270 }; 271 272 quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 { 273 pinmux = <STM32_PINMUX('B', 1, AF10)>; 274 slew-rate = "very-high-speed"; 275 }; 276 277 quadspi_clk_pb10: quadspi_clk_pb10 { 278 pinmux = <STM32_PINMUX('B', 10, AF10)>; 279 slew-rate = "very-high-speed"; 280 }; 281 282 quadspi_ncs_pb11: quadspi_ncs_pb11 { 283 pinmux = <STM32_PINMUX('B', 11, AF10)>; 284 slew-rate = "very-high-speed"; 285 }; 286 287 /* SDMMC */ 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_d5_pb9: sdmmc1_d5_pb9 { 296 pinmux = <STM32_PINMUX('B', 9, AF12)>; 297 bias-pull-up; 298 slew-rate = "very-high-speed"; 299 }; 300 301 sdmmc1_d6_pc6: sdmmc1_d6_pc6 { 302 pinmux = <STM32_PINMUX('C', 6, AF12)>; 303 bias-pull-up; 304 slew-rate = "very-high-speed"; 305 }; 306 307 sdmmc1_d7_pc7: sdmmc1_d7_pc7 { 308 pinmux = <STM32_PINMUX('C', 7, AF12)>; 309 bias-pull-up; 310 slew-rate = "very-high-speed"; 311 }; 312 313 sdmmc1_d0_pc8: sdmmc1_d0_pc8 { 314 pinmux = <STM32_PINMUX('C', 8, AF12)>; 315 bias-pull-up; 316 slew-rate = "very-high-speed"; 317 }; 318 319 sdmmc1_d1_pc9: sdmmc1_d1_pc9 { 320 pinmux = <STM32_PINMUX('C', 9, AF12)>; 321 bias-pull-up; 322 slew-rate = "very-high-speed"; 323 }; 324 325 sdmmc1_d2_pc10: sdmmc1_d2_pc10 { 326 pinmux = <STM32_PINMUX('C', 10, AF12)>; 327 bias-pull-up; 328 slew-rate = "very-high-speed"; 329 }; 330 331 sdmmc1_d3_pc11: sdmmc1_d3_pc11 { 332 pinmux = <STM32_PINMUX('C', 11, AF12)>; 333 bias-pull-up; 334 slew-rate = "very-high-speed"; 335 }; 336 337 sdmmc1_ck_pc12: sdmmc1_ck_pc12 { 338 pinmux = <STM32_PINMUX('C', 12, AF12)>; 339 bias-pull-up; 340 slew-rate = "very-high-speed"; 341 }; 342 343 sdmmc1_cmd_pd2: sdmmc1_cmd_pd2 { 344 pinmux = <STM32_PINMUX('D', 2, AF12)>; 345 bias-pull-up; 346 slew-rate = "very-high-speed"; 347 }; 348 349 /* SPI_MISO */ 350 351 spi1_miso_pa6: spi1_miso_pa6 { 352 pinmux = <STM32_PINMUX('A', 6, AF5)>; 353 bias-pull-down; 354 }; 355 356 spi1_miso_pb4: spi1_miso_pb4 { 357 pinmux = <STM32_PINMUX('B', 4, AF5)>; 358 bias-pull-down; 359 }; 360 361 spi2_miso_pb14: spi2_miso_pb14 { 362 pinmux = <STM32_PINMUX('B', 14, AF5)>; 363 bias-pull-down; 364 }; 365 366 spi2_miso_pc2: spi2_miso_pc2 { 367 pinmux = <STM32_PINMUX('C', 2, AF5)>; 368 bias-pull-down; 369 }; 370 371 spi3_miso_pb4: spi3_miso_pb4 { 372 pinmux = <STM32_PINMUX('B', 4, AF6)>; 373 bias-pull-down; 374 }; 375 376 spi3_miso_pc11: spi3_miso_pc11 { 377 pinmux = <STM32_PINMUX('C', 11, AF6)>; 378 bias-pull-down; 379 }; 380 381 /* SPI_MOSI */ 382 383 spi1_mosi_pa7: spi1_mosi_pa7 { 384 pinmux = <STM32_PINMUX('A', 7, AF5)>; 385 bias-pull-down; 386 }; 387 388 spi1_mosi_pb5: spi1_mosi_pb5 { 389 pinmux = <STM32_PINMUX('B', 5, AF5)>; 390 bias-pull-down; 391 }; 392 393 spi2_mosi_pb15: spi2_mosi_pb15 { 394 pinmux = <STM32_PINMUX('B', 15, AF5)>; 395 bias-pull-down; 396 }; 397 398 spi2_mosi_pc3: spi2_mosi_pc3 { 399 pinmux = <STM32_PINMUX('C', 3, AF5)>; 400 bias-pull-down; 401 }; 402 403 spi3_mosi_pb5: spi3_mosi_pb5 { 404 pinmux = <STM32_PINMUX('B', 5, AF6)>; 405 bias-pull-down; 406 }; 407 408 spi3_mosi_pc12: spi3_mosi_pc12 { 409 pinmux = <STM32_PINMUX('C', 12, AF6)>; 410 bias-pull-down; 411 }; 412 413 /* SPI_NSS */ 414 415 spi1_nss_pa4: spi1_nss_pa4 { 416 pinmux = <STM32_PINMUX('A', 4, AF5)>; 417 bias-pull-up; 418 }; 419 420 spi1_nss_pa15: spi1_nss_pa15 { 421 pinmux = <STM32_PINMUX('A', 15, AF5)>; 422 bias-pull-up; 423 }; 424 425 spi2_nss_pb9: spi2_nss_pb9 { 426 pinmux = <STM32_PINMUX('B', 9, AF5)>; 427 bias-pull-up; 428 }; 429 430 spi2_nss_pb12: spi2_nss_pb12 { 431 pinmux = <STM32_PINMUX('B', 12, AF5)>; 432 bias-pull-up; 433 }; 434 435 spi3_nss_pa4: spi3_nss_pa4 { 436 pinmux = <STM32_PINMUX('A', 4, AF6)>; 437 bias-pull-up; 438 }; 439 440 spi3_nss_pa15: spi3_nss_pa15 { 441 pinmux = <STM32_PINMUX('A', 15, AF6)>; 442 bias-pull-up; 443 }; 444 445 /* SPI_SCK */ 446 447 spi1_sck_pa5: spi1_sck_pa5 { 448 pinmux = <STM32_PINMUX('A', 5, AF5)>; 449 bias-pull-down; 450 slew-rate = "very-high-speed"; 451 }; 452 453 spi1_sck_pb3: spi1_sck_pb3 { 454 pinmux = <STM32_PINMUX('B', 3, AF5)>; 455 bias-pull-down; 456 slew-rate = "very-high-speed"; 457 }; 458 459 spi2_sck_pb10: spi2_sck_pb10 { 460 pinmux = <STM32_PINMUX('B', 10, AF5)>; 461 bias-pull-down; 462 slew-rate = "very-high-speed"; 463 }; 464 465 spi2_sck_pb13: spi2_sck_pb13 { 466 pinmux = <STM32_PINMUX('B', 13, AF5)>; 467 bias-pull-down; 468 slew-rate = "very-high-speed"; 469 }; 470 471 spi3_sck_pb3: spi3_sck_pb3 { 472 pinmux = <STM32_PINMUX('B', 3, AF6)>; 473 bias-pull-down; 474 slew-rate = "very-high-speed"; 475 }; 476 477 spi3_sck_pc10: spi3_sck_pc10 { 478 pinmux = <STM32_PINMUX('C', 10, AF6)>; 479 bias-pull-down; 480 slew-rate = "very-high-speed"; 481 }; 482 483 /* TIM_CH / TIM_CHN */ 484 485 tim1_ch1n_pa7: tim1_ch1n_pa7 { 486 pinmux = <STM32_PINMUX('A', 7, AF1)>; 487 }; 488 489 tim1_ch1_pa8: tim1_ch1_pa8 { 490 pinmux = <STM32_PINMUX('A', 8, AF1)>; 491 }; 492 493 tim1_ch2_pa9: tim1_ch2_pa9 { 494 pinmux = <STM32_PINMUX('A', 9, AF1)>; 495 }; 496 497 tim1_ch3_pa10: tim1_ch3_pa10 { 498 pinmux = <STM32_PINMUX('A', 10, AF1)>; 499 }; 500 501 tim1_ch4_pa11: tim1_ch4_pa11 { 502 pinmux = <STM32_PINMUX('A', 11, AF1)>; 503 }; 504 505 tim1_ch2n_pb0: tim1_ch2n_pb0 { 506 pinmux = <STM32_PINMUX('B', 0, AF1)>; 507 }; 508 509 tim1_ch3n_pb1: tim1_ch3n_pb1 { 510 pinmux = <STM32_PINMUX('B', 1, AF1)>; 511 }; 512 513 tim1_ch1n_pb13: tim1_ch1n_pb13 { 514 pinmux = <STM32_PINMUX('B', 13, AF1)>; 515 }; 516 517 tim1_ch2n_pb14: tim1_ch2n_pb14 { 518 pinmux = <STM32_PINMUX('B', 14, AF1)>; 519 }; 520 521 tim1_ch3n_pb15: tim1_ch3n_pb15 { 522 pinmux = <STM32_PINMUX('B', 15, AF1)>; 523 }; 524 525 tim2_ch1_pa0: tim2_ch1_pa0 { 526 pinmux = <STM32_PINMUX('A', 0, AF1)>; 527 }; 528 529 tim2_ch2_pa1: tim2_ch2_pa1 { 530 pinmux = <STM32_PINMUX('A', 1, AF1)>; 531 }; 532 533 tim2_ch3_pa2: tim2_ch3_pa2 { 534 pinmux = <STM32_PINMUX('A', 2, AF1)>; 535 }; 536 537 tim2_ch4_pa3: tim2_ch4_pa3 { 538 pinmux = <STM32_PINMUX('A', 3, AF1)>; 539 }; 540 541 tim2_ch1_pa5: tim2_ch1_pa5 { 542 pinmux = <STM32_PINMUX('A', 5, AF1)>; 543 }; 544 545 tim2_ch1_pa15: tim2_ch1_pa15 { 546 pinmux = <STM32_PINMUX('A', 15, AF1)>; 547 }; 548 549 tim2_ch2_pb3: tim2_ch2_pb3 { 550 pinmux = <STM32_PINMUX('B', 3, AF1)>; 551 }; 552 553 tim2_ch3_pb10: tim2_ch3_pb10 { 554 pinmux = <STM32_PINMUX('B', 10, AF1)>; 555 }; 556 557 tim2_ch4_pb11: tim2_ch4_pb11 { 558 pinmux = <STM32_PINMUX('B', 11, AF1)>; 559 }; 560 561 tim3_ch1_pa6: tim3_ch1_pa6 { 562 pinmux = <STM32_PINMUX('A', 6, AF2)>; 563 }; 564 565 tim3_ch2_pa7: tim3_ch2_pa7 { 566 pinmux = <STM32_PINMUX('A', 7, AF2)>; 567 }; 568 569 tim3_ch3_pb0: tim3_ch3_pb0 { 570 pinmux = <STM32_PINMUX('B', 0, AF2)>; 571 }; 572 573 tim3_ch4_pb1: tim3_ch4_pb1 { 574 pinmux = <STM32_PINMUX('B', 1, AF2)>; 575 }; 576 577 tim3_ch1_pb4: tim3_ch1_pb4 { 578 pinmux = <STM32_PINMUX('B', 4, AF2)>; 579 }; 580 581 tim3_ch2_pb5: tim3_ch2_pb5 { 582 pinmux = <STM32_PINMUX('B', 5, AF2)>; 583 }; 584 585 tim3_ch1_pc6: tim3_ch1_pc6 { 586 pinmux = <STM32_PINMUX('C', 6, AF2)>; 587 }; 588 589 tim3_ch2_pc7: tim3_ch2_pc7 { 590 pinmux = <STM32_PINMUX('C', 7, AF2)>; 591 }; 592 593 tim3_ch3_pc8: tim3_ch3_pc8 { 594 pinmux = <STM32_PINMUX('C', 8, AF2)>; 595 }; 596 597 tim3_ch4_pc9: tim3_ch4_pc9 { 598 pinmux = <STM32_PINMUX('C', 9, AF2)>; 599 }; 600 601 tim4_ch1_pb6: tim4_ch1_pb6 { 602 pinmux = <STM32_PINMUX('B', 6, AF2)>; 603 }; 604 605 tim4_ch2_pb7: tim4_ch2_pb7 { 606 pinmux = <STM32_PINMUX('B', 7, AF2)>; 607 }; 608 609 tim4_ch3_pb8: tim4_ch3_pb8 { 610 pinmux = <STM32_PINMUX('B', 8, AF2)>; 611 }; 612 613 tim4_ch4_pb9: tim4_ch4_pb9 { 614 pinmux = <STM32_PINMUX('B', 9, AF2)>; 615 }; 616 617 tim5_ch1_pa0: tim5_ch1_pa0 { 618 pinmux = <STM32_PINMUX('A', 0, AF2)>; 619 }; 620 621 tim15_ch1n_pa1: tim15_ch1n_pa1 { 622 pinmux = <STM32_PINMUX('A', 1, AF14)>; 623 }; 624 625 tim5_ch2_pa1: tim5_ch2_pa1 { 626 pinmux = <STM32_PINMUX('A', 1, AF2)>; 627 }; 628 629 tim15_ch1_pa2: tim15_ch1_pa2 { 630 pinmux = <STM32_PINMUX('A', 2, AF14)>; 631 }; 632 633 tim5_ch3_pa2: tim5_ch3_pa2 { 634 pinmux = <STM32_PINMUX('A', 2, AF2)>; 635 }; 636 637 tim15_ch2_pa3: tim15_ch2_pa3 { 638 pinmux = <STM32_PINMUX('A', 3, AF14)>; 639 }; 640 641 tim5_ch4_pa3: tim5_ch4_pa3 { 642 pinmux = <STM32_PINMUX('A', 3, AF2)>; 643 }; 644 645 tim15_ch1n_pb13: tim15_ch1n_pb13 { 646 pinmux = <STM32_PINMUX('B', 13, AF14)>; 647 }; 648 649 tim15_ch1_pb14: tim15_ch1_pb14 { 650 pinmux = <STM32_PINMUX('B', 14, AF14)>; 651 }; 652 653 tim15_ch2_pb15: tim15_ch2_pb15 { 654 pinmux = <STM32_PINMUX('B', 15, AF14)>; 655 }; 656 657 tim16_ch1_pa6: tim16_ch1_pa6 { 658 pinmux = <STM32_PINMUX('A', 6, AF14)>; 659 }; 660 661 tim16_ch1n_pb6: tim16_ch1n_pb6 { 662 pinmux = <STM32_PINMUX('B', 6, AF14)>; 663 }; 664 665 tim16_ch1_pb8: tim16_ch1_pb8 { 666 pinmux = <STM32_PINMUX('B', 8, AF14)>; 667 }; 668 669 tim17_ch1_pa7: tim17_ch1_pa7 { 670 pinmux = <STM32_PINMUX('A', 7, AF14)>; 671 }; 672 673 tim17_ch1n_pb7: tim17_ch1n_pb7 { 674 pinmux = <STM32_PINMUX('B', 7, AF14)>; 675 }; 676 677 tim17_ch1_pb9: tim17_ch1_pb9 { 678 pinmux = <STM32_PINMUX('B', 9, AF14)>; 679 }; 680 681 tim8_ch1n_pa5: tim8_ch1n_pa5 { 682 pinmux = <STM32_PINMUX('A', 5, AF3)>; 683 }; 684 685 tim8_ch1n_pa7: tim8_ch1n_pa7 { 686 pinmux = <STM32_PINMUX('A', 7, AF3)>; 687 }; 688 689 tim8_ch2n_pb0: tim8_ch2n_pb0 { 690 pinmux = <STM32_PINMUX('B', 0, AF3)>; 691 }; 692 693 tim8_ch3n_pb1: tim8_ch3n_pb1 { 694 pinmux = <STM32_PINMUX('B', 1, AF3)>; 695 }; 696 697 tim8_ch2n_pb14: tim8_ch2n_pb14 { 698 pinmux = <STM32_PINMUX('B', 14, AF3)>; 699 }; 700 701 tim8_ch3n_pb15: tim8_ch3n_pb15 { 702 pinmux = <STM32_PINMUX('B', 15, AF3)>; 703 }; 704 705 tim8_ch1_pc6: tim8_ch1_pc6 { 706 pinmux = <STM32_PINMUX('C', 6, AF3)>; 707 }; 708 709 tim8_ch2_pc7: tim8_ch2_pc7 { 710 pinmux = <STM32_PINMUX('C', 7, AF3)>; 711 }; 712 713 tim8_ch3_pc8: tim8_ch3_pc8 { 714 pinmux = <STM32_PINMUX('C', 8, AF3)>; 715 }; 716 717 tim8_ch4_pc9: tim8_ch4_pc9 { 718 pinmux = <STM32_PINMUX('C', 9, AF3)>; 719 }; 720 721 /* UART_CTS / USART_CTS / LPUART_CTS */ 722 723 usart1_cts_pa11: usart1_cts_pa11 { 724 pinmux = <STM32_PINMUX('A', 11, AF7)>; 725 bias-pull-up; 726 drive-open-drain; 727 }; 728 729 usart1_cts_pb4: usart1_cts_pb4 { 730 pinmux = <STM32_PINMUX('B', 4, AF7)>; 731 bias-pull-up; 732 drive-open-drain; 733 }; 734 735 lpuart1_cts_pb13: lpuart1_cts_pb13 { 736 pinmux = <STM32_PINMUX('B', 13, AF8)>; 737 bias-pull-up; 738 drive-open-drain; 739 }; 740 741 usart2_cts_pa0: usart2_cts_pa0 { 742 pinmux = <STM32_PINMUX('A', 0, AF7)>; 743 bias-pull-up; 744 drive-open-drain; 745 }; 746 747 usart3_cts_pa6: usart3_cts_pa6 { 748 pinmux = <STM32_PINMUX('A', 6, AF7)>; 749 bias-pull-up; 750 drive-open-drain; 751 }; 752 753 usart3_cts_pb13: usart3_cts_pb13 { 754 pinmux = <STM32_PINMUX('B', 13, AF7)>; 755 bias-pull-up; 756 drive-open-drain; 757 }; 758 759 uart4_cts_pb7: uart4_cts_pb7 { 760 pinmux = <STM32_PINMUX('B', 7, AF8)>; 761 bias-pull-up; 762 drive-open-drain; 763 }; 764 765 uart5_cts_pb5: uart5_cts_pb5 { 766 pinmux = <STM32_PINMUX('B', 5, AF8)>; 767 bias-pull-up; 768 drive-open-drain; 769 }; 770 771 /* UART_RTS / USART_RTS / LPUART_RTS */ 772 773 usart1_rts_pa12: usart1_rts_pa12 { 774 pinmux = <STM32_PINMUX('A', 12, AF7)>; 775 bias-pull-up; 776 drive-open-drain; 777 }; 778 779 usart1_rts_pb3: usart1_rts_pb3 { 780 pinmux = <STM32_PINMUX('B', 3, AF7)>; 781 bias-pull-up; 782 drive-open-drain; 783 }; 784 785 lpuart1_rts_pb12: lpuart1_rts_pb12 { 786 pinmux = <STM32_PINMUX('B', 12, AF8)>; 787 bias-pull-up; 788 drive-open-drain; 789 }; 790 791 usart2_rts_pa1: usart2_rts_pa1 { 792 pinmux = <STM32_PINMUX('A', 1, AF7)>; 793 bias-pull-up; 794 drive-open-drain; 795 }; 796 797 usart3_rts_pb1: usart3_rts_pb1 { 798 pinmux = <STM32_PINMUX('B', 1, AF7)>; 799 bias-pull-up; 800 drive-open-drain; 801 }; 802 803 usart3_rts_pb14: usart3_rts_pb14 { 804 pinmux = <STM32_PINMUX('B', 14, AF7)>; 805 bias-pull-up; 806 drive-open-drain; 807 }; 808 809 usart3_rts_pd2: usart3_rts_pd2 { 810 pinmux = <STM32_PINMUX('D', 2, AF7)>; 811 bias-pull-up; 812 drive-open-drain; 813 }; 814 815 uart4_rts_pa15: uart4_rts_pa15 { 816 pinmux = <STM32_PINMUX('A', 15, AF8)>; 817 bias-pull-up; 818 drive-open-drain; 819 }; 820 821 uart5_rts_pb4: uart5_rts_pb4 { 822 pinmux = <STM32_PINMUX('B', 4, AF8)>; 823 bias-pull-up; 824 drive-open-drain; 825 }; 826 827 /* UART_RX / USART_RX / LPUART_RX */ 828 829 usart1_rx_pa10: usart1_rx_pa10 { 830 pinmux = <STM32_PINMUX('A', 10, AF7)>; 831 }; 832 833 usart1_rx_pb7: usart1_rx_pb7 { 834 pinmux = <STM32_PINMUX('B', 7, AF7)>; 835 }; 836 837 lpuart1_rx_pb10: lpuart1_rx_pb10 { 838 pinmux = <STM32_PINMUX('B', 10, AF8)>; 839 }; 840 841 lpuart1_rx_pc0: lpuart1_rx_pc0 { 842 pinmux = <STM32_PINMUX('C', 0, AF8)>; 843 }; 844 845 usart2_rx_pa3: usart2_rx_pa3 { 846 pinmux = <STM32_PINMUX('A', 3, AF7)>; 847 }; 848 849 usart3_rx_pb11: usart3_rx_pb11 { 850 pinmux = <STM32_PINMUX('B', 11, AF7)>; 851 }; 852 853 usart3_rx_pc5: usart3_rx_pc5 { 854 pinmux = <STM32_PINMUX('C', 5, AF7)>; 855 }; 856 857 usart3_rx_pc11: usart3_rx_pc11 { 858 pinmux = <STM32_PINMUX('C', 11, AF7)>; 859 }; 860 861 uart4_rx_pa1: uart4_rx_pa1 { 862 pinmux = <STM32_PINMUX('A', 1, AF8)>; 863 }; 864 865 uart4_rx_pc11: uart4_rx_pc11 { 866 pinmux = <STM32_PINMUX('C', 11, AF8)>; 867 }; 868 869 uart5_rx_pd2: uart5_rx_pd2 { 870 pinmux = <STM32_PINMUX('D', 2, AF8)>; 871 }; 872 873 /* UART_TX / USART_TX / LPUART_TX */ 874 875 usart1_tx_pa9: usart1_tx_pa9 { 876 pinmux = <STM32_PINMUX('A', 9, AF7)>; 877 bias-pull-up; 878 }; 879 880 usart1_tx_pb6: usart1_tx_pb6 { 881 pinmux = <STM32_PINMUX('B', 6, AF7)>; 882 bias-pull-up; 883 }; 884 885 lpuart1_tx_pb11: lpuart1_tx_pb11 { 886 pinmux = <STM32_PINMUX('B', 11, AF8)>; 887 bias-pull-up; 888 }; 889 890 lpuart1_tx_pc1: lpuart1_tx_pc1 { 891 pinmux = <STM32_PINMUX('C', 1, AF8)>; 892 bias-pull-up; 893 }; 894 895 usart2_tx_pa2: usart2_tx_pa2 { 896 pinmux = <STM32_PINMUX('A', 2, AF7)>; 897 bias-pull-up; 898 }; 899 900 usart3_tx_pb10: usart3_tx_pb10 { 901 pinmux = <STM32_PINMUX('B', 10, AF7)>; 902 bias-pull-up; 903 }; 904 905 usart3_tx_pc4: usart3_tx_pc4 { 906 pinmux = <STM32_PINMUX('C', 4, AF7)>; 907 bias-pull-up; 908 }; 909 910 usart3_tx_pc10: usart3_tx_pc10 { 911 pinmux = <STM32_PINMUX('C', 10, AF7)>; 912 bias-pull-up; 913 }; 914 915 uart4_tx_pa0: uart4_tx_pa0 { 916 pinmux = <STM32_PINMUX('A', 0, AF8)>; 917 bias-pull-up; 918 }; 919 920 uart4_tx_pc10: uart4_tx_pc10 { 921 pinmux = <STM32_PINMUX('C', 10, AF8)>; 922 bias-pull-up; 923 }; 924 925 uart5_tx_pc12: uart5_tx_pc12 { 926 pinmux = <STM32_PINMUX('C', 12, AF8)>; 927 bias-pull-up; 928 }; 929 930 /* USB_OTG_FS */ 931 932 usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 933 pinmux = <STM32_PINMUX('A', 8, AF10)>; 934 }; 935 936 usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 937 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 938 }; 939 940 usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 941 pinmux = <STM32_PINMUX('A', 10, AF10)>; 942 }; 943 944 usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 945 pinmux = <STM32_PINMUX('A', 11, AF10)>; 946 }; 947 948 usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 949 pinmux = <STM32_PINMUX('A', 12, AF10)>; 950 }; 951 952 }; 953 }; 954};