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 /* HRTIM_CH */ 198 199 hrtim1_cha1_pa8: hrtim1_cha1_pa8 { 200 pinmux = <STM32_PINMUX('A', 8, AF13)>; 201 }; 202 203 hrtim1_cha2_pa9: hrtim1_cha2_pa9 { 204 pinmux = <STM32_PINMUX('A', 9, AF13)>; 205 }; 206 207 hrtim1_chb1_pa10: hrtim1_chb1_pa10 { 208 pinmux = <STM32_PINMUX('A', 10, AF13)>; 209 }; 210 211 hrtim1_chb2_pa11: hrtim1_chb2_pa11 { 212 pinmux = <STM32_PINMUX('A', 11, AF13)>; 213 }; 214 215 hrtim1_chc1_pb12: hrtim1_chc1_pb12 { 216 pinmux = <STM32_PINMUX('B', 12, AF13)>; 217 }; 218 219 hrtim1_chc2_pb13: hrtim1_chc2_pb13 { 220 pinmux = <STM32_PINMUX('B', 13, AF13)>; 221 }; 222 223 hrtim1_chd1_pb14: hrtim1_chd1_pb14 { 224 pinmux = <STM32_PINMUX('B', 14, AF13)>; 225 }; 226 227 hrtim1_chd2_pb15: hrtim1_chd2_pb15 { 228 pinmux = <STM32_PINMUX('B', 15, AF13)>; 229 }; 230 231 hrtim1_chf1_pc6: hrtim1_chf1_pc6 { 232 pinmux = <STM32_PINMUX('C', 6, AF13)>; 233 }; 234 235 /* HRTIM_EEV */ 236 237 hrtim1_eev9_pb3: hrtim1_eev9_pb3 { 238 pinmux = <STM32_PINMUX('B', 3, AF13)>; 239 }; 240 241 hrtim1_eev7_pb4: hrtim1_eev7_pb4 { 242 pinmux = <STM32_PINMUX('B', 4, AF13)>; 243 }; 244 245 hrtim1_eev6_pb5: hrtim1_eev6_pb5 { 246 pinmux = <STM32_PINMUX('B', 5, AF13)>; 247 }; 248 249 hrtim1_eev4_pb6: hrtim1_eev4_pb6 { 250 pinmux = <STM32_PINMUX('B', 6, AF13)>; 251 }; 252 253 hrtim1_eev3_pb7: hrtim1_eev3_pb7 { 254 pinmux = <STM32_PINMUX('B', 7, AF13)>; 255 }; 256 257 hrtim1_eev8_pb8: hrtim1_eev8_pb8 { 258 pinmux = <STM32_PINMUX('B', 8, AF13)>; 259 }; 260 261 hrtim1_eev5_pb9: hrtim1_eev5_pb9 { 262 pinmux = <STM32_PINMUX('B', 9, AF13)>; 263 }; 264 265 hrtim1_eev10_pc6: hrtim1_eev10_pc6 { 266 pinmux = <STM32_PINMUX('C', 6, AF3)>; 267 }; 268 269 hrtim1_eev2_pc11: hrtim1_eev2_pc11 { 270 pinmux = <STM32_PINMUX('C', 11, AF3)>; 271 }; 272 273 /* HRTIM_SCIN / HRTIM_SCOUT */ 274 275 hrtim1_scout_pb1: hrtim1_scout_pb1 { 276 pinmux = <STM32_PINMUX('B', 1, AF13)>; 277 }; 278 279 hrtim1_scin_pb2: hrtim1_scin_pb2 { 280 pinmux = <STM32_PINMUX('B', 2, AF13)>; 281 }; 282 283 hrtim1_scout_pb3: hrtim1_scout_pb3 { 284 pinmux = <STM32_PINMUX('B', 3, AF12)>; 285 }; 286 287 hrtim1_scin_pb6: hrtim1_scin_pb6 { 288 pinmux = <STM32_PINMUX('B', 6, AF12)>; 289 }; 290 291 /* I2C_SCL */ 292 293 i2c1_scl_pa13: i2c1_scl_pa13 { 294 pinmux = <STM32_PINMUX('A', 13, AF4)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 i2c1_scl_pa15: i2c1_scl_pa15 { 300 pinmux = <STM32_PINMUX('A', 15, AF4)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 i2c1_scl_pb8: i2c1_scl_pb8 { 306 pinmux = <STM32_PINMUX('B', 8, AF4)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 i2c2_scl_pa9: i2c2_scl_pa9 { 312 pinmux = <STM32_PINMUX('A', 9, AF4)>; 313 bias-pull-up; 314 drive-open-drain; 315 }; 316 317 i2c2_scl_pc4: i2c2_scl_pc4 { 318 pinmux = <STM32_PINMUX('C', 4, AF4)>; 319 bias-pull-up; 320 drive-open-drain; 321 }; 322 323 i2c3_scl_pa8: i2c3_scl_pa8 { 324 pinmux = <STM32_PINMUX('A', 8, AF2)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 i2c4_scl_pa13: i2c4_scl_pa13 { 330 pinmux = <STM32_PINMUX('A', 13, AF3)>; 331 bias-pull-up; 332 drive-open-drain; 333 }; 334 335 i2c4_scl_pc6: i2c4_scl_pc6 { 336 pinmux = <STM32_PINMUX('C', 6, AF8)>; 337 bias-pull-up; 338 drive-open-drain; 339 }; 340 341 /* I2C_SDA */ 342 343 i2c1_sda_pa14: i2c1_sda_pa14 { 344 pinmux = <STM32_PINMUX('A', 14, AF4)>; 345 bias-pull-up; 346 drive-open-drain; 347 }; 348 349 i2c1_sda_pb7: i2c1_sda_pb7 { 350 pinmux = <STM32_PINMUX('B', 7, AF4)>; 351 bias-pull-up; 352 drive-open-drain; 353 }; 354 355 i2c1_sda_pb9: i2c1_sda_pb9 { 356 pinmux = <STM32_PINMUX('B', 9, AF4)>; 357 bias-pull-up; 358 drive-open-drain; 359 }; 360 361 i2c2_sda_pa8: i2c2_sda_pa8 { 362 pinmux = <STM32_PINMUX('A', 8, AF4)>; 363 bias-pull-up; 364 drive-open-drain; 365 }; 366 367 i2c2_sda_pf0: i2c2_sda_pf0 { 368 pinmux = <STM32_PINMUX('F', 0, AF4)>; 369 bias-pull-up; 370 drive-open-drain; 371 }; 372 373 i2c3_sda_pb5: i2c3_sda_pb5 { 374 pinmux = <STM32_PINMUX('B', 5, AF8)>; 375 bias-pull-up; 376 drive-open-drain; 377 }; 378 379 i2c3_sda_pc11: i2c3_sda_pc11 { 380 pinmux = <STM32_PINMUX('C', 11, AF8)>; 381 bias-pull-up; 382 drive-open-drain; 383 }; 384 385 i2c4_sda_pb7: i2c4_sda_pb7 { 386 pinmux = <STM32_PINMUX('B', 7, AF3)>; 387 bias-pull-up; 388 drive-open-drain; 389 }; 390 391 /* I2S_CK */ 392 393 i2s2_ck_pb13: i2s2_ck_pb13 { 394 pinmux = <STM32_PINMUX('B', 13, AF5)>; 395 slew-rate = "very-high-speed"; 396 }; 397 398 i2s2_ck_pf1: i2s2_ck_pf1 { 399 pinmux = <STM32_PINMUX('F', 1, AF5)>; 400 slew-rate = "very-high-speed"; 401 }; 402 403 i2s3_ck_pb3: i2s3_ck_pb3 { 404 pinmux = <STM32_PINMUX('B', 3, AF6)>; 405 slew-rate = "very-high-speed"; 406 }; 407 408 i2s3_ck_pc10: i2s3_ck_pc10 { 409 pinmux = <STM32_PINMUX('C', 10, AF6)>; 410 slew-rate = "very-high-speed"; 411 }; 412 413 /* I2S_SD */ 414 415 i2s2_sd_pa11: i2s2_sd_pa11 { 416 pinmux = <STM32_PINMUX('A', 11, AF5)>; 417 }; 418 419 i2s2_sd_pb15: i2s2_sd_pb15 { 420 pinmux = <STM32_PINMUX('B', 15, AF5)>; 421 }; 422 423 i2s3_sd_pb5: i2s3_sd_pb5 { 424 pinmux = <STM32_PINMUX('B', 5, AF6)>; 425 }; 426 427 /* I2S_WS */ 428 429 i2s2_ws_pb12: i2s2_ws_pb12 { 430 pinmux = <STM32_PINMUX('B', 12, AF5)>; 431 }; 432 433 i2s2_ws_pf0: i2s2_ws_pf0 { 434 pinmux = <STM32_PINMUX('F', 0, AF5)>; 435 }; 436 437 i2s3_ws_pa4: i2s3_ws_pa4 { 438 pinmux = <STM32_PINMUX('A', 4, AF6)>; 439 }; 440 441 i2s3_ws_pa15: i2s3_ws_pa15 { 442 pinmux = <STM32_PINMUX('A', 15, AF6)>; 443 }; 444 445 /* SPI_MISO */ 446 447 spi1_miso_pa6: spi1_miso_pa6 { 448 pinmux = <STM32_PINMUX('A', 6, AF5)>; 449 bias-pull-down; 450 }; 451 452 spi1_miso_pb4: spi1_miso_pb4 { 453 pinmux = <STM32_PINMUX('B', 4, AF5)>; 454 bias-pull-down; 455 }; 456 457 spi2_miso_pa10: spi2_miso_pa10 { 458 pinmux = <STM32_PINMUX('A', 10, AF5)>; 459 bias-pull-down; 460 }; 461 462 spi2_miso_pb14: spi2_miso_pb14 { 463 pinmux = <STM32_PINMUX('B', 14, AF5)>; 464 bias-pull-down; 465 }; 466 467 spi3_miso_pb4: spi3_miso_pb4 { 468 pinmux = <STM32_PINMUX('B', 4, AF6)>; 469 bias-pull-down; 470 }; 471 472 spi3_miso_pc11: spi3_miso_pc11 { 473 pinmux = <STM32_PINMUX('C', 11, AF6)>; 474 bias-pull-down; 475 }; 476 477 /* SPI_MOSI */ 478 479 spi1_mosi_pa7: spi1_mosi_pa7 { 480 pinmux = <STM32_PINMUX('A', 7, AF5)>; 481 bias-pull-down; 482 }; 483 484 spi1_mosi_pb5: spi1_mosi_pb5 { 485 pinmux = <STM32_PINMUX('B', 5, AF5)>; 486 bias-pull-down; 487 }; 488 489 spi2_mosi_pa11: spi2_mosi_pa11 { 490 pinmux = <STM32_PINMUX('A', 11, AF5)>; 491 bias-pull-down; 492 }; 493 494 spi2_mosi_pb15: spi2_mosi_pb15 { 495 pinmux = <STM32_PINMUX('B', 15, AF5)>; 496 bias-pull-down; 497 }; 498 499 spi3_mosi_pb5: spi3_mosi_pb5 { 500 pinmux = <STM32_PINMUX('B', 5, AF6)>; 501 bias-pull-down; 502 }; 503 504 /* SPI_NSS */ 505 506 spi1_nss_pa4: spi1_nss_pa4 { 507 pinmux = <STM32_PINMUX('A', 4, AF5)>; 508 bias-pull-up; 509 }; 510 511 spi1_nss_pa15: spi1_nss_pa15 { 512 pinmux = <STM32_PINMUX('A', 15, AF5)>; 513 bias-pull-up; 514 }; 515 516 spi2_nss_pb12: spi2_nss_pb12 { 517 pinmux = <STM32_PINMUX('B', 12, AF5)>; 518 bias-pull-up; 519 }; 520 521 spi2_nss_pf0: spi2_nss_pf0 { 522 pinmux = <STM32_PINMUX('F', 0, AF5)>; 523 bias-pull-up; 524 }; 525 526 spi3_nss_pa4: spi3_nss_pa4 { 527 pinmux = <STM32_PINMUX('A', 4, AF6)>; 528 bias-pull-up; 529 }; 530 531 spi3_nss_pa15: spi3_nss_pa15 { 532 pinmux = <STM32_PINMUX('A', 15, AF6)>; 533 bias-pull-up; 534 }; 535 536 /* SPI_SCK */ 537 538 spi1_sck_pa5: spi1_sck_pa5 { 539 pinmux = <STM32_PINMUX('A', 5, AF5)>; 540 bias-pull-down; 541 slew-rate = "very-high-speed"; 542 }; 543 544 spi1_sck_pb3: spi1_sck_pb3 { 545 pinmux = <STM32_PINMUX('B', 3, AF5)>; 546 bias-pull-down; 547 slew-rate = "very-high-speed"; 548 }; 549 550 spi2_sck_pb13: spi2_sck_pb13 { 551 pinmux = <STM32_PINMUX('B', 13, AF5)>; 552 bias-pull-down; 553 slew-rate = "very-high-speed"; 554 }; 555 556 spi2_sck_pf1: spi2_sck_pf1 { 557 pinmux = <STM32_PINMUX('F', 1, AF5)>; 558 bias-pull-down; 559 slew-rate = "very-high-speed"; 560 }; 561 562 spi3_sck_pb3: spi3_sck_pb3 { 563 pinmux = <STM32_PINMUX('B', 3, AF6)>; 564 bias-pull-down; 565 slew-rate = "very-high-speed"; 566 }; 567 568 spi3_sck_pc10: spi3_sck_pc10 { 569 pinmux = <STM32_PINMUX('C', 10, AF6)>; 570 bias-pull-down; 571 slew-rate = "very-high-speed"; 572 }; 573 574 /* TIM_CH / TIM_CHN */ 575 576 tim20_ch1_pb2: tim20_ch1_pb2 { 577 pinmux = <STM32_PINMUX('B', 2, AF3)>; 578 }; 579 580 tim1_ch1n_pa7: tim1_ch1n_pa7 { 581 pinmux = <STM32_PINMUX('A', 7, AF6)>; 582 }; 583 584 tim1_ch1_pa8: tim1_ch1_pa8 { 585 pinmux = <STM32_PINMUX('A', 8, AF6)>; 586 }; 587 588 tim1_ch2_pa9: tim1_ch2_pa9 { 589 pinmux = <STM32_PINMUX('A', 9, AF6)>; 590 }; 591 592 tim1_ch3_pa10: tim1_ch3_pa10 { 593 pinmux = <STM32_PINMUX('A', 10, AF6)>; 594 }; 595 596 tim1_ch1n_pa11: tim1_ch1n_pa11 { 597 pinmux = <STM32_PINMUX('A', 11, AF6)>; 598 }; 599 600 tim1_ch4_pa11: tim1_ch4_pa11 { 601 pinmux = <STM32_PINMUX('A', 11, AF11)>; 602 }; 603 604 tim1_ch2n_pa12: tim1_ch2n_pa12 { 605 pinmux = <STM32_PINMUX('A', 12, AF6)>; 606 }; 607 608 tim1_ch2n_pb0: tim1_ch2n_pb0 { 609 pinmux = <STM32_PINMUX('B', 0, AF6)>; 610 }; 611 612 tim1_ch3n_pb1: tim1_ch3n_pb1 { 613 pinmux = <STM32_PINMUX('B', 1, AF6)>; 614 }; 615 616 tim1_ch3n_pb9: tim1_ch3n_pb9 { 617 pinmux = <STM32_PINMUX('B', 9, AF12)>; 618 }; 619 620 tim1_ch1n_pb13: tim1_ch1n_pb13 { 621 pinmux = <STM32_PINMUX('B', 13, AF6)>; 622 }; 623 624 tim1_ch2n_pb14: tim1_ch2n_pb14 { 625 pinmux = <STM32_PINMUX('B', 14, AF6)>; 626 }; 627 628 tim1_ch3n_pb15: tim1_ch3n_pb15 { 629 pinmux = <STM32_PINMUX('B', 15, AF4)>; 630 }; 631 632 tim1_ch1n_pc13: tim1_ch1n_pc13 { 633 pinmux = <STM32_PINMUX('C', 13, AF4)>; 634 }; 635 636 tim1_ch3n_pf0: tim1_ch3n_pf0 { 637 pinmux = <STM32_PINMUX('F', 0, AF6)>; 638 }; 639 640 tim2_ch1_pa0: tim2_ch1_pa0 { 641 pinmux = <STM32_PINMUX('A', 0, AF1)>; 642 }; 643 644 tim2_ch2_pa1: tim2_ch2_pa1 { 645 pinmux = <STM32_PINMUX('A', 1, AF1)>; 646 }; 647 648 tim2_ch3_pa2: tim2_ch3_pa2 { 649 pinmux = <STM32_PINMUX('A', 2, AF1)>; 650 }; 651 652 tim2_ch4_pa3: tim2_ch4_pa3 { 653 pinmux = <STM32_PINMUX('A', 3, AF1)>; 654 }; 655 656 tim2_ch1_pa5: tim2_ch1_pa5 { 657 pinmux = <STM32_PINMUX('A', 5, AF1)>; 658 }; 659 660 tim2_ch3_pa9: tim2_ch3_pa9 { 661 pinmux = <STM32_PINMUX('A', 9, AF10)>; 662 }; 663 664 tim2_ch4_pa10: tim2_ch4_pa10 { 665 pinmux = <STM32_PINMUX('A', 10, AF10)>; 666 }; 667 668 tim2_ch1_pa15: tim2_ch1_pa15 { 669 pinmux = <STM32_PINMUX('A', 15, AF1)>; 670 }; 671 672 tim2_ch2_pb3: tim2_ch2_pb3 { 673 pinmux = <STM32_PINMUX('B', 3, AF1)>; 674 }; 675 676 tim2_ch3_pb10: tim2_ch3_pb10 { 677 pinmux = <STM32_PINMUX('B', 10, AF1)>; 678 }; 679 680 tim2_ch4_pb11: tim2_ch4_pb11 { 681 pinmux = <STM32_PINMUX('B', 11, AF1)>; 682 }; 683 684 tim3_ch2_pa4: tim3_ch2_pa4 { 685 pinmux = <STM32_PINMUX('A', 4, AF2)>; 686 }; 687 688 tim3_ch1_pa6: tim3_ch1_pa6 { 689 pinmux = <STM32_PINMUX('A', 6, AF2)>; 690 }; 691 692 tim3_ch2_pa7: tim3_ch2_pa7 { 693 pinmux = <STM32_PINMUX('A', 7, AF2)>; 694 }; 695 696 tim3_ch3_pb0: tim3_ch3_pb0 { 697 pinmux = <STM32_PINMUX('B', 0, AF2)>; 698 }; 699 700 tim3_ch4_pb1: tim3_ch4_pb1 { 701 pinmux = <STM32_PINMUX('B', 1, AF2)>; 702 }; 703 704 tim3_ch1_pb4: tim3_ch1_pb4 { 705 pinmux = <STM32_PINMUX('B', 4, AF2)>; 706 }; 707 708 tim3_ch2_pb5: tim3_ch2_pb5 { 709 pinmux = <STM32_PINMUX('B', 5, AF2)>; 710 }; 711 712 tim3_ch4_pb7: tim3_ch4_pb7 { 713 pinmux = <STM32_PINMUX('B', 7, AF10)>; 714 }; 715 716 tim3_ch1_pc6: tim3_ch1_pc6 { 717 pinmux = <STM32_PINMUX('C', 6, AF2)>; 718 }; 719 720 tim4_ch1_pa11: tim4_ch1_pa11 { 721 pinmux = <STM32_PINMUX('A', 11, AF10)>; 722 }; 723 724 tim4_ch2_pa12: tim4_ch2_pa12 { 725 pinmux = <STM32_PINMUX('A', 12, AF10)>; 726 }; 727 728 tim4_ch3_pa13: tim4_ch3_pa13 { 729 pinmux = <STM32_PINMUX('A', 13, AF10)>; 730 }; 731 732 tim4_ch1_pb6: tim4_ch1_pb6 { 733 pinmux = <STM32_PINMUX('B', 6, AF2)>; 734 }; 735 736 tim4_ch2_pb7: tim4_ch2_pb7 { 737 pinmux = <STM32_PINMUX('B', 7, AF2)>; 738 }; 739 740 tim4_ch3_pb8: tim4_ch3_pb8 { 741 pinmux = <STM32_PINMUX('B', 8, AF2)>; 742 }; 743 744 tim4_ch4_pb9: tim4_ch4_pb9 { 745 pinmux = <STM32_PINMUX('B', 9, AF2)>; 746 }; 747 748 tim5_ch1_pa0: tim5_ch1_pa0 { 749 pinmux = <STM32_PINMUX('A', 0, AF2)>; 750 }; 751 752 tim15_ch1n_pa1: tim15_ch1n_pa1 { 753 pinmux = <STM32_PINMUX('A', 1, AF9)>; 754 }; 755 756 tim5_ch2_pa1: tim5_ch2_pa1 { 757 pinmux = <STM32_PINMUX('A', 1, AF2)>; 758 }; 759 760 tim15_ch1_pa2: tim15_ch1_pa2 { 761 pinmux = <STM32_PINMUX('A', 2, AF9)>; 762 }; 763 764 tim5_ch3_pa2: tim5_ch3_pa2 { 765 pinmux = <STM32_PINMUX('A', 2, AF2)>; 766 }; 767 768 tim15_ch2_pa3: tim15_ch2_pa3 { 769 pinmux = <STM32_PINMUX('A', 3, AF9)>; 770 }; 771 772 tim5_ch4_pa3: tim5_ch4_pa3 { 773 pinmux = <STM32_PINMUX('A', 3, AF2)>; 774 }; 775 776 tim5_ch1_pb2: tim5_ch1_pb2 { 777 pinmux = <STM32_PINMUX('B', 2, AF2)>; 778 }; 779 780 tim15_ch1_pb14: tim15_ch1_pb14 { 781 pinmux = <STM32_PINMUX('B', 14, AF1)>; 782 }; 783 784 tim15_ch1n_pb15: tim15_ch1n_pb15 { 785 pinmux = <STM32_PINMUX('B', 15, AF2)>; 786 }; 787 788 tim15_ch2_pb15: tim15_ch2_pb15 { 789 pinmux = <STM32_PINMUX('B', 15, AF1)>; 790 }; 791 792 tim16_ch1_pa6: tim16_ch1_pa6 { 793 pinmux = <STM32_PINMUX('A', 6, AF1)>; 794 }; 795 796 tim16_ch1_pa12: tim16_ch1_pa12 { 797 pinmux = <STM32_PINMUX('A', 12, AF1)>; 798 }; 799 800 tim16_ch1n_pa13: tim16_ch1n_pa13 { 801 pinmux = <STM32_PINMUX('A', 13, AF1)>; 802 }; 803 804 tim16_ch1_pb4: tim16_ch1_pb4 { 805 pinmux = <STM32_PINMUX('B', 4, AF1)>; 806 }; 807 808 tim16_ch1n_pb6: tim16_ch1n_pb6 { 809 pinmux = <STM32_PINMUX('B', 6, AF1)>; 810 }; 811 812 tim16_ch1_pb8: tim16_ch1_pb8 { 813 pinmux = <STM32_PINMUX('B', 8, AF1)>; 814 }; 815 816 tim17_ch1_pa7: tim17_ch1_pa7 { 817 pinmux = <STM32_PINMUX('A', 7, AF1)>; 818 }; 819 820 tim17_ch1_pb5: tim17_ch1_pb5 { 821 pinmux = <STM32_PINMUX('B', 5, AF10)>; 822 }; 823 824 tim17_ch1n_pb7: tim17_ch1n_pb7 { 825 pinmux = <STM32_PINMUX('B', 7, AF1)>; 826 }; 827 828 tim17_ch1_pb9: tim17_ch1_pb9 { 829 pinmux = <STM32_PINMUX('B', 9, AF1)>; 830 }; 831 832 tim8_ch1n_pa7: tim8_ch1n_pa7 { 833 pinmux = <STM32_PINMUX('A', 7, AF4)>; 834 }; 835 836 tim8_ch2_pa14: tim8_ch2_pa14 { 837 pinmux = <STM32_PINMUX('A', 14, AF5)>; 838 }; 839 840 tim8_ch1_pa15: tim8_ch1_pa15 { 841 pinmux = <STM32_PINMUX('A', 15, AF2)>; 842 }; 843 844 tim8_ch2n_pb0: tim8_ch2n_pb0 { 845 pinmux = <STM32_PINMUX('B', 0, AF4)>; 846 }; 847 848 tim8_ch3n_pb1: tim8_ch3n_pb1 { 849 pinmux = <STM32_PINMUX('B', 1, AF4)>; 850 }; 851 852 tim8_ch1n_pb3: tim8_ch1n_pb3 { 853 pinmux = <STM32_PINMUX('B', 3, AF4)>; 854 }; 855 856 tim8_ch2n_pb4: tim8_ch2n_pb4 { 857 pinmux = <STM32_PINMUX('B', 4, AF4)>; 858 }; 859 860 tim8_ch3n_pb5: tim8_ch3n_pb5 { 861 pinmux = <STM32_PINMUX('B', 5, AF3)>; 862 }; 863 864 tim8_ch1_pb6: tim8_ch1_pb6 { 865 pinmux = <STM32_PINMUX('B', 6, AF5)>; 866 }; 867 868 tim8_ch2_pb8: tim8_ch2_pb8 { 869 pinmux = <STM32_PINMUX('B', 8, AF10)>; 870 }; 871 872 tim8_ch3_pb9: tim8_ch3_pb9 { 873 pinmux = <STM32_PINMUX('B', 9, AF10)>; 874 }; 875 876 tim8_ch1_pc6: tim8_ch1_pc6 { 877 pinmux = <STM32_PINMUX('C', 6, AF4)>; 878 }; 879 880 tim8_ch1n_pc10: tim8_ch1n_pc10 { 881 pinmux = <STM32_PINMUX('C', 10, AF4)>; 882 }; 883 884 tim8_ch2n_pc11: tim8_ch2n_pc11 { 885 pinmux = <STM32_PINMUX('C', 11, AF4)>; 886 }; 887 888 tim8_ch4n_pc13: tim8_ch4n_pc13 { 889 pinmux = <STM32_PINMUX('C', 13, AF6)>; 890 }; 891 892 /* UART_CTS / USART_CTS / LPUART_CTS */ 893 894 lpuart1_cts_pa6: lpuart1_cts_pa6 { 895 pinmux = <STM32_PINMUX('A', 6, AF12)>; 896 bias-pull-up; 897 drive-open-drain; 898 }; 899 900 usart1_cts_pa11: usart1_cts_pa11 { 901 pinmux = <STM32_PINMUX('A', 11, AF7)>; 902 bias-pull-up; 903 drive-open-drain; 904 }; 905 906 lpuart1_cts_pb13: lpuart1_cts_pb13 { 907 pinmux = <STM32_PINMUX('B', 13, AF8)>; 908 bias-pull-up; 909 drive-open-drain; 910 }; 911 912 usart2_cts_pa0: usart2_cts_pa0 { 913 pinmux = <STM32_PINMUX('A', 0, AF7)>; 914 bias-pull-up; 915 drive-open-drain; 916 }; 917 918 usart3_cts_pa13: usart3_cts_pa13 { 919 pinmux = <STM32_PINMUX('A', 13, AF7)>; 920 bias-pull-up; 921 drive-open-drain; 922 }; 923 924 usart3_cts_pb13: usart3_cts_pb13 { 925 pinmux = <STM32_PINMUX('B', 13, AF7)>; 926 bias-pull-up; 927 drive-open-drain; 928 }; 929 930 uart4_cts_pb7: uart4_cts_pb7 { 931 pinmux = <STM32_PINMUX('B', 7, AF14)>; 932 bias-pull-up; 933 drive-open-drain; 934 }; 935 936 /* UART_RTS / USART_RTS / LPUART_RTS */ 937 938 usart1_rts_pa12: usart1_rts_pa12 { 939 pinmux = <STM32_PINMUX('A', 12, AF7)>; 940 bias-pull-up; 941 drive-open-drain; 942 }; 943 944 lpuart1_rts_pb1: lpuart1_rts_pb1 { 945 pinmux = <STM32_PINMUX('B', 1, AF12)>; 946 bias-pull-up; 947 drive-open-drain; 948 }; 949 950 lpuart1_rts_pb12: lpuart1_rts_pb12 { 951 pinmux = <STM32_PINMUX('B', 12, AF8)>; 952 bias-pull-up; 953 drive-open-drain; 954 }; 955 956 usart2_rts_pa1: usart2_rts_pa1 { 957 pinmux = <STM32_PINMUX('A', 1, AF7)>; 958 bias-pull-up; 959 drive-open-drain; 960 }; 961 962 usart3_rts_pb14: usart3_rts_pb14 { 963 pinmux = <STM32_PINMUX('B', 14, AF7)>; 964 bias-pull-up; 965 drive-open-drain; 966 }; 967 968 uart4_rts_pa15: uart4_rts_pa15 { 969 pinmux = <STM32_PINMUX('A', 15, AF8)>; 970 bias-pull-up; 971 drive-open-drain; 972 }; 973 974 /* UART_RX / USART_RX / LPUART_RX */ 975 976 lpuart1_rx_pa3: lpuart1_rx_pa3 { 977 pinmux = <STM32_PINMUX('A', 3, AF12)>; 978 }; 979 980 usart1_rx_pa10: usart1_rx_pa10 { 981 pinmux = <STM32_PINMUX('A', 10, AF7)>; 982 }; 983 984 usart1_rx_pb7: usart1_rx_pb7 { 985 pinmux = <STM32_PINMUX('B', 7, AF7)>; 986 }; 987 988 lpuart1_rx_pb10: lpuart1_rx_pb10 { 989 pinmux = <STM32_PINMUX('B', 10, AF8)>; 990 }; 991 992 usart2_rx_pa3: usart2_rx_pa3 { 993 pinmux = <STM32_PINMUX('A', 3, AF7)>; 994 }; 995 996 usart2_rx_pa15: usart2_rx_pa15 { 997 pinmux = <STM32_PINMUX('A', 15, AF7)>; 998 }; 999 1000 usart2_rx_pb4: usart2_rx_pb4 { 1001 pinmux = <STM32_PINMUX('B', 4, AF7)>; 1002 }; 1003 1004 usart3_rx_pb8: usart3_rx_pb8 { 1005 pinmux = <STM32_PINMUX('B', 8, AF7)>; 1006 }; 1007 1008 usart3_rx_pb11: usart3_rx_pb11 { 1009 pinmux = <STM32_PINMUX('B', 11, AF7)>; 1010 }; 1011 1012 usart3_rx_pc11: usart3_rx_pc11 { 1013 pinmux = <STM32_PINMUX('C', 11, AF7)>; 1014 }; 1015 1016 uart4_rx_pc11: uart4_rx_pc11 { 1017 pinmux = <STM32_PINMUX('C', 11, AF5)>; 1018 }; 1019 1020 /* UART_TX / USART_TX / LPUART_TX */ 1021 1022 lpuart1_tx_pa2: lpuart1_tx_pa2 { 1023 pinmux = <STM32_PINMUX('A', 2, AF12)>; 1024 bias-pull-up; 1025 }; 1026 1027 usart1_tx_pa9: usart1_tx_pa9 { 1028 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1029 bias-pull-up; 1030 }; 1031 1032 usart1_tx_pb6: usart1_tx_pb6 { 1033 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1034 bias-pull-up; 1035 }; 1036 1037 lpuart1_tx_pb11: lpuart1_tx_pb11 { 1038 pinmux = <STM32_PINMUX('B', 11, AF8)>; 1039 bias-pull-up; 1040 }; 1041 1042 usart1_tx_pc4: usart1_tx_pc4 { 1043 pinmux = <STM32_PINMUX('C', 4, AF7)>; 1044 bias-pull-up; 1045 }; 1046 1047 usart2_tx_pa2: usart2_tx_pa2 { 1048 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1049 bias-pull-up; 1050 }; 1051 1052 usart2_tx_pa14: usart2_tx_pa14 { 1053 pinmux = <STM32_PINMUX('A', 14, AF7)>; 1054 bias-pull-up; 1055 }; 1056 1057 usart2_tx_pb3: usart2_tx_pb3 { 1058 pinmux = <STM32_PINMUX('B', 3, AF7)>; 1059 bias-pull-up; 1060 }; 1061 1062 usart3_tx_pb9: usart3_tx_pb9 { 1063 pinmux = <STM32_PINMUX('B', 9, AF7)>; 1064 bias-pull-up; 1065 }; 1066 1067 usart3_tx_pb10: usart3_tx_pb10 { 1068 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1069 bias-pull-up; 1070 }; 1071 1072 usart3_tx_pc10: usart3_tx_pc10 { 1073 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1074 bias-pull-up; 1075 }; 1076 1077 uart4_tx_pc10: uart4_tx_pc10 { 1078 pinmux = <STM32_PINMUX('C', 10, AF5)>; 1079 bias-pull-up; 1080 }; 1081 1082 /* USB */ 1083 1084 usb_dm_pa11: usb_dm_pa11 { 1085 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1086 }; 1087 1088 usb_dp_pa12: usb_dp_pa12 { 1089 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1090 }; 1091 1092 }; 1093 }; 1094};