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