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_pb3: analog_pb3 { 154 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb4: analog_pb4 { 158 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb5: analog_pb5 { 162 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb6: analog_pb6 { 166 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb7: analog_pb7 { 170 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb8: analog_pb8 { 174 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb9: analog_pb9 { 178 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb10: analog_pb10 { 182 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb11: analog_pb11 { 186 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb12: analog_pb12 { 190 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb13: analog_pb13 { 194 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb14: analog_pb14 { 198 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb15: analog_pb15 { 202 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pc0: analog_pc0 { 206 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pc1: analog_pc1 { 210 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc2: analog_pc2 { 214 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc3: analog_pc3 { 218 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc4: analog_pc4 { 222 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc5: analog_pc5 { 226 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc6: analog_pc6 { 230 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc7: analog_pc7 { 234 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc8: analog_pc8 { 238 pinmux = <STM32_PINMUX('C', 8, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc9: analog_pc9 { 242 pinmux = <STM32_PINMUX('C', 9, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc10: analog_pc10 { 246 pinmux = <STM32_PINMUX('C', 10, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc11: analog_pc11 { 250 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc12: analog_pc12 { 254 pinmux = <STM32_PINMUX('C', 12, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc13: analog_pc13 { 258 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc14: analog_pc14 { 262 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc15: analog_pc15 { 266 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pd2: analog_pd2 { 270 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 271 }; 272 273 /omit-if-no-ref/ analog_pf0: analog_pf0 { 274 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_pf1: analog_pf1 { 278 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_pf4: analog_pf4 { 282 pinmux = <STM32_PINMUX('F', 4, ANALOG)>; 283 }; 284 285 /omit-if-no-ref/ analog_pf5: analog_pf5 { 286 pinmux = <STM32_PINMUX('F', 5, ANALOG)>; 287 }; 288 289 /omit-if-no-ref/ analog_pf6: analog_pf6 { 290 pinmux = <STM32_PINMUX('F', 6, ANALOG)>; 291 }; 292 293 /omit-if-no-ref/ analog_pf7: analog_pf7 { 294 pinmux = <STM32_PINMUX('F', 7, ANALOG)>; 295 }; 296 297 /* DAC_OUT */ 298 299 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 300 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 301 }; 302 303 /* I2C_SCL */ 304 305 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 306 pinmux = <STM32_PINMUX('B', 6, AF1)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 312 pinmux = <STM32_PINMUX('B', 8, AF1)>; 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_pf6: i2c2_scl_pf6 { 324 pinmux = <STM32_PINMUX('F', 6, ANALOG)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 /* I2C_SDA */ 330 331 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 332 pinmux = <STM32_PINMUX('B', 7, AF1)>; 333 bias-pull-up; 334 drive-open-drain; 335 }; 336 337 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 338 pinmux = <STM32_PINMUX('B', 9, AF1)>; 339 bias-pull-up; 340 drive-open-drain; 341 }; 342 343 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 344 pinmux = <STM32_PINMUX('B', 11, AF1)>; 345 bias-pull-up; 346 drive-open-drain; 347 }; 348 349 /omit-if-no-ref/ i2c2_sda_pf7: i2c2_sda_pf7 { 350 pinmux = <STM32_PINMUX('F', 7, ANALOG)>; 351 bias-pull-up; 352 drive-open-drain; 353 }; 354 355 /* I2S_CK */ 356 357 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 358 pinmux = <STM32_PINMUX('A', 5, AF0)>; 359 slew-rate = "very-high-speed"; 360 }; 361 362 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 363 pinmux = <STM32_PINMUX('B', 3, AF0)>; 364 slew-rate = "very-high-speed"; 365 }; 366 367 /* I2S_MCK */ 368 369 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 370 pinmux = <STM32_PINMUX('A', 6, AF0)>; 371 slew-rate = "very-high-speed"; 372 }; 373 374 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 375 pinmux = <STM32_PINMUX('B', 4, AF0)>; 376 slew-rate = "very-high-speed"; 377 }; 378 379 /* I2S_SD */ 380 381 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 382 pinmux = <STM32_PINMUX('A', 7, AF0)>; 383 }; 384 385 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 386 pinmux = <STM32_PINMUX('B', 5, AF0)>; 387 }; 388 389 /* I2S_WS */ 390 391 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 392 pinmux = <STM32_PINMUX('A', 4, AF0)>; 393 }; 394 395 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 396 pinmux = <STM32_PINMUX('A', 15, AF0)>; 397 }; 398 399 /* SPI_MISO */ 400 401 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 402 pinmux = <STM32_PINMUX('A', 6, AF0)>; 403 bias-pull-down; 404 }; 405 406 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 407 pinmux = <STM32_PINMUX('B', 4, AF0)>; 408 bias-pull-down; 409 }; 410 411 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 412 pinmux = <STM32_PINMUX('B', 14, AF0)>; 413 bias-pull-down; 414 }; 415 416 /* SPI_MOSI */ 417 418 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 419 pinmux = <STM32_PINMUX('A', 7, AF0)>; 420 bias-pull-down; 421 }; 422 423 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 424 pinmux = <STM32_PINMUX('B', 5, AF0)>; 425 bias-pull-down; 426 }; 427 428 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 429 pinmux = <STM32_PINMUX('B', 15, AF0)>; 430 bias-pull-down; 431 }; 432 433 /* SPI_NSS */ 434 435 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 436 pinmux = <STM32_PINMUX('A', 4, AF0)>; 437 bias-pull-up; 438 }; 439 440 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 441 pinmux = <STM32_PINMUX('A', 15, AF0)>; 442 bias-pull-up; 443 }; 444 445 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 446 pinmux = <STM32_PINMUX('B', 12, AF0)>; 447 bias-pull-up; 448 }; 449 450 /* SPI_SCK */ 451 452 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 453 pinmux = <STM32_PINMUX('A', 5, AF0)>; 454 bias-pull-down; 455 slew-rate = "very-high-speed"; 456 }; 457 458 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 459 pinmux = <STM32_PINMUX('B', 3, AF0)>; 460 bias-pull-down; 461 slew-rate = "very-high-speed"; 462 }; 463 464 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 465 pinmux = <STM32_PINMUX('B', 13, AF0)>; 466 bias-pull-down; 467 slew-rate = "very-high-speed"; 468 }; 469 470 /* TIM_BKIN */ 471 472 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 473 pinmux = <STM32_PINMUX('A', 6, AF2)>; 474 }; 475 476 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 477 pinmux = <STM32_PINMUX('B', 12, AF2)>; 478 }; 479 480 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 481 pinmux = <STM32_PINMUX('A', 9, AF0)>; 482 }; 483 484 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 485 pinmux = <STM32_PINMUX('B', 5, AF2)>; 486 }; 487 488 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 489 pinmux = <STM32_PINMUX('A', 10, AF0)>; 490 }; 491 492 /* TIM_CH / TIM_CHN */ 493 494 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 495 pinmux = <STM32_PINMUX('A', 7, AF2)>; 496 }; 497 498 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 499 pinmux = <STM32_PINMUX('A', 8, AF2)>; 500 }; 501 502 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 503 pinmux = <STM32_PINMUX('A', 9, AF2)>; 504 }; 505 506 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 507 pinmux = <STM32_PINMUX('A', 10, AF2)>; 508 }; 509 510 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 511 pinmux = <STM32_PINMUX('A', 11, AF2)>; 512 }; 513 514 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 515 pinmux = <STM32_PINMUX('B', 0, AF2)>; 516 }; 517 518 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 519 pinmux = <STM32_PINMUX('B', 1, AF2)>; 520 }; 521 522 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 523 pinmux = <STM32_PINMUX('B', 13, AF2)>; 524 }; 525 526 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 527 pinmux = <STM32_PINMUX('B', 14, AF2)>; 528 }; 529 530 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 531 pinmux = <STM32_PINMUX('B', 15, AF2)>; 532 }; 533 534 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 535 pinmux = <STM32_PINMUX('A', 0, AF2)>; 536 }; 537 538 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 539 pinmux = <STM32_PINMUX('A', 1, AF2)>; 540 }; 541 542 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 543 pinmux = <STM32_PINMUX('A', 2, AF2)>; 544 }; 545 546 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 547 pinmux = <STM32_PINMUX('A', 3, AF2)>; 548 }; 549 550 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 551 pinmux = <STM32_PINMUX('A', 5, AF2)>; 552 }; 553 554 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 555 pinmux = <STM32_PINMUX('A', 15, AF2)>; 556 }; 557 558 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 559 pinmux = <STM32_PINMUX('B', 3, AF2)>; 560 }; 561 562 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 563 pinmux = <STM32_PINMUX('B', 10, AF2)>; 564 }; 565 566 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 567 pinmux = <STM32_PINMUX('B', 11, AF2)>; 568 }; 569 570 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 571 pinmux = <STM32_PINMUX('A', 6, AF1)>; 572 }; 573 574 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 575 pinmux = <STM32_PINMUX('A', 7, AF1)>; 576 }; 577 578 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 579 pinmux = <STM32_PINMUX('B', 0, AF1)>; 580 }; 581 582 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 583 pinmux = <STM32_PINMUX('B', 1, AF1)>; 584 }; 585 586 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 587 pinmux = <STM32_PINMUX('B', 4, AF1)>; 588 }; 589 590 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 591 pinmux = <STM32_PINMUX('B', 5, AF1)>; 592 }; 593 594 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 595 pinmux = <STM32_PINMUX('C', 6, AF0)>; 596 }; 597 598 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 599 pinmux = <STM32_PINMUX('C', 7, AF0)>; 600 }; 601 602 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 603 pinmux = <STM32_PINMUX('C', 8, AF1)>; 604 }; 605 606 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 607 pinmux = <STM32_PINMUX('C', 9, AF0)>; 608 }; 609 610 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 611 pinmux = <STM32_PINMUX('A', 4, AF4)>; 612 }; 613 614 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 615 pinmux = <STM32_PINMUX('A', 7, AF4)>; 616 }; 617 618 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 619 pinmux = <STM32_PINMUX('B', 1, AF0)>; 620 }; 621 622 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 623 pinmux = <STM32_PINMUX('A', 2, AF0)>; 624 }; 625 626 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 627 pinmux = <STM32_PINMUX('A', 3, AF0)>; 628 }; 629 630 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 631 pinmux = <STM32_PINMUX('B', 14, AF1)>; 632 }; 633 634 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 635 pinmux = <STM32_PINMUX('B', 15, AF3)>; 636 }; 637 638 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 639 pinmux = <STM32_PINMUX('B', 15, AF1)>; 640 }; 641 642 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 643 pinmux = <STM32_PINMUX('A', 6, AF5)>; 644 }; 645 646 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 647 pinmux = <STM32_PINMUX('B', 6, AF2)>; 648 }; 649 650 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 651 pinmux = <STM32_PINMUX('B', 8, AF2)>; 652 }; 653 654 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 655 pinmux = <STM32_PINMUX('A', 7, AF5)>; 656 }; 657 658 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 659 pinmux = <STM32_PINMUX('B', 7, AF2)>; 660 }; 661 662 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 663 pinmux = <STM32_PINMUX('B', 9, AF2)>; 664 }; 665 666 /* UART_CTS / USART_CTS / LPUART_CTS */ 667 668 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 669 pinmux = <STM32_PINMUX('A', 11, AF1)>; 670 bias-pull-up; 671 drive-open-drain; 672 }; 673 674 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 675 pinmux = <STM32_PINMUX('A', 0, AF1)>; 676 bias-pull-up; 677 drive-open-drain; 678 }; 679 680 /* UART_DE / USART_DE / LPUART_DE */ 681 682 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 683 pinmux = <STM32_PINMUX('A', 12, AF1)>; 684 drive-push-pull; 685 }; 686 687 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 688 pinmux = <STM32_PINMUX('A', 1, AF1)>; 689 drive-push-pull; 690 }; 691 692 /* UART_RTS / USART_RTS / LPUART_RTS */ 693 694 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 695 pinmux = <STM32_PINMUX('A', 12, AF1)>; 696 bias-pull-up; 697 drive-open-drain; 698 }; 699 700 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 701 pinmux = <STM32_PINMUX('A', 1, AF1)>; 702 bias-pull-up; 703 drive-open-drain; 704 }; 705 706 /* UART_RX / USART_RX / LPUART_RX */ 707 708 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 709 pinmux = <STM32_PINMUX('A', 10, AF1)>; 710 }; 711 712 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 713 pinmux = <STM32_PINMUX('B', 7, AF0)>; 714 }; 715 716 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 717 pinmux = <STM32_PINMUX('A', 3, AF1)>; 718 }; 719 720 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 721 pinmux = <STM32_PINMUX('A', 15, AF1)>; 722 }; 723 724 /* UART_TX / USART_TX / LPUART_TX */ 725 726 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 727 pinmux = <STM32_PINMUX('A', 9, AF1)>; 728 bias-pull-up; 729 }; 730 731 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 732 pinmux = <STM32_PINMUX('B', 6, AF0)>; 733 bias-pull-up; 734 }; 735 736 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 737 pinmux = <STM32_PINMUX('A', 2, AF1)>; 738 bias-pull-up; 739 }; 740 741 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 742 pinmux = <STM32_PINMUX('A', 14, AF1)>; 743 bias-pull-up; 744 }; 745 746 }; 747 }; 748};