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