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