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 /* 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_ph0: analog_ph0 { 198 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_ph1: analog_ph1 { 202 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_ph3: analog_ph3 { 206 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 207 }; 208 209 /* CAN_RX */ 210 211 /omit-if-no-ref/ can1_rx_pa11: can1_rx_pa11 { 212 pinmux = <STM32_PINMUX('A', 11, AF9)>; 213 bias-pull-up; 214 }; 215 216 /omit-if-no-ref/ can1_rx_pb8: can1_rx_pb8 { 217 pinmux = <STM32_PINMUX('B', 8, AF9)>; 218 bias-pull-up; 219 }; 220 221 /* CAN_TX */ 222 223 /omit-if-no-ref/ can1_tx_pa12: can1_tx_pa12 { 224 pinmux = <STM32_PINMUX('A', 12, AF9)>; 225 }; 226 227 /omit-if-no-ref/ can1_tx_pb9: can1_tx_pb9 { 228 pinmux = <STM32_PINMUX('B', 9, AF9)>; 229 }; 230 231 /* DAC_OUT */ 232 233 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 234 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 238 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 239 }; 240 241 /* I2C_SCL */ 242 243 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 244 pinmux = <STM32_PINMUX('A', 9, AF4)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 250 pinmux = <STM32_PINMUX('B', 6, AF4)>; 251 bias-pull-up; 252 drive-open-drain; 253 }; 254 255 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 256 pinmux = <STM32_PINMUX('B', 8, AF4)>; 257 bias-pull-up; 258 drive-open-drain; 259 }; 260 261 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 262 pinmux = <STM32_PINMUX('B', 10, AF4)>; 263 bias-pull-up; 264 drive-open-drain; 265 }; 266 267 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 268 pinmux = <STM32_PINMUX('B', 13, AF4)>; 269 bias-pull-up; 270 drive-open-drain; 271 }; 272 273 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 274 pinmux = <STM32_PINMUX('A', 7, AF4)>; 275 bias-pull-up; 276 drive-open-drain; 277 }; 278 279 /* I2C_SDA */ 280 281 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 282 pinmux = <STM32_PINMUX('A', 10, AF4)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 288 pinmux = <STM32_PINMUX('B', 7, AF4)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 294 pinmux = <STM32_PINMUX('B', 9, AF4)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 300 pinmux = <STM32_PINMUX('B', 11, AF4)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 306 pinmux = <STM32_PINMUX('B', 14, AF4)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 312 pinmux = <STM32_PINMUX('B', 4, AF4)>; 313 bias-pull-up; 314 drive-open-drain; 315 }; 316 317 /* QUADSPI */ 318 319 /omit-if-no-ref/ quadspi_bk1_ncs_pa2: quadspi_bk1_ncs_pa2 { 320 pinmux = <STM32_PINMUX('A', 2, AF10)>; 321 slew-rate = "very-high-speed"; 322 }; 323 324 /omit-if-no-ref/ quadspi_clk_pa3: quadspi_clk_pa3 { 325 pinmux = <STM32_PINMUX('A', 3, AF10)>; 326 slew-rate = "very-high-speed"; 327 }; 328 329 /omit-if-no-ref/ quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 330 pinmux = <STM32_PINMUX('A', 6, AF10)>; 331 slew-rate = "very-high-speed"; 332 }; 333 334 /omit-if-no-ref/ quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 335 pinmux = <STM32_PINMUX('A', 7, AF10)>; 336 slew-rate = "very-high-speed"; 337 }; 338 339 /omit-if-no-ref/ quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 { 340 pinmux = <STM32_PINMUX('B', 0, AF10)>; 341 slew-rate = "very-high-speed"; 342 }; 343 344 /omit-if-no-ref/ quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 { 345 pinmux = <STM32_PINMUX('B', 1, AF10)>; 346 slew-rate = "very-high-speed"; 347 }; 348 349 /omit-if-no-ref/ quadspi_clk_pb10: quadspi_clk_pb10 { 350 pinmux = <STM32_PINMUX('B', 10, AF10)>; 351 slew-rate = "very-high-speed"; 352 }; 353 354 /omit-if-no-ref/ quadspi_bk1_ncs_pb11: quadspi_bk1_ncs_pb11 { 355 pinmux = <STM32_PINMUX('B', 11, AF10)>; 356 slew-rate = "very-high-speed"; 357 }; 358 359 /* SPI_MISO */ 360 361 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 362 pinmux = <STM32_PINMUX('A', 6, AF5)>; 363 bias-pull-down; 364 }; 365 366 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 367 pinmux = <STM32_PINMUX('A', 11, AF5)>; 368 bias-pull-down; 369 }; 370 371 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 372 pinmux = <STM32_PINMUX('B', 4, AF5)>; 373 bias-pull-down; 374 }; 375 376 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 377 pinmux = <STM32_PINMUX('B', 14, AF5)>; 378 bias-pull-down; 379 }; 380 381 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 382 pinmux = <STM32_PINMUX('B', 4, AF6)>; 383 bias-pull-down; 384 }; 385 386 /* SPI_MOSI */ 387 388 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 389 pinmux = <STM32_PINMUX('A', 7, AF5)>; 390 bias-pull-down; 391 }; 392 393 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 394 pinmux = <STM32_PINMUX('A', 12, AF5)>; 395 bias-pull-down; 396 }; 397 398 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 399 pinmux = <STM32_PINMUX('B', 5, AF5)>; 400 bias-pull-down; 401 }; 402 403 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 404 pinmux = <STM32_PINMUX('B', 15, AF5)>; 405 bias-pull-down; 406 }; 407 408 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 409 pinmux = <STM32_PINMUX('B', 5, AF6)>; 410 bias-pull-down; 411 }; 412 413 /* SPI_NSS */ 414 415 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 416 pinmux = <STM32_PINMUX('A', 4, AF5)>; 417 bias-pull-up; 418 }; 419 420 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 421 pinmux = <STM32_PINMUX('A', 15, AF5)>; 422 bias-pull-up; 423 }; 424 425 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 426 pinmux = <STM32_PINMUX('B', 0, AF5)>; 427 bias-pull-up; 428 }; 429 430 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 431 pinmux = <STM32_PINMUX('B', 9, AF5)>; 432 bias-pull-up; 433 }; 434 435 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 436 pinmux = <STM32_PINMUX('B', 12, AF5)>; 437 bias-pull-up; 438 }; 439 440 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 441 pinmux = <STM32_PINMUX('A', 4, AF6)>; 442 bias-pull-up; 443 }; 444 445 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 446 pinmux = <STM32_PINMUX('A', 15, AF6)>; 447 bias-pull-up; 448 }; 449 450 /* SPI_SCK */ 451 452 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 453 pinmux = <STM32_PINMUX('A', 1, AF5)>; 454 bias-pull-down; 455 slew-rate = "very-high-speed"; 456 }; 457 458 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 459 pinmux = <STM32_PINMUX('A', 5, AF5)>; 460 bias-pull-down; 461 slew-rate = "very-high-speed"; 462 }; 463 464 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 465 pinmux = <STM32_PINMUX('B', 3, AF5)>; 466 bias-pull-down; 467 slew-rate = "very-high-speed"; 468 }; 469 470 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 471 pinmux = <STM32_PINMUX('B', 10, AF5)>; 472 bias-pull-down; 473 slew-rate = "very-high-speed"; 474 }; 475 476 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 477 pinmux = <STM32_PINMUX('B', 13, AF5)>; 478 bias-pull-down; 479 slew-rate = "very-high-speed"; 480 }; 481 482 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 483 pinmux = <STM32_PINMUX('B', 3, AF6)>; 484 bias-pull-down; 485 slew-rate = "very-high-speed"; 486 }; 487 488 /* TIM_BKIN */ 489 490 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 491 pinmux = <STM32_PINMUX('A', 6, AF1)>; 492 }; 493 494 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 495 pinmux = <STM32_PINMUX('A', 11, AF2)>; 496 }; 497 498 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 499 pinmux = <STM32_PINMUX('B', 12, AF1)>; 500 }; 501 502 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 503 pinmux = <STM32_PINMUX('A', 9, AF14)>; 504 }; 505 506 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 507 pinmux = <STM32_PINMUX('B', 12, AF14)>; 508 }; 509 510 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 511 pinmux = <STM32_PINMUX('B', 5, AF14)>; 512 }; 513 514 /* TIM_CH / TIM_CHN */ 515 516 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 517 pinmux = <STM32_PINMUX('A', 7, AF1)>; 518 }; 519 520 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 521 pinmux = <STM32_PINMUX('A', 8, AF1)>; 522 }; 523 524 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 525 pinmux = <STM32_PINMUX('A', 9, AF1)>; 526 }; 527 528 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 529 pinmux = <STM32_PINMUX('A', 10, AF1)>; 530 }; 531 532 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 533 pinmux = <STM32_PINMUX('A', 11, AF1)>; 534 }; 535 536 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 537 pinmux = <STM32_PINMUX('B', 0, AF1)>; 538 }; 539 540 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 541 pinmux = <STM32_PINMUX('B', 1, AF1)>; 542 }; 543 544 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 545 pinmux = <STM32_PINMUX('B', 13, AF1)>; 546 }; 547 548 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 549 pinmux = <STM32_PINMUX('B', 14, AF1)>; 550 }; 551 552 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 553 pinmux = <STM32_PINMUX('B', 15, AF1)>; 554 }; 555 556 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 557 pinmux = <STM32_PINMUX('A', 0, AF1)>; 558 }; 559 560 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 561 pinmux = <STM32_PINMUX('A', 1, AF1)>; 562 }; 563 564 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 565 pinmux = <STM32_PINMUX('A', 2, AF1)>; 566 }; 567 568 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 569 pinmux = <STM32_PINMUX('A', 3, AF1)>; 570 }; 571 572 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 573 pinmux = <STM32_PINMUX('A', 5, AF1)>; 574 }; 575 576 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 577 pinmux = <STM32_PINMUX('A', 15, AF1)>; 578 }; 579 580 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 581 pinmux = <STM32_PINMUX('B', 3, AF1)>; 582 }; 583 584 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 585 pinmux = <STM32_PINMUX('B', 10, AF1)>; 586 }; 587 588 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 589 pinmux = <STM32_PINMUX('B', 11, AF1)>; 590 }; 591 592 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 593 pinmux = <STM32_PINMUX('A', 1, AF14)>; 594 }; 595 596 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 597 pinmux = <STM32_PINMUX('A', 2, AF14)>; 598 }; 599 600 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 601 pinmux = <STM32_PINMUX('A', 3, AF14)>; 602 }; 603 604 /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { 605 pinmux = <STM32_PINMUX('B', 13, AF14)>; 606 }; 607 608 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 609 pinmux = <STM32_PINMUX('B', 14, AF14)>; 610 }; 611 612 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 613 pinmux = <STM32_PINMUX('B', 15, AF14)>; 614 }; 615 616 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 617 pinmux = <STM32_PINMUX('A', 6, AF14)>; 618 }; 619 620 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 621 pinmux = <STM32_PINMUX('B', 6, AF14)>; 622 }; 623 624 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 625 pinmux = <STM32_PINMUX('B', 8, AF14)>; 626 }; 627 628 /* UART_CTS / USART_CTS / LPUART_CTS */ 629 630 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 631 pinmux = <STM32_PINMUX('A', 6, AF8)>; 632 bias-pull-up; 633 drive-open-drain; 634 }; 635 636 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 637 pinmux = <STM32_PINMUX('A', 11, AF7)>; 638 bias-pull-up; 639 drive-open-drain; 640 }; 641 642 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 643 pinmux = <STM32_PINMUX('B', 4, AF7)>; 644 bias-pull-up; 645 drive-open-drain; 646 }; 647 648 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 649 pinmux = <STM32_PINMUX('B', 13, AF8)>; 650 bias-pull-up; 651 drive-open-drain; 652 }; 653 654 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 655 pinmux = <STM32_PINMUX('A', 0, AF7)>; 656 bias-pull-up; 657 drive-open-drain; 658 }; 659 660 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 661 pinmux = <STM32_PINMUX('A', 6, AF7)>; 662 bias-pull-up; 663 drive-open-drain; 664 }; 665 666 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 667 pinmux = <STM32_PINMUX('B', 13, AF7)>; 668 bias-pull-up; 669 drive-open-drain; 670 }; 671 672 /* UART_DE / USART_DE / LPUART_DE */ 673 674 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 675 pinmux = <STM32_PINMUX('A', 12, AF7)>; 676 drive-push-pull; 677 }; 678 679 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 680 pinmux = <STM32_PINMUX('B', 1, AF8)>; 681 drive-push-pull; 682 }; 683 684 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 685 pinmux = <STM32_PINMUX('B', 3, AF7)>; 686 drive-push-pull; 687 }; 688 689 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 690 pinmux = <STM32_PINMUX('B', 12, AF8)>; 691 drive-push-pull; 692 }; 693 694 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 695 pinmux = <STM32_PINMUX('A', 1, AF7)>; 696 drive-push-pull; 697 }; 698 699 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 700 pinmux = <STM32_PINMUX('A', 15, AF7)>; 701 drive-push-pull; 702 }; 703 704 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 705 pinmux = <STM32_PINMUX('B', 1, AF7)>; 706 drive-push-pull; 707 }; 708 709 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 710 pinmux = <STM32_PINMUX('B', 14, AF7)>; 711 drive-push-pull; 712 }; 713 714 /* UART_RTS / USART_RTS / LPUART_RTS */ 715 716 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 717 pinmux = <STM32_PINMUX('A', 12, AF7)>; 718 bias-pull-up; 719 drive-open-drain; 720 }; 721 722 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 723 pinmux = <STM32_PINMUX('B', 1, AF8)>; 724 bias-pull-up; 725 drive-open-drain; 726 }; 727 728 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 729 pinmux = <STM32_PINMUX('B', 3, AF7)>; 730 bias-pull-up; 731 drive-open-drain; 732 }; 733 734 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 735 pinmux = <STM32_PINMUX('B', 12, AF8)>; 736 bias-pull-up; 737 drive-open-drain; 738 }; 739 740 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 741 pinmux = <STM32_PINMUX('A', 1, AF7)>; 742 bias-pull-up; 743 drive-open-drain; 744 }; 745 746 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 747 pinmux = <STM32_PINMUX('A', 15, AF7)>; 748 bias-pull-up; 749 drive-open-drain; 750 }; 751 752 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 753 pinmux = <STM32_PINMUX('B', 1, AF7)>; 754 bias-pull-up; 755 drive-open-drain; 756 }; 757 758 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 759 pinmux = <STM32_PINMUX('B', 14, AF7)>; 760 bias-pull-up; 761 drive-open-drain; 762 }; 763 764 /* UART_RX / USART_RX / LPUART_RX */ 765 766 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 767 pinmux = <STM32_PINMUX('A', 3, AF8)>; 768 }; 769 770 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 771 pinmux = <STM32_PINMUX('A', 10, AF7)>; 772 }; 773 774 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 775 pinmux = <STM32_PINMUX('B', 7, AF7)>; 776 }; 777 778 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 779 pinmux = <STM32_PINMUX('B', 10, AF8)>; 780 }; 781 782 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 783 pinmux = <STM32_PINMUX('A', 3, AF7)>; 784 }; 785 786 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 787 pinmux = <STM32_PINMUX('A', 15, AF3)>; 788 }; 789 790 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 791 pinmux = <STM32_PINMUX('B', 11, AF7)>; 792 }; 793 794 /* UART_TX / USART_TX / LPUART_TX */ 795 796 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 797 pinmux = <STM32_PINMUX('A', 2, AF8)>; 798 bias-pull-up; 799 }; 800 801 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 802 pinmux = <STM32_PINMUX('A', 9, AF7)>; 803 bias-pull-up; 804 }; 805 806 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 807 pinmux = <STM32_PINMUX('B', 6, AF7)>; 808 bias-pull-up; 809 }; 810 811 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 812 pinmux = <STM32_PINMUX('B', 11, AF8)>; 813 bias-pull-up; 814 }; 815 816 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 817 pinmux = <STM32_PINMUX('A', 2, AF7)>; 818 bias-pull-up; 819 }; 820 821 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 822 pinmux = <STM32_PINMUX('B', 10, AF7)>; 823 bias-pull-up; 824 }; 825 826 /* USB */ 827 828 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 829 pinmux = <STM32_PINMUX('A', 11, AF10)>; 830 }; 831 832 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 833 pinmux = <STM32_PINMUX('A', 12, AF10)>; 834 }; 835 836 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 837 pinmux = <STM32_PINMUX('A', 13, AF10)>; 838 }; 839 840 }; 841 }; 842};