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