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/ 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_in10_pc0: adc_in10_pc0 { 56 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc_in11_pc1: adc_in11_pc1 { 60 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc_in12_pc2: adc_in12_pc2 { 64 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc_in13_pc3: adc_in13_pc3 { 68 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc_in14_pc4: adc_in14_pc4 { 72 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc_in15_pc5: adc_in15_pc5 { 76 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 77 }; 78 79 /* Analog */ 80 81 /omit-if-no-ref/ analog_pa0: analog_pa0 { 82 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa1: analog_pa1 { 86 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa2: analog_pa2 { 90 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa3: analog_pa3 { 94 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa4: analog_pa4 { 98 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa5: analog_pa5 { 102 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa6: analog_pa6 { 106 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa7: analog_pa7 { 110 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa8: analog_pa8 { 114 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa9: analog_pa9 { 118 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa10: analog_pa10 { 122 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa11: analog_pa11 { 126 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa12: analog_pa12 { 130 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa13: analog_pa13 { 134 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa14: analog_pa14 { 138 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa15: analog_pa15 { 142 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb0: analog_pb0 { 146 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb1: analog_pb1 { 150 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb2: analog_pb2 { 154 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb3: analog_pb3 { 158 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb4: analog_pb4 { 162 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb5: analog_pb5 { 166 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb6: analog_pb6 { 170 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb7: analog_pb7 { 174 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb8: analog_pb8 { 178 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb9: analog_pb9 { 182 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb10: analog_pb10 { 186 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb11: analog_pb11 { 190 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb12: analog_pb12 { 194 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb13: analog_pb13 { 198 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb14: analog_pb14 { 202 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb15: analog_pb15 { 206 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pc0: analog_pc0 { 210 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc1: analog_pc1 { 214 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc2: analog_pc2 { 218 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc3: analog_pc3 { 222 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc4: analog_pc4 { 226 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc5: analog_pc5 { 230 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc6: analog_pc6 { 234 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc7: analog_pc7 { 238 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc8: analog_pc8 { 242 pinmux = <STM32_PINMUX('C', 8, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc9: analog_pc9 { 246 pinmux = <STM32_PINMUX('C', 9, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc10: analog_pc10 { 250 pinmux = <STM32_PINMUX('C', 10, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc11: analog_pc11 { 254 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc12: analog_pc12 { 258 pinmux = <STM32_PINMUX('C', 12, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc13: analog_pc13 { 262 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc14: analog_pc14 { 266 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pc15: analog_pc15 { 270 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 271 }; 272 273 /omit-if-no-ref/ analog_pd2: analog_pd2 { 274 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_pf0: analog_pf0 { 278 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_pf1: analog_pf1 { 282 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 283 }; 284 285 /* I2C_SCL */ 286 287 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 288 pinmux = <STM32_PINMUX('A', 9, AF4)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 294 pinmux = <STM32_PINMUX('B', 6, AF1)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 300 pinmux = <STM32_PINMUX('B', 8, AF1)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 { 306 pinmux = <STM32_PINMUX('F', 1, AF1)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 312 pinmux = <STM32_PINMUX('A', 11, AF5)>; 313 bias-pull-up; 314 drive-open-drain; 315 }; 316 317 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 318 pinmux = <STM32_PINMUX('B', 10, AF1)>; 319 bias-pull-up; 320 drive-open-drain; 321 }; 322 323 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 324 pinmux = <STM32_PINMUX('B', 13, AF5)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 /* I2C_SDA */ 330 331 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 332 pinmux = <STM32_PINMUX('A', 10, AF4)>; 333 bias-pull-up; 334 drive-open-drain; 335 }; 336 337 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 338 pinmux = <STM32_PINMUX('B', 7, AF1)>; 339 bias-pull-up; 340 drive-open-drain; 341 }; 342 343 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 344 pinmux = <STM32_PINMUX('B', 9, AF1)>; 345 bias-pull-up; 346 drive-open-drain; 347 }; 348 349 /omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 { 350 pinmux = <STM32_PINMUX('F', 0, AF1)>; 351 bias-pull-up; 352 drive-open-drain; 353 }; 354 355 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 356 pinmux = <STM32_PINMUX('A', 12, AF5)>; 357 bias-pull-up; 358 drive-open-drain; 359 }; 360 361 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 362 pinmux = <STM32_PINMUX('B', 11, AF1)>; 363 bias-pull-up; 364 drive-open-drain; 365 }; 366 367 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 368 pinmux = <STM32_PINMUX('B', 14, AF5)>; 369 bias-pull-up; 370 drive-open-drain; 371 }; 372 373 /* SPI_MISO */ 374 375 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 376 pinmux = <STM32_PINMUX('A', 6, AF0)>; 377 bias-pull-down; 378 }; 379 380 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 381 pinmux = <STM32_PINMUX('B', 4, AF0)>; 382 bias-pull-down; 383 }; 384 385 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 386 pinmux = <STM32_PINMUX('B', 14, AF0)>; 387 bias-pull-down; 388 }; 389 390 /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { 391 pinmux = <STM32_PINMUX('C', 2, AF1)>; 392 bias-pull-down; 393 }; 394 395 /* SPI_MOSI */ 396 397 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 398 pinmux = <STM32_PINMUX('A', 7, AF0)>; 399 bias-pull-down; 400 }; 401 402 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 403 pinmux = <STM32_PINMUX('B', 5, AF0)>; 404 bias-pull-down; 405 }; 406 407 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 408 pinmux = <STM32_PINMUX('B', 15, AF0)>; 409 bias-pull-down; 410 }; 411 412 /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { 413 pinmux = <STM32_PINMUX('C', 3, AF1)>; 414 bias-pull-down; 415 }; 416 417 /* SPI_NSS */ 418 419 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 420 pinmux = <STM32_PINMUX('A', 4, AF0)>; 421 bias-pull-up; 422 }; 423 424 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 425 pinmux = <STM32_PINMUX('A', 15, AF0)>; 426 bias-pull-up; 427 }; 428 429 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 430 pinmux = <STM32_PINMUX('B', 9, AF5)>; 431 bias-pull-up; 432 }; 433 434 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 435 pinmux = <STM32_PINMUX('B', 12, AF0)>; 436 bias-pull-up; 437 }; 438 439 /* SPI_SCK */ 440 441 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 442 pinmux = <STM32_PINMUX('A', 5, AF0)>; 443 bias-pull-down; 444 slew-rate = "very-high-speed"; 445 }; 446 447 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 448 pinmux = <STM32_PINMUX('B', 3, AF0)>; 449 bias-pull-down; 450 slew-rate = "very-high-speed"; 451 }; 452 453 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 454 pinmux = <STM32_PINMUX('B', 10, AF5)>; 455 bias-pull-down; 456 slew-rate = "very-high-speed"; 457 }; 458 459 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 460 pinmux = <STM32_PINMUX('B', 13, AF0)>; 461 bias-pull-down; 462 slew-rate = "very-high-speed"; 463 }; 464 465 /* TIM_BKIN */ 466 467 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 468 pinmux = <STM32_PINMUX('A', 6, AF2)>; 469 }; 470 471 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 472 pinmux = <STM32_PINMUX('B', 12, AF2)>; 473 }; 474 475 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 476 pinmux = <STM32_PINMUX('A', 9, AF0)>; 477 }; 478 479 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 480 pinmux = <STM32_PINMUX('B', 12, AF5)>; 481 }; 482 483 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 484 pinmux = <STM32_PINMUX('B', 5, AF2)>; 485 }; 486 487 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 488 pinmux = <STM32_PINMUX('A', 10, AF0)>; 489 }; 490 491 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 492 pinmux = <STM32_PINMUX('B', 4, AF5)>; 493 }; 494 495 /* TIM_CH / TIM_CHN */ 496 497 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 498 pinmux = <STM32_PINMUX('A', 7, AF2)>; 499 }; 500 501 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 502 pinmux = <STM32_PINMUX('A', 8, AF2)>; 503 }; 504 505 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 506 pinmux = <STM32_PINMUX('A', 9, AF2)>; 507 }; 508 509 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 510 pinmux = <STM32_PINMUX('A', 10, AF2)>; 511 }; 512 513 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 514 pinmux = <STM32_PINMUX('A', 11, AF2)>; 515 }; 516 517 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 518 pinmux = <STM32_PINMUX('B', 0, AF2)>; 519 }; 520 521 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 522 pinmux = <STM32_PINMUX('B', 1, AF2)>; 523 }; 524 525 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 526 pinmux = <STM32_PINMUX('B', 13, AF2)>; 527 }; 528 529 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 530 pinmux = <STM32_PINMUX('B', 14, AF2)>; 531 }; 532 533 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 534 pinmux = <STM32_PINMUX('B', 15, AF2)>; 535 }; 536 537 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 538 pinmux = <STM32_PINMUX('A', 6, AF1)>; 539 }; 540 541 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 542 pinmux = <STM32_PINMUX('A', 7, AF1)>; 543 }; 544 545 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 546 pinmux = <STM32_PINMUX('B', 0, AF1)>; 547 }; 548 549 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 550 pinmux = <STM32_PINMUX('B', 1, AF1)>; 551 }; 552 553 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 554 pinmux = <STM32_PINMUX('B', 4, AF1)>; 555 }; 556 557 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 558 pinmux = <STM32_PINMUX('B', 5, AF1)>; 559 }; 560 561 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 562 pinmux = <STM32_PINMUX('C', 6, AF0)>; 563 }; 564 565 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 566 pinmux = <STM32_PINMUX('C', 7, AF0)>; 567 }; 568 569 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 570 pinmux = <STM32_PINMUX('C', 8, AF0)>; 571 }; 572 573 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 574 pinmux = <STM32_PINMUX('C', 9, AF0)>; 575 }; 576 577 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 578 pinmux = <STM32_PINMUX('A', 4, AF4)>; 579 }; 580 581 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 582 pinmux = <STM32_PINMUX('A', 7, AF4)>; 583 }; 584 585 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 586 pinmux = <STM32_PINMUX('B', 1, AF0)>; 587 }; 588 589 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 590 pinmux = <STM32_PINMUX('A', 1, AF5)>; 591 }; 592 593 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 594 pinmux = <STM32_PINMUX('A', 2, AF0)>; 595 }; 596 597 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 598 pinmux = <STM32_PINMUX('A', 3, AF0)>; 599 }; 600 601 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 602 pinmux = <STM32_PINMUX('B', 14, AF1)>; 603 }; 604 605 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 606 pinmux = <STM32_PINMUX('B', 15, AF3)>; 607 }; 608 609 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 610 pinmux = <STM32_PINMUX('B', 15, AF1)>; 611 }; 612 613 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 614 pinmux = <STM32_PINMUX('A', 6, AF5)>; 615 }; 616 617 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 618 pinmux = <STM32_PINMUX('B', 6, AF2)>; 619 }; 620 621 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 622 pinmux = <STM32_PINMUX('B', 8, AF2)>; 623 }; 624 625 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 626 pinmux = <STM32_PINMUX('A', 7, AF5)>; 627 }; 628 629 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 630 pinmux = <STM32_PINMUX('B', 7, AF2)>; 631 }; 632 633 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 634 pinmux = <STM32_PINMUX('B', 9, AF2)>; 635 }; 636 637 /* UART_CTS / USART_CTS / LPUART_CTS */ 638 639 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 640 pinmux = <STM32_PINMUX('A', 11, AF1)>; 641 bias-pull-up; 642 drive-open-drain; 643 }; 644 645 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 646 pinmux = <STM32_PINMUX('A', 0, AF1)>; 647 bias-pull-up; 648 drive-open-drain; 649 }; 650 651 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 652 pinmux = <STM32_PINMUX('A', 6, AF4)>; 653 bias-pull-up; 654 drive-open-drain; 655 }; 656 657 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 658 pinmux = <STM32_PINMUX('B', 13, AF4)>; 659 bias-pull-up; 660 drive-open-drain; 661 }; 662 663 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 664 pinmux = <STM32_PINMUX('B', 7, AF4)>; 665 bias-pull-up; 666 drive-open-drain; 667 }; 668 669 /* UART_DE / USART_DE / LPUART_DE */ 670 671 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 672 pinmux = <STM32_PINMUX('A', 12, AF1)>; 673 drive-push-pull; 674 }; 675 676 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 677 pinmux = <STM32_PINMUX('A', 1, AF1)>; 678 drive-push-pull; 679 }; 680 681 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 682 pinmux = <STM32_PINMUX('B', 1, AF4)>; 683 drive-push-pull; 684 }; 685 686 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 687 pinmux = <STM32_PINMUX('B', 14, AF4)>; 688 drive-push-pull; 689 }; 690 691 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 692 pinmux = <STM32_PINMUX('D', 2, AF1)>; 693 drive-push-pull; 694 }; 695 696 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 697 pinmux = <STM32_PINMUX('A', 15, AF4)>; 698 drive-push-pull; 699 }; 700 701 /omit-if-no-ref/ usart5_de_pb5: usart5_de_pb5 { 702 pinmux = <STM32_PINMUX('B', 5, AF4)>; 703 drive-push-pull; 704 }; 705 706 /* UART_RTS / USART_RTS / LPUART_RTS */ 707 708 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 709 pinmux = <STM32_PINMUX('A', 12, AF1)>; 710 bias-pull-up; 711 drive-open-drain; 712 }; 713 714 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 715 pinmux = <STM32_PINMUX('A', 1, AF1)>; 716 bias-pull-up; 717 drive-open-drain; 718 }; 719 720 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 721 pinmux = <STM32_PINMUX('B', 1, AF4)>; 722 bias-pull-up; 723 drive-open-drain; 724 }; 725 726 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 727 pinmux = <STM32_PINMUX('B', 14, AF4)>; 728 bias-pull-up; 729 drive-open-drain; 730 }; 731 732 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 733 pinmux = <STM32_PINMUX('D', 2, AF1)>; 734 bias-pull-up; 735 drive-open-drain; 736 }; 737 738 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 739 pinmux = <STM32_PINMUX('A', 15, AF4)>; 740 bias-pull-up; 741 drive-open-drain; 742 }; 743 744 /omit-if-no-ref/ usart5_rts_pb5: usart5_rts_pb5 { 745 pinmux = <STM32_PINMUX('B', 5, AF4)>; 746 bias-pull-up; 747 drive-open-drain; 748 }; 749 750 /* UART_RX / USART_RX / LPUART_RX */ 751 752 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 753 pinmux = <STM32_PINMUX('A', 10, AF1)>; 754 }; 755 756 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 757 pinmux = <STM32_PINMUX('B', 7, AF0)>; 758 }; 759 760 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 761 pinmux = <STM32_PINMUX('A', 3, AF1)>; 762 }; 763 764 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 765 pinmux = <STM32_PINMUX('A', 15, AF1)>; 766 }; 767 768 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 769 pinmux = <STM32_PINMUX('B', 11, AF4)>; 770 }; 771 772 /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { 773 pinmux = <STM32_PINMUX('C', 5, AF1)>; 774 }; 775 776 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 777 pinmux = <STM32_PINMUX('C', 11, AF1)>; 778 }; 779 780 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 781 pinmux = <STM32_PINMUX('A', 1, AF4)>; 782 }; 783 784 /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { 785 pinmux = <STM32_PINMUX('C', 11, AF0)>; 786 }; 787 788 /omit-if-no-ref/ usart5_rx_pb4: usart5_rx_pb4 { 789 pinmux = <STM32_PINMUX('B', 4, AF4)>; 790 }; 791 792 /omit-if-no-ref/ usart5_rx_pd2: usart5_rx_pd2 { 793 pinmux = <STM32_PINMUX('D', 2, AF2)>; 794 }; 795 796 /omit-if-no-ref/ usart6_rx_pa5: usart6_rx_pa5 { 797 pinmux = <STM32_PINMUX('A', 5, AF5)>; 798 }; 799 800 /omit-if-no-ref/ usart6_rx_pc1: usart6_rx_pc1 { 801 pinmux = <STM32_PINMUX('C', 1, AF2)>; 802 }; 803 804 /* UART_TX / USART_TX / LPUART_TX */ 805 806 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 807 pinmux = <STM32_PINMUX('A', 9, AF1)>; 808 bias-pull-up; 809 }; 810 811 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 812 pinmux = <STM32_PINMUX('B', 6, AF0)>; 813 bias-pull-up; 814 }; 815 816 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 817 pinmux = <STM32_PINMUX('A', 2, AF1)>; 818 bias-pull-up; 819 }; 820 821 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 822 pinmux = <STM32_PINMUX('A', 14, AF1)>; 823 bias-pull-up; 824 }; 825 826 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 827 pinmux = <STM32_PINMUX('B', 10, AF4)>; 828 bias-pull-up; 829 }; 830 831 /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { 832 pinmux = <STM32_PINMUX('C', 4, AF1)>; 833 bias-pull-up; 834 }; 835 836 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 837 pinmux = <STM32_PINMUX('C', 10, AF1)>; 838 bias-pull-up; 839 }; 840 841 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 842 pinmux = <STM32_PINMUX('A', 0, AF4)>; 843 bias-pull-up; 844 }; 845 846 /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { 847 pinmux = <STM32_PINMUX('C', 10, AF0)>; 848 bias-pull-up; 849 }; 850 851 /omit-if-no-ref/ usart5_tx_pb3: usart5_tx_pb3 { 852 pinmux = <STM32_PINMUX('B', 3, AF4)>; 853 bias-pull-up; 854 }; 855 856 /omit-if-no-ref/ usart5_tx_pc12: usart5_tx_pc12 { 857 pinmux = <STM32_PINMUX('C', 12, AF2)>; 858 bias-pull-up; 859 }; 860 861 /omit-if-no-ref/ usart6_tx_pa4: usart6_tx_pa4 { 862 pinmux = <STM32_PINMUX('A', 4, AF5)>; 863 bias-pull-up; 864 }; 865 866 /omit-if-no-ref/ usart6_tx_pc0: usart6_tx_pc0 { 867 pinmux = <STM32_PINMUX('C', 0, AF2)>; 868 bias-pull-up; 869 }; 870 871 }; 872 }; 873};