1/* 2 * NOTE: Autogenerated file using genpinctrl.py 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/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 /omit-if-no-ref/ adc_in0_pa0: adc_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in8_pb0: adc_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 53 }; 54 55 /* Analog */ 56 57 /omit-if-no-ref/ analog_pa0: analog_pa0 { 58 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 59 }; 60 61 /omit-if-no-ref/ analog_pa1: analog_pa1 { 62 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 63 }; 64 65 /omit-if-no-ref/ analog_pa2: analog_pa2 { 66 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa3: analog_pa3 { 70 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa4: analog_pa4 { 74 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa5: analog_pa5 { 78 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa6: analog_pa6 { 82 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa7: analog_pa7 { 86 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa8: analog_pa8 { 90 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa9: analog_pa9 { 94 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa10: analog_pa10 { 98 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa11: analog_pa11 { 102 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa12: analog_pa12 { 106 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa13: analog_pa13 { 110 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa14: analog_pa14 { 114 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa15: analog_pa15 { 118 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb0: analog_pb0 { 122 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb1: analog_pb1 { 126 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb2: analog_pb2 { 130 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb3: analog_pb3 { 134 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb4: analog_pb4 { 138 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb5: analog_pb5 { 142 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb6: analog_pb6 { 146 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb7: analog_pb7 { 150 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb8: analog_pb8 { 154 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb9: analog_pb9 { 158 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb10: analog_pb10 { 162 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb11: analog_pb11 { 166 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb12: analog_pb12 { 170 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb13: analog_pb13 { 174 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb14: analog_pb14 { 178 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb15: analog_pb15 { 182 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pc13: analog_pc13 { 186 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pc14: analog_pc14 { 190 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pc15: analog_pc15 { 194 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pf0: analog_pf0 { 198 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pf1: analog_pf1 { 202 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 203 }; 204 205 /* I2C_SCL */ 206 207 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 208 pinmux = <STM32_PINMUX('A', 9, AF4)>; 209 bias-pull-up; 210 drive-open-drain; 211 }; 212 213 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 214 pinmux = <STM32_PINMUX('B', 6, AF1)>; 215 bias-pull-up; 216 drive-open-drain; 217 }; 218 219 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 220 pinmux = <STM32_PINMUX('B', 8, AF1)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 /omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 { 226 pinmux = <STM32_PINMUX('F', 1, AF1)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 232 pinmux = <STM32_PINMUX('A', 11, AF5)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 238 pinmux = <STM32_PINMUX('B', 10, AF1)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 244 pinmux = <STM32_PINMUX('B', 13, AF5)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 /* I2C_SDA */ 250 251 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 252 pinmux = <STM32_PINMUX('A', 10, AF4)>; 253 bias-pull-up; 254 drive-open-drain; 255 }; 256 257 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 258 pinmux = <STM32_PINMUX('B', 7, AF1)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 264 pinmux = <STM32_PINMUX('B', 9, AF1)>; 265 bias-pull-up; 266 drive-open-drain; 267 }; 268 269 /omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 { 270 pinmux = <STM32_PINMUX('F', 0, AF1)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 276 pinmux = <STM32_PINMUX('A', 12, AF5)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 282 pinmux = <STM32_PINMUX('B', 11, AF1)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 288 pinmux = <STM32_PINMUX('B', 14, AF5)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /* I2C_SMBA */ 294 295 /omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 { 296 pinmux = <STM32_PINMUX('B', 5, AF3)>; 297 bias-pull-up; 298 }; 299 300 /* JTAG PORT */ 301 302 /omit-if-no-ref/ sys_swdio_pa13: sys_swdio_pa13 { 303 pinmux = <STM32_PINMUX('A', 13, AF0)>; 304 }; 305 306 /omit-if-no-ref/ sys_swclk_pa14: sys_swclk_pa14 { 307 pinmux = <STM32_PINMUX('A', 14, AF0)>; 308 }; 309 310 /* RCC_MCO */ 311 312 /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { 313 pinmux = <STM32_PINMUX('A', 8, AF0)>; 314 }; 315 316 /omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 { 317 pinmux = <STM32_PINMUX('A', 9, AF5)>; 318 }; 319 320 /* SPI_MISO */ 321 322 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 323 pinmux = <STM32_PINMUX('A', 6, AF0)>; 324 bias-pull-down; 325 }; 326 327 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 328 pinmux = <STM32_PINMUX('B', 4, AF0)>; 329 bias-pull-down; 330 }; 331 332 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 333 pinmux = <STM32_PINMUX('B', 14, AF0)>; 334 bias-pull-down; 335 }; 336 337 /* SPI_MOSI */ 338 339 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 340 pinmux = <STM32_PINMUX('A', 7, AF0)>; 341 bias-pull-down; 342 }; 343 344 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 345 pinmux = <STM32_PINMUX('B', 5, AF0)>; 346 bias-pull-down; 347 }; 348 349 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 350 pinmux = <STM32_PINMUX('B', 15, AF0)>; 351 bias-pull-down; 352 }; 353 354 /* SPI_NSS */ 355 356 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 357 pinmux = <STM32_PINMUX('A', 4, AF0)>; 358 bias-pull-up; 359 }; 360 361 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 362 pinmux = <STM32_PINMUX('A', 15, AF0)>; 363 bias-pull-up; 364 }; 365 366 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 367 pinmux = <STM32_PINMUX('B', 9, AF5)>; 368 bias-pull-up; 369 }; 370 371 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 372 pinmux = <STM32_PINMUX('B', 12, AF0)>; 373 bias-pull-up; 374 }; 375 376 /* SPI_SCK */ 377 378 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 379 pinmux = <STM32_PINMUX('A', 5, AF0)>; 380 bias-pull-down; 381 slew-rate = "very-high-speed"; 382 }; 383 384 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 385 pinmux = <STM32_PINMUX('B', 3, AF0)>; 386 bias-pull-down; 387 slew-rate = "very-high-speed"; 388 }; 389 390 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 391 pinmux = <STM32_PINMUX('B', 10, AF5)>; 392 bias-pull-down; 393 slew-rate = "very-high-speed"; 394 }; 395 396 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 397 pinmux = <STM32_PINMUX('B', 13, AF0)>; 398 bias-pull-down; 399 slew-rate = "very-high-speed"; 400 }; 401 402 /* TIM_BKIN */ 403 404 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 405 pinmux = <STM32_PINMUX('A', 6, AF2)>; 406 }; 407 408 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 409 pinmux = <STM32_PINMUX('B', 12, AF2)>; 410 }; 411 412 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 413 pinmux = <STM32_PINMUX('A', 9, AF0)>; 414 }; 415 416 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 417 pinmux = <STM32_PINMUX('B', 12, AF5)>; 418 }; 419 420 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 421 pinmux = <STM32_PINMUX('B', 5, AF2)>; 422 }; 423 424 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 425 pinmux = <STM32_PINMUX('A', 10, AF0)>; 426 }; 427 428 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 429 pinmux = <STM32_PINMUX('B', 4, AF5)>; 430 }; 431 432 /* TIM_CH / TIM_CHN */ 433 434 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 435 pinmux = <STM32_PINMUX('A', 7, AF2)>; 436 }; 437 438 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 439 pinmux = <STM32_PINMUX('A', 8, AF2)>; 440 }; 441 442 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 443 pinmux = <STM32_PINMUX('A', 9, AF2)>; 444 }; 445 446 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 447 pinmux = <STM32_PINMUX('A', 10, AF2)>; 448 }; 449 450 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 451 pinmux = <STM32_PINMUX('A', 11, AF2)>; 452 }; 453 454 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 455 pinmux = <STM32_PINMUX('B', 0, AF2)>; 456 }; 457 458 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 459 pinmux = <STM32_PINMUX('B', 1, AF2)>; 460 }; 461 462 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 463 pinmux = <STM32_PINMUX('B', 13, AF2)>; 464 }; 465 466 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 467 pinmux = <STM32_PINMUX('B', 14, AF2)>; 468 }; 469 470 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 471 pinmux = <STM32_PINMUX('B', 15, AF2)>; 472 }; 473 474 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 475 pinmux = <STM32_PINMUX('A', 6, AF1)>; 476 }; 477 478 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 479 pinmux = <STM32_PINMUX('A', 7, AF1)>; 480 }; 481 482 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 483 pinmux = <STM32_PINMUX('B', 0, AF1)>; 484 }; 485 486 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 487 pinmux = <STM32_PINMUX('B', 1, AF1)>; 488 }; 489 490 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 491 pinmux = <STM32_PINMUX('B', 4, AF1)>; 492 }; 493 494 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 495 pinmux = <STM32_PINMUX('B', 5, AF1)>; 496 }; 497 498 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 499 pinmux = <STM32_PINMUX('A', 4, AF4)>; 500 }; 501 502 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 503 pinmux = <STM32_PINMUX('A', 7, AF4)>; 504 }; 505 506 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 507 pinmux = <STM32_PINMUX('B', 1, AF0)>; 508 }; 509 510 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 511 pinmux = <STM32_PINMUX('A', 1, AF5)>; 512 }; 513 514 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 515 pinmux = <STM32_PINMUX('A', 2, AF0)>; 516 }; 517 518 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 519 pinmux = <STM32_PINMUX('A', 3, AF0)>; 520 }; 521 522 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 523 pinmux = <STM32_PINMUX('B', 14, AF1)>; 524 }; 525 526 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 527 pinmux = <STM32_PINMUX('B', 15, AF3)>; 528 }; 529 530 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 531 pinmux = <STM32_PINMUX('B', 15, AF1)>; 532 }; 533 534 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 535 pinmux = <STM32_PINMUX('A', 6, AF5)>; 536 }; 537 538 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 539 pinmux = <STM32_PINMUX('B', 6, AF2)>; 540 }; 541 542 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 543 pinmux = <STM32_PINMUX('B', 8, AF2)>; 544 }; 545 546 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 547 pinmux = <STM32_PINMUX('A', 7, AF5)>; 548 }; 549 550 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 551 pinmux = <STM32_PINMUX('B', 7, AF2)>; 552 }; 553 554 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 555 pinmux = <STM32_PINMUX('B', 9, AF2)>; 556 }; 557 558 /* UART_CTS / USART_CTS / LPUART_CTS */ 559 560 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 561 pinmux = <STM32_PINMUX('A', 11, AF1)>; 562 bias-pull-up; 563 drive-open-drain; 564 }; 565 566 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 567 pinmux = <STM32_PINMUX('A', 0, AF1)>; 568 bias-pull-up; 569 drive-open-drain; 570 }; 571 572 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 573 pinmux = <STM32_PINMUX('A', 6, AF4)>; 574 bias-pull-up; 575 drive-open-drain; 576 }; 577 578 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 579 pinmux = <STM32_PINMUX('B', 13, AF4)>; 580 bias-pull-up; 581 drive-open-drain; 582 }; 583 584 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 585 pinmux = <STM32_PINMUX('B', 7, AF4)>; 586 bias-pull-up; 587 drive-open-drain; 588 }; 589 590 /* UART_DE / USART_DE / LPUART_DE */ 591 592 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 593 pinmux = <STM32_PINMUX('A', 12, AF1)>; 594 drive-push-pull; 595 }; 596 597 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 598 pinmux = <STM32_PINMUX('A', 1, AF1)>; 599 drive-push-pull; 600 }; 601 602 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 603 pinmux = <STM32_PINMUX('B', 1, AF4)>; 604 drive-push-pull; 605 }; 606 607 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 608 pinmux = <STM32_PINMUX('B', 14, AF4)>; 609 drive-push-pull; 610 }; 611 612 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 613 pinmux = <STM32_PINMUX('A', 15, AF4)>; 614 drive-push-pull; 615 }; 616 617 /omit-if-no-ref/ usart5_de_pb5: usart5_de_pb5 { 618 pinmux = <STM32_PINMUX('B', 5, AF4)>; 619 drive-push-pull; 620 }; 621 622 /* UART_RTS / USART_RTS / LPUART_RTS */ 623 624 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 625 pinmux = <STM32_PINMUX('A', 12, AF1)>; 626 bias-pull-up; 627 drive-open-drain; 628 }; 629 630 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 631 pinmux = <STM32_PINMUX('A', 1, AF1)>; 632 bias-pull-up; 633 drive-open-drain; 634 }; 635 636 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 637 pinmux = <STM32_PINMUX('B', 1, AF4)>; 638 bias-pull-up; 639 drive-open-drain; 640 }; 641 642 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 643 pinmux = <STM32_PINMUX('B', 14, AF4)>; 644 bias-pull-up; 645 drive-open-drain; 646 }; 647 648 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 649 pinmux = <STM32_PINMUX('A', 15, AF4)>; 650 bias-pull-up; 651 drive-open-drain; 652 }; 653 654 /omit-if-no-ref/ usart5_rts_pb5: usart5_rts_pb5 { 655 pinmux = <STM32_PINMUX('B', 5, AF4)>; 656 bias-pull-up; 657 drive-open-drain; 658 }; 659 660 /* UART_RX / USART_RX / LPUART_RX */ 661 662 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 663 pinmux = <STM32_PINMUX('A', 10, AF1)>; 664 }; 665 666 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 667 pinmux = <STM32_PINMUX('B', 7, AF0)>; 668 }; 669 670 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 671 pinmux = <STM32_PINMUX('A', 3, AF1)>; 672 }; 673 674 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 675 pinmux = <STM32_PINMUX('A', 15, AF1)>; 676 }; 677 678 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 679 pinmux = <STM32_PINMUX('B', 11, AF4)>; 680 }; 681 682 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 683 pinmux = <STM32_PINMUX('A', 1, AF4)>; 684 }; 685 686 /omit-if-no-ref/ usart5_rx_pb4: usart5_rx_pb4 { 687 pinmux = <STM32_PINMUX('B', 4, AF4)>; 688 }; 689 690 /omit-if-no-ref/ usart6_rx_pa5: usart6_rx_pa5 { 691 pinmux = <STM32_PINMUX('A', 5, AF5)>; 692 }; 693 694 /* UART_TX / USART_TX / LPUART_TX */ 695 696 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 697 pinmux = <STM32_PINMUX('A', 9, AF1)>; 698 bias-pull-up; 699 }; 700 701 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 702 pinmux = <STM32_PINMUX('B', 6, AF0)>; 703 bias-pull-up; 704 }; 705 706 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 707 pinmux = <STM32_PINMUX('A', 2, AF1)>; 708 bias-pull-up; 709 }; 710 711 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 712 pinmux = <STM32_PINMUX('A', 14, AF1)>; 713 bias-pull-up; 714 }; 715 716 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 717 pinmux = <STM32_PINMUX('B', 10, AF4)>; 718 bias-pull-up; 719 }; 720 721 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 722 pinmux = <STM32_PINMUX('A', 0, AF4)>; 723 bias-pull-up; 724 }; 725 726 /omit-if-no-ref/ usart5_tx_pb3: usart5_tx_pb3 { 727 pinmux = <STM32_PINMUX('B', 3, AF4)>; 728 bias-pull-up; 729 }; 730 731 /omit-if-no-ref/ usart6_tx_pa4: usart6_tx_pa4 { 732 pinmux = <STM32_PINMUX('A', 4, AF5)>; 733 bias-pull-up; 734 }; 735 736 }; 737 }; 738};