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 spi2_mosi_pd4: spi2_mosi_pd4 { 421 pinmux = <STM32_PINMUX('D', 4, AF5)>; 422 bias-pull-down; 423 }; 424 425 spi3_mosi_pb5: spi3_mosi_pb5 { 426 pinmux = <STM32_PINMUX('B', 5, AF6)>; 427 bias-pull-down; 428 }; 429 430 spi3_mosi_pc12: spi3_mosi_pc12 { 431 pinmux = <STM32_PINMUX('C', 12, AF6)>; 432 bias-pull-down; 433 }; 434 435 spi3_mosi_pg11: spi3_mosi_pg11 { 436 pinmux = <STM32_PINMUX('G', 11, AF6)>; 437 bias-pull-down; 438 }; 439 440 /* SPI_NSS */ 441 442 spi1_nss_pa4: spi1_nss_pa4 { 443 pinmux = <STM32_PINMUX('A', 4, AF5)>; 444 bias-pull-up; 445 }; 446 447 spi1_nss_pa15: spi1_nss_pa15 { 448 pinmux = <STM32_PINMUX('A', 15, AF5)>; 449 bias-pull-up; 450 }; 451 452 spi2_nss_pb9: spi2_nss_pb9 { 453 pinmux = <STM32_PINMUX('B', 9, AF5)>; 454 bias-pull-up; 455 }; 456 457 spi2_nss_pb12: spi2_nss_pb12 { 458 pinmux = <STM32_PINMUX('B', 12, AF5)>; 459 bias-pull-up; 460 }; 461 462 spi3_nss_pa4: spi3_nss_pa4 { 463 pinmux = <STM32_PINMUX('A', 4, AF6)>; 464 bias-pull-up; 465 }; 466 467 spi3_nss_pa15: spi3_nss_pa15 { 468 pinmux = <STM32_PINMUX('A', 15, AF6)>; 469 bias-pull-up; 470 }; 471 472 spi3_nss_pg12: spi3_nss_pg12 { 473 pinmux = <STM32_PINMUX('G', 12, AF6)>; 474 bias-pull-up; 475 }; 476 477 /* SPI_SCK */ 478 479 spi1_sck_pa5: spi1_sck_pa5 { 480 pinmux = <STM32_PINMUX('A', 5, AF5)>; 481 bias-pull-down; 482 slew-rate = "very-high-speed"; 483 }; 484 485 spi1_sck_pb3: spi1_sck_pb3 { 486 pinmux = <STM32_PINMUX('B', 3, AF5)>; 487 bias-pull-down; 488 slew-rate = "very-high-speed"; 489 }; 490 491 spi2_sck_pb10: spi2_sck_pb10 { 492 pinmux = <STM32_PINMUX('B', 10, AF5)>; 493 bias-pull-down; 494 slew-rate = "very-high-speed"; 495 }; 496 497 spi2_sck_pb13: spi2_sck_pb13 { 498 pinmux = <STM32_PINMUX('B', 13, AF5)>; 499 bias-pull-down; 500 slew-rate = "very-high-speed"; 501 }; 502 503 spi3_sck_pb3: spi3_sck_pb3 { 504 pinmux = <STM32_PINMUX('B', 3, AF6)>; 505 bias-pull-down; 506 slew-rate = "very-high-speed"; 507 }; 508 509 spi3_sck_pc10: spi3_sck_pc10 { 510 pinmux = <STM32_PINMUX('C', 10, AF6)>; 511 bias-pull-down; 512 slew-rate = "very-high-speed"; 513 }; 514 515 spi3_sck_pg9: spi3_sck_pg9 { 516 pinmux = <STM32_PINMUX('G', 9, AF6)>; 517 bias-pull-down; 518 slew-rate = "very-high-speed"; 519 }; 520 521 /* TIM_CH / TIM_CHN */ 522 523 tim1_ch1n_pa7: tim1_ch1n_pa7 { 524 pinmux = <STM32_PINMUX('A', 7, AF1)>; 525 }; 526 527 tim1_ch1_pa8: tim1_ch1_pa8 { 528 pinmux = <STM32_PINMUX('A', 8, AF1)>; 529 }; 530 531 tim1_ch2_pa9: tim1_ch2_pa9 { 532 pinmux = <STM32_PINMUX('A', 9, AF1)>; 533 }; 534 535 tim1_ch3_pa10: tim1_ch3_pa10 { 536 pinmux = <STM32_PINMUX('A', 10, AF1)>; 537 }; 538 539 tim1_ch4_pa11: tim1_ch4_pa11 { 540 pinmux = <STM32_PINMUX('A', 11, AF1)>; 541 }; 542 543 tim1_ch2n_pb0: tim1_ch2n_pb0 { 544 pinmux = <STM32_PINMUX('B', 0, AF1)>; 545 }; 546 547 tim1_ch3n_pb1: tim1_ch3n_pb1 { 548 pinmux = <STM32_PINMUX('B', 1, AF1)>; 549 }; 550 551 tim1_ch1n_pb13: tim1_ch1n_pb13 { 552 pinmux = <STM32_PINMUX('B', 13, AF1)>; 553 }; 554 555 tim1_ch2n_pb14: tim1_ch2n_pb14 { 556 pinmux = <STM32_PINMUX('B', 14, AF1)>; 557 }; 558 559 tim1_ch3n_pb15: tim1_ch3n_pb15 { 560 pinmux = <STM32_PINMUX('B', 15, AF1)>; 561 }; 562 563 tim1_ch1n_pe8: tim1_ch1n_pe8 { 564 pinmux = <STM32_PINMUX('E', 8, AF1)>; 565 }; 566 567 tim2_ch1_pa0: tim2_ch1_pa0 { 568 pinmux = <STM32_PINMUX('A', 0, AF1)>; 569 }; 570 571 tim2_ch2_pa1: tim2_ch2_pa1 { 572 pinmux = <STM32_PINMUX('A', 1, AF1)>; 573 }; 574 575 tim2_ch3_pa2: tim2_ch3_pa2 { 576 pinmux = <STM32_PINMUX('A', 2, AF1)>; 577 }; 578 579 tim2_ch4_pa3: tim2_ch4_pa3 { 580 pinmux = <STM32_PINMUX('A', 3, AF1)>; 581 }; 582 583 tim2_ch1_pa5: tim2_ch1_pa5 { 584 pinmux = <STM32_PINMUX('A', 5, AF1)>; 585 }; 586 587 tim2_ch1_pa15: tim2_ch1_pa15 { 588 pinmux = <STM32_PINMUX('A', 15, AF1)>; 589 }; 590 591 tim2_ch2_pb3: tim2_ch2_pb3 { 592 pinmux = <STM32_PINMUX('B', 3, AF1)>; 593 }; 594 595 tim2_ch3_pb10: tim2_ch3_pb10 { 596 pinmux = <STM32_PINMUX('B', 10, AF1)>; 597 }; 598 599 tim2_ch4_pb11: tim2_ch4_pb11 { 600 pinmux = <STM32_PINMUX('B', 11, AF1)>; 601 }; 602 603 tim3_ch1_pa6: tim3_ch1_pa6 { 604 pinmux = <STM32_PINMUX('A', 6, AF2)>; 605 }; 606 607 tim3_ch2_pa7: tim3_ch2_pa7 { 608 pinmux = <STM32_PINMUX('A', 7, AF2)>; 609 }; 610 611 tim3_ch3_pb0: tim3_ch3_pb0 { 612 pinmux = <STM32_PINMUX('B', 0, AF2)>; 613 }; 614 615 tim3_ch4_pb1: tim3_ch4_pb1 { 616 pinmux = <STM32_PINMUX('B', 1, AF2)>; 617 }; 618 619 tim3_ch1_pb4: tim3_ch1_pb4 { 620 pinmux = <STM32_PINMUX('B', 4, AF2)>; 621 }; 622 623 tim3_ch2_pb5: tim3_ch2_pb5 { 624 pinmux = <STM32_PINMUX('B', 5, AF2)>; 625 }; 626 627 tim3_ch1_pc6: tim3_ch1_pc6 { 628 pinmux = <STM32_PINMUX('C', 6, AF2)>; 629 }; 630 631 tim3_ch2_pc7: tim3_ch2_pc7 { 632 pinmux = <STM32_PINMUX('C', 7, AF2)>; 633 }; 634 635 tim3_ch3_pc8: tim3_ch3_pc8 { 636 pinmux = <STM32_PINMUX('C', 8, AF2)>; 637 }; 638 639 tim3_ch4_pc9: tim3_ch4_pc9 { 640 pinmux = <STM32_PINMUX('C', 9, AF2)>; 641 }; 642 643 tim4_ch1_pb6: tim4_ch1_pb6 { 644 pinmux = <STM32_PINMUX('B', 6, AF2)>; 645 }; 646 647 tim4_ch2_pb7: tim4_ch2_pb7 { 648 pinmux = <STM32_PINMUX('B', 7, AF2)>; 649 }; 650 651 tim4_ch3_pb8: tim4_ch3_pb8 { 652 pinmux = <STM32_PINMUX('B', 8, AF2)>; 653 }; 654 655 tim4_ch4_pb9: tim4_ch4_pb9 { 656 pinmux = <STM32_PINMUX('B', 9, AF2)>; 657 }; 658 659 tim5_ch1_pa0: tim5_ch1_pa0 { 660 pinmux = <STM32_PINMUX('A', 0, AF2)>; 661 }; 662 663 tim15_ch1n_pa1: tim15_ch1n_pa1 { 664 pinmux = <STM32_PINMUX('A', 1, AF14)>; 665 }; 666 667 tim5_ch2_pa1: tim5_ch2_pa1 { 668 pinmux = <STM32_PINMUX('A', 1, AF2)>; 669 }; 670 671 tim15_ch1_pa2: tim15_ch1_pa2 { 672 pinmux = <STM32_PINMUX('A', 2, AF14)>; 673 }; 674 675 tim5_ch3_pa2: tim5_ch3_pa2 { 676 pinmux = <STM32_PINMUX('A', 2, AF2)>; 677 }; 678 679 tim15_ch2_pa3: tim15_ch2_pa3 { 680 pinmux = <STM32_PINMUX('A', 3, AF14)>; 681 }; 682 683 tim5_ch4_pa3: tim5_ch4_pa3 { 684 pinmux = <STM32_PINMUX('A', 3, AF2)>; 685 }; 686 687 tim15_ch1n_pb13: tim15_ch1n_pb13 { 688 pinmux = <STM32_PINMUX('B', 13, AF14)>; 689 }; 690 691 tim15_ch1_pb14: tim15_ch1_pb14 { 692 pinmux = <STM32_PINMUX('B', 14, AF14)>; 693 }; 694 695 tim15_ch2_pb15: tim15_ch2_pb15 { 696 pinmux = <STM32_PINMUX('B', 15, AF14)>; 697 }; 698 699 tim15_ch1n_pg9: tim15_ch1n_pg9 { 700 pinmux = <STM32_PINMUX('G', 9, AF14)>; 701 }; 702 703 tim15_ch1_pg10: tim15_ch1_pg10 { 704 pinmux = <STM32_PINMUX('G', 10, AF14)>; 705 }; 706 707 tim15_ch2_pg11: tim15_ch2_pg11 { 708 pinmux = <STM32_PINMUX('G', 11, AF14)>; 709 }; 710 711 tim16_ch1_pa6: tim16_ch1_pa6 { 712 pinmux = <STM32_PINMUX('A', 6, AF14)>; 713 }; 714 715 tim16_ch1n_pb6: tim16_ch1n_pb6 { 716 pinmux = <STM32_PINMUX('B', 6, AF14)>; 717 }; 718 719 tim16_ch1_pb8: tim16_ch1_pb8 { 720 pinmux = <STM32_PINMUX('B', 8, AF14)>; 721 }; 722 723 tim17_ch1_pa7: tim17_ch1_pa7 { 724 pinmux = <STM32_PINMUX('A', 7, AF14)>; 725 }; 726 727 tim17_ch1n_pb7: tim17_ch1n_pb7 { 728 pinmux = <STM32_PINMUX('B', 7, AF14)>; 729 }; 730 731 tim17_ch1_pb9: tim17_ch1_pb9 { 732 pinmux = <STM32_PINMUX('B', 9, AF14)>; 733 }; 734 735 tim8_ch1n_pa5: tim8_ch1n_pa5 { 736 pinmux = <STM32_PINMUX('A', 5, AF3)>; 737 }; 738 739 tim8_ch1n_pa7: tim8_ch1n_pa7 { 740 pinmux = <STM32_PINMUX('A', 7, AF3)>; 741 }; 742 743 tim8_ch2n_pb0: tim8_ch2n_pb0 { 744 pinmux = <STM32_PINMUX('B', 0, AF3)>; 745 }; 746 747 tim8_ch3n_pb1: tim8_ch3n_pb1 { 748 pinmux = <STM32_PINMUX('B', 1, AF3)>; 749 }; 750 751 tim8_ch2n_pb14: tim8_ch2n_pb14 { 752 pinmux = <STM32_PINMUX('B', 14, AF3)>; 753 }; 754 755 tim8_ch3n_pb15: tim8_ch3n_pb15 { 756 pinmux = <STM32_PINMUX('B', 15, AF3)>; 757 }; 758 759 tim8_ch1_pc6: tim8_ch1_pc6 { 760 pinmux = <STM32_PINMUX('C', 6, AF3)>; 761 }; 762 763 tim8_ch2_pc7: tim8_ch2_pc7 { 764 pinmux = <STM32_PINMUX('C', 7, AF3)>; 765 }; 766 767 tim8_ch3_pc8: tim8_ch3_pc8 { 768 pinmux = <STM32_PINMUX('C', 8, AF3)>; 769 }; 770 771 tim8_ch4_pc9: tim8_ch4_pc9 { 772 pinmux = <STM32_PINMUX('C', 9, AF3)>; 773 }; 774 775 /* UART_CTS / USART_CTS / LPUART_CTS */ 776 777 usart1_cts_pa11: usart1_cts_pa11 { 778 pinmux = <STM32_PINMUX('A', 11, AF7)>; 779 bias-pull-up; 780 drive-open-drain; 781 }; 782 783 usart1_cts_pb4: usart1_cts_pb4 { 784 pinmux = <STM32_PINMUX('B', 4, AF7)>; 785 bias-pull-up; 786 drive-open-drain; 787 }; 788 789 lpuart1_cts_pb13: lpuart1_cts_pb13 { 790 pinmux = <STM32_PINMUX('B', 13, AF8)>; 791 bias-pull-up; 792 drive-open-drain; 793 }; 794 795 usart1_cts_pg11: usart1_cts_pg11 { 796 pinmux = <STM32_PINMUX('G', 11, AF7)>; 797 bias-pull-up; 798 drive-open-drain; 799 }; 800 801 usart2_cts_pa0: usart2_cts_pa0 { 802 pinmux = <STM32_PINMUX('A', 0, AF7)>; 803 bias-pull-up; 804 drive-open-drain; 805 }; 806 807 usart3_cts_pa6: usart3_cts_pa6 { 808 pinmux = <STM32_PINMUX('A', 6, AF7)>; 809 bias-pull-up; 810 drive-open-drain; 811 }; 812 813 usart3_cts_pb13: usart3_cts_pb13 { 814 pinmux = <STM32_PINMUX('B', 13, AF7)>; 815 bias-pull-up; 816 drive-open-drain; 817 }; 818 819 uart4_cts_pb7: uart4_cts_pb7 { 820 pinmux = <STM32_PINMUX('B', 7, AF8)>; 821 bias-pull-up; 822 drive-open-drain; 823 }; 824 825 uart5_cts_pb5: uart5_cts_pb5 { 826 pinmux = <STM32_PINMUX('B', 5, AF8)>; 827 bias-pull-up; 828 drive-open-drain; 829 }; 830 831 /* UART_RTS / USART_RTS / LPUART_RTS */ 832 833 usart1_rts_pa12: usart1_rts_pa12 { 834 pinmux = <STM32_PINMUX('A', 12, AF7)>; 835 bias-pull-up; 836 drive-open-drain; 837 }; 838 839 usart1_rts_pb3: usart1_rts_pb3 { 840 pinmux = <STM32_PINMUX('B', 3, AF7)>; 841 bias-pull-up; 842 drive-open-drain; 843 }; 844 845 lpuart1_rts_pb12: lpuart1_rts_pb12 { 846 pinmux = <STM32_PINMUX('B', 12, AF8)>; 847 bias-pull-up; 848 drive-open-drain; 849 }; 850 851 usart1_rts_pg12: usart1_rts_pg12 { 852 pinmux = <STM32_PINMUX('G', 12, AF7)>; 853 bias-pull-up; 854 drive-open-drain; 855 }; 856 857 usart2_rts_pa1: usart2_rts_pa1 { 858 pinmux = <STM32_PINMUX('A', 1, AF7)>; 859 bias-pull-up; 860 drive-open-drain; 861 }; 862 863 usart2_rts_pd4: usart2_rts_pd4 { 864 pinmux = <STM32_PINMUX('D', 4, AF7)>; 865 bias-pull-up; 866 drive-open-drain; 867 }; 868 869 usart3_rts_pb1: usart3_rts_pb1 { 870 pinmux = <STM32_PINMUX('B', 1, AF7)>; 871 bias-pull-up; 872 drive-open-drain; 873 }; 874 875 usart3_rts_pb14: usart3_rts_pb14 { 876 pinmux = <STM32_PINMUX('B', 14, AF7)>; 877 bias-pull-up; 878 drive-open-drain; 879 }; 880 881 usart3_rts_pd2: usart3_rts_pd2 { 882 pinmux = <STM32_PINMUX('D', 2, AF7)>; 883 bias-pull-up; 884 drive-open-drain; 885 }; 886 887 uart4_rts_pa15: uart4_rts_pa15 { 888 pinmux = <STM32_PINMUX('A', 15, AF8)>; 889 bias-pull-up; 890 drive-open-drain; 891 }; 892 893 uart5_rts_pb4: uart5_rts_pb4 { 894 pinmux = <STM32_PINMUX('B', 4, AF8)>; 895 bias-pull-up; 896 drive-open-drain; 897 }; 898 899 /* UART_RX / USART_RX / LPUART_RX */ 900 901 usart1_rx_pa10: usart1_rx_pa10 { 902 pinmux = <STM32_PINMUX('A', 10, AF7)>; 903 }; 904 905 usart1_rx_pb7: usart1_rx_pb7 { 906 pinmux = <STM32_PINMUX('B', 7, AF7)>; 907 }; 908 909 lpuart1_rx_pb10: lpuart1_rx_pb10 { 910 pinmux = <STM32_PINMUX('B', 10, AF8)>; 911 }; 912 913 lpuart1_rx_pc0: lpuart1_rx_pc0 { 914 pinmux = <STM32_PINMUX('C', 0, AF8)>; 915 }; 916 917 usart1_rx_pg10: usart1_rx_pg10 { 918 pinmux = <STM32_PINMUX('G', 10, AF7)>; 919 }; 920 921 usart2_rx_pa3: usart2_rx_pa3 { 922 pinmux = <STM32_PINMUX('A', 3, AF7)>; 923 }; 924 925 usart2_rx_pd6: usart2_rx_pd6 { 926 pinmux = <STM32_PINMUX('D', 6, AF7)>; 927 }; 928 929 usart3_rx_pb11: usart3_rx_pb11 { 930 pinmux = <STM32_PINMUX('B', 11, AF7)>; 931 }; 932 933 usart3_rx_pc5: usart3_rx_pc5 { 934 pinmux = <STM32_PINMUX('C', 5, AF7)>; 935 }; 936 937 usart3_rx_pc11: usart3_rx_pc11 { 938 pinmux = <STM32_PINMUX('C', 11, AF7)>; 939 }; 940 941 usart3_rx_pd9: usart3_rx_pd9 { 942 pinmux = <STM32_PINMUX('D', 9, AF7)>; 943 }; 944 945 uart4_rx_pa1: uart4_rx_pa1 { 946 pinmux = <STM32_PINMUX('A', 1, AF8)>; 947 }; 948 949 uart4_rx_pc11: uart4_rx_pc11 { 950 pinmux = <STM32_PINMUX('C', 11, AF8)>; 951 }; 952 953 uart5_rx_pd2: uart5_rx_pd2 { 954 pinmux = <STM32_PINMUX('D', 2, AF8)>; 955 }; 956 957 /* UART_TX / USART_TX / LPUART_TX */ 958 959 usart1_tx_pa9: usart1_tx_pa9 { 960 pinmux = <STM32_PINMUX('A', 9, AF7)>; 961 bias-pull-up; 962 }; 963 964 usart1_tx_pb6: usart1_tx_pb6 { 965 pinmux = <STM32_PINMUX('B', 6, AF7)>; 966 bias-pull-up; 967 }; 968 969 lpuart1_tx_pb11: lpuart1_tx_pb11 { 970 pinmux = <STM32_PINMUX('B', 11, AF8)>; 971 bias-pull-up; 972 }; 973 974 lpuart1_tx_pc1: lpuart1_tx_pc1 { 975 pinmux = <STM32_PINMUX('C', 1, AF8)>; 976 bias-pull-up; 977 }; 978 979 usart1_tx_pg9: usart1_tx_pg9 { 980 pinmux = <STM32_PINMUX('G', 9, AF7)>; 981 bias-pull-up; 982 }; 983 984 usart2_tx_pa2: usart2_tx_pa2 { 985 pinmux = <STM32_PINMUX('A', 2, AF7)>; 986 bias-pull-up; 987 }; 988 989 usart2_tx_pd5: usart2_tx_pd5 { 990 pinmux = <STM32_PINMUX('D', 5, AF7)>; 991 bias-pull-up; 992 }; 993 994 usart3_tx_pb10: usart3_tx_pb10 { 995 pinmux = <STM32_PINMUX('B', 10, AF7)>; 996 bias-pull-up; 997 }; 998 999 usart3_tx_pc4: usart3_tx_pc4 { 1000 pinmux = <STM32_PINMUX('C', 4, AF7)>; 1001 bias-pull-up; 1002 }; 1003 1004 usart3_tx_pc10: usart3_tx_pc10 { 1005 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1006 bias-pull-up; 1007 }; 1008 1009 usart3_tx_pd8: usart3_tx_pd8 { 1010 pinmux = <STM32_PINMUX('D', 8, AF7)>; 1011 bias-pull-up; 1012 }; 1013 1014 uart4_tx_pa0: uart4_tx_pa0 { 1015 pinmux = <STM32_PINMUX('A', 0, AF8)>; 1016 bias-pull-up; 1017 }; 1018 1019 uart4_tx_pc10: uart4_tx_pc10 { 1020 pinmux = <STM32_PINMUX('C', 10, AF8)>; 1021 bias-pull-up; 1022 }; 1023 1024 uart5_tx_pc12: uart5_tx_pc12 { 1025 pinmux = <STM32_PINMUX('C', 12, AF8)>; 1026 bias-pull-up; 1027 }; 1028 1029 /* USB_OTG_FS */ 1030 1031 usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 1032 pinmux = <STM32_PINMUX('A', 8, AF10)>; 1033 }; 1034 1035 usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 1036 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 1037 }; 1038 1039 usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 1040 pinmux = <STM32_PINMUX('A', 10, AF10)>; 1041 }; 1042 1043 usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 1044 pinmux = <STM32_PINMUX('A', 11, AF10)>; 1045 }; 1046 1047 usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 1048 pinmux = <STM32_PINMUX('A', 12, AF10)>; 1049 }; 1050 1051 }; 1052 }; 1053};