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