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