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_pa8: adc1_in8_pa8 { 48 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in11_pa11: adc1_in11_pa11 { 52 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in12_pa12: adc1_in12_pa12 { 56 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc1_in13_pa13: adc1_in13_pa13 { 60 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc1_in14_pa14: adc1_in14_pa14 { 64 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { 68 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { 72 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc1_in19_pb2: adc1_in19_pb2 { 76 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc1_in20_pb10: adc1_in20_pb10 { 80 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc1_in21_pb11: adc1_in21_pb11 { 84 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc1_in22_pb12: adc1_in22_pb12 { 88 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 89 }; 90 91 /* Analog */ 92 93 /omit-if-no-ref/ analog_pa0: analog_pa0 { 94 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa1: analog_pa1 { 98 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa2: analog_pa2 { 102 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa3: analog_pa3 { 106 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa4: analog_pa4 { 110 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa5: analog_pa5 { 114 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa6: analog_pa6 { 118 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa7: analog_pa7 { 122 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa8: analog_pa8 { 126 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa9: analog_pa9 { 130 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa10: analog_pa10 { 134 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa11: analog_pa11 { 138 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa12: analog_pa12 { 142 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pa13: analog_pa13 { 146 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pa14: analog_pa14 { 150 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pa15: analog_pa15 { 154 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb0: analog_pb0 { 158 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb1: analog_pb1 { 162 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb2: analog_pb2 { 166 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb3: analog_pb3 { 170 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb4: analog_pb4 { 174 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb5: analog_pb5 { 178 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb6: analog_pb6 { 182 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb7: analog_pb7 { 186 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb8: analog_pb8 { 190 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb9: analog_pb9 { 194 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb10: analog_pb10 { 198 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb11: analog_pb11 { 202 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb12: analog_pb12 { 206 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb13: analog_pb13 { 210 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb14: analog_pb14 { 214 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pb15: analog_pb15 { 218 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc6: analog_pc6 { 222 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc7: analog_pc7 { 226 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc13: analog_pc13 { 230 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc14: analog_pc14 { 234 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc15: analog_pc15 { 238 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pd0: analog_pd0 { 242 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pd1: analog_pd1 { 246 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pd2: analog_pd2 { 250 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pd3: analog_pd3 { 254 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pf0: analog_pf0 { 258 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pf1: analog_pf1 { 262 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pf2: analog_pf2 { 266 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pf3: analog_pf3 { 270 pinmux = <STM32_PINMUX('F', 3, ANALOG)>; 271 }; 272 273 /* I2C_SCL */ 274 275 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 276 pinmux = <STM32_PINMUX('A', 9, AF6)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 282 pinmux = <STM32_PINMUX('B', 6, AF6)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c1_scl_pb7: i2c1_scl_pb7 { 288 pinmux = <STM32_PINMUX('B', 7, AF14)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 294 pinmux = <STM32_PINMUX('B', 8, AF6)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /* I2C_SDA */ 300 301 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 302 pinmux = <STM32_PINMUX('A', 10, AF6)>; 303 bias-pull-up; 304 drive-open-drain; 305 }; 306 307 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 308 pinmux = <STM32_PINMUX('B', 7, AF6)>; 309 bias-pull-up; 310 drive-open-drain; 311 }; 312 313 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 314 pinmux = <STM32_PINMUX('B', 9, AF6)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c1_sda_pc14: i2c1_sda_pc14 { 320 pinmux = <STM32_PINMUX('C', 14, AF14)>; 321 bias-pull-up; 322 drive-open-drain; 323 }; 324 325 /* I2S_CK */ 326 327 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 328 pinmux = <STM32_PINMUX('A', 1, AF0)>; 329 slew-rate = "very-high-speed"; 330 }; 331 332 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 333 pinmux = <STM32_PINMUX('A', 5, AF0)>; 334 slew-rate = "very-high-speed"; 335 }; 336 337 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 338 pinmux = <STM32_PINMUX('B', 3, AF0)>; 339 slew-rate = "very-high-speed"; 340 }; 341 342 /omit-if-no-ref/ i2s1_ck_pb6: i2s1_ck_pb6 { 343 pinmux = <STM32_PINMUX('B', 6, AF10)>; 344 slew-rate = "very-high-speed"; 345 }; 346 347 /* I2S_MCK */ 348 349 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 350 pinmux = <STM32_PINMUX('A', 6, AF0)>; 351 slew-rate = "very-high-speed"; 352 }; 353 354 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 355 pinmux = <STM32_PINMUX('A', 11, AF0)>; 356 slew-rate = "very-high-speed"; 357 }; 358 359 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 360 pinmux = <STM32_PINMUX('B', 4, AF0)>; 361 slew-rate = "very-high-speed"; 362 }; 363 364 /omit-if-no-ref/ i2s1_mck_pb6: i2s1_mck_pb6 { 365 pinmux = <STM32_PINMUX('B', 6, AF9)>; 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 /omit-if-no-ref/ i2s1_sd_pb6: i2s1_sd_pb6 { 388 pinmux = <STM32_PINMUX('B', 6, AF8)>; 389 }; 390 391 /* I2S_WS */ 392 393 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 394 pinmux = <STM32_PINMUX('A', 4, AF0)>; 395 }; 396 397 /omit-if-no-ref/ i2s1_ws_pa8: i2s1_ws_pa8 { 398 pinmux = <STM32_PINMUX('A', 8, AF8)>; 399 }; 400 401 /omit-if-no-ref/ i2s1_ws_pa14: i2s1_ws_pa14 { 402 pinmux = <STM32_PINMUX('A', 14, AF8)>; 403 }; 404 405 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 406 pinmux = <STM32_PINMUX('A', 15, AF0)>; 407 }; 408 409 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 410 pinmux = <STM32_PINMUX('B', 0, AF0)>; 411 }; 412 413 /* SPI_MISO */ 414 415 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 416 pinmux = <STM32_PINMUX('A', 6, AF0)>; 417 bias-pull-down; 418 }; 419 420 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 421 pinmux = <STM32_PINMUX('A', 11, AF0)>; 422 bias-pull-down; 423 }; 424 425 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 426 pinmux = <STM32_PINMUX('B', 4, AF0)>; 427 bias-pull-down; 428 }; 429 430 /omit-if-no-ref/ spi1_miso_pb6: spi1_miso_pb6 { 431 pinmux = <STM32_PINMUX('B', 6, AF9)>; 432 bias-pull-down; 433 }; 434 435 /* SPI_MOSI */ 436 437 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 438 pinmux = <STM32_PINMUX('A', 2, AF0)>; 439 bias-pull-down; 440 }; 441 442 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 443 pinmux = <STM32_PINMUX('A', 7, AF0)>; 444 bias-pull-down; 445 }; 446 447 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 448 pinmux = <STM32_PINMUX('A', 12, AF0)>; 449 bias-pull-down; 450 }; 451 452 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 453 pinmux = <STM32_PINMUX('B', 5, AF0)>; 454 bias-pull-down; 455 }; 456 457 /omit-if-no-ref/ spi1_mosi_pb6: spi1_mosi_pb6 { 458 pinmux = <STM32_PINMUX('B', 6, AF8)>; 459 bias-pull-down; 460 }; 461 462 /* SPI_NSS */ 463 464 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 465 pinmux = <STM32_PINMUX('A', 4, AF0)>; 466 bias-pull-up; 467 }; 468 469 /omit-if-no-ref/ spi1_nss_pa8: spi1_nss_pa8 { 470 pinmux = <STM32_PINMUX('A', 8, AF8)>; 471 bias-pull-up; 472 }; 473 474 /omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 { 475 pinmux = <STM32_PINMUX('A', 14, AF8)>; 476 bias-pull-up; 477 }; 478 479 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 480 pinmux = <STM32_PINMUX('A', 15, AF0)>; 481 bias-pull-up; 482 }; 483 484 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 485 pinmux = <STM32_PINMUX('B', 0, AF0)>; 486 bias-pull-up; 487 }; 488 489 /* SPI_SCK */ 490 491 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 492 pinmux = <STM32_PINMUX('A', 1, AF0)>; 493 bias-pull-down; 494 slew-rate = "very-high-speed"; 495 }; 496 497 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 498 pinmux = <STM32_PINMUX('A', 5, AF0)>; 499 bias-pull-down; 500 slew-rate = "very-high-speed"; 501 }; 502 503 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 504 pinmux = <STM32_PINMUX('B', 3, AF0)>; 505 bias-pull-down; 506 slew-rate = "very-high-speed"; 507 }; 508 509 /omit-if-no-ref/ spi1_sck_pb6: spi1_sck_pb6 { 510 pinmux = <STM32_PINMUX('B', 6, AF10)>; 511 bias-pull-down; 512 slew-rate = "very-high-speed"; 513 }; 514 515 /* TIM_BKIN */ 516 517 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 518 pinmux = <STM32_PINMUX('A', 6, AF2)>; 519 }; 520 521 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 522 pinmux = <STM32_PINMUX('A', 11, AF5)>; 523 }; 524 525 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 526 pinmux = <STM32_PINMUX('B', 12, AF2)>; 527 }; 528 529 /omit-if-no-ref/ tim1_bkin2_pb12: tim1_bkin2_pb12 { 530 pinmux = <STM32_PINMUX('B', 12, AF1)>; 531 }; 532 533 /omit-if-no-ref/ tim1_bkin_pc13: tim1_bkin_pc13 { 534 pinmux = <STM32_PINMUX('C', 13, AF2)>; 535 }; 536 537 /omit-if-no-ref/ tim1_bkin2_pc14: tim1_bkin2_pc14 { 538 pinmux = <STM32_PINMUX('C', 14, AF2)>; 539 }; 540 541 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 542 pinmux = <STM32_PINMUX('B', 5, AF2)>; 543 }; 544 545 /omit-if-no-ref/ tim16_bkin_pb6: tim16_bkin_pb6 { 546 pinmux = <STM32_PINMUX('B', 6, AF14)>; 547 }; 548 549 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 550 pinmux = <STM32_PINMUX('A', 10, AF5)>; 551 }; 552 553 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 554 pinmux = <STM32_PINMUX('B', 4, AF5)>; 555 }; 556 557 /omit-if-no-ref/ tim17_bkin_pb6: tim17_bkin_pb6 { 558 pinmux = <STM32_PINMUX('B', 6, AF15)>; 559 }; 560 561 /* TIM_CH / TIM_CHN */ 562 563 /omit-if-no-ref/ tim1_ch1_pa0: tim1_ch1_pa0 { 564 pinmux = <STM32_PINMUX('A', 0, AF5)>; 565 }; 566 567 /omit-if-no-ref/ tim1_ch2_pa1: tim1_ch2_pa1 { 568 pinmux = <STM32_PINMUX('A', 1, AF5)>; 569 }; 570 571 /omit-if-no-ref/ tim1_ch3_pa2: tim1_ch3_pa2 { 572 pinmux = <STM32_PINMUX('A', 2, AF5)>; 573 }; 574 575 /omit-if-no-ref/ tim1_ch1n_pa3: tim1_ch1n_pa3 { 576 pinmux = <STM32_PINMUX('A', 3, AF2)>; 577 }; 578 579 /omit-if-no-ref/ tim1_ch4_pa3: tim1_ch4_pa3 { 580 pinmux = <STM32_PINMUX('A', 3, AF5)>; 581 }; 582 583 /omit-if-no-ref/ tim1_ch2n_pa4: tim1_ch2n_pa4 { 584 pinmux = <STM32_PINMUX('A', 4, AF2)>; 585 }; 586 587 /omit-if-no-ref/ tim1_ch1_pa5: tim1_ch1_pa5 { 588 pinmux = <STM32_PINMUX('A', 5, AF5)>; 589 }; 590 591 /omit-if-no-ref/ tim1_ch3n_pa5: tim1_ch3n_pa5 { 592 pinmux = <STM32_PINMUX('A', 5, AF2)>; 593 }; 594 595 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 596 pinmux = <STM32_PINMUX('A', 7, AF2)>; 597 }; 598 599 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 600 pinmux = <STM32_PINMUX('A', 8, AF2)>; 601 }; 602 603 /omit-if-no-ref/ tim1_ch2n_pa8: tim1_ch2n_pa8 { 604 pinmux = <STM32_PINMUX('A', 8, AF9)>; 605 }; 606 607 /omit-if-no-ref/ tim1_ch3n_pa8: tim1_ch3n_pa8 { 608 pinmux = <STM32_PINMUX('A', 8, AF10)>; 609 }; 610 611 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 612 pinmux = <STM32_PINMUX('A', 9, AF2)>; 613 }; 614 615 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 616 pinmux = <STM32_PINMUX('A', 10, AF2)>; 617 }; 618 619 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 620 pinmux = <STM32_PINMUX('A', 11, AF2)>; 621 }; 622 623 /omit-if-no-ref/ tim1_ch1_pa14: tim1_ch1_pa14 { 624 pinmux = <STM32_PINMUX('A', 14, AF10)>; 625 }; 626 627 /omit-if-no-ref/ tim1_ch1_pa15: tim1_ch1_pa15 { 628 pinmux = <STM32_PINMUX('A', 15, AF2)>; 629 }; 630 631 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 632 pinmux = <STM32_PINMUX('B', 0, AF2)>; 633 }; 634 635 /omit-if-no-ref/ tim1_ch2n_pb1: tim1_ch2n_pb1 { 636 pinmux = <STM32_PINMUX('B', 1, AF5)>; 637 }; 638 639 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 640 pinmux = <STM32_PINMUX('B', 1, AF2)>; 641 }; 642 643 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 644 pinmux = <STM32_PINMUX('B', 3, AF1)>; 645 }; 646 647 /omit-if-no-ref/ tim1_ch2_pb6: tim1_ch2_pb6 { 648 pinmux = <STM32_PINMUX('B', 6, AF11)>; 649 }; 650 651 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 652 pinmux = <STM32_PINMUX('B', 6, AF1)>; 653 }; 654 655 /omit-if-no-ref/ tim1_ch4_pb7: tim1_ch4_pb7 { 656 pinmux = <STM32_PINMUX('B', 7, AF1)>; 657 }; 658 659 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 660 pinmux = <STM32_PINMUX('B', 13, AF2)>; 661 }; 662 663 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 664 pinmux = <STM32_PINMUX('B', 14, AF2)>; 665 }; 666 667 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 668 pinmux = <STM32_PINMUX('B', 15, AF2)>; 669 }; 670 671 /omit-if-no-ref/ tim1_ch1n_pd2: tim1_ch1n_pd2 { 672 pinmux = <STM32_PINMUX('D', 2, AF2)>; 673 }; 674 675 /omit-if-no-ref/ tim1_ch2n_pd3: tim1_ch2n_pd3 { 676 pinmux = <STM32_PINMUX('D', 3, AF2)>; 677 }; 678 679 /omit-if-no-ref/ tim1_ch4_pf2: tim1_ch4_pf2 { 680 pinmux = <STM32_PINMUX('F', 2, AF1)>; 681 }; 682 683 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 684 pinmux = <STM32_PINMUX('A', 6, AF1)>; 685 }; 686 687 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 688 pinmux = <STM32_PINMUX('A', 7, AF1)>; 689 }; 690 691 /omit-if-no-ref/ tim3_ch3_pa8: tim3_ch3_pa8 { 692 pinmux = <STM32_PINMUX('A', 8, AF11)>; 693 }; 694 695 /omit-if-no-ref/ tim3_ch4_pa8: tim3_ch4_pa8 { 696 pinmux = <STM32_PINMUX('A', 8, AF12)>; 697 }; 698 699 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 700 pinmux = <STM32_PINMUX('B', 0, AF1)>; 701 }; 702 703 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 704 pinmux = <STM32_PINMUX('B', 1, AF1)>; 705 }; 706 707 /omit-if-no-ref/ tim3_ch2_pb3: tim3_ch2_pb3 { 708 pinmux = <STM32_PINMUX('B', 3, AF3)>; 709 }; 710 711 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 712 pinmux = <STM32_PINMUX('B', 4, AF1)>; 713 }; 714 715 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 716 pinmux = <STM32_PINMUX('B', 5, AF1)>; 717 }; 718 719 /omit-if-no-ref/ tim3_ch3_pb5: tim3_ch3_pb5 { 720 pinmux = <STM32_PINMUX('B', 5, AF3)>; 721 }; 722 723 /omit-if-no-ref/ tim3_ch1_pb6: tim3_ch1_pb6 { 724 pinmux = <STM32_PINMUX('B', 6, AF12)>; 725 }; 726 727 /omit-if-no-ref/ tim3_ch2_pb6: tim3_ch2_pb6 { 728 pinmux = <STM32_PINMUX('B', 6, AF13)>; 729 }; 730 731 /omit-if-no-ref/ tim3_ch3_pb6: tim3_ch3_pb6 { 732 pinmux = <STM32_PINMUX('B', 6, AF3)>; 733 }; 734 735 /omit-if-no-ref/ tim3_ch1_pb7: tim3_ch1_pb7 { 736 pinmux = <STM32_PINMUX('B', 7, AF11)>; 737 }; 738 739 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 740 pinmux = <STM32_PINMUX('B', 7, AF3)>; 741 }; 742 743 /omit-if-no-ref/ tim3_ch1_pb8: tim3_ch1_pb8 { 744 pinmux = <STM32_PINMUX('B', 8, AF3)>; 745 }; 746 747 /omit-if-no-ref/ tim3_ch2_pb9: tim3_ch2_pb9 { 748 pinmux = <STM32_PINMUX('B', 9, AF3)>; 749 }; 750 751 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 752 pinmux = <STM32_PINMUX('C', 6, AF1)>; 753 }; 754 755 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 756 pinmux = <STM32_PINMUX('C', 7, AF1)>; 757 }; 758 759 /omit-if-no-ref/ tim3_ch2_pc14: tim3_ch2_pc14 { 760 pinmux = <STM32_PINMUX('C', 14, AF11)>; 761 }; 762 763 /omit-if-no-ref/ tim3_ch3_pc15: tim3_ch3_pc15 { 764 pinmux = <STM32_PINMUX('C', 15, AF3)>; 765 }; 766 767 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 768 pinmux = <STM32_PINMUX('A', 4, AF4)>; 769 }; 770 771 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 772 pinmux = <STM32_PINMUX('A', 7, AF4)>; 773 }; 774 775 /omit-if-no-ref/ tim14_ch1_pa8: tim14_ch1_pa8 { 776 pinmux = <STM32_PINMUX('A', 8, AF13)>; 777 }; 778 779 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 780 pinmux = <STM32_PINMUX('B', 1, AF0)>; 781 }; 782 783 /omit-if-no-ref/ tim14_ch1_pf0: tim14_ch1_pf0 { 784 pinmux = <STM32_PINMUX('F', 0, AF2)>; 785 }; 786 787 /omit-if-no-ref/ tim16_ch1_pa0: tim16_ch1_pa0 { 788 pinmux = <STM32_PINMUX('A', 0, AF2)>; 789 }; 790 791 /omit-if-no-ref/ tim16_ch1n_pa2: tim16_ch1n_pa2 { 792 pinmux = <STM32_PINMUX('A', 2, AF2)>; 793 }; 794 795 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 796 pinmux = <STM32_PINMUX('A', 6, AF5)>; 797 }; 798 799 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 800 pinmux = <STM32_PINMUX('B', 6, AF2)>; 801 }; 802 803 /omit-if-no-ref/ tim16_ch1_pb7: tim16_ch1_pb7 { 804 pinmux = <STM32_PINMUX('B', 7, AF10)>; 805 }; 806 807 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 808 pinmux = <STM32_PINMUX('B', 8, AF2)>; 809 }; 810 811 /omit-if-no-ref/ tim16_ch1_pd0: tim16_ch1_pd0 { 812 pinmux = <STM32_PINMUX('D', 0, AF2)>; 813 }; 814 815 /omit-if-no-ref/ tim17_ch1_pa1: tim17_ch1_pa1 { 816 pinmux = <STM32_PINMUX('A', 1, AF2)>; 817 }; 818 819 /omit-if-no-ref/ tim17_ch1n_pa4: tim17_ch1n_pa4 { 820 pinmux = <STM32_PINMUX('A', 4, AF5)>; 821 }; 822 823 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 824 pinmux = <STM32_PINMUX('A', 7, AF5)>; 825 }; 826 827 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 828 pinmux = <STM32_PINMUX('B', 7, AF2)>; 829 }; 830 831 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 832 pinmux = <STM32_PINMUX('B', 9, AF2)>; 833 }; 834 835 /omit-if-no-ref/ tim17_ch1_pc14: tim17_ch1_pc14 { 836 pinmux = <STM32_PINMUX('C', 14, AF10)>; 837 }; 838 839 /omit-if-no-ref/ tim17_ch1_pd1: tim17_ch1_pd1 { 840 pinmux = <STM32_PINMUX('D', 1, AF2)>; 841 }; 842 843 /* UART_CTS / USART_CTS / LPUART_CTS */ 844 845 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 846 pinmux = <STM32_PINMUX('A', 11, AF1)>; 847 bias-pull-up; 848 drive-open-drain; 849 }; 850 851 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 852 pinmux = <STM32_PINMUX('B', 4, AF4)>; 853 bias-pull-up; 854 drive-open-drain; 855 }; 856 857 /omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 { 858 pinmux = <STM32_PINMUX('B', 6, AF5)>; 859 bias-pull-up; 860 drive-open-drain; 861 }; 862 863 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 864 pinmux = <STM32_PINMUX('A', 0, AF1)>; 865 bias-pull-up; 866 drive-open-drain; 867 }; 868 869 /omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 { 870 pinmux = <STM32_PINMUX('B', 7, AF9)>; 871 bias-pull-up; 872 drive-open-drain; 873 }; 874 875 /omit-if-no-ref/ usart2_cts_pb8: usart2_cts_pb8 { 876 pinmux = <STM32_PINMUX('B', 8, AF1)>; 877 bias-pull-up; 878 drive-open-drain; 879 }; 880 881 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 882 pinmux = <STM32_PINMUX('D', 3, AF0)>; 883 bias-pull-up; 884 drive-open-drain; 885 }; 886 887 /* UART_DE / USART_DE / LPUART_DE */ 888 889 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 890 pinmux = <STM32_PINMUX('A', 12, AF1)>; 891 drive-push-pull; 892 }; 893 894 /omit-if-no-ref/ usart1_de_pa14: usart1_de_pa14 { 895 pinmux = <STM32_PINMUX('A', 14, AF12)>; 896 drive-push-pull; 897 }; 898 899 /omit-if-no-ref/ usart1_de_pa15: usart1_de_pa15 { 900 pinmux = <STM32_PINMUX('A', 15, AF4)>; 901 drive-push-pull; 902 }; 903 904 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 905 pinmux = <STM32_PINMUX('B', 3, AF4)>; 906 drive-push-pull; 907 }; 908 909 /omit-if-no-ref/ usart1_de_pb6: usart1_de_pb6 { 910 pinmux = <STM32_PINMUX('B', 6, AF4)>; 911 drive-push-pull; 912 }; 913 914 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 915 pinmux = <STM32_PINMUX('A', 1, AF1)>; 916 drive-push-pull; 917 }; 918 919 /omit-if-no-ref/ usart2_de_pb9: usart2_de_pb9 { 920 pinmux = <STM32_PINMUX('B', 9, AF1)>; 921 drive-push-pull; 922 }; 923 924 /omit-if-no-ref/ usart2_de_pc14: usart2_de_pc14 { 925 pinmux = <STM32_PINMUX('C', 14, AF9)>; 926 drive-push-pull; 927 }; 928 929 /* UART_RTS / USART_RTS / LPUART_RTS */ 930 931 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 932 pinmux = <STM32_PINMUX('A', 12, AF1)>; 933 bias-pull-up; 934 drive-open-drain; 935 }; 936 937 /omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 { 938 pinmux = <STM32_PINMUX('A', 14, AF12)>; 939 bias-pull-up; 940 drive-open-drain; 941 }; 942 943 /omit-if-no-ref/ usart1_rts_pa15: usart1_rts_pa15 { 944 pinmux = <STM32_PINMUX('A', 15, AF4)>; 945 bias-pull-up; 946 drive-open-drain; 947 }; 948 949 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 950 pinmux = <STM32_PINMUX('B', 3, AF4)>; 951 bias-pull-up; 952 drive-open-drain; 953 }; 954 955 /omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 { 956 pinmux = <STM32_PINMUX('B', 6, AF4)>; 957 bias-pull-up; 958 drive-open-drain; 959 }; 960 961 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 962 pinmux = <STM32_PINMUX('A', 1, AF1)>; 963 bias-pull-up; 964 drive-open-drain; 965 }; 966 967 /omit-if-no-ref/ usart2_rts_pb9: usart2_rts_pb9 { 968 pinmux = <STM32_PINMUX('B', 9, AF1)>; 969 bias-pull-up; 970 drive-open-drain; 971 }; 972 973 /omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 { 974 pinmux = <STM32_PINMUX('C', 14, AF9)>; 975 bias-pull-up; 976 drive-open-drain; 977 }; 978 979 /* UART_RX / USART_RX / LPUART_RX */ 980 981 /omit-if-no-ref/ usart1_rx_pa1: usart1_rx_pa1 { 982 pinmux = <STM32_PINMUX('A', 1, AF4)>; 983 }; 984 985 /omit-if-no-ref/ usart1_rx_pa8: usart1_rx_pa8 { 986 pinmux = <STM32_PINMUX('A', 8, AF14)>; 987 }; 988 989 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 990 pinmux = <STM32_PINMUX('A', 10, AF1)>; 991 }; 992 993 /omit-if-no-ref/ usart1_rx_pb2: usart1_rx_pb2 { 994 pinmux = <STM32_PINMUX('B', 2, AF0)>; 995 }; 996 997 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 998 pinmux = <STM32_PINMUX('B', 7, AF0)>; 999 }; 1000 1001 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 1002 pinmux = <STM32_PINMUX('A', 3, AF1)>; 1003 }; 1004 1005 /omit-if-no-ref/ usart2_rx_pa5: usart2_rx_pa5 { 1006 pinmux = <STM32_PINMUX('A', 5, AF1)>; 1007 }; 1008 1009 /omit-if-no-ref/ usart2_rx_pa13: usart2_rx_pa13 { 1010 pinmux = <STM32_PINMUX('A', 13, AF4)>; 1011 }; 1012 1013 /omit-if-no-ref/ usart2_rx_pa14: usart2_rx_pa14 { 1014 pinmux = <STM32_PINMUX('A', 14, AF9)>; 1015 }; 1016 1017 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 1018 pinmux = <STM32_PINMUX('A', 15, AF1)>; 1019 }; 1020 1021 /* UART_TX / USART_TX / LPUART_TX */ 1022 1023 /omit-if-no-ref/ usart1_tx_pa0: usart1_tx_pa0 { 1024 pinmux = <STM32_PINMUX('A', 0, AF4)>; 1025 bias-pull-up; 1026 }; 1027 1028 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1029 pinmux = <STM32_PINMUX('A', 9, AF1)>; 1030 bias-pull-up; 1031 }; 1032 1033 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1034 pinmux = <STM32_PINMUX('B', 6, AF0)>; 1035 bias-pull-up; 1036 }; 1037 1038 /omit-if-no-ref/ usart1_tx_pc14: usart1_tx_pc14 { 1039 pinmux = <STM32_PINMUX('C', 14, AF0)>; 1040 bias-pull-up; 1041 }; 1042 1043 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1044 pinmux = <STM32_PINMUX('A', 2, AF1)>; 1045 bias-pull-up; 1046 }; 1047 1048 /omit-if-no-ref/ usart2_tx_pa4: usart2_tx_pa4 { 1049 pinmux = <STM32_PINMUX('A', 4, AF1)>; 1050 bias-pull-up; 1051 }; 1052 1053 /omit-if-no-ref/ usart2_tx_pa8: usart2_tx_pa8 { 1054 pinmux = <STM32_PINMUX('A', 8, AF1)>; 1055 bias-pull-up; 1056 }; 1057 1058 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 1059 pinmux = <STM32_PINMUX('A', 14, AF1)>; 1060 bias-pull-up; 1061 }; 1062 1063 }; 1064 }; 1065};