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 /* DAC_OUT */ 112 113 dac1_out1_pa4: dac1_out1_pa4 { 114 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 115 }; 116 117 dac1_out2_pa5: dac1_out2_pa5 { 118 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 119 }; 120 121 /* FDCAN_RX */ 122 123 fdcan1_rx_pa11: fdcan1_rx_pa11 { 124 pinmux = <STM32_PINMUX('A', 11, AF9)>; 125 }; 126 127 fdcan1_rx_pb8: fdcan1_rx_pb8 { 128 pinmux = <STM32_PINMUX('B', 8, AF9)>; 129 }; 130 131 fdcan2_rx_pb5: fdcan2_rx_pb5 { 132 pinmux = <STM32_PINMUX('B', 5, AF9)>; 133 }; 134 135 fdcan2_rx_pb12: fdcan2_rx_pb12 { 136 pinmux = <STM32_PINMUX('B', 12, AF9)>; 137 }; 138 139 /* FDCAN_TX */ 140 141 fdcan1_tx_pa12: fdcan1_tx_pa12 { 142 pinmux = <STM32_PINMUX('A', 12, AF9)>; 143 }; 144 145 fdcan1_tx_pb9: fdcan1_tx_pb9 { 146 pinmux = <STM32_PINMUX('B', 9, AF9)>; 147 }; 148 149 fdcan2_tx_pb6: fdcan2_tx_pb6 { 150 pinmux = <STM32_PINMUX('B', 6, AF9)>; 151 }; 152 153 fdcan2_tx_pb13: fdcan2_tx_pb13 { 154 pinmux = <STM32_PINMUX('B', 13, AF9)>; 155 }; 156 157 /* I2C_SCL */ 158 159 i2c1_scl_pa13: i2c1_scl_pa13 { 160 pinmux = <STM32_PINMUX('A', 13, AF4)>; 161 bias-pull-up; 162 drive-open-drain; 163 }; 164 165 i2c1_scl_pa15: i2c1_scl_pa15 { 166 pinmux = <STM32_PINMUX('A', 15, AF4)>; 167 bias-pull-up; 168 drive-open-drain; 169 }; 170 171 i2c1_scl_pb8: i2c1_scl_pb8 { 172 pinmux = <STM32_PINMUX('B', 8, AF4)>; 173 bias-pull-up; 174 drive-open-drain; 175 }; 176 177 i2c2_scl_pa9: i2c2_scl_pa9 { 178 pinmux = <STM32_PINMUX('A', 9, AF4)>; 179 bias-pull-up; 180 drive-open-drain; 181 }; 182 183 i2c2_scl_pc4: i2c2_scl_pc4 { 184 pinmux = <STM32_PINMUX('C', 4, AF4)>; 185 bias-pull-up; 186 drive-open-drain; 187 }; 188 189 i2c3_scl_pa8: i2c3_scl_pa8 { 190 pinmux = <STM32_PINMUX('A', 8, AF2)>; 191 bias-pull-up; 192 drive-open-drain; 193 }; 194 195 /* I2C_SDA */ 196 197 i2c1_sda_pa14: i2c1_sda_pa14 { 198 pinmux = <STM32_PINMUX('A', 14, AF4)>; 199 bias-pull-up; 200 drive-open-drain; 201 }; 202 203 i2c1_sda_pb7: i2c1_sda_pb7 { 204 pinmux = <STM32_PINMUX('B', 7, AF4)>; 205 bias-pull-up; 206 drive-open-drain; 207 }; 208 209 i2c1_sda_pb9: i2c1_sda_pb9 { 210 pinmux = <STM32_PINMUX('B', 9, AF4)>; 211 bias-pull-up; 212 drive-open-drain; 213 }; 214 215 i2c2_sda_pa8: i2c2_sda_pa8 { 216 pinmux = <STM32_PINMUX('A', 8, AF4)>; 217 bias-pull-up; 218 drive-open-drain; 219 }; 220 221 i2c2_sda_pf0: i2c2_sda_pf0 { 222 pinmux = <STM32_PINMUX('F', 0, AF4)>; 223 bias-pull-up; 224 drive-open-drain; 225 }; 226 227 i2c3_sda_pb5: i2c3_sda_pb5 { 228 pinmux = <STM32_PINMUX('B', 5, AF8)>; 229 bias-pull-up; 230 drive-open-drain; 231 }; 232 233 i2c3_sda_pc11: i2c3_sda_pc11 { 234 pinmux = <STM32_PINMUX('C', 11, AF8)>; 235 bias-pull-up; 236 drive-open-drain; 237 }; 238 239 /* I2S_CK */ 240 241 i2s2_ck_pb13: i2s2_ck_pb13 { 242 pinmux = <STM32_PINMUX('B', 13, AF5)>; 243 slew-rate = "very-high-speed"; 244 }; 245 246 i2s2_ck_pf1: i2s2_ck_pf1 { 247 pinmux = <STM32_PINMUX('F', 1, AF5)>; 248 slew-rate = "very-high-speed"; 249 }; 250 251 i2s3_ck_pb3: i2s3_ck_pb3 { 252 pinmux = <STM32_PINMUX('B', 3, AF6)>; 253 slew-rate = "very-high-speed"; 254 }; 255 256 i2s3_ck_pc10: i2s3_ck_pc10 { 257 pinmux = <STM32_PINMUX('C', 10, AF6)>; 258 slew-rate = "very-high-speed"; 259 }; 260 261 /* I2S_SD */ 262 263 i2s2_sd_pa11: i2s2_sd_pa11 { 264 pinmux = <STM32_PINMUX('A', 11, AF5)>; 265 }; 266 267 i2s2_sd_pb15: i2s2_sd_pb15 { 268 pinmux = <STM32_PINMUX('B', 15, AF5)>; 269 }; 270 271 i2s3_sd_pb5: i2s3_sd_pb5 { 272 pinmux = <STM32_PINMUX('B', 5, AF6)>; 273 }; 274 275 /* I2S_WS */ 276 277 i2s2_ws_pb12: i2s2_ws_pb12 { 278 pinmux = <STM32_PINMUX('B', 12, AF5)>; 279 }; 280 281 i2s2_ws_pf0: i2s2_ws_pf0 { 282 pinmux = <STM32_PINMUX('F', 0, AF5)>; 283 }; 284 285 i2s3_ws_pa4: i2s3_ws_pa4 { 286 pinmux = <STM32_PINMUX('A', 4, AF6)>; 287 }; 288 289 i2s3_ws_pa15: i2s3_ws_pa15 { 290 pinmux = <STM32_PINMUX('A', 15, AF6)>; 291 }; 292 293 /* SPI_MISO */ 294 295 spi1_miso_pa6: spi1_miso_pa6 { 296 pinmux = <STM32_PINMUX('A', 6, AF5)>; 297 bias-pull-down; 298 }; 299 300 spi1_miso_pb4: spi1_miso_pb4 { 301 pinmux = <STM32_PINMUX('B', 4, AF5)>; 302 bias-pull-down; 303 }; 304 305 spi2_miso_pa10: spi2_miso_pa10 { 306 pinmux = <STM32_PINMUX('A', 10, AF5)>; 307 bias-pull-down; 308 }; 309 310 spi2_miso_pb14: spi2_miso_pb14 { 311 pinmux = <STM32_PINMUX('B', 14, AF5)>; 312 bias-pull-down; 313 }; 314 315 spi3_miso_pb4: spi3_miso_pb4 { 316 pinmux = <STM32_PINMUX('B', 4, AF6)>; 317 bias-pull-down; 318 }; 319 320 spi3_miso_pc11: spi3_miso_pc11 { 321 pinmux = <STM32_PINMUX('C', 11, AF6)>; 322 bias-pull-down; 323 }; 324 325 /* SPI_MOSI */ 326 327 spi1_mosi_pa7: spi1_mosi_pa7 { 328 pinmux = <STM32_PINMUX('A', 7, AF5)>; 329 bias-pull-down; 330 }; 331 332 spi1_mosi_pb5: spi1_mosi_pb5 { 333 pinmux = <STM32_PINMUX('B', 5, AF5)>; 334 bias-pull-down; 335 }; 336 337 spi2_mosi_pa11: spi2_mosi_pa11 { 338 pinmux = <STM32_PINMUX('A', 11, AF5)>; 339 bias-pull-down; 340 }; 341 342 spi2_mosi_pb15: spi2_mosi_pb15 { 343 pinmux = <STM32_PINMUX('B', 15, AF5)>; 344 bias-pull-down; 345 }; 346 347 spi3_mosi_pb5: spi3_mosi_pb5 { 348 pinmux = <STM32_PINMUX('B', 5, AF6)>; 349 bias-pull-down; 350 }; 351 352 /* SPI_NSS */ 353 354 spi1_nss_pa4: spi1_nss_pa4 { 355 pinmux = <STM32_PINMUX('A', 4, AF5)>; 356 bias-pull-up; 357 }; 358 359 spi1_nss_pa15: spi1_nss_pa15 { 360 pinmux = <STM32_PINMUX('A', 15, AF5)>; 361 bias-pull-up; 362 }; 363 364 spi2_nss_pb12: spi2_nss_pb12 { 365 pinmux = <STM32_PINMUX('B', 12, AF5)>; 366 bias-pull-up; 367 }; 368 369 spi2_nss_pf0: spi2_nss_pf0 { 370 pinmux = <STM32_PINMUX('F', 0, AF5)>; 371 bias-pull-up; 372 }; 373 374 spi3_nss_pa4: spi3_nss_pa4 { 375 pinmux = <STM32_PINMUX('A', 4, AF6)>; 376 bias-pull-up; 377 }; 378 379 spi3_nss_pa15: spi3_nss_pa15 { 380 pinmux = <STM32_PINMUX('A', 15, AF6)>; 381 bias-pull-up; 382 }; 383 384 /* SPI_SCK */ 385 386 spi1_sck_pa5: spi1_sck_pa5 { 387 pinmux = <STM32_PINMUX('A', 5, AF5)>; 388 bias-pull-down; 389 slew-rate = "very-high-speed"; 390 }; 391 392 spi1_sck_pb3: spi1_sck_pb3 { 393 pinmux = <STM32_PINMUX('B', 3, AF5)>; 394 bias-pull-down; 395 slew-rate = "very-high-speed"; 396 }; 397 398 spi2_sck_pb13: spi2_sck_pb13 { 399 pinmux = <STM32_PINMUX('B', 13, AF5)>; 400 bias-pull-down; 401 slew-rate = "very-high-speed"; 402 }; 403 404 spi2_sck_pf1: spi2_sck_pf1 { 405 pinmux = <STM32_PINMUX('F', 1, AF5)>; 406 bias-pull-down; 407 slew-rate = "very-high-speed"; 408 }; 409 410 spi3_sck_pb3: spi3_sck_pb3 { 411 pinmux = <STM32_PINMUX('B', 3, AF6)>; 412 bias-pull-down; 413 slew-rate = "very-high-speed"; 414 }; 415 416 spi3_sck_pc10: spi3_sck_pc10 { 417 pinmux = <STM32_PINMUX('C', 10, AF6)>; 418 bias-pull-down; 419 slew-rate = "very-high-speed"; 420 }; 421 422 /* TIM_CH / TIM_CHN */ 423 424 tim20_ch1_pb2: tim20_ch1_pb2 { 425 pinmux = <STM32_PINMUX('B', 2, AF3)>; 426 }; 427 428 tim1_ch1n_pa7: tim1_ch1n_pa7 { 429 pinmux = <STM32_PINMUX('A', 7, AF6)>; 430 }; 431 432 tim1_ch1_pa8: tim1_ch1_pa8 { 433 pinmux = <STM32_PINMUX('A', 8, AF6)>; 434 }; 435 436 tim1_ch2_pa9: tim1_ch2_pa9 { 437 pinmux = <STM32_PINMUX('A', 9, AF6)>; 438 }; 439 440 tim1_ch3_pa10: tim1_ch3_pa10 { 441 pinmux = <STM32_PINMUX('A', 10, AF6)>; 442 }; 443 444 tim1_ch1n_pa11: tim1_ch1n_pa11 { 445 pinmux = <STM32_PINMUX('A', 11, AF6)>; 446 }; 447 448 tim1_ch4_pa11: tim1_ch4_pa11 { 449 pinmux = <STM32_PINMUX('A', 11, AF11)>; 450 }; 451 452 tim1_ch2n_pa12: tim1_ch2n_pa12 { 453 pinmux = <STM32_PINMUX('A', 12, AF6)>; 454 }; 455 456 tim1_ch2n_pb0: tim1_ch2n_pb0 { 457 pinmux = <STM32_PINMUX('B', 0, AF6)>; 458 }; 459 460 tim1_ch3n_pb1: tim1_ch3n_pb1 { 461 pinmux = <STM32_PINMUX('B', 1, AF6)>; 462 }; 463 464 tim1_ch3n_pb9: tim1_ch3n_pb9 { 465 pinmux = <STM32_PINMUX('B', 9, AF12)>; 466 }; 467 468 tim1_ch1n_pb13: tim1_ch1n_pb13 { 469 pinmux = <STM32_PINMUX('B', 13, AF6)>; 470 }; 471 472 tim1_ch2n_pb14: tim1_ch2n_pb14 { 473 pinmux = <STM32_PINMUX('B', 14, AF6)>; 474 }; 475 476 tim1_ch3n_pb15: tim1_ch3n_pb15 { 477 pinmux = <STM32_PINMUX('B', 15, AF4)>; 478 }; 479 480 tim1_ch1n_pc13: tim1_ch1n_pc13 { 481 pinmux = <STM32_PINMUX('C', 13, AF4)>; 482 }; 483 484 tim1_ch3n_pf0: tim1_ch3n_pf0 { 485 pinmux = <STM32_PINMUX('F', 0, AF6)>; 486 }; 487 488 tim2_ch1_pa0: tim2_ch1_pa0 { 489 pinmux = <STM32_PINMUX('A', 0, AF1)>; 490 }; 491 492 tim2_ch2_pa1: tim2_ch2_pa1 { 493 pinmux = <STM32_PINMUX('A', 1, AF1)>; 494 }; 495 496 tim2_ch3_pa2: tim2_ch3_pa2 { 497 pinmux = <STM32_PINMUX('A', 2, AF1)>; 498 }; 499 500 tim2_ch4_pa3: tim2_ch4_pa3 { 501 pinmux = <STM32_PINMUX('A', 3, AF1)>; 502 }; 503 504 tim2_ch1_pa5: tim2_ch1_pa5 { 505 pinmux = <STM32_PINMUX('A', 5, AF1)>; 506 }; 507 508 tim2_ch3_pa9: tim2_ch3_pa9 { 509 pinmux = <STM32_PINMUX('A', 9, AF10)>; 510 }; 511 512 tim2_ch4_pa10: tim2_ch4_pa10 { 513 pinmux = <STM32_PINMUX('A', 10, AF10)>; 514 }; 515 516 tim2_ch1_pa15: tim2_ch1_pa15 { 517 pinmux = <STM32_PINMUX('A', 15, AF1)>; 518 }; 519 520 tim2_ch2_pb3: tim2_ch2_pb3 { 521 pinmux = <STM32_PINMUX('B', 3, AF1)>; 522 }; 523 524 tim2_ch3_pb10: tim2_ch3_pb10 { 525 pinmux = <STM32_PINMUX('B', 10, AF1)>; 526 }; 527 528 tim2_ch4_pb11: tim2_ch4_pb11 { 529 pinmux = <STM32_PINMUX('B', 11, AF1)>; 530 }; 531 532 tim3_ch2_pa4: tim3_ch2_pa4 { 533 pinmux = <STM32_PINMUX('A', 4, AF2)>; 534 }; 535 536 tim3_ch1_pa6: tim3_ch1_pa6 { 537 pinmux = <STM32_PINMUX('A', 6, AF2)>; 538 }; 539 540 tim3_ch2_pa7: tim3_ch2_pa7 { 541 pinmux = <STM32_PINMUX('A', 7, AF2)>; 542 }; 543 544 tim3_ch3_pb0: tim3_ch3_pb0 { 545 pinmux = <STM32_PINMUX('B', 0, AF2)>; 546 }; 547 548 tim3_ch4_pb1: tim3_ch4_pb1 { 549 pinmux = <STM32_PINMUX('B', 1, AF2)>; 550 }; 551 552 tim3_ch1_pb4: tim3_ch1_pb4 { 553 pinmux = <STM32_PINMUX('B', 4, AF2)>; 554 }; 555 556 tim3_ch2_pb5: tim3_ch2_pb5 { 557 pinmux = <STM32_PINMUX('B', 5, AF2)>; 558 }; 559 560 tim3_ch4_pb7: tim3_ch4_pb7 { 561 pinmux = <STM32_PINMUX('B', 7, AF10)>; 562 }; 563 564 tim3_ch1_pc6: tim3_ch1_pc6 { 565 pinmux = <STM32_PINMUX('C', 6, AF2)>; 566 }; 567 568 tim4_ch1_pa11: tim4_ch1_pa11 { 569 pinmux = <STM32_PINMUX('A', 11, AF10)>; 570 }; 571 572 tim4_ch2_pa12: tim4_ch2_pa12 { 573 pinmux = <STM32_PINMUX('A', 12, AF10)>; 574 }; 575 576 tim4_ch3_pa13: tim4_ch3_pa13 { 577 pinmux = <STM32_PINMUX('A', 13, AF10)>; 578 }; 579 580 tim4_ch1_pb6: tim4_ch1_pb6 { 581 pinmux = <STM32_PINMUX('B', 6, AF2)>; 582 }; 583 584 tim4_ch2_pb7: tim4_ch2_pb7 { 585 pinmux = <STM32_PINMUX('B', 7, AF2)>; 586 }; 587 588 tim4_ch3_pb8: tim4_ch3_pb8 { 589 pinmux = <STM32_PINMUX('B', 8, AF2)>; 590 }; 591 592 tim4_ch4_pb9: tim4_ch4_pb9 { 593 pinmux = <STM32_PINMUX('B', 9, AF2)>; 594 }; 595 596 tim15_ch1n_pa1: tim15_ch1n_pa1 { 597 pinmux = <STM32_PINMUX('A', 1, AF9)>; 598 }; 599 600 tim15_ch1_pa2: tim15_ch1_pa2 { 601 pinmux = <STM32_PINMUX('A', 2, AF9)>; 602 }; 603 604 tim15_ch2_pa3: tim15_ch2_pa3 { 605 pinmux = <STM32_PINMUX('A', 3, AF9)>; 606 }; 607 608 tim15_ch1_pb14: tim15_ch1_pb14 { 609 pinmux = <STM32_PINMUX('B', 14, AF1)>; 610 }; 611 612 tim15_ch1n_pb15: tim15_ch1n_pb15 { 613 pinmux = <STM32_PINMUX('B', 15, AF2)>; 614 }; 615 616 tim15_ch2_pb15: tim15_ch2_pb15 { 617 pinmux = <STM32_PINMUX('B', 15, AF1)>; 618 }; 619 620 tim16_ch1_pa6: tim16_ch1_pa6 { 621 pinmux = <STM32_PINMUX('A', 6, AF1)>; 622 }; 623 624 tim16_ch1_pa12: tim16_ch1_pa12 { 625 pinmux = <STM32_PINMUX('A', 12, AF1)>; 626 }; 627 628 tim16_ch1n_pa13: tim16_ch1n_pa13 { 629 pinmux = <STM32_PINMUX('A', 13, AF1)>; 630 }; 631 632 tim16_ch1_pb4: tim16_ch1_pb4 { 633 pinmux = <STM32_PINMUX('B', 4, AF1)>; 634 }; 635 636 tim16_ch1n_pb6: tim16_ch1n_pb6 { 637 pinmux = <STM32_PINMUX('B', 6, AF1)>; 638 }; 639 640 tim16_ch1_pb8: tim16_ch1_pb8 { 641 pinmux = <STM32_PINMUX('B', 8, AF1)>; 642 }; 643 644 tim17_ch1_pa7: tim17_ch1_pa7 { 645 pinmux = <STM32_PINMUX('A', 7, AF1)>; 646 }; 647 648 tim17_ch1_pb5: tim17_ch1_pb5 { 649 pinmux = <STM32_PINMUX('B', 5, AF10)>; 650 }; 651 652 tim17_ch1n_pb7: tim17_ch1n_pb7 { 653 pinmux = <STM32_PINMUX('B', 7, AF1)>; 654 }; 655 656 tim17_ch1_pb9: tim17_ch1_pb9 { 657 pinmux = <STM32_PINMUX('B', 9, AF1)>; 658 }; 659 660 tim8_ch1n_pa7: tim8_ch1n_pa7 { 661 pinmux = <STM32_PINMUX('A', 7, AF4)>; 662 }; 663 664 tim8_ch2_pa14: tim8_ch2_pa14 { 665 pinmux = <STM32_PINMUX('A', 14, AF5)>; 666 }; 667 668 tim8_ch1_pa15: tim8_ch1_pa15 { 669 pinmux = <STM32_PINMUX('A', 15, AF2)>; 670 }; 671 672 tim8_ch2n_pb0: tim8_ch2n_pb0 { 673 pinmux = <STM32_PINMUX('B', 0, AF4)>; 674 }; 675 676 tim8_ch3n_pb1: tim8_ch3n_pb1 { 677 pinmux = <STM32_PINMUX('B', 1, AF4)>; 678 }; 679 680 tim8_ch1n_pb3: tim8_ch1n_pb3 { 681 pinmux = <STM32_PINMUX('B', 3, AF4)>; 682 }; 683 684 tim8_ch2n_pb4: tim8_ch2n_pb4 { 685 pinmux = <STM32_PINMUX('B', 4, AF4)>; 686 }; 687 688 tim8_ch3n_pb5: tim8_ch3n_pb5 { 689 pinmux = <STM32_PINMUX('B', 5, AF3)>; 690 }; 691 692 tim8_ch1_pb6: tim8_ch1_pb6 { 693 pinmux = <STM32_PINMUX('B', 6, AF5)>; 694 }; 695 696 tim8_ch2_pb8: tim8_ch2_pb8 { 697 pinmux = <STM32_PINMUX('B', 8, AF10)>; 698 }; 699 700 tim8_ch3_pb9: tim8_ch3_pb9 { 701 pinmux = <STM32_PINMUX('B', 9, AF10)>; 702 }; 703 704 tim8_ch1_pc6: tim8_ch1_pc6 { 705 pinmux = <STM32_PINMUX('C', 6, AF4)>; 706 }; 707 708 tim8_ch1n_pc10: tim8_ch1n_pc10 { 709 pinmux = <STM32_PINMUX('C', 10, AF4)>; 710 }; 711 712 tim8_ch2n_pc11: tim8_ch2n_pc11 { 713 pinmux = <STM32_PINMUX('C', 11, AF4)>; 714 }; 715 716 tim8_ch4n_pc13: tim8_ch4n_pc13 { 717 pinmux = <STM32_PINMUX('C', 13, AF6)>; 718 }; 719 720 /* UART_CTS / USART_CTS / LPUART_CTS */ 721 722 lpuart1_cts_pa6: lpuart1_cts_pa6 { 723 pinmux = <STM32_PINMUX('A', 6, AF12)>; 724 bias-pull-up; 725 drive-open-drain; 726 }; 727 728 usart1_cts_pa11: usart1_cts_pa11 { 729 pinmux = <STM32_PINMUX('A', 11, AF7)>; 730 bias-pull-up; 731 drive-open-drain; 732 }; 733 734 lpuart1_cts_pb13: lpuart1_cts_pb13 { 735 pinmux = <STM32_PINMUX('B', 13, AF8)>; 736 bias-pull-up; 737 drive-open-drain; 738 }; 739 740 usart2_cts_pa0: usart2_cts_pa0 { 741 pinmux = <STM32_PINMUX('A', 0, AF7)>; 742 bias-pull-up; 743 drive-open-drain; 744 }; 745 746 usart3_cts_pa13: usart3_cts_pa13 { 747 pinmux = <STM32_PINMUX('A', 13, AF7)>; 748 bias-pull-up; 749 drive-open-drain; 750 }; 751 752 usart3_cts_pb13: usart3_cts_pb13 { 753 pinmux = <STM32_PINMUX('B', 13, AF7)>; 754 bias-pull-up; 755 drive-open-drain; 756 }; 757 758 /* UART_RTS / USART_RTS / LPUART_RTS */ 759 760 usart1_rts_pa12: usart1_rts_pa12 { 761 pinmux = <STM32_PINMUX('A', 12, AF7)>; 762 bias-pull-up; 763 drive-open-drain; 764 }; 765 766 lpuart1_rts_pb1: lpuart1_rts_pb1 { 767 pinmux = <STM32_PINMUX('B', 1, AF12)>; 768 bias-pull-up; 769 drive-open-drain; 770 }; 771 772 lpuart1_rts_pb12: lpuart1_rts_pb12 { 773 pinmux = <STM32_PINMUX('B', 12, AF8)>; 774 bias-pull-up; 775 drive-open-drain; 776 }; 777 778 usart2_rts_pa1: usart2_rts_pa1 { 779 pinmux = <STM32_PINMUX('A', 1, AF7)>; 780 bias-pull-up; 781 drive-open-drain; 782 }; 783 784 usart3_rts_pb14: usart3_rts_pb14 { 785 pinmux = <STM32_PINMUX('B', 14, AF7)>; 786 bias-pull-up; 787 drive-open-drain; 788 }; 789 790 /* UART_RX / USART_RX / LPUART_RX */ 791 792 lpuart1_rx_pa3: lpuart1_rx_pa3 { 793 pinmux = <STM32_PINMUX('A', 3, AF12)>; 794 }; 795 796 usart1_rx_pa10: usart1_rx_pa10 { 797 pinmux = <STM32_PINMUX('A', 10, AF7)>; 798 }; 799 800 usart1_rx_pb7: usart1_rx_pb7 { 801 pinmux = <STM32_PINMUX('B', 7, AF7)>; 802 }; 803 804 lpuart1_rx_pb10: lpuart1_rx_pb10 { 805 pinmux = <STM32_PINMUX('B', 10, AF8)>; 806 }; 807 808 usart2_rx_pa3: usart2_rx_pa3 { 809 pinmux = <STM32_PINMUX('A', 3, AF7)>; 810 }; 811 812 usart2_rx_pa15: usart2_rx_pa15 { 813 pinmux = <STM32_PINMUX('A', 15, AF7)>; 814 }; 815 816 usart2_rx_pb4: usart2_rx_pb4 { 817 pinmux = <STM32_PINMUX('B', 4, AF7)>; 818 }; 819 820 usart3_rx_pb8: usart3_rx_pb8 { 821 pinmux = <STM32_PINMUX('B', 8, AF7)>; 822 }; 823 824 usart3_rx_pb11: usart3_rx_pb11 { 825 pinmux = <STM32_PINMUX('B', 11, AF7)>; 826 }; 827 828 usart3_rx_pc11: usart3_rx_pc11 { 829 pinmux = <STM32_PINMUX('C', 11, AF7)>; 830 }; 831 832 /* UART_TX / USART_TX / LPUART_TX */ 833 834 lpuart1_tx_pa2: lpuart1_tx_pa2 { 835 pinmux = <STM32_PINMUX('A', 2, AF12)>; 836 bias-pull-up; 837 }; 838 839 usart1_tx_pa9: usart1_tx_pa9 { 840 pinmux = <STM32_PINMUX('A', 9, AF7)>; 841 bias-pull-up; 842 }; 843 844 usart1_tx_pb6: usart1_tx_pb6 { 845 pinmux = <STM32_PINMUX('B', 6, AF7)>; 846 bias-pull-up; 847 }; 848 849 lpuart1_tx_pb11: lpuart1_tx_pb11 { 850 pinmux = <STM32_PINMUX('B', 11, AF8)>; 851 bias-pull-up; 852 }; 853 854 usart1_tx_pc4: usart1_tx_pc4 { 855 pinmux = <STM32_PINMUX('C', 4, AF7)>; 856 bias-pull-up; 857 }; 858 859 usart2_tx_pa2: usart2_tx_pa2 { 860 pinmux = <STM32_PINMUX('A', 2, AF7)>; 861 bias-pull-up; 862 }; 863 864 usart2_tx_pa14: usart2_tx_pa14 { 865 pinmux = <STM32_PINMUX('A', 14, AF7)>; 866 bias-pull-up; 867 }; 868 869 usart2_tx_pb3: usart2_tx_pb3 { 870 pinmux = <STM32_PINMUX('B', 3, AF7)>; 871 bias-pull-up; 872 }; 873 874 usart3_tx_pb9: usart3_tx_pb9 { 875 pinmux = <STM32_PINMUX('B', 9, AF7)>; 876 bias-pull-up; 877 }; 878 879 usart3_tx_pb10: usart3_tx_pb10 { 880 pinmux = <STM32_PINMUX('B', 10, AF7)>; 881 bias-pull-up; 882 }; 883 884 usart3_tx_pc10: usart3_tx_pc10 { 885 pinmux = <STM32_PINMUX('C', 10, AF7)>; 886 bias-pull-up; 887 }; 888 889 /* USB */ 890 891 usb_dm_pa11: usb_dm_pa11 { 892 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 893 }; 894 895 usb_dp_pa12: usb_dp_pa12 { 896 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 897 }; 898 899 }; 900 }; 901};