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@40020000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc_in0_pa0: adc_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in8_pb0: adc_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc_in18_pb12: adc_in18_pb12 { 56 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc_in19_pb13: adc_in19_pb13 { 60 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc_in20_pb14: adc_in20_pb14 { 64 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc_in21_pb15: adc_in21_pb15 { 68 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc_in10_pc0: adc_in10_pc0 { 72 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc_in11_pc1: adc_in11_pc1 { 76 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc_in12_pc2: adc_in12_pc2 { 80 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc_in13_pc3: adc_in13_pc3 { 84 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc_in14_pc4: adc_in14_pc4 { 88 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 89 }; 90 91 /omit-if-no-ref/ adc_in15_pc5: adc_in15_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_ph0: analog_ph0 { 294 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 295 }; 296 297 /omit-if-no-ref/ analog_ph1: analog_ph1 { 298 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 299 }; 300 301 /* DAC_OUT */ 302 303 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 304 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 305 }; 306 307 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 308 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 309 }; 310 311 /* I2C_SCL */ 312 313 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 314 pinmux = <STM32_PINMUX('B', 6, AF4)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 320 pinmux = <STM32_PINMUX('B', 8, AF4)>; 321 bias-pull-up; 322 drive-open-drain; 323 }; 324 325 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 326 pinmux = <STM32_PINMUX('B', 10, AF4)>; 327 bias-pull-up; 328 drive-open-drain; 329 }; 330 331 /* I2C_SDA */ 332 333 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 334 pinmux = <STM32_PINMUX('B', 7, AF4)>; 335 bias-pull-up; 336 drive-open-drain; 337 }; 338 339 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 340 pinmux = <STM32_PINMUX('B', 9, AF4)>; 341 bias-pull-up; 342 drive-open-drain; 343 }; 344 345 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 346 pinmux = <STM32_PINMUX('B', 11, AF4)>; 347 bias-pull-up; 348 drive-open-drain; 349 }; 350 351 /* I2S_CK */ 352 353 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 354 pinmux = <STM32_PINMUX('B', 13, AF5)>; 355 slew-rate = "very-high-speed"; 356 }; 357 358 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 359 pinmux = <STM32_PINMUX('B', 3, AF6)>; 360 slew-rate = "very-high-speed"; 361 }; 362 363 /omit-if-no-ref/ i2s3_ck_pc10: i2s3_ck_pc10 { 364 pinmux = <STM32_PINMUX('C', 10, AF6)>; 365 slew-rate = "very-high-speed"; 366 }; 367 368 /* I2S_MCK */ 369 370 /omit-if-no-ref/ i2s2_mck_pc6: i2s2_mck_pc6 { 371 pinmux = <STM32_PINMUX('C', 6, AF5)>; 372 slew-rate = "very-high-speed"; 373 }; 374 375 /omit-if-no-ref/ i2s3_mck_pc7: i2s3_mck_pc7 { 376 pinmux = <STM32_PINMUX('C', 7, AF6)>; 377 slew-rate = "very-high-speed"; 378 }; 379 380 /* I2S_SD */ 381 382 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 383 pinmux = <STM32_PINMUX('B', 15, AF5)>; 384 }; 385 386 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 387 pinmux = <STM32_PINMUX('B', 5, AF6)>; 388 }; 389 390 /omit-if-no-ref/ i2s3_sd_pc12: i2s3_sd_pc12 { 391 pinmux = <STM32_PINMUX('C', 12, AF6)>; 392 }; 393 394 /* I2S_WS */ 395 396 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 397 pinmux = <STM32_PINMUX('B', 12, AF5)>; 398 }; 399 400 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 401 pinmux = <STM32_PINMUX('A', 4, AF6)>; 402 }; 403 404 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 405 pinmux = <STM32_PINMUX('A', 15, AF6)>; 406 }; 407 408 /* SDIO */ 409 410 /omit-if-no-ref/ sdio_d4_pb8: sdio_d4_pb8 { 411 pinmux = <STM32_PINMUX('B', 8, AF12)>; 412 bias-pull-up; 413 slew-rate = "very-high-speed"; 414 }; 415 416 /omit-if-no-ref/ sdio_d5_pb9: sdio_d5_pb9 { 417 pinmux = <STM32_PINMUX('B', 9, AF12)>; 418 bias-pull-up; 419 slew-rate = "very-high-speed"; 420 }; 421 422 /omit-if-no-ref/ sdio_d6_pc6: sdio_d6_pc6 { 423 pinmux = <STM32_PINMUX('C', 6, AF12)>; 424 bias-pull-up; 425 slew-rate = "very-high-speed"; 426 }; 427 428 /omit-if-no-ref/ sdio_d7_pc7: sdio_d7_pc7 { 429 pinmux = <STM32_PINMUX('C', 7, AF12)>; 430 bias-pull-up; 431 slew-rate = "very-high-speed"; 432 }; 433 434 /omit-if-no-ref/ sdio_d0_pc8: sdio_d0_pc8 { 435 pinmux = <STM32_PINMUX('C', 8, AF12)>; 436 bias-pull-up; 437 slew-rate = "very-high-speed"; 438 }; 439 440 /omit-if-no-ref/ sdio_d1_pc9: sdio_d1_pc9 { 441 pinmux = <STM32_PINMUX('C', 9, AF12)>; 442 bias-pull-up; 443 slew-rate = "very-high-speed"; 444 }; 445 446 /omit-if-no-ref/ sdio_d2_pc10: sdio_d2_pc10 { 447 pinmux = <STM32_PINMUX('C', 10, AF12)>; 448 bias-pull-up; 449 slew-rate = "very-high-speed"; 450 }; 451 452 /omit-if-no-ref/ sdio_d3_pc11: sdio_d3_pc11 { 453 pinmux = <STM32_PINMUX('C', 11, AF12)>; 454 bias-pull-up; 455 slew-rate = "very-high-speed"; 456 }; 457 458 /omit-if-no-ref/ sdio_ck_pc12: sdio_ck_pc12 { 459 pinmux = <STM32_PINMUX('C', 12, AF12)>; 460 bias-pull-up; 461 slew-rate = "very-high-speed"; 462 }; 463 464 /omit-if-no-ref/ sdio_cmd_pd2: sdio_cmd_pd2 { 465 pinmux = <STM32_PINMUX('D', 2, AF12)>; 466 bias-pull-up; 467 slew-rate = "very-high-speed"; 468 }; 469 470 /* SPI_MISO */ 471 472 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 473 pinmux = <STM32_PINMUX('A', 6, AF5)>; 474 bias-pull-down; 475 }; 476 477 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 478 pinmux = <STM32_PINMUX('A', 11, AF5)>; 479 bias-pull-down; 480 }; 481 482 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 483 pinmux = <STM32_PINMUX('B', 4, AF5)>; 484 bias-pull-down; 485 }; 486 487 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 488 pinmux = <STM32_PINMUX('B', 14, AF5)>; 489 bias-pull-down; 490 }; 491 492 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 493 pinmux = <STM32_PINMUX('B', 4, AF6)>; 494 bias-pull-down; 495 }; 496 497 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 498 pinmux = <STM32_PINMUX('C', 11, AF6)>; 499 bias-pull-down; 500 }; 501 502 /* SPI_MOSI */ 503 504 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 505 pinmux = <STM32_PINMUX('A', 7, AF5)>; 506 bias-pull-down; 507 }; 508 509 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 510 pinmux = <STM32_PINMUX('A', 12, AF5)>; 511 bias-pull-down; 512 }; 513 514 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 515 pinmux = <STM32_PINMUX('B', 5, AF5)>; 516 bias-pull-down; 517 }; 518 519 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 520 pinmux = <STM32_PINMUX('B', 15, AF5)>; 521 bias-pull-down; 522 }; 523 524 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 525 pinmux = <STM32_PINMUX('B', 5, AF6)>; 526 bias-pull-down; 527 }; 528 529 /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { 530 pinmux = <STM32_PINMUX('C', 12, AF6)>; 531 bias-pull-down; 532 }; 533 534 /* SPI_NSS */ 535 536 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 537 pinmux = <STM32_PINMUX('A', 4, AF5)>; 538 bias-pull-up; 539 }; 540 541 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 542 pinmux = <STM32_PINMUX('A', 15, AF5)>; 543 bias-pull-up; 544 }; 545 546 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 547 pinmux = <STM32_PINMUX('B', 12, AF5)>; 548 bias-pull-up; 549 }; 550 551 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 552 pinmux = <STM32_PINMUX('A', 4, AF6)>; 553 bias-pull-up; 554 }; 555 556 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 557 pinmux = <STM32_PINMUX('A', 15, AF6)>; 558 bias-pull-up; 559 }; 560 561 /* SPI_SCK */ 562 563 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 564 pinmux = <STM32_PINMUX('A', 5, AF5)>; 565 bias-pull-down; 566 slew-rate = "very-high-speed"; 567 }; 568 569 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 570 pinmux = <STM32_PINMUX('B', 3, AF5)>; 571 bias-pull-down; 572 slew-rate = "very-high-speed"; 573 }; 574 575 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 576 pinmux = <STM32_PINMUX('B', 13, AF5)>; 577 bias-pull-down; 578 slew-rate = "very-high-speed"; 579 }; 580 581 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 582 pinmux = <STM32_PINMUX('B', 3, AF6)>; 583 bias-pull-down; 584 slew-rate = "very-high-speed"; 585 }; 586 587 /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { 588 pinmux = <STM32_PINMUX('C', 10, AF6)>; 589 bias-pull-down; 590 slew-rate = "very-high-speed"; 591 }; 592 593 /* TIM_CH / TIM_CHN */ 594 595 /omit-if-no-ref/ tim10_ch1_pa6: tim10_ch1_pa6 { 596 pinmux = <STM32_PINMUX('A', 6, AF3)>; 597 }; 598 599 /omit-if-no-ref/ tim10_ch1_pb8: tim10_ch1_pb8 { 600 pinmux = <STM32_PINMUX('B', 8, AF3)>; 601 }; 602 603 /omit-if-no-ref/ tim10_ch1_pb12: tim10_ch1_pb12 { 604 pinmux = <STM32_PINMUX('B', 12, AF3)>; 605 }; 606 607 /omit-if-no-ref/ tim11_ch1_pa7: tim11_ch1_pa7 { 608 pinmux = <STM32_PINMUX('A', 7, AF3)>; 609 }; 610 611 /omit-if-no-ref/ tim11_ch1_pb9: tim11_ch1_pb9 { 612 pinmux = <STM32_PINMUX('B', 9, AF3)>; 613 }; 614 615 /omit-if-no-ref/ tim11_ch1_pb15: tim11_ch1_pb15 { 616 pinmux = <STM32_PINMUX('B', 15, AF3)>; 617 }; 618 619 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 620 pinmux = <STM32_PINMUX('A', 0, AF1)>; 621 }; 622 623 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 624 pinmux = <STM32_PINMUX('A', 1, AF1)>; 625 }; 626 627 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 628 pinmux = <STM32_PINMUX('A', 2, AF1)>; 629 }; 630 631 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 632 pinmux = <STM32_PINMUX('A', 3, AF1)>; 633 }; 634 635 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 636 pinmux = <STM32_PINMUX('A', 5, AF1)>; 637 }; 638 639 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 640 pinmux = <STM32_PINMUX('A', 15, AF1)>; 641 }; 642 643 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 644 pinmux = <STM32_PINMUX('B', 3, AF1)>; 645 }; 646 647 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 648 pinmux = <STM32_PINMUX('B', 10, AF1)>; 649 }; 650 651 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 652 pinmux = <STM32_PINMUX('B', 11, AF1)>; 653 }; 654 655 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 656 pinmux = <STM32_PINMUX('A', 6, AF2)>; 657 }; 658 659 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 660 pinmux = <STM32_PINMUX('A', 7, AF2)>; 661 }; 662 663 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 664 pinmux = <STM32_PINMUX('B', 0, AF2)>; 665 }; 666 667 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 668 pinmux = <STM32_PINMUX('B', 1, AF2)>; 669 }; 670 671 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 672 pinmux = <STM32_PINMUX('B', 4, AF2)>; 673 }; 674 675 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 676 pinmux = <STM32_PINMUX('B', 5, AF2)>; 677 }; 678 679 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 680 pinmux = <STM32_PINMUX('C', 6, AF2)>; 681 }; 682 683 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 684 pinmux = <STM32_PINMUX('C', 7, AF2)>; 685 }; 686 687 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 688 pinmux = <STM32_PINMUX('C', 8, AF2)>; 689 }; 690 691 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 692 pinmux = <STM32_PINMUX('C', 9, AF2)>; 693 }; 694 695 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 696 pinmux = <STM32_PINMUX('B', 6, AF2)>; 697 }; 698 699 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 700 pinmux = <STM32_PINMUX('B', 7, AF2)>; 701 }; 702 703 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 704 pinmux = <STM32_PINMUX('B', 8, AF2)>; 705 }; 706 707 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 708 pinmux = <STM32_PINMUX('B', 9, AF2)>; 709 }; 710 711 /omit-if-no-ref/ tim5_ch1_pa0: tim5_ch1_pa0 { 712 pinmux = <STM32_PINMUX('A', 0, AF2)>; 713 }; 714 715 /omit-if-no-ref/ tim5_ch2_pa1: tim5_ch2_pa1 { 716 pinmux = <STM32_PINMUX('A', 1, AF2)>; 717 }; 718 719 /omit-if-no-ref/ tim5_ch3_pa2: tim5_ch3_pa2 { 720 pinmux = <STM32_PINMUX('A', 2, AF2)>; 721 }; 722 723 /omit-if-no-ref/ tim5_ch4_pa3: tim5_ch4_pa3 { 724 pinmux = <STM32_PINMUX('A', 3, AF2)>; 725 }; 726 727 /omit-if-no-ref/ tim9_ch1_pa2: tim9_ch1_pa2 { 728 pinmux = <STM32_PINMUX('A', 2, AF3)>; 729 }; 730 731 /omit-if-no-ref/ tim9_ch2_pa3: tim9_ch2_pa3 { 732 pinmux = <STM32_PINMUX('A', 3, AF3)>; 733 }; 734 735 /omit-if-no-ref/ tim9_ch1_pb13: tim9_ch1_pb13 { 736 pinmux = <STM32_PINMUX('B', 13, AF3)>; 737 }; 738 739 /omit-if-no-ref/ tim9_ch2_pb14: tim9_ch2_pb14 { 740 pinmux = <STM32_PINMUX('B', 14, AF3)>; 741 }; 742 743 /* UART_CTS / USART_CTS / LPUART_CTS */ 744 745 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 746 pinmux = <STM32_PINMUX('A', 11, AF7)>; 747 bias-pull-up; 748 drive-open-drain; 749 }; 750 751 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 752 pinmux = <STM32_PINMUX('A', 0, AF7)>; 753 bias-pull-up; 754 drive-open-drain; 755 }; 756 757 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 758 pinmux = <STM32_PINMUX('B', 13, AF7)>; 759 bias-pull-up; 760 drive-open-drain; 761 }; 762 763 /* UART_RTS / USART_RTS / LPUART_RTS */ 764 765 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 766 pinmux = <STM32_PINMUX('A', 12, AF7)>; 767 bias-pull-up; 768 drive-open-drain; 769 }; 770 771 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 772 pinmux = <STM32_PINMUX('A', 1, AF7)>; 773 bias-pull-up; 774 drive-open-drain; 775 }; 776 777 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 778 pinmux = <STM32_PINMUX('B', 14, AF7)>; 779 bias-pull-up; 780 drive-open-drain; 781 }; 782 783 /* UART_RX / USART_RX / LPUART_RX */ 784 785 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 786 pinmux = <STM32_PINMUX('A', 10, AF7)>; 787 }; 788 789 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 790 pinmux = <STM32_PINMUX('B', 7, AF7)>; 791 }; 792 793 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 794 pinmux = <STM32_PINMUX('A', 3, AF7)>; 795 }; 796 797 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 798 pinmux = <STM32_PINMUX('B', 11, AF7)>; 799 }; 800 801 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 802 pinmux = <STM32_PINMUX('C', 11, AF7)>; 803 }; 804 805 /omit-if-no-ref/ uart4_rx_pc11: uart4_rx_pc11 { 806 pinmux = <STM32_PINMUX('C', 11, AF8)>; 807 }; 808 809 /omit-if-no-ref/ uart5_rx_pd2: uart5_rx_pd2 { 810 pinmux = <STM32_PINMUX('D', 2, AF8)>; 811 }; 812 813 /* UART_TX / USART_TX / LPUART_TX */ 814 815 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 816 pinmux = <STM32_PINMUX('A', 9, AF7)>; 817 bias-pull-up; 818 }; 819 820 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 821 pinmux = <STM32_PINMUX('B', 6, AF7)>; 822 bias-pull-up; 823 }; 824 825 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 826 pinmux = <STM32_PINMUX('A', 2, AF7)>; 827 bias-pull-up; 828 }; 829 830 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 831 pinmux = <STM32_PINMUX('B', 10, AF7)>; 832 bias-pull-up; 833 }; 834 835 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 836 pinmux = <STM32_PINMUX('C', 10, AF7)>; 837 bias-pull-up; 838 }; 839 840 /omit-if-no-ref/ uart4_tx_pc10: uart4_tx_pc10 { 841 pinmux = <STM32_PINMUX('C', 10, AF8)>; 842 bias-pull-up; 843 }; 844 845 /omit-if-no-ref/ uart5_tx_pc12: uart5_tx_pc12 { 846 pinmux = <STM32_PINMUX('C', 12, AF8)>; 847 bias-pull-up; 848 }; 849 850 /* USB */ 851 852 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 853 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 854 }; 855 856 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 857 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 858 }; 859 860 }; 861 }; 862};