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 adc2_in5_pa0: adc2_in5_pa0 { 56 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 57 }; 58 59 adc2_in6_pa1: adc2_in6_pa1 { 60 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 61 }; 62 63 adc2_in7_pa2: adc2_in7_pa2 { 64 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 65 }; 66 67 adc2_in8_pa3: adc2_in8_pa3 { 68 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 69 }; 70 71 adc2_in9_pa4: adc2_in9_pa4 { 72 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 73 }; 74 75 adc2_in10_pa5: adc2_in10_pa5 { 76 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 77 }; 78 79 adc2_in11_pa6: adc2_in11_pa6 { 80 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 81 }; 82 83 adc2_in12_pa7: adc2_in12_pa7 { 84 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 85 }; 86 87 adc2_in15_pb0: adc2_in15_pb0 { 88 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 89 }; 90 91 adc2_in16_pb1: adc2_in16_pb1 { 92 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 93 }; 94 95 /* CAN_RX */ 96 97 can1_rx_pa11: can1_rx_pa11 { 98 pinmux = <STM32_PINMUX('A', 11, AF9)>; 99 bias-pull-up; 100 }; 101 102 can1_rx_pb8: can1_rx_pb8 { 103 pinmux = <STM32_PINMUX('B', 8, AF9)>; 104 bias-pull-up; 105 }; 106 107 /* CAN_TX */ 108 109 can1_tx_pa12: can1_tx_pa12 { 110 pinmux = <STM32_PINMUX('A', 12, AF9)>; 111 }; 112 113 can1_tx_pb9: can1_tx_pb9 { 114 pinmux = <STM32_PINMUX('B', 9, AF9)>; 115 }; 116 117 /* DAC_OUT */ 118 119 dac1_out1_pa4: dac1_out1_pa4 { 120 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 121 }; 122 123 dac1_out2_pa5: dac1_out2_pa5 { 124 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 125 }; 126 127 /* I2C_SCL */ 128 129 i2c1_scl_pb6: i2c1_scl_pb6 { 130 pinmux = <STM32_PINMUX('B', 6, AF4)>; 131 bias-pull-up; 132 drive-open-drain; 133 }; 134 135 i2c1_scl_pb8: i2c1_scl_pb8 { 136 pinmux = <STM32_PINMUX('B', 8, AF4)>; 137 bias-pull-up; 138 drive-open-drain; 139 }; 140 141 i2c2_scl_pb10: i2c2_scl_pb10 { 142 pinmux = <STM32_PINMUX('B', 10, AF4)>; 143 bias-pull-up; 144 drive-open-drain; 145 }; 146 147 i2c2_scl_pb13: i2c2_scl_pb13 { 148 pinmux = <STM32_PINMUX('B', 13, AF4)>; 149 bias-pull-up; 150 drive-open-drain; 151 }; 152 153 i2c3_scl_pa7: i2c3_scl_pa7 { 154 pinmux = <STM32_PINMUX('A', 7, AF4)>; 155 bias-pull-up; 156 drive-open-drain; 157 }; 158 159 i2c4_scl_pb6: i2c4_scl_pb6 { 160 pinmux = <STM32_PINMUX('B', 6, AF5)>; 161 bias-pull-up; 162 drive-open-drain; 163 }; 164 165 i2c4_scl_pb10: i2c4_scl_pb10 { 166 pinmux = <STM32_PINMUX('B', 10, AF3)>; 167 bias-pull-up; 168 drive-open-drain; 169 }; 170 171 /* I2C_SDA */ 172 173 i2c1_sda_pb7: i2c1_sda_pb7 { 174 pinmux = <STM32_PINMUX('B', 7, AF4)>; 175 bias-pull-up; 176 drive-open-drain; 177 }; 178 179 i2c1_sda_pb9: i2c1_sda_pb9 { 180 pinmux = <STM32_PINMUX('B', 9, AF4)>; 181 bias-pull-up; 182 drive-open-drain; 183 }; 184 185 i2c2_sda_pb11: i2c2_sda_pb11 { 186 pinmux = <STM32_PINMUX('B', 11, AF4)>; 187 bias-pull-up; 188 drive-open-drain; 189 }; 190 191 i2c2_sda_pb14: i2c2_sda_pb14 { 192 pinmux = <STM32_PINMUX('B', 14, AF4)>; 193 bias-pull-up; 194 drive-open-drain; 195 }; 196 197 i2c3_sda_pb4: i2c3_sda_pb4 { 198 pinmux = <STM32_PINMUX('B', 4, AF4)>; 199 bias-pull-up; 200 drive-open-drain; 201 }; 202 203 i2c4_sda_pb7: i2c4_sda_pb7 { 204 pinmux = <STM32_PINMUX('B', 7, AF5)>; 205 bias-pull-up; 206 drive-open-drain; 207 }; 208 209 i2c4_sda_pb11: i2c4_sda_pb11 { 210 pinmux = <STM32_PINMUX('B', 11, AF3)>; 211 bias-pull-up; 212 drive-open-drain; 213 }; 214 215 /* SDMMC */ 216 217 sdmmc2_cmd_pa1: sdmmc2_cmd_pa1 { 218 pinmux = <STM32_PINMUX('A', 1, AF12)>; 219 bias-pull-up; 220 slew-rate = "very-high-speed"; 221 }; 222 223 sdmmc2_d2_pb3: sdmmc2_d2_pb3 { 224 pinmux = <STM32_PINMUX('B', 3, AF12)>; 225 bias-pull-up; 226 slew-rate = "very-high-speed"; 227 }; 228 229 sdmmc2_d3_pb4: sdmmc2_d3_pb4 { 230 pinmux = <STM32_PINMUX('B', 4, AF12)>; 231 bias-pull-up; 232 slew-rate = "very-high-speed"; 233 }; 234 235 sdmmc2_d4_pb8: sdmmc2_d4_pb8 { 236 pinmux = <STM32_PINMUX('B', 8, AF7)>; 237 bias-pull-up; 238 slew-rate = "very-high-speed"; 239 }; 240 241 sdmmc2_d5_pb9: sdmmc2_d5_pb9 { 242 pinmux = <STM32_PINMUX('B', 9, AF7)>; 243 bias-pull-up; 244 slew-rate = "very-high-speed"; 245 }; 246 247 sdmmc2_ck_pb12: sdmmc2_ck_pb12 { 248 pinmux = <STM32_PINMUX('B', 12, AF12)>; 249 bias-pull-up; 250 slew-rate = "very-high-speed"; 251 }; 252 253 sdmmc2_d0_pb14: sdmmc2_d0_pb14 { 254 pinmux = <STM32_PINMUX('B', 14, AF11)>; 255 bias-pull-up; 256 slew-rate = "very-high-speed"; 257 }; 258 259 sdmmc2_d1_pb15: sdmmc2_d1_pb15 { 260 pinmux = <STM32_PINMUX('B', 15, AF11)>; 261 bias-pull-up; 262 slew-rate = "very-high-speed"; 263 }; 264 265 /* SPI_MISO */ 266 267 spi1_miso_pa6: spi1_miso_pa6 { 268 pinmux = <STM32_PINMUX('A', 6, AF5)>; 269 bias-pull-down; 270 }; 271 272 spi1_miso_pa11: spi1_miso_pa11 { 273 pinmux = <STM32_PINMUX('A', 11, AF5)>; 274 bias-pull-down; 275 }; 276 277 spi1_miso_pb4: spi1_miso_pb4 { 278 pinmux = <STM32_PINMUX('B', 4, AF5)>; 279 bias-pull-down; 280 }; 281 282 spi2_miso_pb14: spi2_miso_pb14 { 283 pinmux = <STM32_PINMUX('B', 14, AF5)>; 284 bias-pull-down; 285 }; 286 287 spi3_miso_pb4: spi3_miso_pb4 { 288 pinmux = <STM32_PINMUX('B', 4, AF6)>; 289 bias-pull-down; 290 }; 291 292 /* SPI_MOSI */ 293 294 spi1_mosi_pa7: spi1_mosi_pa7 { 295 pinmux = <STM32_PINMUX('A', 7, AF5)>; 296 bias-pull-down; 297 }; 298 299 spi1_mosi_pa12: spi1_mosi_pa12 { 300 pinmux = <STM32_PINMUX('A', 12, AF5)>; 301 bias-pull-down; 302 }; 303 304 spi1_mosi_pb5: spi1_mosi_pb5 { 305 pinmux = <STM32_PINMUX('B', 5, AF5)>; 306 bias-pull-down; 307 }; 308 309 spi2_mosi_pb15: spi2_mosi_pb15 { 310 pinmux = <STM32_PINMUX('B', 15, AF5)>; 311 bias-pull-down; 312 }; 313 314 spi3_mosi_pb5: spi3_mosi_pb5 { 315 pinmux = <STM32_PINMUX('B', 5, AF6)>; 316 bias-pull-down; 317 }; 318 319 /* SPI_NSS */ 320 321 spi1_nss_pa4: spi1_nss_pa4 { 322 pinmux = <STM32_PINMUX('A', 4, AF5)>; 323 bias-pull-up; 324 }; 325 326 spi1_nss_pa15: spi1_nss_pa15 { 327 pinmux = <STM32_PINMUX('A', 15, AF5)>; 328 bias-pull-up; 329 }; 330 331 spi1_nss_pb0: spi1_nss_pb0 { 332 pinmux = <STM32_PINMUX('B', 0, AF5)>; 333 bias-pull-up; 334 }; 335 336 spi2_nss_pb9: spi2_nss_pb9 { 337 pinmux = <STM32_PINMUX('B', 9, AF5)>; 338 bias-pull-up; 339 }; 340 341 spi2_nss_pb12: spi2_nss_pb12 { 342 pinmux = <STM32_PINMUX('B', 12, AF5)>; 343 bias-pull-up; 344 }; 345 346 spi3_nss_pa4: spi3_nss_pa4 { 347 pinmux = <STM32_PINMUX('A', 4, AF6)>; 348 bias-pull-up; 349 }; 350 351 spi3_nss_pa15: spi3_nss_pa15 { 352 pinmux = <STM32_PINMUX('A', 15, AF6)>; 353 bias-pull-up; 354 }; 355 356 /* SPI_SCK */ 357 358 spi1_sck_pa1: spi1_sck_pa1 { 359 pinmux = <STM32_PINMUX('A', 1, AF5)>; 360 bias-pull-down; 361 slew-rate = "very-high-speed"; 362 }; 363 364 spi1_sck_pa5: spi1_sck_pa5 { 365 pinmux = <STM32_PINMUX('A', 5, AF5)>; 366 bias-pull-down; 367 slew-rate = "very-high-speed"; 368 }; 369 370 spi1_sck_pb3: spi1_sck_pb3 { 371 pinmux = <STM32_PINMUX('B', 3, AF5)>; 372 bias-pull-down; 373 slew-rate = "very-high-speed"; 374 }; 375 376 spi2_sck_pa9: spi2_sck_pa9 { 377 pinmux = <STM32_PINMUX('A', 9, AF3)>; 378 bias-pull-down; 379 slew-rate = "very-high-speed"; 380 }; 381 382 spi2_sck_pb10: spi2_sck_pb10 { 383 pinmux = <STM32_PINMUX('B', 10, AF5)>; 384 bias-pull-down; 385 slew-rate = "very-high-speed"; 386 }; 387 388 spi2_sck_pb13: spi2_sck_pb13 { 389 pinmux = <STM32_PINMUX('B', 13, AF5)>; 390 bias-pull-down; 391 slew-rate = "very-high-speed"; 392 }; 393 394 spi3_sck_pb3: spi3_sck_pb3 { 395 pinmux = <STM32_PINMUX('B', 3, AF6)>; 396 bias-pull-down; 397 slew-rate = "very-high-speed"; 398 }; 399 400 /* TIM_CH / TIM_CHN */ 401 402 tim1_ch1n_pa7: tim1_ch1n_pa7 { 403 pinmux = <STM32_PINMUX('A', 7, AF1)>; 404 }; 405 406 tim1_ch1_pa8: tim1_ch1_pa8 { 407 pinmux = <STM32_PINMUX('A', 8, AF1)>; 408 }; 409 410 tim1_ch2_pa9: tim1_ch2_pa9 { 411 pinmux = <STM32_PINMUX('A', 9, AF1)>; 412 }; 413 414 tim1_ch3_pa10: tim1_ch3_pa10 { 415 pinmux = <STM32_PINMUX('A', 10, AF1)>; 416 }; 417 418 tim1_ch4_pa11: tim1_ch4_pa11 { 419 pinmux = <STM32_PINMUX('A', 11, AF1)>; 420 }; 421 422 tim1_ch2n_pb0: tim1_ch2n_pb0 { 423 pinmux = <STM32_PINMUX('B', 0, AF1)>; 424 }; 425 426 tim1_ch3n_pb1: tim1_ch3n_pb1 { 427 pinmux = <STM32_PINMUX('B', 1, AF1)>; 428 }; 429 430 tim1_ch1n_pb13: tim1_ch1n_pb13 { 431 pinmux = <STM32_PINMUX('B', 13, AF1)>; 432 }; 433 434 tim1_ch2n_pb14: tim1_ch2n_pb14 { 435 pinmux = <STM32_PINMUX('B', 14, AF1)>; 436 }; 437 438 tim1_ch3n_pb15: tim1_ch3n_pb15 { 439 pinmux = <STM32_PINMUX('B', 15, AF1)>; 440 }; 441 442 tim2_ch1_pa0: tim2_ch1_pa0 { 443 pinmux = <STM32_PINMUX('A', 0, AF1)>; 444 }; 445 446 tim2_ch2_pa1: tim2_ch2_pa1 { 447 pinmux = <STM32_PINMUX('A', 1, AF1)>; 448 }; 449 450 tim2_ch3_pa2: tim2_ch3_pa2 { 451 pinmux = <STM32_PINMUX('A', 2, AF1)>; 452 }; 453 454 tim2_ch4_pa3: tim2_ch4_pa3 { 455 pinmux = <STM32_PINMUX('A', 3, AF1)>; 456 }; 457 458 tim2_ch1_pa5: tim2_ch1_pa5 { 459 pinmux = <STM32_PINMUX('A', 5, AF1)>; 460 }; 461 462 tim2_ch1_pa15: tim2_ch1_pa15 { 463 pinmux = <STM32_PINMUX('A', 15, AF1)>; 464 }; 465 466 tim2_ch2_pb3: tim2_ch2_pb3 { 467 pinmux = <STM32_PINMUX('B', 3, AF1)>; 468 }; 469 470 tim2_ch3_pb10: tim2_ch3_pb10 { 471 pinmux = <STM32_PINMUX('B', 10, AF1)>; 472 }; 473 474 tim2_ch4_pb11: tim2_ch4_pb11 { 475 pinmux = <STM32_PINMUX('B', 11, AF1)>; 476 }; 477 478 tim3_ch1_pa6: tim3_ch1_pa6 { 479 pinmux = <STM32_PINMUX('A', 6, AF2)>; 480 }; 481 482 tim3_ch2_pa7: tim3_ch2_pa7 { 483 pinmux = <STM32_PINMUX('A', 7, AF2)>; 484 }; 485 486 tim3_ch3_pb0: tim3_ch3_pb0 { 487 pinmux = <STM32_PINMUX('B', 0, AF2)>; 488 }; 489 490 tim3_ch4_pb1: tim3_ch4_pb1 { 491 pinmux = <STM32_PINMUX('B', 1, AF2)>; 492 }; 493 494 tim3_ch1_pb4: tim3_ch1_pb4 { 495 pinmux = <STM32_PINMUX('B', 4, AF2)>; 496 }; 497 498 tim3_ch2_pb5: tim3_ch2_pb5 { 499 pinmux = <STM32_PINMUX('B', 5, AF2)>; 500 }; 501 502 tim4_ch1_pb6: tim4_ch1_pb6 { 503 pinmux = <STM32_PINMUX('B', 6, AF2)>; 504 }; 505 506 tim4_ch2_pb7: tim4_ch2_pb7 { 507 pinmux = <STM32_PINMUX('B', 7, AF2)>; 508 }; 509 510 tim4_ch3_pb8: tim4_ch3_pb8 { 511 pinmux = <STM32_PINMUX('B', 8, AF2)>; 512 }; 513 514 tim4_ch4_pb9: tim4_ch4_pb9 { 515 pinmux = <STM32_PINMUX('B', 9, AF2)>; 516 }; 517 518 tim5_ch1_pa0: tim5_ch1_pa0 { 519 pinmux = <STM32_PINMUX('A', 0, AF2)>; 520 }; 521 522 tim15_ch1n_pa1: tim15_ch1n_pa1 { 523 pinmux = <STM32_PINMUX('A', 1, AF14)>; 524 }; 525 526 tim5_ch2_pa1: tim5_ch2_pa1 { 527 pinmux = <STM32_PINMUX('A', 1, AF2)>; 528 }; 529 530 tim15_ch1_pa2: tim15_ch1_pa2 { 531 pinmux = <STM32_PINMUX('A', 2, AF14)>; 532 }; 533 534 tim5_ch3_pa2: tim5_ch3_pa2 { 535 pinmux = <STM32_PINMUX('A', 2, AF2)>; 536 }; 537 538 tim15_ch2_pa3: tim15_ch2_pa3 { 539 pinmux = <STM32_PINMUX('A', 3, AF14)>; 540 }; 541 542 tim5_ch4_pa3: tim5_ch4_pa3 { 543 pinmux = <STM32_PINMUX('A', 3, AF2)>; 544 }; 545 546 tim15_ch1n_pb13: tim15_ch1n_pb13 { 547 pinmux = <STM32_PINMUX('B', 13, AF14)>; 548 }; 549 550 tim15_ch1_pb14: tim15_ch1_pb14 { 551 pinmux = <STM32_PINMUX('B', 14, AF14)>; 552 }; 553 554 tim15_ch2_pb15: tim15_ch2_pb15 { 555 pinmux = <STM32_PINMUX('B', 15, AF14)>; 556 }; 557 558 tim16_ch1_pa6: tim16_ch1_pa6 { 559 pinmux = <STM32_PINMUX('A', 6, AF14)>; 560 }; 561 562 tim16_ch1n_pb6: tim16_ch1n_pb6 { 563 pinmux = <STM32_PINMUX('B', 6, AF14)>; 564 }; 565 566 tim16_ch1_pb8: tim16_ch1_pb8 { 567 pinmux = <STM32_PINMUX('B', 8, AF14)>; 568 }; 569 570 tim17_ch1_pa7: tim17_ch1_pa7 { 571 pinmux = <STM32_PINMUX('A', 7, AF14)>; 572 }; 573 574 tim17_ch1n_pb7: tim17_ch1n_pb7 { 575 pinmux = <STM32_PINMUX('B', 7, AF14)>; 576 }; 577 578 tim17_ch1_pb9: tim17_ch1_pb9 { 579 pinmux = <STM32_PINMUX('B', 9, AF14)>; 580 }; 581 582 tim8_ch1n_pa5: tim8_ch1n_pa5 { 583 pinmux = <STM32_PINMUX('A', 5, AF3)>; 584 }; 585 586 tim8_ch1n_pa7: tim8_ch1n_pa7 { 587 pinmux = <STM32_PINMUX('A', 7, AF3)>; 588 }; 589 590 tim8_ch2n_pb0: tim8_ch2n_pb0 { 591 pinmux = <STM32_PINMUX('B', 0, AF3)>; 592 }; 593 594 tim8_ch3n_pb1: tim8_ch3n_pb1 { 595 pinmux = <STM32_PINMUX('B', 1, AF3)>; 596 }; 597 598 tim8_ch2n_pb14: tim8_ch2n_pb14 { 599 pinmux = <STM32_PINMUX('B', 14, AF3)>; 600 }; 601 602 tim8_ch3n_pb15: tim8_ch3n_pb15 { 603 pinmux = <STM32_PINMUX('B', 15, AF3)>; 604 }; 605 606 /* UART_CTS / USART_CTS / LPUART_CTS */ 607 608 lpuart1_cts_pa6: lpuart1_cts_pa6 { 609 pinmux = <STM32_PINMUX('A', 6, AF8)>; 610 bias-pull-up; 611 drive-open-drain; 612 }; 613 614 usart1_cts_pa11: usart1_cts_pa11 { 615 pinmux = <STM32_PINMUX('A', 11, AF7)>; 616 bias-pull-up; 617 drive-open-drain; 618 }; 619 620 usart1_cts_pb4: usart1_cts_pb4 { 621 pinmux = <STM32_PINMUX('B', 4, AF7)>; 622 bias-pull-up; 623 drive-open-drain; 624 }; 625 626 lpuart1_cts_pb13: lpuart1_cts_pb13 { 627 pinmux = <STM32_PINMUX('B', 13, AF8)>; 628 bias-pull-up; 629 drive-open-drain; 630 }; 631 632 usart2_cts_pa0: usart2_cts_pa0 { 633 pinmux = <STM32_PINMUX('A', 0, AF7)>; 634 bias-pull-up; 635 drive-open-drain; 636 }; 637 638 usart3_cts_pa6: usart3_cts_pa6 { 639 pinmux = <STM32_PINMUX('A', 6, AF7)>; 640 bias-pull-up; 641 drive-open-drain; 642 }; 643 644 usart3_cts_pb13: usart3_cts_pb13 { 645 pinmux = <STM32_PINMUX('B', 13, AF7)>; 646 bias-pull-up; 647 drive-open-drain; 648 }; 649 650 uart4_cts_pb7: uart4_cts_pb7 { 651 pinmux = <STM32_PINMUX('B', 7, AF8)>; 652 bias-pull-up; 653 drive-open-drain; 654 }; 655 656 /* UART_RTS / USART_RTS / LPUART_RTS */ 657 658 usart1_rts_pa12: usart1_rts_pa12 { 659 pinmux = <STM32_PINMUX('A', 12, AF7)>; 660 bias-pull-up; 661 drive-open-drain; 662 }; 663 664 lpuart1_rts_pb1: lpuart1_rts_pb1 { 665 pinmux = <STM32_PINMUX('B', 1, AF8)>; 666 bias-pull-up; 667 drive-open-drain; 668 }; 669 670 usart1_rts_pb3: usart1_rts_pb3 { 671 pinmux = <STM32_PINMUX('B', 3, AF7)>; 672 bias-pull-up; 673 drive-open-drain; 674 }; 675 676 lpuart1_rts_pb12: lpuart1_rts_pb12 { 677 pinmux = <STM32_PINMUX('B', 12, AF8)>; 678 bias-pull-up; 679 drive-open-drain; 680 }; 681 682 usart2_rts_pa1: usart2_rts_pa1 { 683 pinmux = <STM32_PINMUX('A', 1, AF7)>; 684 bias-pull-up; 685 drive-open-drain; 686 }; 687 688 usart3_rts_pa15: usart3_rts_pa15 { 689 pinmux = <STM32_PINMUX('A', 15, AF7)>; 690 bias-pull-up; 691 drive-open-drain; 692 }; 693 694 usart3_rts_pb1: usart3_rts_pb1 { 695 pinmux = <STM32_PINMUX('B', 1, AF7)>; 696 bias-pull-up; 697 drive-open-drain; 698 }; 699 700 usart3_rts_pb14: usart3_rts_pb14 { 701 pinmux = <STM32_PINMUX('B', 14, AF7)>; 702 bias-pull-up; 703 drive-open-drain; 704 }; 705 706 uart4_rts_pa15: uart4_rts_pa15 { 707 pinmux = <STM32_PINMUX('A', 15, AF8)>; 708 bias-pull-up; 709 drive-open-drain; 710 }; 711 712 /* UART_RX / USART_RX / LPUART_RX */ 713 714 lpuart1_rx_pa3: lpuart1_rx_pa3 { 715 pinmux = <STM32_PINMUX('A', 3, AF8)>; 716 }; 717 718 usart1_rx_pa10: usart1_rx_pa10 { 719 pinmux = <STM32_PINMUX('A', 10, AF7)>; 720 }; 721 722 usart1_rx_pb7: usart1_rx_pb7 { 723 pinmux = <STM32_PINMUX('B', 7, AF7)>; 724 }; 725 726 lpuart1_rx_pb10: lpuart1_rx_pb10 { 727 pinmux = <STM32_PINMUX('B', 10, AF8)>; 728 }; 729 730 usart2_rx_pa3: usart2_rx_pa3 { 731 pinmux = <STM32_PINMUX('A', 3, AF7)>; 732 }; 733 734 usart2_rx_pa15: usart2_rx_pa15 { 735 pinmux = <STM32_PINMUX('A', 15, AF3)>; 736 }; 737 738 usart3_rx_pb11: usart3_rx_pb11 { 739 pinmux = <STM32_PINMUX('B', 11, AF7)>; 740 }; 741 742 uart4_rx_pa1: uart4_rx_pa1 { 743 pinmux = <STM32_PINMUX('A', 1, AF8)>; 744 }; 745 746 /* UART_TX / USART_TX / LPUART_TX */ 747 748 lpuart1_tx_pa2: lpuart1_tx_pa2 { 749 pinmux = <STM32_PINMUX('A', 2, AF8)>; 750 bias-pull-up; 751 }; 752 753 usart1_tx_pa9: usart1_tx_pa9 { 754 pinmux = <STM32_PINMUX('A', 9, AF7)>; 755 bias-pull-up; 756 }; 757 758 usart1_tx_pb6: usart1_tx_pb6 { 759 pinmux = <STM32_PINMUX('B', 6, AF7)>; 760 bias-pull-up; 761 }; 762 763 lpuart1_tx_pb11: lpuart1_tx_pb11 { 764 pinmux = <STM32_PINMUX('B', 11, AF8)>; 765 bias-pull-up; 766 }; 767 768 usart2_tx_pa2: usart2_tx_pa2 { 769 pinmux = <STM32_PINMUX('A', 2, AF7)>; 770 bias-pull-up; 771 }; 772 773 usart3_tx_pb10: usart3_tx_pb10 { 774 pinmux = <STM32_PINMUX('B', 10, AF7)>; 775 bias-pull-up; 776 }; 777 778 uart4_tx_pa0: uart4_tx_pa0 { 779 pinmux = <STM32_PINMUX('A', 0, AF8)>; 780 bias-pull-up; 781 }; 782 783 /* USB_OTG_FS */ 784 785 usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 786 pinmux = <STM32_PINMUX('A', 8, AF10)>; 787 }; 788 789 usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 790 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 791 }; 792 793 usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 794 pinmux = <STM32_PINMUX('A', 10, AF10)>; 795 }; 796 797 usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 798 pinmux = <STM32_PINMUX('A', 11, AF10)>; 799 }; 800 801 usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 802 pinmux = <STM32_PINMUX('A', 12, AF10)>; 803 }; 804 805 usb_otg_fs_sof_pa14: usb_otg_fs_sof_pa14 { 806 pinmux = <STM32_PINMUX('A', 14, AF10)>; 807 }; 808 809 }; 810 }; 811};