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 /omit-if-no-ref/ analog_pf2: analog_pf2 { 246 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 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 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 256 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 257 }; 258 259 /* I2C_SCL */ 260 261 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 262 pinmux = <STM32_PINMUX('A', 9, AF6)>; 263 bias-pull-up; 264 drive-open-drain; 265 }; 266 267 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 268 pinmux = <STM32_PINMUX('B', 6, AF6)>; 269 bias-pull-up; 270 drive-open-drain; 271 }; 272 273 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 274 pinmux = <STM32_PINMUX('B', 8, AF6)>; 275 bias-pull-up; 276 drive-open-drain; 277 }; 278 279 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 280 pinmux = <STM32_PINMUX('A', 11, AF6)>; 281 bias-pull-up; 282 drive-open-drain; 283 }; 284 285 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 286 pinmux = <STM32_PINMUX('B', 10, AF6)>; 287 bias-pull-up; 288 drive-open-drain; 289 }; 290 291 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 292 pinmux = <STM32_PINMUX('B', 13, AF6)>; 293 bias-pull-up; 294 drive-open-drain; 295 }; 296 297 /* I2C_SDA */ 298 299 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 300 pinmux = <STM32_PINMUX('A', 10, AF6)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 306 pinmux = <STM32_PINMUX('B', 7, AF6)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 312 pinmux = <STM32_PINMUX('B', 9, AF6)>; 313 bias-pull-up; 314 drive-open-drain; 315 }; 316 317 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 318 pinmux = <STM32_PINMUX('A', 12, AF6)>; 319 bias-pull-up; 320 drive-open-drain; 321 }; 322 323 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 324 pinmux = <STM32_PINMUX('B', 11, AF6)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 330 pinmux = <STM32_PINMUX('B', 14, AF6)>; 331 bias-pull-up; 332 drive-open-drain; 333 }; 334 335 /* I2S_CK */ 336 337 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 338 pinmux = <STM32_PINMUX('A', 1, AF0)>; 339 slew-rate = "very-high-speed"; 340 }; 341 342 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 343 pinmux = <STM32_PINMUX('A', 5, AF0)>; 344 slew-rate = "very-high-speed"; 345 }; 346 347 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 348 pinmux = <STM32_PINMUX('B', 3, AF0)>; 349 slew-rate = "very-high-speed"; 350 }; 351 352 /* I2S_MCK */ 353 354 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 355 pinmux = <STM32_PINMUX('A', 6, AF0)>; 356 slew-rate = "very-high-speed"; 357 }; 358 359 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 360 pinmux = <STM32_PINMUX('A', 11, AF0)>; 361 slew-rate = "very-high-speed"; 362 }; 363 364 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 365 pinmux = <STM32_PINMUX('B', 4, AF0)>; 366 slew-rate = "very-high-speed"; 367 }; 368 369 /* I2S_SD */ 370 371 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 372 pinmux = <STM32_PINMUX('A', 2, AF0)>; 373 }; 374 375 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 376 pinmux = <STM32_PINMUX('A', 7, AF0)>; 377 }; 378 379 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 380 pinmux = <STM32_PINMUX('A', 12, AF0)>; 381 }; 382 383 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 384 pinmux = <STM32_PINMUX('B', 5, AF0)>; 385 }; 386 387 /* I2S_WS */ 388 389 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 390 pinmux = <STM32_PINMUX('A', 4, AF0)>; 391 }; 392 393 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 394 pinmux = <STM32_PINMUX('A', 15, AF0)>; 395 }; 396 397 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 398 pinmux = <STM32_PINMUX('B', 0, AF0)>; 399 }; 400 401 /* SPI_MISO */ 402 403 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 404 pinmux = <STM32_PINMUX('A', 6, AF0)>; 405 bias-pull-down; 406 }; 407 408 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 409 pinmux = <STM32_PINMUX('A', 11, AF0)>; 410 bias-pull-down; 411 }; 412 413 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 414 pinmux = <STM32_PINMUX('B', 4, AF0)>; 415 bias-pull-down; 416 }; 417 418 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 419 pinmux = <STM32_PINMUX('A', 3, AF0)>; 420 bias-pull-down; 421 }; 422 423 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 424 pinmux = <STM32_PINMUX('A', 9, AF4)>; 425 bias-pull-down; 426 }; 427 428 /omit-if-no-ref/ spi2_miso_pb2: spi2_miso_pb2 { 429 pinmux = <STM32_PINMUX('B', 2, AF1)>; 430 bias-pull-down; 431 }; 432 433 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 434 pinmux = <STM32_PINMUX('B', 6, AF4)>; 435 bias-pull-down; 436 }; 437 438 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 439 pinmux = <STM32_PINMUX('B', 14, AF0)>; 440 bias-pull-down; 441 }; 442 443 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 444 pinmux = <STM32_PINMUX('D', 3, AF1)>; 445 bias-pull-down; 446 }; 447 448 /* SPI_MOSI */ 449 450 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 451 pinmux = <STM32_PINMUX('A', 2, AF0)>; 452 bias-pull-down; 453 }; 454 455 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 456 pinmux = <STM32_PINMUX('A', 7, AF0)>; 457 bias-pull-down; 458 }; 459 460 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 461 pinmux = <STM32_PINMUX('A', 12, AF0)>; 462 bias-pull-down; 463 }; 464 465 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 466 pinmux = <STM32_PINMUX('B', 5, AF0)>; 467 bias-pull-down; 468 }; 469 470 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 471 pinmux = <STM32_PINMUX('A', 4, AF1)>; 472 bias-pull-down; 473 }; 474 475 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 476 pinmux = <STM32_PINMUX('A', 10, AF0)>; 477 bias-pull-down; 478 }; 479 480 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 481 pinmux = <STM32_PINMUX('B', 7, AF1)>; 482 bias-pull-down; 483 }; 484 485 /omit-if-no-ref/ spi2_mosi_pb11: spi2_mosi_pb11 { 486 pinmux = <STM32_PINMUX('B', 11, AF0)>; 487 bias-pull-down; 488 }; 489 490 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 491 pinmux = <STM32_PINMUX('B', 15, AF0)>; 492 bias-pull-down; 493 }; 494 495 /* SPI_NSS */ 496 497 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 498 pinmux = <STM32_PINMUX('A', 4, AF0)>; 499 bias-pull-up; 500 }; 501 502 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 503 pinmux = <STM32_PINMUX('A', 15, AF0)>; 504 bias-pull-up; 505 }; 506 507 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 508 pinmux = <STM32_PINMUX('B', 0, AF0)>; 509 bias-pull-up; 510 }; 511 512 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 513 pinmux = <STM32_PINMUX('A', 8, AF1)>; 514 bias-pull-up; 515 }; 516 517 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 518 pinmux = <STM32_PINMUX('B', 9, AF5)>; 519 bias-pull-up; 520 }; 521 522 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 523 pinmux = <STM32_PINMUX('B', 12, AF0)>; 524 bias-pull-up; 525 }; 526 527 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 528 pinmux = <STM32_PINMUX('D', 0, AF1)>; 529 bias-pull-up; 530 }; 531 532 /* SPI_SCK */ 533 534 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 535 pinmux = <STM32_PINMUX('A', 1, AF0)>; 536 bias-pull-down; 537 slew-rate = "very-high-speed"; 538 }; 539 540 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 541 pinmux = <STM32_PINMUX('A', 5, AF0)>; 542 bias-pull-down; 543 slew-rate = "very-high-speed"; 544 }; 545 546 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 547 pinmux = <STM32_PINMUX('B', 3, AF0)>; 548 bias-pull-down; 549 slew-rate = "very-high-speed"; 550 }; 551 552 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 553 pinmux = <STM32_PINMUX('A', 0, AF0)>; 554 bias-pull-down; 555 slew-rate = "very-high-speed"; 556 }; 557 558 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 559 pinmux = <STM32_PINMUX('B', 8, AF1)>; 560 bias-pull-down; 561 slew-rate = "very-high-speed"; 562 }; 563 564 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 565 pinmux = <STM32_PINMUX('B', 10, AF5)>; 566 bias-pull-down; 567 slew-rate = "very-high-speed"; 568 }; 569 570 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 571 pinmux = <STM32_PINMUX('B', 13, AF0)>; 572 bias-pull-down; 573 slew-rate = "very-high-speed"; 574 }; 575 576 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 577 pinmux = <STM32_PINMUX('D', 1, AF1)>; 578 bias-pull-down; 579 slew-rate = "very-high-speed"; 580 }; 581 582 /* TIM_CH / TIM_CHN */ 583 584 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 585 pinmux = <STM32_PINMUX('A', 7, AF2)>; 586 }; 587 588 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 589 pinmux = <STM32_PINMUX('A', 8, AF2)>; 590 }; 591 592 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 593 pinmux = <STM32_PINMUX('A', 9, AF2)>; 594 }; 595 596 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 597 pinmux = <STM32_PINMUX('A', 10, AF2)>; 598 }; 599 600 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 601 pinmux = <STM32_PINMUX('A', 11, AF2)>; 602 }; 603 604 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 605 pinmux = <STM32_PINMUX('B', 0, AF2)>; 606 }; 607 608 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 609 pinmux = <STM32_PINMUX('B', 1, AF2)>; 610 }; 611 612 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 613 pinmux = <STM32_PINMUX('B', 3, AF1)>; 614 }; 615 616 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 617 pinmux = <STM32_PINMUX('B', 6, AF1)>; 618 }; 619 620 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 621 pinmux = <STM32_PINMUX('B', 13, AF2)>; 622 }; 623 624 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 625 pinmux = <STM32_PINMUX('B', 14, AF2)>; 626 }; 627 628 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 629 pinmux = <STM32_PINMUX('B', 15, AF2)>; 630 }; 631 632 /omit-if-no-ref/ tim1_ch1n_pd2: tim1_ch1n_pd2 { 633 pinmux = <STM32_PINMUX('D', 2, AF2)>; 634 }; 635 636 /omit-if-no-ref/ tim1_ch2n_pd3: tim1_ch2n_pd3 { 637 pinmux = <STM32_PINMUX('D', 3, AF2)>; 638 }; 639 640 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 641 pinmux = <STM32_PINMUX('A', 0, AF2)>; 642 }; 643 644 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 645 pinmux = <STM32_PINMUX('A', 1, AF2)>; 646 }; 647 648 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 649 pinmux = <STM32_PINMUX('A', 2, AF2)>; 650 }; 651 652 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 653 pinmux = <STM32_PINMUX('A', 3, AF2)>; 654 }; 655 656 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 657 pinmux = <STM32_PINMUX('A', 5, AF2)>; 658 }; 659 660 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 661 pinmux = <STM32_PINMUX('A', 15, AF2)>; 662 }; 663 664 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 665 pinmux = <STM32_PINMUX('B', 3, AF2)>; 666 }; 667 668 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 669 pinmux = <STM32_PINMUX('B', 10, AF2)>; 670 }; 671 672 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 673 pinmux = <STM32_PINMUX('B', 11, AF2)>; 674 }; 675 676 /omit-if-no-ref/ tim2_ch3_pc6: tim2_ch3_pc6 { 677 pinmux = <STM32_PINMUX('C', 6, AF2)>; 678 }; 679 680 /omit-if-no-ref/ tim2_ch4_pc7: tim2_ch4_pc7 { 681 pinmux = <STM32_PINMUX('C', 7, AF2)>; 682 }; 683 684 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 685 pinmux = <STM32_PINMUX('A', 6, AF1)>; 686 }; 687 688 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 689 pinmux = <STM32_PINMUX('A', 7, AF1)>; 690 }; 691 692 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 693 pinmux = <STM32_PINMUX('B', 0, AF1)>; 694 }; 695 696 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 697 pinmux = <STM32_PINMUX('B', 1, AF1)>; 698 }; 699 700 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 701 pinmux = <STM32_PINMUX('B', 4, AF1)>; 702 }; 703 704 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 705 pinmux = <STM32_PINMUX('B', 5, AF1)>; 706 }; 707 708 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 709 pinmux = <STM32_PINMUX('C', 6, AF1)>; 710 }; 711 712 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 713 pinmux = <STM32_PINMUX('C', 7, AF1)>; 714 }; 715 716 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 717 pinmux = <STM32_PINMUX('A', 4, AF4)>; 718 }; 719 720 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 721 pinmux = <STM32_PINMUX('A', 7, AF4)>; 722 }; 723 724 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 725 pinmux = <STM32_PINMUX('B', 1, AF0)>; 726 }; 727 728 /omit-if-no-ref/ tim14_ch1_pf0: tim14_ch1_pf0 { 729 pinmux = <STM32_PINMUX('F', 0, AF2)>; 730 }; 731 732 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 733 pinmux = <STM32_PINMUX('A', 1, AF5)>; 734 }; 735 736 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 737 pinmux = <STM32_PINMUX('A', 2, AF5)>; 738 }; 739 740 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 741 pinmux = <STM32_PINMUX('A', 3, AF5)>; 742 }; 743 744 /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { 745 pinmux = <STM32_PINMUX('B', 13, AF5)>; 746 }; 747 748 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 749 pinmux = <STM32_PINMUX('B', 14, AF5)>; 750 }; 751 752 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 753 pinmux = <STM32_PINMUX('B', 15, AF4)>; 754 }; 755 756 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 757 pinmux = <STM32_PINMUX('B', 15, AF5)>; 758 }; 759 760 /omit-if-no-ref/ tim15_ch1n_pf1: tim15_ch1n_pf1 { 761 pinmux = <STM32_PINMUX('F', 1, AF2)>; 762 }; 763 764 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 765 pinmux = <STM32_PINMUX('A', 6, AF5)>; 766 }; 767 768 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 769 pinmux = <STM32_PINMUX('B', 6, AF2)>; 770 }; 771 772 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 773 pinmux = <STM32_PINMUX('B', 8, AF2)>; 774 }; 775 776 /omit-if-no-ref/ tim16_ch1_pd0: tim16_ch1_pd0 { 777 pinmux = <STM32_PINMUX('D', 0, AF2)>; 778 }; 779 780 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 781 pinmux = <STM32_PINMUX('A', 7, AF5)>; 782 }; 783 784 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 785 pinmux = <STM32_PINMUX('B', 7, AF2)>; 786 }; 787 788 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 789 pinmux = <STM32_PINMUX('B', 9, AF2)>; 790 }; 791 792 /omit-if-no-ref/ tim17_ch1_pd1: tim17_ch1_pd1 { 793 pinmux = <STM32_PINMUX('D', 1, AF2)>; 794 }; 795 796 /* UART_CTS / USART_CTS / LPUART_CTS */ 797 798 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 799 pinmux = <STM32_PINMUX('A', 6, AF6)>; 800 bias-pull-up; 801 drive-open-drain; 802 }; 803 804 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 805 pinmux = <STM32_PINMUX('A', 11, AF1)>; 806 bias-pull-up; 807 drive-open-drain; 808 }; 809 810 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 811 pinmux = <STM32_PINMUX('B', 4, AF4)>; 812 bias-pull-up; 813 drive-open-drain; 814 }; 815 816 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 817 pinmux = <STM32_PINMUX('B', 13, AF1)>; 818 bias-pull-up; 819 drive-open-drain; 820 }; 821 822 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 823 pinmux = <STM32_PINMUX('A', 0, AF1)>; 824 bias-pull-up; 825 drive-open-drain; 826 }; 827 828 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 829 pinmux = <STM32_PINMUX('D', 3, AF0)>; 830 bias-pull-up; 831 drive-open-drain; 832 }; 833 834 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 835 pinmux = <STM32_PINMUX('A', 6, AF4)>; 836 bias-pull-up; 837 drive-open-drain; 838 }; 839 840 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 841 pinmux = <STM32_PINMUX('B', 13, AF4)>; 842 bias-pull-up; 843 drive-open-drain; 844 }; 845 846 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 847 pinmux = <STM32_PINMUX('B', 7, AF4)>; 848 bias-pull-up; 849 drive-open-drain; 850 }; 851 852 /* UART_DE / USART_DE / LPUART_DE */ 853 854 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 855 pinmux = <STM32_PINMUX('A', 12, AF1)>; 856 drive-push-pull; 857 }; 858 859 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 860 pinmux = <STM32_PINMUX('B', 1, AF6)>; 861 drive-push-pull; 862 }; 863 864 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 865 pinmux = <STM32_PINMUX('B', 3, AF4)>; 866 drive-push-pull; 867 }; 868 869 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 870 pinmux = <STM32_PINMUX('B', 12, AF1)>; 871 drive-push-pull; 872 }; 873 874 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 875 pinmux = <STM32_PINMUX('A', 1, AF1)>; 876 drive-push-pull; 877 }; 878 879 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 880 pinmux = <STM32_PINMUX('A', 15, AF5)>; 881 drive-push-pull; 882 }; 883 884 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 885 pinmux = <STM32_PINMUX('B', 1, AF4)>; 886 drive-push-pull; 887 }; 888 889 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 890 pinmux = <STM32_PINMUX('B', 14, AF4)>; 891 drive-push-pull; 892 }; 893 894 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 895 pinmux = <STM32_PINMUX('D', 2, AF0)>; 896 drive-push-pull; 897 }; 898 899 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 900 pinmux = <STM32_PINMUX('A', 15, AF4)>; 901 drive-push-pull; 902 }; 903 904 /* UART_RTS / USART_RTS / LPUART_RTS */ 905 906 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 907 pinmux = <STM32_PINMUX('A', 12, AF1)>; 908 bias-pull-up; 909 drive-open-drain; 910 }; 911 912 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 913 pinmux = <STM32_PINMUX('B', 1, AF6)>; 914 bias-pull-up; 915 drive-open-drain; 916 }; 917 918 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 919 pinmux = <STM32_PINMUX('B', 3, AF4)>; 920 bias-pull-up; 921 drive-open-drain; 922 }; 923 924 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 925 pinmux = <STM32_PINMUX('B', 12, AF1)>; 926 bias-pull-up; 927 drive-open-drain; 928 }; 929 930 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 931 pinmux = <STM32_PINMUX('A', 1, AF1)>; 932 bias-pull-up; 933 drive-open-drain; 934 }; 935 936 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 937 pinmux = <STM32_PINMUX('A', 15, AF5)>; 938 bias-pull-up; 939 drive-open-drain; 940 }; 941 942 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 943 pinmux = <STM32_PINMUX('B', 1, AF4)>; 944 bias-pull-up; 945 drive-open-drain; 946 }; 947 948 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 949 pinmux = <STM32_PINMUX('B', 14, AF4)>; 950 bias-pull-up; 951 drive-open-drain; 952 }; 953 954 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 955 pinmux = <STM32_PINMUX('D', 2, AF0)>; 956 bias-pull-up; 957 drive-open-drain; 958 }; 959 960 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 961 pinmux = <STM32_PINMUX('A', 15, AF4)>; 962 bias-pull-up; 963 drive-open-drain; 964 }; 965 966 /* UART_RX / USART_RX / LPUART_RX */ 967 968 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 969 pinmux = <STM32_PINMUX('A', 3, AF6)>; 970 }; 971 972 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 973 pinmux = <STM32_PINMUX('A', 10, AF1)>; 974 }; 975 976 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 977 pinmux = <STM32_PINMUX('B', 7, AF0)>; 978 }; 979 980 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 981 pinmux = <STM32_PINMUX('B', 10, AF1)>; 982 }; 983 984 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 985 pinmux = <STM32_PINMUX('A', 3, AF1)>; 986 }; 987 988 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 989 pinmux = <STM32_PINMUX('A', 15, AF1)>; 990 }; 991 992 /omit-if-no-ref/ usart3_rx_pb0: usart3_rx_pb0 { 993 pinmux = <STM32_PINMUX('B', 0, AF4)>; 994 }; 995 996 /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { 997 pinmux = <STM32_PINMUX('B', 9, AF4)>; 998 }; 999 1000 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1001 pinmux = <STM32_PINMUX('B', 11, AF4)>; 1002 }; 1003 1004 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 1005 pinmux = <STM32_PINMUX('A', 1, AF4)>; 1006 }; 1007 1008 /* UART_TX / USART_TX / LPUART_TX */ 1009 1010 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 1011 pinmux = <STM32_PINMUX('A', 2, AF6)>; 1012 bias-pull-up; 1013 }; 1014 1015 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1016 pinmux = <STM32_PINMUX('A', 9, AF1)>; 1017 bias-pull-up; 1018 }; 1019 1020 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1021 pinmux = <STM32_PINMUX('B', 6, AF0)>; 1022 bias-pull-up; 1023 }; 1024 1025 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 1026 pinmux = <STM32_PINMUX('B', 11, AF1)>; 1027 bias-pull-up; 1028 }; 1029 1030 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1031 pinmux = <STM32_PINMUX('A', 2, AF1)>; 1032 bias-pull-up; 1033 }; 1034 1035 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 1036 pinmux = <STM32_PINMUX('A', 14, AF1)>; 1037 bias-pull-up; 1038 }; 1039 1040 /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { 1041 pinmux = <STM32_PINMUX('A', 5, AF4)>; 1042 bias-pull-up; 1043 }; 1044 1045 /omit-if-no-ref/ usart3_tx_pb2: usart3_tx_pb2 { 1046 pinmux = <STM32_PINMUX('B', 2, AF4)>; 1047 bias-pull-up; 1048 }; 1049 1050 /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { 1051 pinmux = <STM32_PINMUX('B', 8, AF4)>; 1052 bias-pull-up; 1053 }; 1054 1055 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1056 pinmux = <STM32_PINMUX('B', 10, AF4)>; 1057 bias-pull-up; 1058 }; 1059 1060 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 1061 pinmux = <STM32_PINMUX('A', 0, AF4)>; 1062 bias-pull-up; 1063 }; 1064 1065 /* UCPD */ 1066 1067 /omit-if-no-ref/ ucpd1_cc1_pa8: ucpd1_cc1_pa8 { 1068 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 1069 }; 1070 1071 /omit-if-no-ref/ ucpd1_cc2_pb15: ucpd1_cc2_pb15 { 1072 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 1073 }; 1074 1075 /omit-if-no-ref/ ucpd2_cc1_pd0: ucpd2_cc1_pd0 { 1076 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 1077 }; 1078 1079 /omit-if-no-ref/ ucpd2_cc2_pd2: ucpd2_cc2_pd2 { 1080 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 1081 }; 1082 1083 }; 1084 }; 1085};