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 /* SPI_MISO */ 409 410 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 411 pinmux = <STM32_PINMUX('A', 6, AF5)>; 412 bias-pull-down; 413 }; 414 415 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 416 pinmux = <STM32_PINMUX('A', 11, AF5)>; 417 bias-pull-down; 418 }; 419 420 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 421 pinmux = <STM32_PINMUX('B', 4, AF5)>; 422 bias-pull-down; 423 }; 424 425 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 426 pinmux = <STM32_PINMUX('B', 14, AF5)>; 427 bias-pull-down; 428 }; 429 430 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 431 pinmux = <STM32_PINMUX('B', 4, AF6)>; 432 bias-pull-down; 433 }; 434 435 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 436 pinmux = <STM32_PINMUX('C', 11, AF6)>; 437 bias-pull-down; 438 }; 439 440 /* SPI_MOSI */ 441 442 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 443 pinmux = <STM32_PINMUX('A', 7, AF5)>; 444 bias-pull-down; 445 }; 446 447 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 448 pinmux = <STM32_PINMUX('A', 12, AF5)>; 449 bias-pull-down; 450 }; 451 452 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 453 pinmux = <STM32_PINMUX('B', 5, AF5)>; 454 bias-pull-down; 455 }; 456 457 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 458 pinmux = <STM32_PINMUX('B', 15, AF5)>; 459 bias-pull-down; 460 }; 461 462 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 463 pinmux = <STM32_PINMUX('B', 5, AF6)>; 464 bias-pull-down; 465 }; 466 467 /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { 468 pinmux = <STM32_PINMUX('C', 12, AF6)>; 469 bias-pull-down; 470 }; 471 472 /* SPI_NSS */ 473 474 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 475 pinmux = <STM32_PINMUX('A', 4, AF5)>; 476 bias-pull-up; 477 }; 478 479 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 480 pinmux = <STM32_PINMUX('A', 15, AF5)>; 481 bias-pull-up; 482 }; 483 484 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 485 pinmux = <STM32_PINMUX('B', 12, AF5)>; 486 bias-pull-up; 487 }; 488 489 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 490 pinmux = <STM32_PINMUX('A', 4, AF6)>; 491 bias-pull-up; 492 }; 493 494 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 495 pinmux = <STM32_PINMUX('A', 15, AF6)>; 496 bias-pull-up; 497 }; 498 499 /* SPI_SCK */ 500 501 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 502 pinmux = <STM32_PINMUX('A', 5, AF5)>; 503 bias-pull-down; 504 slew-rate = "very-high-speed"; 505 }; 506 507 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 508 pinmux = <STM32_PINMUX('B', 3, AF5)>; 509 bias-pull-down; 510 slew-rate = "very-high-speed"; 511 }; 512 513 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 514 pinmux = <STM32_PINMUX('B', 13, AF5)>; 515 bias-pull-down; 516 slew-rate = "very-high-speed"; 517 }; 518 519 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 520 pinmux = <STM32_PINMUX('B', 3, AF6)>; 521 bias-pull-down; 522 slew-rate = "very-high-speed"; 523 }; 524 525 /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { 526 pinmux = <STM32_PINMUX('C', 10, AF6)>; 527 bias-pull-down; 528 slew-rate = "very-high-speed"; 529 }; 530 531 /* TIM_CH / TIM_CHN */ 532 533 /omit-if-no-ref/ tim10_ch1_pa6: tim10_ch1_pa6 { 534 pinmux = <STM32_PINMUX('A', 6, AF3)>; 535 }; 536 537 /omit-if-no-ref/ tim10_ch1_pb8: tim10_ch1_pb8 { 538 pinmux = <STM32_PINMUX('B', 8, AF3)>; 539 }; 540 541 /omit-if-no-ref/ tim10_ch1_pb12: tim10_ch1_pb12 { 542 pinmux = <STM32_PINMUX('B', 12, AF3)>; 543 }; 544 545 /omit-if-no-ref/ tim11_ch1_pa7: tim11_ch1_pa7 { 546 pinmux = <STM32_PINMUX('A', 7, AF3)>; 547 }; 548 549 /omit-if-no-ref/ tim11_ch1_pb9: tim11_ch1_pb9 { 550 pinmux = <STM32_PINMUX('B', 9, AF3)>; 551 }; 552 553 /omit-if-no-ref/ tim11_ch1_pb15: tim11_ch1_pb15 { 554 pinmux = <STM32_PINMUX('B', 15, AF3)>; 555 }; 556 557 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 558 pinmux = <STM32_PINMUX('A', 0, AF1)>; 559 }; 560 561 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 562 pinmux = <STM32_PINMUX('A', 1, AF1)>; 563 }; 564 565 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 566 pinmux = <STM32_PINMUX('A', 2, AF1)>; 567 }; 568 569 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 570 pinmux = <STM32_PINMUX('A', 3, AF1)>; 571 }; 572 573 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 574 pinmux = <STM32_PINMUX('A', 5, AF1)>; 575 }; 576 577 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 578 pinmux = <STM32_PINMUX('A', 15, AF1)>; 579 }; 580 581 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 582 pinmux = <STM32_PINMUX('B', 3, AF1)>; 583 }; 584 585 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 586 pinmux = <STM32_PINMUX('B', 10, AF1)>; 587 }; 588 589 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 590 pinmux = <STM32_PINMUX('B', 11, AF1)>; 591 }; 592 593 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 594 pinmux = <STM32_PINMUX('A', 6, AF2)>; 595 }; 596 597 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 598 pinmux = <STM32_PINMUX('A', 7, AF2)>; 599 }; 600 601 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 602 pinmux = <STM32_PINMUX('B', 0, AF2)>; 603 }; 604 605 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 606 pinmux = <STM32_PINMUX('B', 1, AF2)>; 607 }; 608 609 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 610 pinmux = <STM32_PINMUX('B', 4, AF2)>; 611 }; 612 613 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 614 pinmux = <STM32_PINMUX('B', 5, AF2)>; 615 }; 616 617 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 618 pinmux = <STM32_PINMUX('C', 6, AF2)>; 619 }; 620 621 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 622 pinmux = <STM32_PINMUX('C', 7, AF2)>; 623 }; 624 625 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 626 pinmux = <STM32_PINMUX('C', 8, AF2)>; 627 }; 628 629 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 630 pinmux = <STM32_PINMUX('C', 9, AF2)>; 631 }; 632 633 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 634 pinmux = <STM32_PINMUX('B', 6, AF2)>; 635 }; 636 637 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 638 pinmux = <STM32_PINMUX('B', 7, AF2)>; 639 }; 640 641 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 642 pinmux = <STM32_PINMUX('B', 8, AF2)>; 643 }; 644 645 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 646 pinmux = <STM32_PINMUX('B', 9, AF2)>; 647 }; 648 649 /omit-if-no-ref/ tim9_ch1_pa2: tim9_ch1_pa2 { 650 pinmux = <STM32_PINMUX('A', 2, AF3)>; 651 }; 652 653 /omit-if-no-ref/ tim9_ch2_pa3: tim9_ch2_pa3 { 654 pinmux = <STM32_PINMUX('A', 3, AF3)>; 655 }; 656 657 /omit-if-no-ref/ tim9_ch1_pb13: tim9_ch1_pb13 { 658 pinmux = <STM32_PINMUX('B', 13, AF3)>; 659 }; 660 661 /omit-if-no-ref/ tim9_ch2_pb14: tim9_ch2_pb14 { 662 pinmux = <STM32_PINMUX('B', 14, AF3)>; 663 }; 664 665 /* UART_CTS / USART_CTS / LPUART_CTS */ 666 667 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 668 pinmux = <STM32_PINMUX('A', 11, AF7)>; 669 bias-pull-up; 670 drive-open-drain; 671 }; 672 673 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 674 pinmux = <STM32_PINMUX('A', 0, AF7)>; 675 bias-pull-up; 676 drive-open-drain; 677 }; 678 679 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 680 pinmux = <STM32_PINMUX('B', 13, AF7)>; 681 bias-pull-up; 682 drive-open-drain; 683 }; 684 685 /* UART_RTS / USART_RTS / LPUART_RTS */ 686 687 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 688 pinmux = <STM32_PINMUX('A', 12, AF7)>; 689 bias-pull-up; 690 drive-open-drain; 691 }; 692 693 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 694 pinmux = <STM32_PINMUX('A', 1, AF7)>; 695 bias-pull-up; 696 drive-open-drain; 697 }; 698 699 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 700 pinmux = <STM32_PINMUX('B', 14, AF7)>; 701 bias-pull-up; 702 drive-open-drain; 703 }; 704 705 /* UART_RX / USART_RX / LPUART_RX */ 706 707 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 708 pinmux = <STM32_PINMUX('A', 10, AF7)>; 709 }; 710 711 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 712 pinmux = <STM32_PINMUX('B', 7, AF7)>; 713 }; 714 715 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 716 pinmux = <STM32_PINMUX('A', 3, AF7)>; 717 }; 718 719 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 720 pinmux = <STM32_PINMUX('B', 11, AF7)>; 721 }; 722 723 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 724 pinmux = <STM32_PINMUX('C', 11, AF7)>; 725 }; 726 727 /* UART_TX / USART_TX / LPUART_TX */ 728 729 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 730 pinmux = <STM32_PINMUX('A', 9, AF7)>; 731 bias-pull-up; 732 }; 733 734 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 735 pinmux = <STM32_PINMUX('B', 6, AF7)>; 736 bias-pull-up; 737 }; 738 739 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 740 pinmux = <STM32_PINMUX('A', 2, AF7)>; 741 bias-pull-up; 742 }; 743 744 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 745 pinmux = <STM32_PINMUX('B', 10, AF7)>; 746 bias-pull-up; 747 }; 748 749 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 750 pinmux = <STM32_PINMUX('C', 10, AF7)>; 751 bias-pull-up; 752 }; 753 754 /* USB */ 755 756 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 757 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 758 }; 759 760 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 761 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 762 }; 763 764 }; 765 }; 766};