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_in1_pa0: adc1_in1_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in2_pa1: adc1_in2_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in3_pa2: adc1_in3_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in4_pa3: adc1_in4_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in6_pc0: adc1_in6_pc0 { 32 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in7_pc1: adc1_in7_pc1 { 36 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in8_pc2: adc1_in8_pc2 { 40 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in9_pc3: adc1_in9_pc3 { 44 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in5_pf4: adc1_in5_pf4 { 48 pinmux = <STM32_PINMUX('F', 4, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc2_in1_pa4: adc2_in1_pa4 { 52 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc2_in2_pa5: adc2_in2_pa5 { 56 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc2_in3_pa6: adc2_in3_pa6 { 60 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc2_in4_pa7: adc2_in4_pa7 { 64 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc2_in12_pb2: adc2_in12_pb2 { 68 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc2_in6_pc0: adc2_in6_pc0 { 72 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc2_in7_pc1: adc2_in7_pc1 { 76 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc2_in8_pc2: adc2_in8_pc2 { 80 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc2_in9_pc3: adc2_in9_pc3 { 84 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc2_in5_pc4: adc2_in5_pc4 { 88 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 89 }; 90 91 /omit-if-no-ref/ adc2_in11_pc5: adc2_in11_pc5 { 92 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 93 }; 94 95 /* Analog */ 96 97 /omit-if-no-ref/ analog_pa0: analog_pa0 { 98 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa1: analog_pa1 { 102 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa2: analog_pa2 { 106 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa3: analog_pa3 { 110 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa4: analog_pa4 { 114 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa5: analog_pa5 { 118 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa6: analog_pa6 { 122 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa7: analog_pa7 { 126 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa8: analog_pa8 { 130 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa9: analog_pa9 { 134 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa10: analog_pa10 { 138 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa11: analog_pa11 { 142 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pa12: analog_pa12 { 146 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pa13: analog_pa13 { 150 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pa14: analog_pa14 { 154 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pa15: analog_pa15 { 158 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb0: analog_pb0 { 162 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb1: analog_pb1 { 166 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb2: analog_pb2 { 170 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb3: analog_pb3 { 174 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb4: analog_pb4 { 178 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb5: analog_pb5 { 182 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb6: analog_pb6 { 186 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb7: analog_pb7 { 190 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb8: analog_pb8 { 194 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb9: analog_pb9 { 198 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb10: analog_pb10 { 202 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb11: analog_pb11 { 206 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb12: analog_pb12 { 210 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb13: analog_pb13 { 214 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pb14: analog_pb14 { 218 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pb15: analog_pb15 { 222 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc0: analog_pc0 { 226 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc1: analog_pc1 { 230 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc2: analog_pc2 { 234 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc3: analog_pc3 { 238 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc4: analog_pc4 { 242 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc5: analog_pc5 { 246 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc6: analog_pc6 { 250 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc7: analog_pc7 { 254 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc8: analog_pc8 { 258 pinmux = <STM32_PINMUX('C', 8, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc9: analog_pc9 { 262 pinmux = <STM32_PINMUX('C', 9, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc10: analog_pc10 { 266 pinmux = <STM32_PINMUX('C', 10, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pc11: analog_pc11 { 270 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 271 }; 272 273 /omit-if-no-ref/ analog_pc12: analog_pc12 { 274 pinmux = <STM32_PINMUX('C', 12, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_pc13: analog_pc13 { 278 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_pc14: analog_pc14 { 282 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 283 }; 284 285 /omit-if-no-ref/ analog_pc15: analog_pc15 { 286 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 287 }; 288 289 /omit-if-no-ref/ analog_pd2: analog_pd2 { 290 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 291 }; 292 293 /omit-if-no-ref/ analog_pf0: analog_pf0 { 294 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 295 }; 296 297 /omit-if-no-ref/ analog_pf1: analog_pf1 { 298 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 299 }; 300 301 /omit-if-no-ref/ analog_pf4: analog_pf4 { 302 pinmux = <STM32_PINMUX('F', 4, ANALOG)>; 303 }; 304 305 /* CAN_RX */ 306 307 /omit-if-no-ref/ can_rx_pa11: can_rx_pa11 { 308 pinmux = <STM32_PINMUX('A', 11, AF9)>; 309 bias-pull-up; 310 }; 311 312 /omit-if-no-ref/ can_rx_pb8: can_rx_pb8 { 313 pinmux = <STM32_PINMUX('B', 8, AF9)>; 314 bias-pull-up; 315 }; 316 317 /* CAN_TX */ 318 319 /omit-if-no-ref/ can_tx_pa12: can_tx_pa12 { 320 pinmux = <STM32_PINMUX('A', 12, AF9)>; 321 }; 322 323 /omit-if-no-ref/ can_tx_pb9: can_tx_pb9 { 324 pinmux = <STM32_PINMUX('B', 9, AF9)>; 325 }; 326 327 /* DAC_OUT */ 328 329 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 330 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 331 }; 332 333 /* I2C_SCL */ 334 335 /omit-if-no-ref/ i2c1_scl_pa15: i2c1_scl_pa15 { 336 pinmux = <STM32_PINMUX('A', 15, AF4)>; 337 bias-pull-up; 338 drive-open-drain; 339 }; 340 341 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 342 pinmux = <STM32_PINMUX('B', 6, AF4)>; 343 bias-pull-up; 344 drive-open-drain; 345 }; 346 347 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 348 pinmux = <STM32_PINMUX('B', 8, AF4)>; 349 bias-pull-up; 350 drive-open-drain; 351 }; 352 353 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 354 pinmux = <STM32_PINMUX('A', 9, AF4)>; 355 bias-pull-up; 356 drive-open-drain; 357 }; 358 359 /omit-if-no-ref/ i2c2_scl_pf1: i2c2_scl_pf1 { 360 pinmux = <STM32_PINMUX('F', 1, AF4)>; 361 bias-pull-up; 362 drive-open-drain; 363 }; 364 365 /* I2C_SDA */ 366 367 /omit-if-no-ref/ i2c1_sda_pa14: i2c1_sda_pa14 { 368 pinmux = <STM32_PINMUX('A', 14, AF4)>; 369 bias-pull-up; 370 drive-open-drain; 371 }; 372 373 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 374 pinmux = <STM32_PINMUX('B', 7, AF4)>; 375 bias-pull-up; 376 drive-open-drain; 377 }; 378 379 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 380 pinmux = <STM32_PINMUX('B', 9, AF4)>; 381 bias-pull-up; 382 drive-open-drain; 383 }; 384 385 /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { 386 pinmux = <STM32_PINMUX('A', 10, AF4)>; 387 bias-pull-up; 388 drive-open-drain; 389 }; 390 391 /omit-if-no-ref/ i2c2_sda_pf0: i2c2_sda_pf0 { 392 pinmux = <STM32_PINMUX('F', 0, AF4)>; 393 bias-pull-up; 394 drive-open-drain; 395 }; 396 397 /* I2S_CK */ 398 399 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 400 pinmux = <STM32_PINMUX('B', 13, AF5)>; 401 slew-rate = "very-high-speed"; 402 }; 403 404 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 405 pinmux = <STM32_PINMUX('B', 3, AF6)>; 406 slew-rate = "very-high-speed"; 407 }; 408 409 /omit-if-no-ref/ i2s3_ck_pc10: i2s3_ck_pc10 { 410 pinmux = <STM32_PINMUX('C', 10, AF6)>; 411 slew-rate = "very-high-speed"; 412 }; 413 414 /* I2S_MCK */ 415 416 /omit-if-no-ref/ i2s2_mck_pa8: i2s2_mck_pa8 { 417 pinmux = <STM32_PINMUX('A', 8, AF5)>; 418 slew-rate = "very-high-speed"; 419 }; 420 421 /omit-if-no-ref/ i2s2_mck_pc6: i2s2_mck_pc6 { 422 pinmux = <STM32_PINMUX('C', 6, AF6)>; 423 slew-rate = "very-high-speed"; 424 }; 425 426 /omit-if-no-ref/ i2s3_mck_pa9: i2s3_mck_pa9 { 427 pinmux = <STM32_PINMUX('A', 9, AF5)>; 428 slew-rate = "very-high-speed"; 429 }; 430 431 /omit-if-no-ref/ i2s3_mck_pc7: i2s3_mck_pc7 { 432 pinmux = <STM32_PINMUX('C', 7, AF6)>; 433 slew-rate = "very-high-speed"; 434 }; 435 436 /* I2S_SD */ 437 438 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 439 pinmux = <STM32_PINMUX('B', 15, AF5)>; 440 }; 441 442 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 443 pinmux = <STM32_PINMUX('B', 5, AF6)>; 444 }; 445 446 /omit-if-no-ref/ i2s3_sd_pc12: i2s3_sd_pc12 { 447 pinmux = <STM32_PINMUX('C', 12, AF6)>; 448 }; 449 450 /* I2S_WS */ 451 452 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 453 pinmux = <STM32_PINMUX('B', 12, AF5)>; 454 }; 455 456 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 457 pinmux = <STM32_PINMUX('A', 4, AF6)>; 458 }; 459 460 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 461 pinmux = <STM32_PINMUX('A', 15, AF6)>; 462 }; 463 464 /* SPI_MISO */ 465 466 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 467 pinmux = <STM32_PINMUX('A', 6, AF5)>; 468 bias-pull-down; 469 }; 470 471 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 472 pinmux = <STM32_PINMUX('B', 4, AF5)>; 473 bias-pull-down; 474 }; 475 476 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 477 pinmux = <STM32_PINMUX('B', 14, AF5)>; 478 bias-pull-down; 479 }; 480 481 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 482 pinmux = <STM32_PINMUX('B', 4, AF6)>; 483 bias-pull-down; 484 }; 485 486 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 487 pinmux = <STM32_PINMUX('C', 11, AF6)>; 488 bias-pull-down; 489 }; 490 491 /* SPI_MOSI */ 492 493 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 494 pinmux = <STM32_PINMUX('A', 7, AF5)>; 495 bias-pull-down; 496 }; 497 498 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 499 pinmux = <STM32_PINMUX('B', 5, AF5)>; 500 bias-pull-down; 501 }; 502 503 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 504 pinmux = <STM32_PINMUX('B', 15, AF5)>; 505 bias-pull-down; 506 }; 507 508 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 509 pinmux = <STM32_PINMUX('B', 5, AF6)>; 510 bias-pull-down; 511 }; 512 513 /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { 514 pinmux = <STM32_PINMUX('C', 12, AF6)>; 515 bias-pull-down; 516 }; 517 518 /* SPI_NSS */ 519 520 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 521 pinmux = <STM32_PINMUX('A', 4, AF5)>; 522 bias-pull-up; 523 }; 524 525 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 526 pinmux = <STM32_PINMUX('A', 15, AF5)>; 527 bias-pull-up; 528 }; 529 530 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 531 pinmux = <STM32_PINMUX('B', 12, AF5)>; 532 bias-pull-up; 533 }; 534 535 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 536 pinmux = <STM32_PINMUX('A', 4, AF6)>; 537 bias-pull-up; 538 }; 539 540 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 541 pinmux = <STM32_PINMUX('A', 15, AF6)>; 542 bias-pull-up; 543 }; 544 545 /* SPI_SCK */ 546 547 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 548 pinmux = <STM32_PINMUX('A', 5, AF5)>; 549 bias-pull-down; 550 slew-rate = "very-high-speed"; 551 }; 552 553 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 554 pinmux = <STM32_PINMUX('B', 3, AF5)>; 555 bias-pull-down; 556 slew-rate = "very-high-speed"; 557 }; 558 559 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 560 pinmux = <STM32_PINMUX('B', 13, AF5)>; 561 bias-pull-down; 562 slew-rate = "very-high-speed"; 563 }; 564 565 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 566 pinmux = <STM32_PINMUX('B', 3, AF6)>; 567 bias-pull-down; 568 slew-rate = "very-high-speed"; 569 }; 570 571 /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { 572 pinmux = <STM32_PINMUX('C', 10, AF6)>; 573 bias-pull-down; 574 slew-rate = "very-high-speed"; 575 }; 576 577 /* TIM_BKIN */ 578 579 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 580 pinmux = <STM32_PINMUX('A', 6, AF6)>; 581 }; 582 583 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 584 pinmux = <STM32_PINMUX('A', 11, AF12)>; 585 }; 586 587 /omit-if-no-ref/ tim1_bkin_pa14: tim1_bkin_pa14 { 588 pinmux = <STM32_PINMUX('A', 14, AF6)>; 589 }; 590 591 /omit-if-no-ref/ tim1_bkin_pa15: tim1_bkin_pa15 { 592 pinmux = <STM32_PINMUX('A', 15, AF9)>; 593 }; 594 595 /omit-if-no-ref/ tim1_bkin_pb8: tim1_bkin_pb8 { 596 pinmux = <STM32_PINMUX('B', 8, AF12)>; 597 }; 598 599 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 600 pinmux = <STM32_PINMUX('B', 12, AF6)>; 601 }; 602 603 /omit-if-no-ref/ tim1_bkin2_pc3: tim1_bkin2_pc3 { 604 pinmux = <STM32_PINMUX('C', 3, AF6)>; 605 }; 606 607 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 608 pinmux = <STM32_PINMUX('A', 9, AF9)>; 609 }; 610 611 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 612 pinmux = <STM32_PINMUX('B', 5, AF1)>; 613 }; 614 615 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 616 pinmux = <STM32_PINMUX('A', 10, AF1)>; 617 }; 618 619 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 620 pinmux = <STM32_PINMUX('B', 4, AF10)>; 621 }; 622 623 /* TIM_CH / TIM_CHN */ 624 625 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 626 pinmux = <STM32_PINMUX('A', 7, AF6)>; 627 }; 628 629 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 630 pinmux = <STM32_PINMUX('A', 8, AF6)>; 631 }; 632 633 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 634 pinmux = <STM32_PINMUX('A', 9, AF6)>; 635 }; 636 637 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 638 pinmux = <STM32_PINMUX('A', 10, AF6)>; 639 }; 640 641 /omit-if-no-ref/ tim1_ch1n_pa11: tim1_ch1n_pa11 { 642 pinmux = <STM32_PINMUX('A', 11, AF6)>; 643 }; 644 645 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 646 pinmux = <STM32_PINMUX('A', 11, AF11)>; 647 }; 648 649 /omit-if-no-ref/ tim1_ch2n_pa12: tim1_ch2n_pa12 { 650 pinmux = <STM32_PINMUX('A', 12, AF6)>; 651 }; 652 653 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 654 pinmux = <STM32_PINMUX('B', 0, AF6)>; 655 }; 656 657 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 658 pinmux = <STM32_PINMUX('B', 1, AF6)>; 659 }; 660 661 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 662 pinmux = <STM32_PINMUX('B', 13, AF6)>; 663 }; 664 665 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 666 pinmux = <STM32_PINMUX('B', 14, AF6)>; 667 }; 668 669 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 670 pinmux = <STM32_PINMUX('B', 15, AF4)>; 671 }; 672 673 /omit-if-no-ref/ tim1_ch1n_pc13: tim1_ch1n_pc13 { 674 pinmux = <STM32_PINMUX('C', 13, AF4)>; 675 }; 676 677 /omit-if-no-ref/ tim1_ch3n_pf0: tim1_ch3n_pf0 { 678 pinmux = <STM32_PINMUX('F', 0, AF6)>; 679 }; 680 681 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 682 pinmux = <STM32_PINMUX('A', 0, AF1)>; 683 }; 684 685 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 686 pinmux = <STM32_PINMUX('A', 1, AF1)>; 687 }; 688 689 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 690 pinmux = <STM32_PINMUX('A', 2, AF1)>; 691 }; 692 693 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 694 pinmux = <STM32_PINMUX('A', 3, AF1)>; 695 }; 696 697 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 698 pinmux = <STM32_PINMUX('A', 5, AF1)>; 699 }; 700 701 /omit-if-no-ref/ tim2_ch3_pa9: tim2_ch3_pa9 { 702 pinmux = <STM32_PINMUX('A', 9, AF10)>; 703 }; 704 705 /omit-if-no-ref/ tim2_ch4_pa10: tim2_ch4_pa10 { 706 pinmux = <STM32_PINMUX('A', 10, AF10)>; 707 }; 708 709 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 710 pinmux = <STM32_PINMUX('A', 15, AF1)>; 711 }; 712 713 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 714 pinmux = <STM32_PINMUX('B', 3, AF1)>; 715 }; 716 717 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 718 pinmux = <STM32_PINMUX('B', 10, AF1)>; 719 }; 720 721 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 722 pinmux = <STM32_PINMUX('B', 11, AF1)>; 723 }; 724 725 /omit-if-no-ref/ tim3_ch2_pa4: tim3_ch2_pa4 { 726 pinmux = <STM32_PINMUX('A', 4, AF2)>; 727 }; 728 729 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 730 pinmux = <STM32_PINMUX('A', 6, AF2)>; 731 }; 732 733 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 734 pinmux = <STM32_PINMUX('A', 7, AF2)>; 735 }; 736 737 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 738 pinmux = <STM32_PINMUX('B', 0, AF2)>; 739 }; 740 741 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 742 pinmux = <STM32_PINMUX('B', 1, AF2)>; 743 }; 744 745 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 746 pinmux = <STM32_PINMUX('B', 4, AF2)>; 747 }; 748 749 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 750 pinmux = <STM32_PINMUX('B', 5, AF2)>; 751 }; 752 753 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 754 pinmux = <STM32_PINMUX('B', 7, AF10)>; 755 }; 756 757 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 758 pinmux = <STM32_PINMUX('C', 6, AF2)>; 759 }; 760 761 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 762 pinmux = <STM32_PINMUX('C', 7, AF2)>; 763 }; 764 765 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 766 pinmux = <STM32_PINMUX('C', 8, AF2)>; 767 }; 768 769 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 770 pinmux = <STM32_PINMUX('C', 9, AF2)>; 771 }; 772 773 /omit-if-no-ref/ tim4_ch1_pa11: tim4_ch1_pa11 { 774 pinmux = <STM32_PINMUX('A', 11, AF10)>; 775 }; 776 777 /omit-if-no-ref/ tim4_ch2_pa12: tim4_ch2_pa12 { 778 pinmux = <STM32_PINMUX('A', 12, AF10)>; 779 }; 780 781 /omit-if-no-ref/ tim4_ch3_pa13: tim4_ch3_pa13 { 782 pinmux = <STM32_PINMUX('A', 13, AF10)>; 783 }; 784 785 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 786 pinmux = <STM32_PINMUX('B', 6, AF2)>; 787 }; 788 789 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 790 pinmux = <STM32_PINMUX('B', 7, AF2)>; 791 }; 792 793 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 794 pinmux = <STM32_PINMUX('B', 8, AF2)>; 795 }; 796 797 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 798 pinmux = <STM32_PINMUX('B', 9, AF2)>; 799 }; 800 801 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 802 pinmux = <STM32_PINMUX('A', 1, AF9)>; 803 }; 804 805 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 806 pinmux = <STM32_PINMUX('A', 2, AF9)>; 807 }; 808 809 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 810 pinmux = <STM32_PINMUX('A', 3, AF9)>; 811 }; 812 813 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 814 pinmux = <STM32_PINMUX('B', 14, AF1)>; 815 }; 816 817 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 818 pinmux = <STM32_PINMUX('B', 15, AF2)>; 819 }; 820 821 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 822 pinmux = <STM32_PINMUX('B', 15, AF1)>; 823 }; 824 825 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 826 pinmux = <STM32_PINMUX('A', 6, AF1)>; 827 }; 828 829 /omit-if-no-ref/ tim16_ch1_pa12: tim16_ch1_pa12 { 830 pinmux = <STM32_PINMUX('A', 12, AF1)>; 831 }; 832 833 /omit-if-no-ref/ tim16_ch1n_pa13: tim16_ch1n_pa13 { 834 pinmux = <STM32_PINMUX('A', 13, AF1)>; 835 }; 836 837 /omit-if-no-ref/ tim16_ch1_pb4: tim16_ch1_pb4 { 838 pinmux = <STM32_PINMUX('B', 4, AF1)>; 839 }; 840 841 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 842 pinmux = <STM32_PINMUX('B', 6, AF1)>; 843 }; 844 845 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 846 pinmux = <STM32_PINMUX('B', 8, AF1)>; 847 }; 848 849 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 850 pinmux = <STM32_PINMUX('A', 7, AF1)>; 851 }; 852 853 /omit-if-no-ref/ tim17_ch1_pb5: tim17_ch1_pb5 { 854 pinmux = <STM32_PINMUX('B', 5, AF10)>; 855 }; 856 857 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 858 pinmux = <STM32_PINMUX('B', 7, AF1)>; 859 }; 860 861 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 862 pinmux = <STM32_PINMUX('B', 9, AF1)>; 863 }; 864 865 /* UART_CTS / USART_CTS / LPUART_CTS */ 866 867 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 868 pinmux = <STM32_PINMUX('A', 11, AF7)>; 869 bias-pull-up; 870 drive-open-drain; 871 }; 872 873 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 874 pinmux = <STM32_PINMUX('A', 0, AF7)>; 875 bias-pull-up; 876 drive-open-drain; 877 }; 878 879 /omit-if-no-ref/ usart3_cts_pa13: usart3_cts_pa13 { 880 pinmux = <STM32_PINMUX('A', 13, AF7)>; 881 bias-pull-up; 882 drive-open-drain; 883 }; 884 885 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 886 pinmux = <STM32_PINMUX('B', 13, AF7)>; 887 bias-pull-up; 888 drive-open-drain; 889 }; 890 891 /* UART_DE / USART_DE / LPUART_DE */ 892 893 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 894 pinmux = <STM32_PINMUX('A', 12, AF7)>; 895 drive-push-pull; 896 }; 897 898 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 899 pinmux = <STM32_PINMUX('A', 1, AF7)>; 900 drive-push-pull; 901 }; 902 903 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 904 pinmux = <STM32_PINMUX('B', 14, AF7)>; 905 drive-push-pull; 906 }; 907 908 /* UART_RTS / USART_RTS / LPUART_RTS */ 909 910 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 911 pinmux = <STM32_PINMUX('A', 12, AF7)>; 912 bias-pull-up; 913 drive-open-drain; 914 }; 915 916 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 917 pinmux = <STM32_PINMUX('A', 1, AF7)>; 918 bias-pull-up; 919 drive-open-drain; 920 }; 921 922 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 923 pinmux = <STM32_PINMUX('B', 14, AF7)>; 924 bias-pull-up; 925 drive-open-drain; 926 }; 927 928 /* UART_RX / USART_RX / LPUART_RX */ 929 930 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 931 pinmux = <STM32_PINMUX('A', 10, AF7)>; 932 }; 933 934 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 935 pinmux = <STM32_PINMUX('B', 7, AF7)>; 936 }; 937 938 /omit-if-no-ref/ usart1_rx_pc5: usart1_rx_pc5 { 939 pinmux = <STM32_PINMUX('C', 5, AF7)>; 940 }; 941 942 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 943 pinmux = <STM32_PINMUX('A', 3, AF7)>; 944 }; 945 946 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 947 pinmux = <STM32_PINMUX('A', 15, AF7)>; 948 }; 949 950 /omit-if-no-ref/ usart2_rx_pb4: usart2_rx_pb4 { 951 pinmux = <STM32_PINMUX('B', 4, AF7)>; 952 }; 953 954 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 955 pinmux = <STM32_PINMUX('B', 11, AF7)>; 956 }; 957 958 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 959 pinmux = <STM32_PINMUX('C', 11, AF7)>; 960 }; 961 962 /omit-if-no-ref/ uart4_rx_pc11: uart4_rx_pc11 { 963 pinmux = <STM32_PINMUX('C', 11, AF5)>; 964 }; 965 966 /omit-if-no-ref/ uart5_rx_pd2: uart5_rx_pd2 { 967 pinmux = <STM32_PINMUX('D', 2, AF5)>; 968 }; 969 970 /* UART_TX / USART_TX / LPUART_TX */ 971 972 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 973 pinmux = <STM32_PINMUX('A', 9, AF7)>; 974 bias-pull-up; 975 }; 976 977 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 978 pinmux = <STM32_PINMUX('B', 6, AF7)>; 979 bias-pull-up; 980 }; 981 982 /omit-if-no-ref/ usart1_tx_pc4: usart1_tx_pc4 { 983 pinmux = <STM32_PINMUX('C', 4, AF7)>; 984 bias-pull-up; 985 }; 986 987 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 988 pinmux = <STM32_PINMUX('A', 2, AF7)>; 989 bias-pull-up; 990 }; 991 992 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 993 pinmux = <STM32_PINMUX('A', 14, AF7)>; 994 bias-pull-up; 995 }; 996 997 /omit-if-no-ref/ usart2_tx_pb3: usart2_tx_pb3 { 998 pinmux = <STM32_PINMUX('B', 3, AF7)>; 999 bias-pull-up; 1000 }; 1001 1002 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1003 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1004 bias-pull-up; 1005 }; 1006 1007 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 1008 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1009 bias-pull-up; 1010 }; 1011 1012 /omit-if-no-ref/ uart4_tx_pc10: uart4_tx_pc10 { 1013 pinmux = <STM32_PINMUX('C', 10, AF5)>; 1014 bias-pull-up; 1015 }; 1016 1017 /omit-if-no-ref/ uart5_tx_pc12: uart5_tx_pc12 { 1018 pinmux = <STM32_PINMUX('C', 12, AF5)>; 1019 bias-pull-up; 1020 }; 1021 1022 /* USB */ 1023 1024 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1025 pinmux = <STM32_PINMUX('A', 11, AF14)>; 1026 }; 1027 1028 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1029 pinmux = <STM32_PINMUX('A', 12, AF14)>; 1030 }; 1031 1032 }; 1033 }; 1034};