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_pb3: analog_pb3 { 130 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb4: analog_pb4 { 134 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb5: analog_pb5 { 138 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb6: analog_pb6 { 142 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb7: analog_pb7 { 146 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb8: analog_pb8 { 150 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb9: analog_pb9 { 154 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb10: analog_pb10 { 158 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb11: analog_pb11 { 162 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb12: analog_pb12 { 166 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb13: analog_pb13 { 170 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb14: analog_pb14 { 174 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb15: analog_pb15 { 178 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pc13: analog_pc13 { 182 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pc14: analog_pc14 { 186 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pc15: analog_pc15 { 190 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pf0: analog_pf0 { 194 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pf1: analog_pf1 { 198 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pf11: analog_pf11 { 202 pinmux = <STM32_PINMUX('F', 11, 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_pa11: i2c1_scl_pa11 { 214 pinmux = <STM32_PINMUX('A', 11, AF5)>; 215 bias-pull-up; 216 drive-open-drain; 217 }; 218 219 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 220 pinmux = <STM32_PINMUX('B', 6, AF1)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 226 pinmux = <STM32_PINMUX('B', 8, AF1)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 /omit-if-no-ref/ i2c1_scl_pb10: i2c1_scl_pb10 { 232 pinmux = <STM32_PINMUX('B', 10, AF1)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 /omit-if-no-ref/ i2c1_scl_pb13: i2c1_scl_pb13 { 238 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 /omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 { 244 pinmux = <STM32_PINMUX('F', 1, AF1)>; 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_pa12: i2c1_sda_pa12 { 258 pinmux = <STM32_PINMUX('A', 12, AF5)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 264 pinmux = <STM32_PINMUX('B', 7, AF1)>; 265 bias-pull-up; 266 drive-open-drain; 267 }; 268 269 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 270 pinmux = <STM32_PINMUX('B', 9, AF1)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /omit-if-no-ref/ i2c1_sda_pb11: i2c1_sda_pb11 { 276 pinmux = <STM32_PINMUX('B', 11, AF1)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c1_sda_pb14: i2c1_sda_pb14 { 282 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 { 288 pinmux = <STM32_PINMUX('F', 0, AF1)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /* I2S_CK */ 294 295 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 296 pinmux = <STM32_PINMUX('A', 5, AF0)>; 297 slew-rate = "very-high-speed"; 298 }; 299 300 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 301 pinmux = <STM32_PINMUX('B', 3, AF0)>; 302 slew-rate = "very-high-speed"; 303 }; 304 305 /* I2S_MCK */ 306 307 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 308 pinmux = <STM32_PINMUX('A', 6, AF0)>; 309 slew-rate = "very-high-speed"; 310 }; 311 312 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 313 pinmux = <STM32_PINMUX('B', 4, AF0)>; 314 slew-rate = "very-high-speed"; 315 }; 316 317 /* I2S_SD */ 318 319 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 320 pinmux = <STM32_PINMUX('A', 7, AF0)>; 321 }; 322 323 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 324 pinmux = <STM32_PINMUX('B', 5, AF0)>; 325 }; 326 327 /* I2S_WS */ 328 329 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 330 pinmux = <STM32_PINMUX('A', 4, AF0)>; 331 }; 332 333 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 334 pinmux = <STM32_PINMUX('A', 15, AF0)>; 335 }; 336 337 /* SPI_MISO */ 338 339 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 340 pinmux = <STM32_PINMUX('A', 6, AF0)>; 341 bias-pull-down; 342 }; 343 344 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 345 pinmux = <STM32_PINMUX('B', 4, AF0)>; 346 bias-pull-down; 347 }; 348 349 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 350 pinmux = <STM32_PINMUX('B', 14, AF0)>; 351 bias-pull-down; 352 }; 353 354 /* SPI_MOSI */ 355 356 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 357 pinmux = <STM32_PINMUX('A', 7, AF0)>; 358 bias-pull-down; 359 }; 360 361 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 362 pinmux = <STM32_PINMUX('B', 5, AF0)>; 363 bias-pull-down; 364 }; 365 366 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 367 pinmux = <STM32_PINMUX('B', 15, AF0)>; 368 bias-pull-down; 369 }; 370 371 /* SPI_NSS */ 372 373 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 374 pinmux = <STM32_PINMUX('A', 4, AF0)>; 375 bias-pull-up; 376 }; 377 378 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 379 pinmux = <STM32_PINMUX('A', 15, AF0)>; 380 bias-pull-up; 381 }; 382 383 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 384 pinmux = <STM32_PINMUX('B', 9, AF5)>; 385 bias-pull-up; 386 }; 387 388 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 389 pinmux = <STM32_PINMUX('B', 12, AF0)>; 390 bias-pull-up; 391 }; 392 393 /* SPI_SCK */ 394 395 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 396 pinmux = <STM32_PINMUX('A', 5, AF0)>; 397 bias-pull-down; 398 slew-rate = "very-high-speed"; 399 }; 400 401 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 402 pinmux = <STM32_PINMUX('B', 3, AF0)>; 403 bias-pull-down; 404 slew-rate = "very-high-speed"; 405 }; 406 407 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 408 pinmux = <STM32_PINMUX('B', 10, AF5)>; 409 bias-pull-down; 410 slew-rate = "very-high-speed"; 411 }; 412 413 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 414 pinmux = <STM32_PINMUX('B', 13, AF0)>; 415 bias-pull-down; 416 slew-rate = "very-high-speed"; 417 }; 418 419 /* TIM_BKIN */ 420 421 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 422 pinmux = <STM32_PINMUX('A', 6, AF2)>; 423 }; 424 425 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 426 pinmux = <STM32_PINMUX('B', 12, AF2)>; 427 }; 428 429 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 430 pinmux = <STM32_PINMUX('B', 5, AF2)>; 431 }; 432 433 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 434 pinmux = <STM32_PINMUX('A', 10, AF0)>; 435 }; 436 437 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 438 pinmux = <STM32_PINMUX('B', 4, AF5)>; 439 }; 440 441 /* TIM_CH / TIM_CHN */ 442 443 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 444 pinmux = <STM32_PINMUX('A', 7, AF2)>; 445 }; 446 447 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 448 pinmux = <STM32_PINMUX('A', 8, AF2)>; 449 }; 450 451 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 452 pinmux = <STM32_PINMUX('A', 9, AF2)>; 453 }; 454 455 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 456 pinmux = <STM32_PINMUX('A', 10, AF2)>; 457 }; 458 459 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 460 pinmux = <STM32_PINMUX('A', 11, AF2)>; 461 }; 462 463 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 464 pinmux = <STM32_PINMUX('B', 0, AF2)>; 465 }; 466 467 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 468 pinmux = <STM32_PINMUX('B', 1, AF2)>; 469 }; 470 471 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 472 pinmux = <STM32_PINMUX('B', 13, AF2)>; 473 }; 474 475 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 476 pinmux = <STM32_PINMUX('B', 14, AF2)>; 477 }; 478 479 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 480 pinmux = <STM32_PINMUX('B', 15, AF2)>; 481 }; 482 483 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 484 pinmux = <STM32_PINMUX('A', 0, AF2)>; 485 }; 486 487 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 488 pinmux = <STM32_PINMUX('A', 1, AF2)>; 489 }; 490 491 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 492 pinmux = <STM32_PINMUX('A', 2, AF2)>; 493 }; 494 495 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 496 pinmux = <STM32_PINMUX('A', 3, AF2)>; 497 }; 498 499 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 500 pinmux = <STM32_PINMUX('A', 5, AF2)>; 501 }; 502 503 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 504 pinmux = <STM32_PINMUX('A', 15, AF2)>; 505 }; 506 507 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 508 pinmux = <STM32_PINMUX('B', 3, AF2)>; 509 }; 510 511 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 512 pinmux = <STM32_PINMUX('B', 10, AF2)>; 513 }; 514 515 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 516 pinmux = <STM32_PINMUX('B', 11, AF2)>; 517 }; 518 519 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 520 pinmux = <STM32_PINMUX('A', 6, AF1)>; 521 }; 522 523 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 524 pinmux = <STM32_PINMUX('A', 7, AF1)>; 525 }; 526 527 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 528 pinmux = <STM32_PINMUX('B', 0, AF1)>; 529 }; 530 531 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 532 pinmux = <STM32_PINMUX('B', 1, AF1)>; 533 }; 534 535 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 536 pinmux = <STM32_PINMUX('B', 4, AF1)>; 537 }; 538 539 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 540 pinmux = <STM32_PINMUX('B', 5, AF1)>; 541 }; 542 543 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 544 pinmux = <STM32_PINMUX('A', 4, AF4)>; 545 }; 546 547 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 548 pinmux = <STM32_PINMUX('A', 7, AF4)>; 549 }; 550 551 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 552 pinmux = <STM32_PINMUX('B', 1, AF0)>; 553 }; 554 555 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 556 pinmux = <STM32_PINMUX('A', 6, AF5)>; 557 }; 558 559 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 560 pinmux = <STM32_PINMUX('B', 6, AF2)>; 561 }; 562 563 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 564 pinmux = <STM32_PINMUX('B', 8, AF2)>; 565 }; 566 567 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 568 pinmux = <STM32_PINMUX('A', 7, AF5)>; 569 }; 570 571 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 572 pinmux = <STM32_PINMUX('B', 7, AF2)>; 573 }; 574 575 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 576 pinmux = <STM32_PINMUX('B', 9, AF2)>; 577 }; 578 579 /* UART_CTS / USART_CTS / LPUART_CTS */ 580 581 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 582 pinmux = <STM32_PINMUX('A', 11, AF1)>; 583 bias-pull-up; 584 drive-open-drain; 585 }; 586 587 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 588 pinmux = <STM32_PINMUX('A', 0, AF1)>; 589 bias-pull-up; 590 drive-open-drain; 591 }; 592 593 /* UART_DE / USART_DE / LPUART_DE */ 594 595 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 596 pinmux = <STM32_PINMUX('A', 12, AF1)>; 597 drive-push-pull; 598 }; 599 600 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 601 pinmux = <STM32_PINMUX('A', 1, AF1)>; 602 drive-push-pull; 603 }; 604 605 /* UART_RTS / USART_RTS / LPUART_RTS */ 606 607 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 608 pinmux = <STM32_PINMUX('A', 12, AF1)>; 609 bias-pull-up; 610 drive-open-drain; 611 }; 612 613 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 614 pinmux = <STM32_PINMUX('A', 1, AF1)>; 615 bias-pull-up; 616 drive-open-drain; 617 }; 618 619 /* UART_RX / USART_RX / LPUART_RX */ 620 621 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 622 pinmux = <STM32_PINMUX('A', 10, AF1)>; 623 }; 624 625 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 626 pinmux = <STM32_PINMUX('B', 7, AF0)>; 627 }; 628 629 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 630 pinmux = <STM32_PINMUX('A', 3, AF1)>; 631 }; 632 633 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 634 pinmux = <STM32_PINMUX('A', 15, AF1)>; 635 }; 636 637 /* UART_TX / USART_TX / LPUART_TX */ 638 639 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 640 pinmux = <STM32_PINMUX('A', 9, AF1)>; 641 bias-pull-up; 642 }; 643 644 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 645 pinmux = <STM32_PINMUX('B', 6, AF0)>; 646 bias-pull-up; 647 }; 648 649 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 650 pinmux = <STM32_PINMUX('A', 2, AF1)>; 651 bias-pull-up; 652 }; 653 654 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 655 pinmux = <STM32_PINMUX('A', 14, AF1)>; 656 bias-pull-up; 657 }; 658 659 /* USB */ 660 661 /omit-if-no-ref/ usb_noe_pa4: usb_noe_pa4 { 662 pinmux = <STM32_PINMUX('A', 4, AF2)>; 663 }; 664 665 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 666 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 667 }; 668 669 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 670 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 671 }; 672 673 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 674 pinmux = <STM32_PINMUX('A', 13, AF2)>; 675 }; 676 677 /omit-if-no-ref/ usb_noe_pa15: usb_noe_pa15 { 678 pinmux = <STM32_PINMUX('A', 15, AF5)>; 679 }; 680 681 }; 682 }; 683};