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 /* DAC_OUT */ 286 287 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 288 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 289 }; 290 291 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 292 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 293 }; 294 295 /* I2C_SCL */ 296 297 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 298 pinmux = <STM32_PINMUX('B', 6, AF1)>; 299 bias-pull-up; 300 drive-open-drain; 301 }; 302 303 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 304 pinmux = <STM32_PINMUX('B', 8, AF1)>; 305 bias-pull-up; 306 drive-open-drain; 307 }; 308 309 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 310 pinmux = <STM32_PINMUX('B', 10, AF1)>; 311 bias-pull-up; 312 drive-open-drain; 313 }; 314 315 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 316 pinmux = <STM32_PINMUX('B', 13, AF5)>; 317 bias-pull-up; 318 drive-open-drain; 319 }; 320 321 /* I2C_SDA */ 322 323 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 324 pinmux = <STM32_PINMUX('B', 7, AF1)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 330 pinmux = <STM32_PINMUX('B', 9, AF1)>; 331 bias-pull-up; 332 drive-open-drain; 333 }; 334 335 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 336 pinmux = <STM32_PINMUX('B', 11, AF1)>; 337 bias-pull-up; 338 drive-open-drain; 339 }; 340 341 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 342 pinmux = <STM32_PINMUX('B', 14, AF5)>; 343 bias-pull-up; 344 drive-open-drain; 345 }; 346 347 /* I2S_CK */ 348 349 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 350 pinmux = <STM32_PINMUX('A', 5, AF0)>; 351 slew-rate = "very-high-speed"; 352 }; 353 354 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 355 pinmux = <STM32_PINMUX('B', 3, AF0)>; 356 slew-rate = "very-high-speed"; 357 }; 358 359 /omit-if-no-ref/ i2s2_ck_pb10: i2s2_ck_pb10 { 360 pinmux = <STM32_PINMUX('B', 10, AF5)>; 361 slew-rate = "very-high-speed"; 362 }; 363 364 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 365 pinmux = <STM32_PINMUX('B', 13, AF0)>; 366 slew-rate = "very-high-speed"; 367 }; 368 369 /* I2S_MCK */ 370 371 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 372 pinmux = <STM32_PINMUX('A', 6, AF0)>; 373 slew-rate = "very-high-speed"; 374 }; 375 376 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 377 pinmux = <STM32_PINMUX('B', 4, AF0)>; 378 slew-rate = "very-high-speed"; 379 }; 380 381 /omit-if-no-ref/ i2s2_mck_pb14: i2s2_mck_pb14 { 382 pinmux = <STM32_PINMUX('B', 14, AF0)>; 383 slew-rate = "very-high-speed"; 384 }; 385 386 /omit-if-no-ref/ i2s2_mck_pc2: i2s2_mck_pc2 { 387 pinmux = <STM32_PINMUX('C', 2, AF1)>; 388 slew-rate = "very-high-speed"; 389 }; 390 391 /* I2S_SD */ 392 393 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 394 pinmux = <STM32_PINMUX('A', 7, AF0)>; 395 }; 396 397 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 398 pinmux = <STM32_PINMUX('B', 5, AF0)>; 399 }; 400 401 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 402 pinmux = <STM32_PINMUX('B', 15, AF0)>; 403 }; 404 405 /omit-if-no-ref/ i2s2_sd_pc3: i2s2_sd_pc3 { 406 pinmux = <STM32_PINMUX('C', 3, AF1)>; 407 }; 408 409 /* I2S_WS */ 410 411 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 412 pinmux = <STM32_PINMUX('A', 4, AF0)>; 413 }; 414 415 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 416 pinmux = <STM32_PINMUX('A', 15, AF0)>; 417 }; 418 419 /omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 { 420 pinmux = <STM32_PINMUX('B', 9, AF5)>; 421 }; 422 423 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 424 pinmux = <STM32_PINMUX('B', 12, AF0)>; 425 }; 426 427 /* SPI_MISO */ 428 429 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 430 pinmux = <STM32_PINMUX('A', 6, AF0)>; 431 bias-pull-down; 432 }; 433 434 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 435 pinmux = <STM32_PINMUX('B', 4, AF0)>; 436 bias-pull-down; 437 }; 438 439 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 440 pinmux = <STM32_PINMUX('B', 14, AF0)>; 441 bias-pull-down; 442 }; 443 444 /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { 445 pinmux = <STM32_PINMUX('C', 2, AF1)>; 446 bias-pull-down; 447 }; 448 449 /* SPI_MOSI */ 450 451 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 452 pinmux = <STM32_PINMUX('A', 7, AF0)>; 453 bias-pull-down; 454 }; 455 456 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 457 pinmux = <STM32_PINMUX('B', 5, AF0)>; 458 bias-pull-down; 459 }; 460 461 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 462 pinmux = <STM32_PINMUX('B', 15, AF0)>; 463 bias-pull-down; 464 }; 465 466 /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { 467 pinmux = <STM32_PINMUX('C', 3, AF1)>; 468 bias-pull-down; 469 }; 470 471 /* SPI_NSS */ 472 473 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 474 pinmux = <STM32_PINMUX('A', 4, AF0)>; 475 bias-pull-up; 476 }; 477 478 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 479 pinmux = <STM32_PINMUX('A', 15, AF0)>; 480 bias-pull-up; 481 }; 482 483 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 484 pinmux = <STM32_PINMUX('B', 9, AF5)>; 485 bias-pull-up; 486 }; 487 488 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 489 pinmux = <STM32_PINMUX('B', 12, AF0)>; 490 bias-pull-up; 491 }; 492 493 /* SPI_SCK */ 494 495 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 496 pinmux = <STM32_PINMUX('A', 5, AF0)>; 497 bias-pull-down; 498 slew-rate = "very-high-speed"; 499 }; 500 501 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 502 pinmux = <STM32_PINMUX('B', 3, AF0)>; 503 bias-pull-down; 504 slew-rate = "very-high-speed"; 505 }; 506 507 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 508 pinmux = <STM32_PINMUX('B', 10, 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, AF0)>; 515 bias-pull-down; 516 slew-rate = "very-high-speed"; 517 }; 518 519 /* TIM_BKIN */ 520 521 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 522 pinmux = <STM32_PINMUX('A', 6, AF2)>; 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/ tim15_bkin_pa9: tim15_bkin_pa9 { 530 pinmux = <STM32_PINMUX('A', 9, AF0)>; 531 }; 532 533 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 534 pinmux = <STM32_PINMUX('B', 12, AF5)>; 535 }; 536 537 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 538 pinmux = <STM32_PINMUX('B', 5, AF2)>; 539 }; 540 541 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 542 pinmux = <STM32_PINMUX('A', 10, AF0)>; 543 }; 544 545 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 546 pinmux = <STM32_PINMUX('B', 4, AF5)>; 547 }; 548 549 /* TIM_CH / TIM_CHN */ 550 551 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 552 pinmux = <STM32_PINMUX('A', 7, AF2)>; 553 }; 554 555 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 556 pinmux = <STM32_PINMUX('A', 8, AF2)>; 557 }; 558 559 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 560 pinmux = <STM32_PINMUX('A', 9, AF2)>; 561 }; 562 563 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 564 pinmux = <STM32_PINMUX('A', 10, AF2)>; 565 }; 566 567 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 568 pinmux = <STM32_PINMUX('A', 11, AF2)>; 569 }; 570 571 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 572 pinmux = <STM32_PINMUX('B', 0, AF2)>; 573 }; 574 575 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 576 pinmux = <STM32_PINMUX('B', 1, AF2)>; 577 }; 578 579 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 580 pinmux = <STM32_PINMUX('B', 13, AF2)>; 581 }; 582 583 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 584 pinmux = <STM32_PINMUX('B', 14, AF2)>; 585 }; 586 587 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 588 pinmux = <STM32_PINMUX('B', 15, AF2)>; 589 }; 590 591 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 592 pinmux = <STM32_PINMUX('A', 0, AF2)>; 593 }; 594 595 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 596 pinmux = <STM32_PINMUX('A', 1, AF2)>; 597 }; 598 599 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 600 pinmux = <STM32_PINMUX('A', 2, AF2)>; 601 }; 602 603 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 604 pinmux = <STM32_PINMUX('A', 3, AF2)>; 605 }; 606 607 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 608 pinmux = <STM32_PINMUX('A', 5, AF2)>; 609 }; 610 611 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 612 pinmux = <STM32_PINMUX('A', 15, AF2)>; 613 }; 614 615 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 616 pinmux = <STM32_PINMUX('B', 3, AF2)>; 617 }; 618 619 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 620 pinmux = <STM32_PINMUX('B', 10, AF2)>; 621 }; 622 623 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 624 pinmux = <STM32_PINMUX('B', 11, AF2)>; 625 }; 626 627 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 628 pinmux = <STM32_PINMUX('A', 6, AF1)>; 629 }; 630 631 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 632 pinmux = <STM32_PINMUX('A', 7, AF1)>; 633 }; 634 635 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 636 pinmux = <STM32_PINMUX('B', 0, AF1)>; 637 }; 638 639 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 640 pinmux = <STM32_PINMUX('B', 1, AF1)>; 641 }; 642 643 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 644 pinmux = <STM32_PINMUX('B', 4, AF1)>; 645 }; 646 647 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 648 pinmux = <STM32_PINMUX('B', 5, AF1)>; 649 }; 650 651 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 652 pinmux = <STM32_PINMUX('C', 6, AF0)>; 653 }; 654 655 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 656 pinmux = <STM32_PINMUX('C', 7, AF0)>; 657 }; 658 659 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 660 pinmux = <STM32_PINMUX('C', 8, AF0)>; 661 }; 662 663 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 664 pinmux = <STM32_PINMUX('C', 9, AF0)>; 665 }; 666 667 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 668 pinmux = <STM32_PINMUX('A', 4, AF4)>; 669 }; 670 671 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 672 pinmux = <STM32_PINMUX('A', 7, AF4)>; 673 }; 674 675 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 676 pinmux = <STM32_PINMUX('B', 1, AF0)>; 677 }; 678 679 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 680 pinmux = <STM32_PINMUX('A', 1, AF5)>; 681 }; 682 683 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 684 pinmux = <STM32_PINMUX('A', 2, AF0)>; 685 }; 686 687 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 688 pinmux = <STM32_PINMUX('A', 3, AF0)>; 689 }; 690 691 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 692 pinmux = <STM32_PINMUX('B', 14, AF1)>; 693 }; 694 695 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 696 pinmux = <STM32_PINMUX('B', 15, AF3)>; 697 }; 698 699 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 700 pinmux = <STM32_PINMUX('B', 15, AF1)>; 701 }; 702 703 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 704 pinmux = <STM32_PINMUX('A', 6, AF5)>; 705 }; 706 707 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 708 pinmux = <STM32_PINMUX('B', 6, AF2)>; 709 }; 710 711 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 712 pinmux = <STM32_PINMUX('B', 8, AF2)>; 713 }; 714 715 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 716 pinmux = <STM32_PINMUX('A', 7, AF5)>; 717 }; 718 719 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 720 pinmux = <STM32_PINMUX('B', 7, AF2)>; 721 }; 722 723 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 724 pinmux = <STM32_PINMUX('B', 9, AF2)>; 725 }; 726 727 /* UART_CTS / USART_CTS / LPUART_CTS */ 728 729 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 730 pinmux = <STM32_PINMUX('A', 11, AF1)>; 731 bias-pull-up; 732 drive-open-drain; 733 }; 734 735 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 736 pinmux = <STM32_PINMUX('A', 0, AF1)>; 737 bias-pull-up; 738 drive-open-drain; 739 }; 740 741 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 742 pinmux = <STM32_PINMUX('A', 6, AF4)>; 743 bias-pull-up; 744 drive-open-drain; 745 }; 746 747 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 748 pinmux = <STM32_PINMUX('B', 13, AF4)>; 749 bias-pull-up; 750 drive-open-drain; 751 }; 752 753 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 754 pinmux = <STM32_PINMUX('B', 7, AF4)>; 755 bias-pull-up; 756 drive-open-drain; 757 }; 758 759 /* UART_DE / USART_DE / LPUART_DE */ 760 761 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 762 pinmux = <STM32_PINMUX('A', 12, AF1)>; 763 drive-push-pull; 764 }; 765 766 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 767 pinmux = <STM32_PINMUX('A', 1, AF1)>; 768 drive-push-pull; 769 }; 770 771 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 772 pinmux = <STM32_PINMUX('B', 1, AF4)>; 773 drive-push-pull; 774 }; 775 776 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 777 pinmux = <STM32_PINMUX('B', 14, AF4)>; 778 drive-push-pull; 779 }; 780 781 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 782 pinmux = <STM32_PINMUX('D', 2, AF1)>; 783 drive-push-pull; 784 }; 785 786 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 787 pinmux = <STM32_PINMUX('A', 15, AF4)>; 788 drive-push-pull; 789 }; 790 791 /* UART_RTS / USART_RTS / LPUART_RTS */ 792 793 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 794 pinmux = <STM32_PINMUX('A', 12, AF1)>; 795 bias-pull-up; 796 drive-open-drain; 797 }; 798 799 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 800 pinmux = <STM32_PINMUX('A', 1, AF1)>; 801 bias-pull-up; 802 drive-open-drain; 803 }; 804 805 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 806 pinmux = <STM32_PINMUX('B', 1, AF4)>; 807 bias-pull-up; 808 drive-open-drain; 809 }; 810 811 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 812 pinmux = <STM32_PINMUX('B', 14, AF4)>; 813 bias-pull-up; 814 drive-open-drain; 815 }; 816 817 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 818 pinmux = <STM32_PINMUX('D', 2, AF1)>; 819 bias-pull-up; 820 drive-open-drain; 821 }; 822 823 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 824 pinmux = <STM32_PINMUX('A', 15, AF4)>; 825 bias-pull-up; 826 drive-open-drain; 827 }; 828 829 /* UART_RX / USART_RX / LPUART_RX */ 830 831 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 832 pinmux = <STM32_PINMUX('A', 10, AF1)>; 833 }; 834 835 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 836 pinmux = <STM32_PINMUX('B', 7, AF0)>; 837 }; 838 839 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 840 pinmux = <STM32_PINMUX('A', 3, AF1)>; 841 }; 842 843 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 844 pinmux = <STM32_PINMUX('A', 15, AF1)>; 845 }; 846 847 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 848 pinmux = <STM32_PINMUX('B', 11, AF4)>; 849 }; 850 851 /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { 852 pinmux = <STM32_PINMUX('C', 5, AF1)>; 853 }; 854 855 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 856 pinmux = <STM32_PINMUX('C', 11, AF1)>; 857 }; 858 859 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 860 pinmux = <STM32_PINMUX('A', 1, AF4)>; 861 }; 862 863 /omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 { 864 pinmux = <STM32_PINMUX('C', 11, AF0)>; 865 }; 866 867 /* UART_TX / USART_TX / LPUART_TX */ 868 869 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 870 pinmux = <STM32_PINMUX('A', 9, AF1)>; 871 bias-pull-up; 872 }; 873 874 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 875 pinmux = <STM32_PINMUX('B', 6, AF0)>; 876 bias-pull-up; 877 }; 878 879 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 880 pinmux = <STM32_PINMUX('A', 2, AF1)>; 881 bias-pull-up; 882 }; 883 884 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 885 pinmux = <STM32_PINMUX('A', 14, AF1)>; 886 bias-pull-up; 887 }; 888 889 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 890 pinmux = <STM32_PINMUX('B', 10, AF4)>; 891 bias-pull-up; 892 }; 893 894 /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { 895 pinmux = <STM32_PINMUX('C', 4, AF1)>; 896 bias-pull-up; 897 }; 898 899 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 900 pinmux = <STM32_PINMUX('C', 10, AF1)>; 901 bias-pull-up; 902 }; 903 904 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 905 pinmux = <STM32_PINMUX('A', 0, AF4)>; 906 bias-pull-up; 907 }; 908 909 /omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 { 910 pinmux = <STM32_PINMUX('C', 10, AF0)>; 911 bias-pull-up; 912 }; 913 914 }; 915 }; 916};