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_in1_pa0: adc1_in1_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 adc1_in2_pa1: adc1_in2_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 adc1_in3_pa2: adc1_in3_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 adc1_in4_pa3: adc1_in4_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 adc1_in15_pb0: adc1_in15_pb0 { 32 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 33 }; 34 35 adc1_in12_pb1: adc1_in12_pb1 { 36 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 37 }; 38 39 adc1_in14_pb11: adc1_in14_pb11 { 40 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 41 }; 42 43 adc1_in11_pb12: adc1_in11_pb12 { 44 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 45 }; 46 47 adc1_in5_pb14: adc1_in5_pb14 { 48 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 49 }; 50 51 adc1_in10_pf0: adc1_in10_pf0 { 52 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 53 }; 54 55 adc2_in1_pa0: adc2_in1_pa0 { 56 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 57 }; 58 59 adc2_in2_pa1: adc2_in2_pa1 { 60 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 61 }; 62 63 adc2_in17_pa4: adc2_in17_pa4 { 64 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 65 }; 66 67 adc2_in13_pa5: adc2_in13_pa5 { 68 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 69 }; 70 71 adc2_in3_pa6: adc2_in3_pa6 { 72 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 73 }; 74 75 adc2_in4_pa7: adc2_in4_pa7 { 76 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 77 }; 78 79 adc2_in12_pb2: adc2_in12_pb2 { 80 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 81 }; 82 83 adc2_in14_pb11: adc2_in14_pb11 { 84 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 85 }; 86 87 adc2_in15_pb15: adc2_in15_pb15 { 88 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 89 }; 90 91 adc2_in5_pc4: adc2_in5_pc4 { 92 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 93 }; 94 95 adc2_in10_pf1: adc2_in10_pf1 { 96 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 97 }; 98 99 adc3_in12_pb0: adc3_in12_pb0 { 100 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 101 }; 102 103 adc3_in1_pb1: adc3_in1_pb1 { 104 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 105 }; 106 107 adc3_in5_pb13: adc3_in5_pb13 { 108 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 109 }; 110 111 adc4_in3_pb12: adc4_in3_pb12 { 112 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 113 }; 114 115 adc4_in4_pb14: adc4_in4_pb14 { 116 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 117 }; 118 119 adc4_in5_pb15: adc4_in5_pb15 { 120 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 121 }; 122 123 adc5_in1_pa8: adc5_in1_pa8 { 124 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 125 }; 126 127 adc5_in2_pa9: adc5_in2_pa9 { 128 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 129 }; 130 131 /* DAC_OUT */ 132 133 dac1_out1_pa4: dac1_out1_pa4 { 134 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 135 }; 136 137 dac1_out2_pa5: dac1_out2_pa5 { 138 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 139 }; 140 141 dac2_out1_pa6: dac2_out1_pa6 { 142 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 143 }; 144 145 /* FDCAN_RX */ 146 147 fdcan1_rx_pa11: fdcan1_rx_pa11 { 148 pinmux = <STM32_PINMUX('A', 11, AF9)>; 149 }; 150 151 fdcan1_rx_pb8: fdcan1_rx_pb8 { 152 pinmux = <STM32_PINMUX('B', 8, AF9)>; 153 }; 154 155 fdcan2_rx_pb5: fdcan2_rx_pb5 { 156 pinmux = <STM32_PINMUX('B', 5, AF9)>; 157 }; 158 159 fdcan2_rx_pb12: fdcan2_rx_pb12 { 160 pinmux = <STM32_PINMUX('B', 12, AF9)>; 161 }; 162 163 fdcan3_rx_pa8: fdcan3_rx_pa8 { 164 pinmux = <STM32_PINMUX('A', 8, AF11)>; 165 }; 166 167 fdcan3_rx_pb3: fdcan3_rx_pb3 { 168 pinmux = <STM32_PINMUX('B', 3, AF11)>; 169 }; 170 171 /* FDCAN_TX */ 172 173 fdcan1_tx_pa12: fdcan1_tx_pa12 { 174 pinmux = <STM32_PINMUX('A', 12, AF9)>; 175 }; 176 177 fdcan1_tx_pb9: fdcan1_tx_pb9 { 178 pinmux = <STM32_PINMUX('B', 9, AF9)>; 179 }; 180 181 fdcan2_tx_pb6: fdcan2_tx_pb6 { 182 pinmux = <STM32_PINMUX('B', 6, AF9)>; 183 }; 184 185 fdcan2_tx_pb13: fdcan2_tx_pb13 { 186 pinmux = <STM32_PINMUX('B', 13, AF9)>; 187 }; 188 189 fdcan3_tx_pa15: fdcan3_tx_pa15 { 190 pinmux = <STM32_PINMUX('A', 15, AF11)>; 191 }; 192 193 fdcan3_tx_pb4: fdcan3_tx_pb4 { 194 pinmux = <STM32_PINMUX('B', 4, AF11)>; 195 }; 196 197 /* I2C_SCL */ 198 199 i2c1_scl_pa13: i2c1_scl_pa13 { 200 pinmux = <STM32_PINMUX('A', 13, AF4)>; 201 bias-pull-up; 202 drive-open-drain; 203 }; 204 205 i2c1_scl_pa15: i2c1_scl_pa15 { 206 pinmux = <STM32_PINMUX('A', 15, AF4)>; 207 bias-pull-up; 208 drive-open-drain; 209 }; 210 211 i2c1_scl_pb8: i2c1_scl_pb8 { 212 pinmux = <STM32_PINMUX('B', 8, AF4)>; 213 bias-pull-up; 214 drive-open-drain; 215 }; 216 217 i2c2_scl_pa9: i2c2_scl_pa9 { 218 pinmux = <STM32_PINMUX('A', 9, AF4)>; 219 bias-pull-up; 220 drive-open-drain; 221 }; 222 223 i2c2_scl_pc4: i2c2_scl_pc4 { 224 pinmux = <STM32_PINMUX('C', 4, AF4)>; 225 bias-pull-up; 226 drive-open-drain; 227 }; 228 229 i2c3_scl_pa8: i2c3_scl_pa8 { 230 pinmux = <STM32_PINMUX('A', 8, AF2)>; 231 bias-pull-up; 232 drive-open-drain; 233 }; 234 235 i2c4_scl_pa13: i2c4_scl_pa13 { 236 pinmux = <STM32_PINMUX('A', 13, AF3)>; 237 bias-pull-up; 238 drive-open-drain; 239 }; 240 241 i2c4_scl_pc6: i2c4_scl_pc6 { 242 pinmux = <STM32_PINMUX('C', 6, AF8)>; 243 bias-pull-up; 244 drive-open-drain; 245 }; 246 247 /* I2C_SDA */ 248 249 i2c1_sda_pa14: i2c1_sda_pa14 { 250 pinmux = <STM32_PINMUX('A', 14, AF4)>; 251 bias-pull-up; 252 drive-open-drain; 253 }; 254 255 i2c1_sda_pb7: i2c1_sda_pb7 { 256 pinmux = <STM32_PINMUX('B', 7, AF4)>; 257 bias-pull-up; 258 drive-open-drain; 259 }; 260 261 i2c1_sda_pb9: i2c1_sda_pb9 { 262 pinmux = <STM32_PINMUX('B', 9, AF4)>; 263 bias-pull-up; 264 drive-open-drain; 265 }; 266 267 i2c2_sda_pa8: i2c2_sda_pa8 { 268 pinmux = <STM32_PINMUX('A', 8, AF4)>; 269 bias-pull-up; 270 drive-open-drain; 271 }; 272 273 i2c2_sda_pf0: i2c2_sda_pf0 { 274 pinmux = <STM32_PINMUX('F', 0, AF4)>; 275 bias-pull-up; 276 drive-open-drain; 277 }; 278 279 i2c3_sda_pb5: i2c3_sda_pb5 { 280 pinmux = <STM32_PINMUX('B', 5, AF8)>; 281 bias-pull-up; 282 drive-open-drain; 283 }; 284 285 i2c3_sda_pc11: i2c3_sda_pc11 { 286 pinmux = <STM32_PINMUX('C', 11, AF8)>; 287 bias-pull-up; 288 drive-open-drain; 289 }; 290 291 i2c4_sda_pb7: i2c4_sda_pb7 { 292 pinmux = <STM32_PINMUX('B', 7, AF3)>; 293 bias-pull-up; 294 drive-open-drain; 295 }; 296 297 /* I2S_CK */ 298 299 i2s2_ck_pb13: i2s2_ck_pb13 { 300 pinmux = <STM32_PINMUX('B', 13, AF5)>; 301 slew-rate = "very-high-speed"; 302 }; 303 304 i2s2_ck_pf1: i2s2_ck_pf1 { 305 pinmux = <STM32_PINMUX('F', 1, AF5)>; 306 slew-rate = "very-high-speed"; 307 }; 308 309 i2s3_ck_pb3: i2s3_ck_pb3 { 310 pinmux = <STM32_PINMUX('B', 3, AF6)>; 311 slew-rate = "very-high-speed"; 312 }; 313 314 i2s3_ck_pc10: i2s3_ck_pc10 { 315 pinmux = <STM32_PINMUX('C', 10, AF6)>; 316 slew-rate = "very-high-speed"; 317 }; 318 319 /* I2S_SD */ 320 321 i2s2_sd_pa11: i2s2_sd_pa11 { 322 pinmux = <STM32_PINMUX('A', 11, AF5)>; 323 }; 324 325 i2s2_sd_pb15: i2s2_sd_pb15 { 326 pinmux = <STM32_PINMUX('B', 15, AF5)>; 327 }; 328 329 i2s3_sd_pb5: i2s3_sd_pb5 { 330 pinmux = <STM32_PINMUX('B', 5, AF6)>; 331 }; 332 333 /* I2S_WS */ 334 335 i2s2_ws_pb12: i2s2_ws_pb12 { 336 pinmux = <STM32_PINMUX('B', 12, AF5)>; 337 }; 338 339 i2s2_ws_pf0: i2s2_ws_pf0 { 340 pinmux = <STM32_PINMUX('F', 0, AF5)>; 341 }; 342 343 i2s3_ws_pa4: i2s3_ws_pa4 { 344 pinmux = <STM32_PINMUX('A', 4, AF6)>; 345 }; 346 347 i2s3_ws_pa15: i2s3_ws_pa15 { 348 pinmux = <STM32_PINMUX('A', 15, AF6)>; 349 }; 350 351 /* SPI_MISO */ 352 353 spi1_miso_pa6: spi1_miso_pa6 { 354 pinmux = <STM32_PINMUX('A', 6, AF5)>; 355 bias-pull-down; 356 }; 357 358 spi1_miso_pb4: spi1_miso_pb4 { 359 pinmux = <STM32_PINMUX('B', 4, AF5)>; 360 bias-pull-down; 361 }; 362 363 spi2_miso_pa10: spi2_miso_pa10 { 364 pinmux = <STM32_PINMUX('A', 10, AF5)>; 365 bias-pull-down; 366 }; 367 368 spi2_miso_pb14: spi2_miso_pb14 { 369 pinmux = <STM32_PINMUX('B', 14, AF5)>; 370 bias-pull-down; 371 }; 372 373 spi3_miso_pb4: spi3_miso_pb4 { 374 pinmux = <STM32_PINMUX('B', 4, AF6)>; 375 bias-pull-down; 376 }; 377 378 spi3_miso_pc11: spi3_miso_pc11 { 379 pinmux = <STM32_PINMUX('C', 11, AF6)>; 380 bias-pull-down; 381 }; 382 383 /* SPI_MOSI */ 384 385 spi1_mosi_pa7: spi1_mosi_pa7 { 386 pinmux = <STM32_PINMUX('A', 7, AF5)>; 387 bias-pull-down; 388 }; 389 390 spi1_mosi_pb5: spi1_mosi_pb5 { 391 pinmux = <STM32_PINMUX('B', 5, AF5)>; 392 bias-pull-down; 393 }; 394 395 spi2_mosi_pa11: spi2_mosi_pa11 { 396 pinmux = <STM32_PINMUX('A', 11, AF5)>; 397 bias-pull-down; 398 }; 399 400 spi2_mosi_pb15: spi2_mosi_pb15 { 401 pinmux = <STM32_PINMUX('B', 15, AF5)>; 402 bias-pull-down; 403 }; 404 405 spi3_mosi_pb5: spi3_mosi_pb5 { 406 pinmux = <STM32_PINMUX('B', 5, AF6)>; 407 bias-pull-down; 408 }; 409 410 /* SPI_NSS */ 411 412 spi1_nss_pa4: spi1_nss_pa4 { 413 pinmux = <STM32_PINMUX('A', 4, AF5)>; 414 bias-pull-up; 415 }; 416 417 spi1_nss_pa15: spi1_nss_pa15 { 418 pinmux = <STM32_PINMUX('A', 15, AF5)>; 419 bias-pull-up; 420 }; 421 422 spi2_nss_pb12: spi2_nss_pb12 { 423 pinmux = <STM32_PINMUX('B', 12, AF5)>; 424 bias-pull-up; 425 }; 426 427 spi2_nss_pf0: spi2_nss_pf0 { 428 pinmux = <STM32_PINMUX('F', 0, AF5)>; 429 bias-pull-up; 430 }; 431 432 spi3_nss_pa4: spi3_nss_pa4 { 433 pinmux = <STM32_PINMUX('A', 4, AF6)>; 434 bias-pull-up; 435 }; 436 437 spi3_nss_pa15: spi3_nss_pa15 { 438 pinmux = <STM32_PINMUX('A', 15, AF6)>; 439 bias-pull-up; 440 }; 441 442 /* SPI_SCK */ 443 444 spi1_sck_pa5: spi1_sck_pa5 { 445 pinmux = <STM32_PINMUX('A', 5, AF5)>; 446 bias-pull-down; 447 slew-rate = "very-high-speed"; 448 }; 449 450 spi1_sck_pb3: spi1_sck_pb3 { 451 pinmux = <STM32_PINMUX('B', 3, AF5)>; 452 bias-pull-down; 453 slew-rate = "very-high-speed"; 454 }; 455 456 spi2_sck_pb13: spi2_sck_pb13 { 457 pinmux = <STM32_PINMUX('B', 13, AF5)>; 458 bias-pull-down; 459 slew-rate = "very-high-speed"; 460 }; 461 462 spi2_sck_pf1: spi2_sck_pf1 { 463 pinmux = <STM32_PINMUX('F', 1, AF5)>; 464 bias-pull-down; 465 slew-rate = "very-high-speed"; 466 }; 467 468 spi3_sck_pb3: spi3_sck_pb3 { 469 pinmux = <STM32_PINMUX('B', 3, AF6)>; 470 bias-pull-down; 471 slew-rate = "very-high-speed"; 472 }; 473 474 spi3_sck_pc10: spi3_sck_pc10 { 475 pinmux = <STM32_PINMUX('C', 10, AF6)>; 476 bias-pull-down; 477 slew-rate = "very-high-speed"; 478 }; 479 480 /* TIM_CH / TIM_CHN */ 481 482 tim20_ch1_pb2: tim20_ch1_pb2 { 483 pinmux = <STM32_PINMUX('B', 2, AF3)>; 484 }; 485 486 tim1_ch1n_pa7: tim1_ch1n_pa7 { 487 pinmux = <STM32_PINMUX('A', 7, AF6)>; 488 }; 489 490 tim1_ch1_pa8: tim1_ch1_pa8 { 491 pinmux = <STM32_PINMUX('A', 8, AF6)>; 492 }; 493 494 tim1_ch2_pa9: tim1_ch2_pa9 { 495 pinmux = <STM32_PINMUX('A', 9, AF6)>; 496 }; 497 498 tim1_ch3_pa10: tim1_ch3_pa10 { 499 pinmux = <STM32_PINMUX('A', 10, AF6)>; 500 }; 501 502 tim1_ch1n_pa11: tim1_ch1n_pa11 { 503 pinmux = <STM32_PINMUX('A', 11, AF6)>; 504 }; 505 506 tim1_ch4_pa11: tim1_ch4_pa11 { 507 pinmux = <STM32_PINMUX('A', 11, AF11)>; 508 }; 509 510 tim1_ch2n_pa12: tim1_ch2n_pa12 { 511 pinmux = <STM32_PINMUX('A', 12, AF6)>; 512 }; 513 514 tim1_ch2n_pb0: tim1_ch2n_pb0 { 515 pinmux = <STM32_PINMUX('B', 0, AF6)>; 516 }; 517 518 tim1_ch3n_pb1: tim1_ch3n_pb1 { 519 pinmux = <STM32_PINMUX('B', 1, AF6)>; 520 }; 521 522 tim1_ch3n_pb9: tim1_ch3n_pb9 { 523 pinmux = <STM32_PINMUX('B', 9, AF12)>; 524 }; 525 526 tim1_ch1n_pb13: tim1_ch1n_pb13 { 527 pinmux = <STM32_PINMUX('B', 13, AF6)>; 528 }; 529 530 tim1_ch2n_pb14: tim1_ch2n_pb14 { 531 pinmux = <STM32_PINMUX('B', 14, AF6)>; 532 }; 533 534 tim1_ch3n_pb15: tim1_ch3n_pb15 { 535 pinmux = <STM32_PINMUX('B', 15, AF4)>; 536 }; 537 538 tim1_ch1n_pc13: tim1_ch1n_pc13 { 539 pinmux = <STM32_PINMUX('C', 13, AF4)>; 540 }; 541 542 tim1_ch3n_pf0: tim1_ch3n_pf0 { 543 pinmux = <STM32_PINMUX('F', 0, AF6)>; 544 }; 545 546 tim2_ch1_pa0: tim2_ch1_pa0 { 547 pinmux = <STM32_PINMUX('A', 0, AF1)>; 548 }; 549 550 tim2_ch2_pa1: tim2_ch2_pa1 { 551 pinmux = <STM32_PINMUX('A', 1, AF1)>; 552 }; 553 554 tim2_ch3_pa2: tim2_ch3_pa2 { 555 pinmux = <STM32_PINMUX('A', 2, AF1)>; 556 }; 557 558 tim2_ch4_pa3: tim2_ch4_pa3 { 559 pinmux = <STM32_PINMUX('A', 3, AF1)>; 560 }; 561 562 tim2_ch1_pa5: tim2_ch1_pa5 { 563 pinmux = <STM32_PINMUX('A', 5, AF1)>; 564 }; 565 566 tim2_ch3_pa9: tim2_ch3_pa9 { 567 pinmux = <STM32_PINMUX('A', 9, AF10)>; 568 }; 569 570 tim2_ch4_pa10: tim2_ch4_pa10 { 571 pinmux = <STM32_PINMUX('A', 10, AF10)>; 572 }; 573 574 tim2_ch1_pa15: tim2_ch1_pa15 { 575 pinmux = <STM32_PINMUX('A', 15, AF1)>; 576 }; 577 578 tim2_ch2_pb3: tim2_ch2_pb3 { 579 pinmux = <STM32_PINMUX('B', 3, AF1)>; 580 }; 581 582 tim2_ch3_pb10: tim2_ch3_pb10 { 583 pinmux = <STM32_PINMUX('B', 10, AF1)>; 584 }; 585 586 tim2_ch4_pb11: tim2_ch4_pb11 { 587 pinmux = <STM32_PINMUX('B', 11, AF1)>; 588 }; 589 590 tim3_ch2_pa4: tim3_ch2_pa4 { 591 pinmux = <STM32_PINMUX('A', 4, AF2)>; 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_ch4_pb7: tim3_ch4_pb7 { 619 pinmux = <STM32_PINMUX('B', 7, AF10)>; 620 }; 621 622 tim3_ch1_pc6: tim3_ch1_pc6 { 623 pinmux = <STM32_PINMUX('C', 6, AF2)>; 624 }; 625 626 tim4_ch1_pa11: tim4_ch1_pa11 { 627 pinmux = <STM32_PINMUX('A', 11, AF10)>; 628 }; 629 630 tim4_ch2_pa12: tim4_ch2_pa12 { 631 pinmux = <STM32_PINMUX('A', 12, AF10)>; 632 }; 633 634 tim4_ch3_pa13: tim4_ch3_pa13 { 635 pinmux = <STM32_PINMUX('A', 13, AF10)>; 636 }; 637 638 tim4_ch1_pb6: tim4_ch1_pb6 { 639 pinmux = <STM32_PINMUX('B', 6, AF2)>; 640 }; 641 642 tim4_ch2_pb7: tim4_ch2_pb7 { 643 pinmux = <STM32_PINMUX('B', 7, AF2)>; 644 }; 645 646 tim4_ch3_pb8: tim4_ch3_pb8 { 647 pinmux = <STM32_PINMUX('B', 8, AF2)>; 648 }; 649 650 tim4_ch4_pb9: tim4_ch4_pb9 { 651 pinmux = <STM32_PINMUX('B', 9, AF2)>; 652 }; 653 654 tim5_ch1_pa0: tim5_ch1_pa0 { 655 pinmux = <STM32_PINMUX('A', 0, AF2)>; 656 }; 657 658 tim15_ch1n_pa1: tim15_ch1n_pa1 { 659 pinmux = <STM32_PINMUX('A', 1, AF9)>; 660 }; 661 662 tim5_ch2_pa1: tim5_ch2_pa1 { 663 pinmux = <STM32_PINMUX('A', 1, AF2)>; 664 }; 665 666 tim15_ch1_pa2: tim15_ch1_pa2 { 667 pinmux = <STM32_PINMUX('A', 2, AF9)>; 668 }; 669 670 tim5_ch3_pa2: tim5_ch3_pa2 { 671 pinmux = <STM32_PINMUX('A', 2, AF2)>; 672 }; 673 674 tim15_ch2_pa3: tim15_ch2_pa3 { 675 pinmux = <STM32_PINMUX('A', 3, AF9)>; 676 }; 677 678 tim5_ch4_pa3: tim5_ch4_pa3 { 679 pinmux = <STM32_PINMUX('A', 3, AF2)>; 680 }; 681 682 tim5_ch1_pb2: tim5_ch1_pb2 { 683 pinmux = <STM32_PINMUX('B', 2, AF2)>; 684 }; 685 686 tim15_ch1_pb14: tim15_ch1_pb14 { 687 pinmux = <STM32_PINMUX('B', 14, AF1)>; 688 }; 689 690 tim15_ch1n_pb15: tim15_ch1n_pb15 { 691 pinmux = <STM32_PINMUX('B', 15, AF2)>; 692 }; 693 694 tim15_ch2_pb15: tim15_ch2_pb15 { 695 pinmux = <STM32_PINMUX('B', 15, AF1)>; 696 }; 697 698 tim16_ch1_pa6: tim16_ch1_pa6 { 699 pinmux = <STM32_PINMUX('A', 6, AF1)>; 700 }; 701 702 tim16_ch1_pa12: tim16_ch1_pa12 { 703 pinmux = <STM32_PINMUX('A', 12, AF1)>; 704 }; 705 706 tim16_ch1n_pa13: tim16_ch1n_pa13 { 707 pinmux = <STM32_PINMUX('A', 13, AF1)>; 708 }; 709 710 tim16_ch1_pb4: tim16_ch1_pb4 { 711 pinmux = <STM32_PINMUX('B', 4, AF1)>; 712 }; 713 714 tim16_ch1n_pb6: tim16_ch1n_pb6 { 715 pinmux = <STM32_PINMUX('B', 6, AF1)>; 716 }; 717 718 tim16_ch1_pb8: tim16_ch1_pb8 { 719 pinmux = <STM32_PINMUX('B', 8, AF1)>; 720 }; 721 722 tim17_ch1_pa7: tim17_ch1_pa7 { 723 pinmux = <STM32_PINMUX('A', 7, AF1)>; 724 }; 725 726 tim17_ch1_pb5: tim17_ch1_pb5 { 727 pinmux = <STM32_PINMUX('B', 5, AF10)>; 728 }; 729 730 tim17_ch1n_pb7: tim17_ch1n_pb7 { 731 pinmux = <STM32_PINMUX('B', 7, AF1)>; 732 }; 733 734 tim17_ch1_pb9: tim17_ch1_pb9 { 735 pinmux = <STM32_PINMUX('B', 9, AF1)>; 736 }; 737 738 tim8_ch1n_pa7: tim8_ch1n_pa7 { 739 pinmux = <STM32_PINMUX('A', 7, AF4)>; 740 }; 741 742 tim8_ch2_pa14: tim8_ch2_pa14 { 743 pinmux = <STM32_PINMUX('A', 14, AF5)>; 744 }; 745 746 tim8_ch1_pa15: tim8_ch1_pa15 { 747 pinmux = <STM32_PINMUX('A', 15, AF2)>; 748 }; 749 750 tim8_ch2n_pb0: tim8_ch2n_pb0 { 751 pinmux = <STM32_PINMUX('B', 0, AF4)>; 752 }; 753 754 tim8_ch3n_pb1: tim8_ch3n_pb1 { 755 pinmux = <STM32_PINMUX('B', 1, AF4)>; 756 }; 757 758 tim8_ch1n_pb3: tim8_ch1n_pb3 { 759 pinmux = <STM32_PINMUX('B', 3, AF4)>; 760 }; 761 762 tim8_ch2n_pb4: tim8_ch2n_pb4 { 763 pinmux = <STM32_PINMUX('B', 4, AF4)>; 764 }; 765 766 tim8_ch3n_pb5: tim8_ch3n_pb5 { 767 pinmux = <STM32_PINMUX('B', 5, AF3)>; 768 }; 769 770 tim8_ch1_pb6: tim8_ch1_pb6 { 771 pinmux = <STM32_PINMUX('B', 6, AF5)>; 772 }; 773 774 tim8_ch2_pb8: tim8_ch2_pb8 { 775 pinmux = <STM32_PINMUX('B', 8, AF10)>; 776 }; 777 778 tim8_ch3_pb9: tim8_ch3_pb9 { 779 pinmux = <STM32_PINMUX('B', 9, AF10)>; 780 }; 781 782 tim8_ch1_pc6: tim8_ch1_pc6 { 783 pinmux = <STM32_PINMUX('C', 6, AF4)>; 784 }; 785 786 tim8_ch1n_pc10: tim8_ch1n_pc10 { 787 pinmux = <STM32_PINMUX('C', 10, AF4)>; 788 }; 789 790 tim8_ch2n_pc11: tim8_ch2n_pc11 { 791 pinmux = <STM32_PINMUX('C', 11, AF4)>; 792 }; 793 794 tim8_ch4n_pc13: tim8_ch4n_pc13 { 795 pinmux = <STM32_PINMUX('C', 13, AF6)>; 796 }; 797 798 /* UART_CTS / USART_CTS / LPUART_CTS */ 799 800 lpuart1_cts_pa6: lpuart1_cts_pa6 { 801 pinmux = <STM32_PINMUX('A', 6, AF12)>; 802 bias-pull-up; 803 drive-open-drain; 804 }; 805 806 usart1_cts_pa11: usart1_cts_pa11 { 807 pinmux = <STM32_PINMUX('A', 11, AF7)>; 808 bias-pull-up; 809 drive-open-drain; 810 }; 811 812 lpuart1_cts_pb13: lpuart1_cts_pb13 { 813 pinmux = <STM32_PINMUX('B', 13, AF8)>; 814 bias-pull-up; 815 drive-open-drain; 816 }; 817 818 usart2_cts_pa0: usart2_cts_pa0 { 819 pinmux = <STM32_PINMUX('A', 0, AF7)>; 820 bias-pull-up; 821 drive-open-drain; 822 }; 823 824 usart3_cts_pa13: usart3_cts_pa13 { 825 pinmux = <STM32_PINMUX('A', 13, AF7)>; 826 bias-pull-up; 827 drive-open-drain; 828 }; 829 830 usart3_cts_pb13: usart3_cts_pb13 { 831 pinmux = <STM32_PINMUX('B', 13, AF7)>; 832 bias-pull-up; 833 drive-open-drain; 834 }; 835 836 uart4_cts_pb7: uart4_cts_pb7 { 837 pinmux = <STM32_PINMUX('B', 7, AF14)>; 838 bias-pull-up; 839 drive-open-drain; 840 }; 841 842 /* UART_RTS / USART_RTS / LPUART_RTS */ 843 844 usart1_rts_pa12: usart1_rts_pa12 { 845 pinmux = <STM32_PINMUX('A', 12, AF7)>; 846 bias-pull-up; 847 drive-open-drain; 848 }; 849 850 lpuart1_rts_pb1: lpuart1_rts_pb1 { 851 pinmux = <STM32_PINMUX('B', 1, AF12)>; 852 bias-pull-up; 853 drive-open-drain; 854 }; 855 856 lpuart1_rts_pb12: lpuart1_rts_pb12 { 857 pinmux = <STM32_PINMUX('B', 12, AF8)>; 858 bias-pull-up; 859 drive-open-drain; 860 }; 861 862 usart2_rts_pa1: usart2_rts_pa1 { 863 pinmux = <STM32_PINMUX('A', 1, AF7)>; 864 bias-pull-up; 865 drive-open-drain; 866 }; 867 868 usart3_rts_pb14: usart3_rts_pb14 { 869 pinmux = <STM32_PINMUX('B', 14, AF7)>; 870 bias-pull-up; 871 drive-open-drain; 872 }; 873 874 uart4_rts_pa15: uart4_rts_pa15 { 875 pinmux = <STM32_PINMUX('A', 15, AF8)>; 876 bias-pull-up; 877 drive-open-drain; 878 }; 879 880 /* UART_RX / USART_RX / LPUART_RX */ 881 882 lpuart1_rx_pa3: lpuart1_rx_pa3 { 883 pinmux = <STM32_PINMUX('A', 3, AF12)>; 884 }; 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 usart2_rx_pa3: usart2_rx_pa3 { 899 pinmux = <STM32_PINMUX('A', 3, AF7)>; 900 }; 901 902 usart2_rx_pa15: usart2_rx_pa15 { 903 pinmux = <STM32_PINMUX('A', 15, AF7)>; 904 }; 905 906 usart2_rx_pb4: usart2_rx_pb4 { 907 pinmux = <STM32_PINMUX('B', 4, AF7)>; 908 }; 909 910 usart3_rx_pb8: usart3_rx_pb8 { 911 pinmux = <STM32_PINMUX('B', 8, AF7)>; 912 }; 913 914 usart3_rx_pb11: usart3_rx_pb11 { 915 pinmux = <STM32_PINMUX('B', 11, AF7)>; 916 }; 917 918 usart3_rx_pc11: usart3_rx_pc11 { 919 pinmux = <STM32_PINMUX('C', 11, AF7)>; 920 }; 921 922 uart4_rx_pc11: uart4_rx_pc11 { 923 pinmux = <STM32_PINMUX('C', 11, AF5)>; 924 }; 925 926 /* UART_TX / USART_TX / LPUART_TX */ 927 928 lpuart1_tx_pa2: lpuart1_tx_pa2 { 929 pinmux = <STM32_PINMUX('A', 2, AF12)>; 930 bias-pull-up; 931 }; 932 933 usart1_tx_pa9: usart1_tx_pa9 { 934 pinmux = <STM32_PINMUX('A', 9, AF7)>; 935 bias-pull-up; 936 }; 937 938 usart1_tx_pb6: usart1_tx_pb6 { 939 pinmux = <STM32_PINMUX('B', 6, AF7)>; 940 bias-pull-up; 941 }; 942 943 lpuart1_tx_pb11: lpuart1_tx_pb11 { 944 pinmux = <STM32_PINMUX('B', 11, AF8)>; 945 bias-pull-up; 946 }; 947 948 usart1_tx_pc4: usart1_tx_pc4 { 949 pinmux = <STM32_PINMUX('C', 4, AF7)>; 950 bias-pull-up; 951 }; 952 953 usart2_tx_pa2: usart2_tx_pa2 { 954 pinmux = <STM32_PINMUX('A', 2, AF7)>; 955 bias-pull-up; 956 }; 957 958 usart2_tx_pa14: usart2_tx_pa14 { 959 pinmux = <STM32_PINMUX('A', 14, AF7)>; 960 bias-pull-up; 961 }; 962 963 usart2_tx_pb3: usart2_tx_pb3 { 964 pinmux = <STM32_PINMUX('B', 3, AF7)>; 965 bias-pull-up; 966 }; 967 968 usart3_tx_pb9: usart3_tx_pb9 { 969 pinmux = <STM32_PINMUX('B', 9, AF7)>; 970 bias-pull-up; 971 }; 972 973 usart3_tx_pb10: usart3_tx_pb10 { 974 pinmux = <STM32_PINMUX('B', 10, AF7)>; 975 bias-pull-up; 976 }; 977 978 usart3_tx_pc10: usart3_tx_pc10 { 979 pinmux = <STM32_PINMUX('C', 10, AF7)>; 980 bias-pull-up; 981 }; 982 983 uart4_tx_pc10: uart4_tx_pc10 { 984 pinmux = <STM32_PINMUX('C', 10, AF5)>; 985 bias-pull-up; 986 }; 987 988 /* USB */ 989 990 usb_dm_pa11: usb_dm_pa11 { 991 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 992 }; 993 994 usb_dp_pa12: usb_dp_pa12 { 995 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 996 }; 997 998 }; 999 }; 1000};