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@50000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in9_pb1: adc1_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_pb0: analog_pb0 { 118 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb1: analog_pb1 { 122 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb6: analog_pb6 { 126 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb7: analog_pb7 { 130 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb8: analog_pb8 { 134 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb9: analog_pb9 { 138 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb15: analog_pb15 { 142 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pc6: analog_pc6 { 146 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pc14: analog_pc14 { 150 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pc15: analog_pc15 { 154 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pd0: analog_pd0 { 158 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pd1: analog_pd1 { 162 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pd2: analog_pd2 { 166 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pd3: analog_pd3 { 170 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pf2: analog_pf2 { 174 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 175 }; 176 177 /* DAC_OUT */ 178 179 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 180 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 181 }; 182 183 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 184 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 185 }; 186 187 /* I2C_SCL */ 188 189 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 190 pinmux = <STM32_PINMUX('A', 9, AF6)>; 191 bias-pull-up; 192 drive-open-drain; 193 }; 194 195 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 196 pinmux = <STM32_PINMUX('B', 6, AF6)>; 197 bias-pull-up; 198 drive-open-drain; 199 }; 200 201 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 202 pinmux = <STM32_PINMUX('B', 8, AF6)>; 203 bias-pull-up; 204 drive-open-drain; 205 }; 206 207 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 208 pinmux = <STM32_PINMUX('A', 11, AF6)>; 209 bias-pull-up; 210 drive-open-drain; 211 }; 212 213 /* I2C_SDA */ 214 215 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 216 pinmux = <STM32_PINMUX('A', 10, AF6)>; 217 bias-pull-up; 218 drive-open-drain; 219 }; 220 221 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 222 pinmux = <STM32_PINMUX('B', 7, AF6)>; 223 bias-pull-up; 224 drive-open-drain; 225 }; 226 227 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 228 pinmux = <STM32_PINMUX('B', 9, AF6)>; 229 bias-pull-up; 230 drive-open-drain; 231 }; 232 233 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 234 pinmux = <STM32_PINMUX('A', 12, AF6)>; 235 bias-pull-up; 236 drive-open-drain; 237 }; 238 239 /* I2S_CK */ 240 241 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 242 pinmux = <STM32_PINMUX('A', 1, AF0)>; 243 slew-rate = "very-high-speed"; 244 }; 245 246 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 247 pinmux = <STM32_PINMUX('A', 5, AF0)>; 248 slew-rate = "very-high-speed"; 249 }; 250 251 /* I2S_MCK */ 252 253 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 254 pinmux = <STM32_PINMUX('A', 6, AF0)>; 255 slew-rate = "very-high-speed"; 256 }; 257 258 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 259 pinmux = <STM32_PINMUX('A', 11, AF0)>; 260 slew-rate = "very-high-speed"; 261 }; 262 263 /* I2S_SD */ 264 265 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 266 pinmux = <STM32_PINMUX('A', 2, AF0)>; 267 }; 268 269 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 270 pinmux = <STM32_PINMUX('A', 7, AF0)>; 271 }; 272 273 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 274 pinmux = <STM32_PINMUX('A', 12, AF0)>; 275 }; 276 277 /* I2S_WS */ 278 279 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 280 pinmux = <STM32_PINMUX('A', 4, AF0)>; 281 }; 282 283 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 284 pinmux = <STM32_PINMUX('B', 0, AF0)>; 285 }; 286 287 /* SPI_MISO */ 288 289 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 290 pinmux = <STM32_PINMUX('A', 6, AF0)>; 291 bias-pull-down; 292 }; 293 294 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 295 pinmux = <STM32_PINMUX('A', 11, AF0)>; 296 bias-pull-down; 297 }; 298 299 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 300 pinmux = <STM32_PINMUX('A', 3, AF0)>; 301 bias-pull-down; 302 }; 303 304 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 305 pinmux = <STM32_PINMUX('A', 9, AF4)>; 306 bias-pull-down; 307 }; 308 309 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 310 pinmux = <STM32_PINMUX('B', 6, AF4)>; 311 bias-pull-down; 312 }; 313 314 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 315 pinmux = <STM32_PINMUX('D', 3, AF1)>; 316 bias-pull-down; 317 }; 318 319 /* SPI_MOSI */ 320 321 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 322 pinmux = <STM32_PINMUX('A', 2, AF0)>; 323 bias-pull-down; 324 }; 325 326 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 327 pinmux = <STM32_PINMUX('A', 7, AF0)>; 328 bias-pull-down; 329 }; 330 331 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 332 pinmux = <STM32_PINMUX('A', 12, AF0)>; 333 bias-pull-down; 334 }; 335 336 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 337 pinmux = <STM32_PINMUX('A', 4, AF1)>; 338 bias-pull-down; 339 }; 340 341 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 342 pinmux = <STM32_PINMUX('A', 10, AF0)>; 343 bias-pull-down; 344 }; 345 346 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 347 pinmux = <STM32_PINMUX('B', 7, AF1)>; 348 bias-pull-down; 349 }; 350 351 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 352 pinmux = <STM32_PINMUX('B', 15, AF0)>; 353 bias-pull-down; 354 }; 355 356 /* SPI_NSS */ 357 358 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 359 pinmux = <STM32_PINMUX('A', 4, AF0)>; 360 bias-pull-up; 361 }; 362 363 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 364 pinmux = <STM32_PINMUX('B', 0, AF0)>; 365 bias-pull-up; 366 }; 367 368 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 369 pinmux = <STM32_PINMUX('A', 8, AF1)>; 370 bias-pull-up; 371 }; 372 373 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 374 pinmux = <STM32_PINMUX('B', 9, AF5)>; 375 bias-pull-up; 376 }; 377 378 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 379 pinmux = <STM32_PINMUX('D', 0, AF1)>; 380 bias-pull-up; 381 }; 382 383 /* SPI_SCK */ 384 385 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 386 pinmux = <STM32_PINMUX('A', 1, AF0)>; 387 bias-pull-down; 388 slew-rate = "very-high-speed"; 389 }; 390 391 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 392 pinmux = <STM32_PINMUX('A', 5, AF0)>; 393 bias-pull-down; 394 slew-rate = "very-high-speed"; 395 }; 396 397 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 398 pinmux = <STM32_PINMUX('A', 0, AF0)>; 399 bias-pull-down; 400 slew-rate = "very-high-speed"; 401 }; 402 403 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 404 pinmux = <STM32_PINMUX('B', 8, AF1)>; 405 bias-pull-down; 406 slew-rate = "very-high-speed"; 407 }; 408 409 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 410 pinmux = <STM32_PINMUX('D', 1, AF1)>; 411 bias-pull-down; 412 slew-rate = "very-high-speed"; 413 }; 414 415 /* TIM_CH / TIM_CHN */ 416 417 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 418 pinmux = <STM32_PINMUX('A', 7, AF2)>; 419 }; 420 421 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 422 pinmux = <STM32_PINMUX('A', 8, AF2)>; 423 }; 424 425 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 426 pinmux = <STM32_PINMUX('A', 9, AF2)>; 427 }; 428 429 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 430 pinmux = <STM32_PINMUX('A', 10, AF2)>; 431 }; 432 433 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 434 pinmux = <STM32_PINMUX('A', 11, AF2)>; 435 }; 436 437 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 438 pinmux = <STM32_PINMUX('B', 0, AF2)>; 439 }; 440 441 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 442 pinmux = <STM32_PINMUX('B', 1, AF2)>; 443 }; 444 445 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 446 pinmux = <STM32_PINMUX('B', 6, AF1)>; 447 }; 448 449 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 450 pinmux = <STM32_PINMUX('B', 15, AF2)>; 451 }; 452 453 /omit-if-no-ref/ tim1_ch1n_pd2: tim1_ch1n_pd2 { 454 pinmux = <STM32_PINMUX('D', 2, AF2)>; 455 }; 456 457 /omit-if-no-ref/ tim1_ch2n_pd3: tim1_ch2n_pd3 { 458 pinmux = <STM32_PINMUX('D', 3, AF2)>; 459 }; 460 461 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 462 pinmux = <STM32_PINMUX('A', 0, AF2)>; 463 }; 464 465 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 466 pinmux = <STM32_PINMUX('A', 1, AF2)>; 467 }; 468 469 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 470 pinmux = <STM32_PINMUX('A', 2, AF2)>; 471 }; 472 473 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 474 pinmux = <STM32_PINMUX('A', 3, AF2)>; 475 }; 476 477 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 478 pinmux = <STM32_PINMUX('A', 5, AF2)>; 479 }; 480 481 /omit-if-no-ref/ tim2_ch3_pc6: tim2_ch3_pc6 { 482 pinmux = <STM32_PINMUX('C', 6, AF2)>; 483 }; 484 485 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 486 pinmux = <STM32_PINMUX('A', 6, AF1)>; 487 }; 488 489 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 490 pinmux = <STM32_PINMUX('A', 7, AF1)>; 491 }; 492 493 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 494 pinmux = <STM32_PINMUX('B', 0, AF1)>; 495 }; 496 497 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 498 pinmux = <STM32_PINMUX('B', 1, AF1)>; 499 }; 500 501 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 502 pinmux = <STM32_PINMUX('C', 6, AF1)>; 503 }; 504 505 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 506 pinmux = <STM32_PINMUX('A', 4, AF4)>; 507 }; 508 509 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 510 pinmux = <STM32_PINMUX('A', 7, AF4)>; 511 }; 512 513 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 514 pinmux = <STM32_PINMUX('B', 1, AF0)>; 515 }; 516 517 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 518 pinmux = <STM32_PINMUX('A', 1, AF5)>; 519 }; 520 521 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 522 pinmux = <STM32_PINMUX('A', 2, AF5)>; 523 }; 524 525 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 526 pinmux = <STM32_PINMUX('A', 3, AF5)>; 527 }; 528 529 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 530 pinmux = <STM32_PINMUX('B', 15, AF4)>; 531 }; 532 533 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 534 pinmux = <STM32_PINMUX('B', 15, AF5)>; 535 }; 536 537 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 538 pinmux = <STM32_PINMUX('A', 6, AF5)>; 539 }; 540 541 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 542 pinmux = <STM32_PINMUX('B', 6, AF2)>; 543 }; 544 545 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 546 pinmux = <STM32_PINMUX('B', 8, AF2)>; 547 }; 548 549 /omit-if-no-ref/ tim16_ch1_pd0: tim16_ch1_pd0 { 550 pinmux = <STM32_PINMUX('D', 0, AF2)>; 551 }; 552 553 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 554 pinmux = <STM32_PINMUX('A', 7, AF5)>; 555 }; 556 557 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 558 pinmux = <STM32_PINMUX('B', 7, AF2)>; 559 }; 560 561 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 562 pinmux = <STM32_PINMUX('B', 9, AF2)>; 563 }; 564 565 /omit-if-no-ref/ tim17_ch1_pd1: tim17_ch1_pd1 { 566 pinmux = <STM32_PINMUX('D', 1, AF2)>; 567 }; 568 569 /* UART_CTS / USART_CTS / LPUART_CTS */ 570 571 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 572 pinmux = <STM32_PINMUX('A', 6, AF6)>; 573 bias-pull-up; 574 drive-open-drain; 575 }; 576 577 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 578 pinmux = <STM32_PINMUX('A', 11, AF1)>; 579 bias-pull-up; 580 drive-open-drain; 581 }; 582 583 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 584 pinmux = <STM32_PINMUX('A', 0, AF1)>; 585 bias-pull-up; 586 drive-open-drain; 587 }; 588 589 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 590 pinmux = <STM32_PINMUX('D', 3, AF0)>; 591 bias-pull-up; 592 drive-open-drain; 593 }; 594 595 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 596 pinmux = <STM32_PINMUX('A', 6, AF4)>; 597 bias-pull-up; 598 drive-open-drain; 599 }; 600 601 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 602 pinmux = <STM32_PINMUX('B', 7, AF4)>; 603 bias-pull-up; 604 drive-open-drain; 605 }; 606 607 /* UART_DE / USART_DE / LPUART_DE */ 608 609 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 610 pinmux = <STM32_PINMUX('A', 12, AF1)>; 611 drive-push-pull; 612 }; 613 614 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 615 pinmux = <STM32_PINMUX('B', 1, AF6)>; 616 drive-push-pull; 617 }; 618 619 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 620 pinmux = <STM32_PINMUX('A', 1, AF1)>; 621 drive-push-pull; 622 }; 623 624 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 625 pinmux = <STM32_PINMUX('B', 1, AF4)>; 626 drive-push-pull; 627 }; 628 629 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 630 pinmux = <STM32_PINMUX('D', 2, AF0)>; 631 drive-push-pull; 632 }; 633 634 /* UART_RTS / USART_RTS / LPUART_RTS */ 635 636 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 637 pinmux = <STM32_PINMUX('A', 12, AF1)>; 638 bias-pull-up; 639 drive-open-drain; 640 }; 641 642 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 643 pinmux = <STM32_PINMUX('B', 1, AF6)>; 644 bias-pull-up; 645 drive-open-drain; 646 }; 647 648 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 649 pinmux = <STM32_PINMUX('A', 1, AF1)>; 650 bias-pull-up; 651 drive-open-drain; 652 }; 653 654 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 655 pinmux = <STM32_PINMUX('B', 1, AF4)>; 656 bias-pull-up; 657 drive-open-drain; 658 }; 659 660 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 661 pinmux = <STM32_PINMUX('D', 2, AF0)>; 662 bias-pull-up; 663 drive-open-drain; 664 }; 665 666 /* UART_RX / USART_RX / LPUART_RX */ 667 668 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 669 pinmux = <STM32_PINMUX('A', 3, AF6)>; 670 }; 671 672 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 673 pinmux = <STM32_PINMUX('A', 10, AF1)>; 674 }; 675 676 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 677 pinmux = <STM32_PINMUX('B', 7, AF0)>; 678 }; 679 680 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 681 pinmux = <STM32_PINMUX('A', 3, AF1)>; 682 }; 683 684 /omit-if-no-ref/ usart3_rx_pb0: usart3_rx_pb0 { 685 pinmux = <STM32_PINMUX('B', 0, AF4)>; 686 }; 687 688 /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { 689 pinmux = <STM32_PINMUX('B', 9, AF4)>; 690 }; 691 692 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 693 pinmux = <STM32_PINMUX('A', 1, AF4)>; 694 }; 695 696 /* UART_TX / USART_TX / LPUART_TX */ 697 698 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 699 pinmux = <STM32_PINMUX('A', 2, AF6)>; 700 bias-pull-up; 701 }; 702 703 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 704 pinmux = <STM32_PINMUX('A', 9, AF1)>; 705 bias-pull-up; 706 }; 707 708 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 709 pinmux = <STM32_PINMUX('B', 6, AF0)>; 710 bias-pull-up; 711 }; 712 713 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 714 pinmux = <STM32_PINMUX('A', 2, AF1)>; 715 bias-pull-up; 716 }; 717 718 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 719 pinmux = <STM32_PINMUX('A', 14, AF1)>; 720 bias-pull-up; 721 }; 722 723 /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { 724 pinmux = <STM32_PINMUX('A', 5, AF4)>; 725 bias-pull-up; 726 }; 727 728 /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { 729 pinmux = <STM32_PINMUX('B', 8, AF4)>; 730 bias-pull-up; 731 }; 732 733 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 734 pinmux = <STM32_PINMUX('A', 0, AF4)>; 735 bias-pull-up; 736 }; 737 738 /* UCPD */ 739 740 /omit-if-no-ref/ ucpd1_cc1_pa8: ucpd1_cc1_pa8 { 741 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 742 }; 743 744 /omit-if-no-ref/ ucpd1_cc2_pb15: ucpd1_cc2_pb15 { 745 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 746 }; 747 748 /omit-if-no-ref/ ucpd2_cc1_pd0: ucpd2_cc1_pd0 { 749 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 750 }; 751 752 /omit-if-no-ref/ ucpd2_cc2_pd2: ucpd2_cc2_pd2 { 753 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 754 }; 755 756 }; 757 }; 758};