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 /* I2C_SCL */ 232 233 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 234 pinmux = <STM32_PINMUX('A', 9, AF4)>; 235 bias-pull-up; 236 drive-open-drain; 237 }; 238 239 /omit-if-no-ref/ i2c1_scl_pa11: i2c1_scl_pa11 { 240 pinmux = <STM32_PINMUX('A', 11, AF5)>; 241 bias-pull-up; 242 drive-open-drain; 243 }; 244 245 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 246 pinmux = <STM32_PINMUX('B', 6, AF1)>; 247 bias-pull-up; 248 drive-open-drain; 249 }; 250 251 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 252 pinmux = <STM32_PINMUX('B', 8, AF1)>; 253 bias-pull-up; 254 drive-open-drain; 255 }; 256 257 /omit-if-no-ref/ i2c1_scl_pb10: i2c1_scl_pb10 { 258 pinmux = <STM32_PINMUX('B', 10, AF1)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 /omit-if-no-ref/ i2c1_scl_pb13: i2c1_scl_pb13 { 264 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 265 bias-pull-up; 266 drive-open-drain; 267 }; 268 269 /omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 { 270 pinmux = <STM32_PINMUX('F', 1, AF1)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /* I2C_SDA */ 276 277 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 278 pinmux = <STM32_PINMUX('A', 10, AF4)>; 279 bias-pull-up; 280 drive-open-drain; 281 }; 282 283 /omit-if-no-ref/ i2c1_sda_pa12: i2c1_sda_pa12 { 284 pinmux = <STM32_PINMUX('A', 12, AF5)>; 285 bias-pull-up; 286 drive-open-drain; 287 }; 288 289 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 290 pinmux = <STM32_PINMUX('B', 7, AF1)>; 291 bias-pull-up; 292 drive-open-drain; 293 }; 294 295 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 296 pinmux = <STM32_PINMUX('B', 9, AF1)>; 297 bias-pull-up; 298 drive-open-drain; 299 }; 300 301 /omit-if-no-ref/ i2c1_sda_pb11: i2c1_sda_pb11 { 302 pinmux = <STM32_PINMUX('B', 11, AF1)>; 303 bias-pull-up; 304 drive-open-drain; 305 }; 306 307 /omit-if-no-ref/ i2c1_sda_pb14: i2c1_sda_pb14 { 308 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 309 bias-pull-up; 310 drive-open-drain; 311 }; 312 313 /omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 { 314 pinmux = <STM32_PINMUX('F', 0, AF1)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /* I2C_SMBA */ 320 321 /omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 { 322 pinmux = <STM32_PINMUX('B', 5, AF3)>; 323 bias-pull-up; 324 }; 325 326 /* I2S_CK */ 327 328 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 329 pinmux = <STM32_PINMUX('A', 5, AF0)>; 330 slew-rate = "very-high-speed"; 331 }; 332 333 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 334 pinmux = <STM32_PINMUX('B', 3, AF0)>; 335 slew-rate = "very-high-speed"; 336 }; 337 338 /* I2S_MCK */ 339 340 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 341 pinmux = <STM32_PINMUX('A', 6, AF0)>; 342 slew-rate = "very-high-speed"; 343 }; 344 345 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 346 pinmux = <STM32_PINMUX('B', 4, AF0)>; 347 slew-rate = "very-high-speed"; 348 }; 349 350 /* I2S_SD */ 351 352 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 353 pinmux = <STM32_PINMUX('A', 7, AF0)>; 354 }; 355 356 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 357 pinmux = <STM32_PINMUX('B', 5, AF0)>; 358 }; 359 360 /* I2S_WS */ 361 362 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 363 pinmux = <STM32_PINMUX('A', 4, AF0)>; 364 }; 365 366 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 367 pinmux = <STM32_PINMUX('A', 15, AF0)>; 368 }; 369 370 /* JTAG PORT */ 371 372 /omit-if-no-ref/ sys_swdio_pa13: sys_swdio_pa13 { 373 pinmux = <STM32_PINMUX('A', 13, AF0)>; 374 }; 375 376 /omit-if-no-ref/ sys_swclk_pa14: sys_swclk_pa14 { 377 pinmux = <STM32_PINMUX('A', 14, AF0)>; 378 }; 379 380 /* RCC_MCO */ 381 382 /omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 { 383 pinmux = <STM32_PINMUX('A', 8, AF0)>; 384 }; 385 386 /* SPI_MISO */ 387 388 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 389 pinmux = <STM32_PINMUX('A', 6, AF0)>; 390 bias-pull-down; 391 }; 392 393 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 394 pinmux = <STM32_PINMUX('B', 4, AF0)>; 395 bias-pull-down; 396 }; 397 398 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 399 pinmux = <STM32_PINMUX('B', 14, AF0)>; 400 bias-pull-down; 401 }; 402 403 /* SPI_MOSI */ 404 405 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 406 pinmux = <STM32_PINMUX('A', 7, AF0)>; 407 bias-pull-down; 408 }; 409 410 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 411 pinmux = <STM32_PINMUX('B', 5, AF0)>; 412 bias-pull-down; 413 }; 414 415 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 416 pinmux = <STM32_PINMUX('B', 15, AF0)>; 417 bias-pull-down; 418 }; 419 420 /* SPI_NSS */ 421 422 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 423 pinmux = <STM32_PINMUX('A', 4, AF0)>; 424 bias-pull-up; 425 }; 426 427 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 428 pinmux = <STM32_PINMUX('A', 15, AF0)>; 429 bias-pull-up; 430 }; 431 432 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 433 pinmux = <STM32_PINMUX('B', 9, AF5)>; 434 bias-pull-up; 435 }; 436 437 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 438 pinmux = <STM32_PINMUX('B', 12, AF0)>; 439 bias-pull-up; 440 }; 441 442 /* SPI_SCK */ 443 444 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 445 pinmux = <STM32_PINMUX('A', 5, AF0)>; 446 bias-pull-down; 447 slew-rate = "very-high-speed"; 448 }; 449 450 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 451 pinmux = <STM32_PINMUX('B', 3, AF0)>; 452 bias-pull-down; 453 slew-rate = "very-high-speed"; 454 }; 455 456 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 457 pinmux = <STM32_PINMUX('B', 10, AF5)>; 458 bias-pull-down; 459 slew-rate = "very-high-speed"; 460 }; 461 462 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 463 pinmux = <STM32_PINMUX('B', 13, AF0)>; 464 bias-pull-down; 465 slew-rate = "very-high-speed"; 466 }; 467 468 /* TIM_BKIN */ 469 470 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 471 pinmux = <STM32_PINMUX('A', 6, AF2)>; 472 }; 473 474 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 475 pinmux = <STM32_PINMUX('B', 12, AF2)>; 476 }; 477 478 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 479 pinmux = <STM32_PINMUX('B', 5, AF2)>; 480 }; 481 482 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 483 pinmux = <STM32_PINMUX('A', 10, AF0)>; 484 }; 485 486 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 487 pinmux = <STM32_PINMUX('B', 4, AF5)>; 488 }; 489 490 /* TIM_CH / TIM_CHN */ 491 492 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 493 pinmux = <STM32_PINMUX('A', 7, AF2)>; 494 }; 495 496 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 497 pinmux = <STM32_PINMUX('A', 8, AF2)>; 498 }; 499 500 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 501 pinmux = <STM32_PINMUX('A', 9, AF2)>; 502 }; 503 504 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 505 pinmux = <STM32_PINMUX('A', 10, AF2)>; 506 }; 507 508 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 509 pinmux = <STM32_PINMUX('A', 11, AF2)>; 510 }; 511 512 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 513 pinmux = <STM32_PINMUX('B', 0, AF2)>; 514 }; 515 516 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 517 pinmux = <STM32_PINMUX('B', 1, AF2)>; 518 }; 519 520 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 521 pinmux = <STM32_PINMUX('B', 13, AF2)>; 522 }; 523 524 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 525 pinmux = <STM32_PINMUX('B', 14, AF2)>; 526 }; 527 528 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 529 pinmux = <STM32_PINMUX('B', 15, AF2)>; 530 }; 531 532 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 533 pinmux = <STM32_PINMUX('A', 0, AF2)>; 534 }; 535 536 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 537 pinmux = <STM32_PINMUX('A', 1, AF2)>; 538 }; 539 540 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 541 pinmux = <STM32_PINMUX('A', 2, AF2)>; 542 }; 543 544 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 545 pinmux = <STM32_PINMUX('A', 3, AF2)>; 546 }; 547 548 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 549 pinmux = <STM32_PINMUX('A', 5, AF2)>; 550 }; 551 552 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 553 pinmux = <STM32_PINMUX('A', 15, AF2)>; 554 }; 555 556 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 557 pinmux = <STM32_PINMUX('B', 3, AF2)>; 558 }; 559 560 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 561 pinmux = <STM32_PINMUX('B', 10, AF2)>; 562 }; 563 564 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 565 pinmux = <STM32_PINMUX('B', 11, AF2)>; 566 }; 567 568 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 569 pinmux = <STM32_PINMUX('A', 6, AF1)>; 570 }; 571 572 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 573 pinmux = <STM32_PINMUX('A', 7, AF1)>; 574 }; 575 576 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 577 pinmux = <STM32_PINMUX('B', 0, AF1)>; 578 }; 579 580 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 581 pinmux = <STM32_PINMUX('B', 1, AF1)>; 582 }; 583 584 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 585 pinmux = <STM32_PINMUX('B', 4, AF1)>; 586 }; 587 588 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 589 pinmux = <STM32_PINMUX('B', 5, AF1)>; 590 }; 591 592 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 593 pinmux = <STM32_PINMUX('A', 4, AF4)>; 594 }; 595 596 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 597 pinmux = <STM32_PINMUX('A', 7, AF4)>; 598 }; 599 600 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 601 pinmux = <STM32_PINMUX('B', 1, AF0)>; 602 }; 603 604 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 605 pinmux = <STM32_PINMUX('A', 6, AF5)>; 606 }; 607 608 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 609 pinmux = <STM32_PINMUX('B', 6, AF2)>; 610 }; 611 612 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 613 pinmux = <STM32_PINMUX('B', 8, AF2)>; 614 }; 615 616 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 617 pinmux = <STM32_PINMUX('A', 7, AF5)>; 618 }; 619 620 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 621 pinmux = <STM32_PINMUX('B', 7, AF2)>; 622 }; 623 624 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 625 pinmux = <STM32_PINMUX('B', 9, AF2)>; 626 }; 627 628 /* UART_CTS / USART_CTS / LPUART_CTS */ 629 630 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 631 pinmux = <STM32_PINMUX('A', 11, AF1)>; 632 bias-pull-up; 633 drive-open-drain; 634 }; 635 636 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 637 pinmux = <STM32_PINMUX('A', 0, AF1)>; 638 bias-pull-up; 639 drive-open-drain; 640 }; 641 642 /* UART_DE / USART_DE / LPUART_DE */ 643 644 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 645 pinmux = <STM32_PINMUX('A', 12, AF1)>; 646 drive-push-pull; 647 }; 648 649 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 650 pinmux = <STM32_PINMUX('A', 1, AF1)>; 651 drive-push-pull; 652 }; 653 654 /* UART_RTS / USART_RTS / LPUART_RTS */ 655 656 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 657 pinmux = <STM32_PINMUX('A', 12, AF1)>; 658 bias-pull-up; 659 drive-open-drain; 660 }; 661 662 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 663 pinmux = <STM32_PINMUX('A', 1, AF1)>; 664 bias-pull-up; 665 drive-open-drain; 666 }; 667 668 /* UART_RX / USART_RX / LPUART_RX */ 669 670 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 671 pinmux = <STM32_PINMUX('A', 10, AF1)>; 672 }; 673 674 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 675 pinmux = <STM32_PINMUX('B', 7, AF0)>; 676 }; 677 678 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 679 pinmux = <STM32_PINMUX('A', 3, AF1)>; 680 }; 681 682 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 683 pinmux = <STM32_PINMUX('A', 15, AF1)>; 684 }; 685 686 /* UART_TX / USART_TX / LPUART_TX */ 687 688 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 689 pinmux = <STM32_PINMUX('A', 9, AF1)>; 690 bias-pull-up; 691 }; 692 693 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 694 pinmux = <STM32_PINMUX('B', 6, AF0)>; 695 bias-pull-up; 696 }; 697 698 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 699 pinmux = <STM32_PINMUX('A', 2, AF1)>; 700 bias-pull-up; 701 }; 702 703 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 704 pinmux = <STM32_PINMUX('A', 14, AF1)>; 705 bias-pull-up; 706 }; 707 708 /* USB */ 709 710 /omit-if-no-ref/ usb_noe_pa4: usb_noe_pa4 { 711 pinmux = <STM32_PINMUX('A', 4, AF2)>; 712 }; 713 714 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 715 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 716 }; 717 718 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 719 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 720 }; 721 722 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 723 pinmux = <STM32_PINMUX('A', 13, AF2)>; 724 }; 725 726 /omit-if-no-ref/ usb_noe_pa15: usb_noe_pa15 { 727 pinmux = <STM32_PINMUX('A', 15, AF5)>; 728 }; 729 730 }; 731 }; 732};