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@50000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in17_pa13: adc1_in17_pa13 { 48 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in18_pa14: adc1_in18_pa14 { 52 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 56 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc1_in9_pb1: adc1_in9_pb1 { 60 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc1_in10_pb2: adc1_in10_pb2 { 64 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc1_in11_pb10: adc1_in11_pb10 { 68 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in15_pb11: adc1_in15_pb11 { 72 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc1_in16_pb12: adc1_in16_pb12 { 76 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 77 }; 78 79 /* Analog */ 80 81 /omit-if-no-ref/ analog_pa0: analog_pa0 { 82 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa1: analog_pa1 { 86 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa2: analog_pa2 { 90 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa3: analog_pa3 { 94 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa4: analog_pa4 { 98 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa5: analog_pa5 { 102 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa6: analog_pa6 { 106 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa7: analog_pa7 { 110 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa8: analog_pa8 { 114 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa9: analog_pa9 { 118 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa10: analog_pa10 { 122 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa11: analog_pa11 { 126 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa12: analog_pa12 { 130 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa13: analog_pa13 { 134 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa14: analog_pa14 { 138 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa15: analog_pa15 { 142 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb0: analog_pb0 { 146 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb1: analog_pb1 { 150 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb2: analog_pb2 { 154 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb3: analog_pb3 { 158 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb4: analog_pb4 { 162 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb5: analog_pb5 { 166 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb6: analog_pb6 { 170 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb7: analog_pb7 { 174 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb8: analog_pb8 { 178 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb9: analog_pb9 { 182 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb10: analog_pb10 { 186 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb11: analog_pb11 { 190 pinmux = <STM32_PINMUX('B', 11, 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_pc6: analog_pc6 { 210 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc7: analog_pc7 { 214 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc13: analog_pc13 { 218 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc14: analog_pc14 { 222 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc15: analog_pc15 { 226 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pd0: analog_pd0 { 230 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pd1: analog_pd1 { 234 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pd2: analog_pd2 { 238 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pd3: analog_pd3 { 242 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pf0: analog_pf0 { 246 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pf1: analog_pf1 { 250 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pf2: analog_pf2 { 254 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 255 }; 256 257 /* I2C_SCL */ 258 259 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 260 pinmux = <STM32_PINMUX('A', 9, AF6)>; 261 bias-pull-up; 262 drive-open-drain; 263 }; 264 265 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 266 pinmux = <STM32_PINMUX('B', 6, AF6)>; 267 bias-pull-up; 268 drive-open-drain; 269 }; 270 271 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 272 pinmux = <STM32_PINMUX('B', 8, AF6)>; 273 bias-pull-up; 274 drive-open-drain; 275 }; 276 277 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 278 pinmux = <STM32_PINMUX('A', 11, AF6)>; 279 bias-pull-up; 280 drive-open-drain; 281 }; 282 283 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 284 pinmux = <STM32_PINMUX('B', 10, AF6)>; 285 bias-pull-up; 286 drive-open-drain; 287 }; 288 289 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 290 pinmux = <STM32_PINMUX('B', 13, AF6)>; 291 bias-pull-up; 292 drive-open-drain; 293 }; 294 295 /* I2C_SDA */ 296 297 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 298 pinmux = <STM32_PINMUX('A', 10, AF6)>; 299 bias-pull-up; 300 drive-open-drain; 301 }; 302 303 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 304 pinmux = <STM32_PINMUX('B', 7, AF6)>; 305 bias-pull-up; 306 drive-open-drain; 307 }; 308 309 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 310 pinmux = <STM32_PINMUX('B', 9, AF6)>; 311 bias-pull-up; 312 drive-open-drain; 313 }; 314 315 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 316 pinmux = <STM32_PINMUX('A', 12, AF6)>; 317 bias-pull-up; 318 drive-open-drain; 319 }; 320 321 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 322 pinmux = <STM32_PINMUX('B', 11, AF6)>; 323 bias-pull-up; 324 drive-open-drain; 325 }; 326 327 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 328 pinmux = <STM32_PINMUX('B', 14, AF6)>; 329 bias-pull-up; 330 drive-open-drain; 331 }; 332 333 /* I2S_CK */ 334 335 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 336 pinmux = <STM32_PINMUX('A', 1, AF0)>; 337 slew-rate = "very-high-speed"; 338 }; 339 340 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 341 pinmux = <STM32_PINMUX('A', 5, AF0)>; 342 slew-rate = "very-high-speed"; 343 }; 344 345 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 346 pinmux = <STM32_PINMUX('B', 3, AF0)>; 347 slew-rate = "very-high-speed"; 348 }; 349 350 /* I2S_MCK */ 351 352 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 353 pinmux = <STM32_PINMUX('A', 6, AF0)>; 354 slew-rate = "very-high-speed"; 355 }; 356 357 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 358 pinmux = <STM32_PINMUX('A', 11, AF0)>; 359 slew-rate = "very-high-speed"; 360 }; 361 362 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 363 pinmux = <STM32_PINMUX('B', 4, AF0)>; 364 slew-rate = "very-high-speed"; 365 }; 366 367 /* I2S_SD */ 368 369 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 370 pinmux = <STM32_PINMUX('A', 2, AF0)>; 371 }; 372 373 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 374 pinmux = <STM32_PINMUX('A', 7, AF0)>; 375 }; 376 377 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 378 pinmux = <STM32_PINMUX('A', 12, AF0)>; 379 }; 380 381 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 382 pinmux = <STM32_PINMUX('B', 5, AF0)>; 383 }; 384 385 /* I2S_WS */ 386 387 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 388 pinmux = <STM32_PINMUX('A', 4, AF0)>; 389 }; 390 391 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 392 pinmux = <STM32_PINMUX('A', 15, AF0)>; 393 }; 394 395 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 396 pinmux = <STM32_PINMUX('B', 0, AF0)>; 397 }; 398 399 /* SPI_MISO */ 400 401 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 402 pinmux = <STM32_PINMUX('A', 6, AF0)>; 403 bias-pull-down; 404 }; 405 406 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 407 pinmux = <STM32_PINMUX('A', 11, AF0)>; 408 bias-pull-down; 409 }; 410 411 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 412 pinmux = <STM32_PINMUX('B', 4, AF0)>; 413 bias-pull-down; 414 }; 415 416 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 417 pinmux = <STM32_PINMUX('A', 3, AF0)>; 418 bias-pull-down; 419 }; 420 421 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 422 pinmux = <STM32_PINMUX('A', 9, AF4)>; 423 bias-pull-down; 424 }; 425 426 /omit-if-no-ref/ spi2_miso_pb2: spi2_miso_pb2 { 427 pinmux = <STM32_PINMUX('B', 2, AF1)>; 428 bias-pull-down; 429 }; 430 431 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 432 pinmux = <STM32_PINMUX('B', 6, AF4)>; 433 bias-pull-down; 434 }; 435 436 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 437 pinmux = <STM32_PINMUX('B', 14, AF0)>; 438 bias-pull-down; 439 }; 440 441 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 442 pinmux = <STM32_PINMUX('D', 3, AF1)>; 443 bias-pull-down; 444 }; 445 446 /* SPI_MOSI */ 447 448 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 449 pinmux = <STM32_PINMUX('A', 2, AF0)>; 450 bias-pull-down; 451 }; 452 453 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 454 pinmux = <STM32_PINMUX('A', 7, AF0)>; 455 bias-pull-down; 456 }; 457 458 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 459 pinmux = <STM32_PINMUX('A', 12, AF0)>; 460 bias-pull-down; 461 }; 462 463 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 464 pinmux = <STM32_PINMUX('B', 5, AF0)>; 465 bias-pull-down; 466 }; 467 468 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 469 pinmux = <STM32_PINMUX('A', 4, AF1)>; 470 bias-pull-down; 471 }; 472 473 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 474 pinmux = <STM32_PINMUX('A', 10, AF0)>; 475 bias-pull-down; 476 }; 477 478 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 479 pinmux = <STM32_PINMUX('B', 7, AF1)>; 480 bias-pull-down; 481 }; 482 483 /omit-if-no-ref/ spi2_mosi_pb11: spi2_mosi_pb11 { 484 pinmux = <STM32_PINMUX('B', 11, AF0)>; 485 bias-pull-down; 486 }; 487 488 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 489 pinmux = <STM32_PINMUX('B', 15, AF0)>; 490 bias-pull-down; 491 }; 492 493 /* SPI_NSS */ 494 495 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 496 pinmux = <STM32_PINMUX('A', 4, AF0)>; 497 bias-pull-up; 498 }; 499 500 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 501 pinmux = <STM32_PINMUX('A', 15, AF0)>; 502 bias-pull-up; 503 }; 504 505 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 506 pinmux = <STM32_PINMUX('B', 0, AF0)>; 507 bias-pull-up; 508 }; 509 510 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 511 pinmux = <STM32_PINMUX('A', 8, AF1)>; 512 bias-pull-up; 513 }; 514 515 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 516 pinmux = <STM32_PINMUX('B', 9, AF5)>; 517 bias-pull-up; 518 }; 519 520 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 521 pinmux = <STM32_PINMUX('B', 12, AF0)>; 522 bias-pull-up; 523 }; 524 525 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 526 pinmux = <STM32_PINMUX('D', 0, AF1)>; 527 bias-pull-up; 528 }; 529 530 /* SPI_SCK */ 531 532 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 533 pinmux = <STM32_PINMUX('A', 1, AF0)>; 534 bias-pull-down; 535 slew-rate = "very-high-speed"; 536 }; 537 538 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 539 pinmux = <STM32_PINMUX('A', 5, AF0)>; 540 bias-pull-down; 541 slew-rate = "very-high-speed"; 542 }; 543 544 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 545 pinmux = <STM32_PINMUX('B', 3, AF0)>; 546 bias-pull-down; 547 slew-rate = "very-high-speed"; 548 }; 549 550 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 551 pinmux = <STM32_PINMUX('A', 0, AF0)>; 552 bias-pull-down; 553 slew-rate = "very-high-speed"; 554 }; 555 556 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 557 pinmux = <STM32_PINMUX('B', 8, AF1)>; 558 bias-pull-down; 559 slew-rate = "very-high-speed"; 560 }; 561 562 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 563 pinmux = <STM32_PINMUX('B', 10, AF5)>; 564 bias-pull-down; 565 slew-rate = "very-high-speed"; 566 }; 567 568 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 569 pinmux = <STM32_PINMUX('B', 13, AF0)>; 570 bias-pull-down; 571 slew-rate = "very-high-speed"; 572 }; 573 574 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 575 pinmux = <STM32_PINMUX('D', 1, AF1)>; 576 bias-pull-down; 577 slew-rate = "very-high-speed"; 578 }; 579 580 /* TIM_CH / TIM_CHN */ 581 582 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 583 pinmux = <STM32_PINMUX('A', 7, AF2)>; 584 }; 585 586 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 587 pinmux = <STM32_PINMUX('A', 8, AF2)>; 588 }; 589 590 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 591 pinmux = <STM32_PINMUX('A', 9, AF2)>; 592 }; 593 594 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 595 pinmux = <STM32_PINMUX('A', 10, AF2)>; 596 }; 597 598 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 599 pinmux = <STM32_PINMUX('A', 11, AF2)>; 600 }; 601 602 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 603 pinmux = <STM32_PINMUX('B', 0, AF2)>; 604 }; 605 606 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 607 pinmux = <STM32_PINMUX('B', 1, AF2)>; 608 }; 609 610 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 611 pinmux = <STM32_PINMUX('B', 3, AF1)>; 612 }; 613 614 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 615 pinmux = <STM32_PINMUX('B', 6, AF1)>; 616 }; 617 618 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 619 pinmux = <STM32_PINMUX('B', 13, AF2)>; 620 }; 621 622 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 623 pinmux = <STM32_PINMUX('B', 14, AF2)>; 624 }; 625 626 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 627 pinmux = <STM32_PINMUX('B', 15, AF2)>; 628 }; 629 630 /omit-if-no-ref/ tim1_ch1n_pd2: tim1_ch1n_pd2 { 631 pinmux = <STM32_PINMUX('D', 2, AF2)>; 632 }; 633 634 /omit-if-no-ref/ tim1_ch2n_pd3: tim1_ch2n_pd3 { 635 pinmux = <STM32_PINMUX('D', 3, AF2)>; 636 }; 637 638 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 639 pinmux = <STM32_PINMUX('A', 0, AF2)>; 640 }; 641 642 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 643 pinmux = <STM32_PINMUX('A', 1, AF2)>; 644 }; 645 646 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 647 pinmux = <STM32_PINMUX('A', 2, AF2)>; 648 }; 649 650 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 651 pinmux = <STM32_PINMUX('A', 3, AF2)>; 652 }; 653 654 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 655 pinmux = <STM32_PINMUX('A', 5, AF2)>; 656 }; 657 658 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 659 pinmux = <STM32_PINMUX('A', 15, AF2)>; 660 }; 661 662 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 663 pinmux = <STM32_PINMUX('B', 3, AF2)>; 664 }; 665 666 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 667 pinmux = <STM32_PINMUX('B', 10, AF2)>; 668 }; 669 670 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 671 pinmux = <STM32_PINMUX('B', 11, AF2)>; 672 }; 673 674 /omit-if-no-ref/ tim2_ch3_pc6: tim2_ch3_pc6 { 675 pinmux = <STM32_PINMUX('C', 6, AF2)>; 676 }; 677 678 /omit-if-no-ref/ tim2_ch4_pc7: tim2_ch4_pc7 { 679 pinmux = <STM32_PINMUX('C', 7, AF2)>; 680 }; 681 682 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 683 pinmux = <STM32_PINMUX('A', 6, AF1)>; 684 }; 685 686 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 687 pinmux = <STM32_PINMUX('A', 7, AF1)>; 688 }; 689 690 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 691 pinmux = <STM32_PINMUX('B', 0, AF1)>; 692 }; 693 694 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 695 pinmux = <STM32_PINMUX('B', 1, AF1)>; 696 }; 697 698 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 699 pinmux = <STM32_PINMUX('B', 4, AF1)>; 700 }; 701 702 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 703 pinmux = <STM32_PINMUX('B', 5, AF1)>; 704 }; 705 706 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 707 pinmux = <STM32_PINMUX('C', 6, AF1)>; 708 }; 709 710 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 711 pinmux = <STM32_PINMUX('C', 7, AF1)>; 712 }; 713 714 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 715 pinmux = <STM32_PINMUX('A', 4, AF4)>; 716 }; 717 718 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 719 pinmux = <STM32_PINMUX('A', 7, AF4)>; 720 }; 721 722 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 723 pinmux = <STM32_PINMUX('B', 1, AF0)>; 724 }; 725 726 /omit-if-no-ref/ tim14_ch1_pf0: tim14_ch1_pf0 { 727 pinmux = <STM32_PINMUX('F', 0, AF2)>; 728 }; 729 730 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 731 pinmux = <STM32_PINMUX('A', 6, AF5)>; 732 }; 733 734 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 735 pinmux = <STM32_PINMUX('B', 6, AF2)>; 736 }; 737 738 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 739 pinmux = <STM32_PINMUX('B', 8, AF2)>; 740 }; 741 742 /omit-if-no-ref/ tim16_ch1_pd0: tim16_ch1_pd0 { 743 pinmux = <STM32_PINMUX('D', 0, AF2)>; 744 }; 745 746 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 747 pinmux = <STM32_PINMUX('A', 7, AF5)>; 748 }; 749 750 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 751 pinmux = <STM32_PINMUX('B', 7, AF2)>; 752 }; 753 754 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 755 pinmux = <STM32_PINMUX('B', 9, AF2)>; 756 }; 757 758 /omit-if-no-ref/ tim17_ch1_pd1: tim17_ch1_pd1 { 759 pinmux = <STM32_PINMUX('D', 1, AF2)>; 760 }; 761 762 /* UART_CTS / USART_CTS / LPUART_CTS */ 763 764 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 765 pinmux = <STM32_PINMUX('A', 6, AF6)>; 766 bias-pull-up; 767 drive-open-drain; 768 }; 769 770 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 771 pinmux = <STM32_PINMUX('A', 11, AF1)>; 772 bias-pull-up; 773 drive-open-drain; 774 }; 775 776 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 777 pinmux = <STM32_PINMUX('B', 4, AF4)>; 778 bias-pull-up; 779 drive-open-drain; 780 }; 781 782 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 783 pinmux = <STM32_PINMUX('B', 13, AF1)>; 784 bias-pull-up; 785 drive-open-drain; 786 }; 787 788 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 789 pinmux = <STM32_PINMUX('A', 0, AF1)>; 790 bias-pull-up; 791 drive-open-drain; 792 }; 793 794 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 795 pinmux = <STM32_PINMUX('D', 3, AF0)>; 796 bias-pull-up; 797 drive-open-drain; 798 }; 799 800 /* UART_DE / USART_DE / LPUART_DE */ 801 802 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 803 pinmux = <STM32_PINMUX('A', 12, AF1)>; 804 drive-push-pull; 805 }; 806 807 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 808 pinmux = <STM32_PINMUX('B', 1, AF6)>; 809 drive-push-pull; 810 }; 811 812 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 813 pinmux = <STM32_PINMUX('B', 3, AF4)>; 814 drive-push-pull; 815 }; 816 817 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 818 pinmux = <STM32_PINMUX('B', 12, AF1)>; 819 drive-push-pull; 820 }; 821 822 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 823 pinmux = <STM32_PINMUX('A', 1, AF1)>; 824 drive-push-pull; 825 }; 826 827 /* UART_RTS / USART_RTS / LPUART_RTS */ 828 829 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 830 pinmux = <STM32_PINMUX('A', 12, AF1)>; 831 bias-pull-up; 832 drive-open-drain; 833 }; 834 835 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 836 pinmux = <STM32_PINMUX('B', 1, AF6)>; 837 bias-pull-up; 838 drive-open-drain; 839 }; 840 841 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 842 pinmux = <STM32_PINMUX('B', 3, AF4)>; 843 bias-pull-up; 844 drive-open-drain; 845 }; 846 847 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 848 pinmux = <STM32_PINMUX('B', 12, AF1)>; 849 bias-pull-up; 850 drive-open-drain; 851 }; 852 853 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 854 pinmux = <STM32_PINMUX('A', 1, AF1)>; 855 bias-pull-up; 856 drive-open-drain; 857 }; 858 859 /* UART_RX / USART_RX / LPUART_RX */ 860 861 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 862 pinmux = <STM32_PINMUX('A', 3, AF6)>; 863 }; 864 865 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 866 pinmux = <STM32_PINMUX('A', 10, AF1)>; 867 }; 868 869 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 870 pinmux = <STM32_PINMUX('B', 7, AF0)>; 871 }; 872 873 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 874 pinmux = <STM32_PINMUX('B', 10, AF1)>; 875 }; 876 877 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 878 pinmux = <STM32_PINMUX('A', 3, AF1)>; 879 }; 880 881 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 882 pinmux = <STM32_PINMUX('A', 15, AF1)>; 883 }; 884 885 /* UART_TX / USART_TX / LPUART_TX */ 886 887 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 888 pinmux = <STM32_PINMUX('A', 2, AF6)>; 889 bias-pull-up; 890 }; 891 892 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 893 pinmux = <STM32_PINMUX('A', 9, AF1)>; 894 bias-pull-up; 895 }; 896 897 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 898 pinmux = <STM32_PINMUX('B', 6, AF0)>; 899 bias-pull-up; 900 }; 901 902 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 903 pinmux = <STM32_PINMUX('B', 11, AF1)>; 904 bias-pull-up; 905 }; 906 907 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 908 pinmux = <STM32_PINMUX('A', 2, AF1)>; 909 bias-pull-up; 910 }; 911 912 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 913 pinmux = <STM32_PINMUX('A', 14, AF1)>; 914 bias-pull-up; 915 }; 916 917 }; 918 }; 919};