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