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@50000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in9_pb1: adc1_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_pb0: analog_pb0 { 118 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb1: analog_pb1 { 122 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb6: analog_pb6 { 126 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb7: analog_pb7 { 130 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb8: analog_pb8 { 134 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb9: analog_pb9 { 138 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb15: analog_pb15 { 142 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pc14: analog_pc14 { 146 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pc15: analog_pc15 { 150 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pd0: analog_pd0 { 154 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pd1: analog_pd1 { 158 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pd2: analog_pd2 { 162 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pd3: analog_pd3 { 166 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pf2: analog_pf2 { 170 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 171 }; 172 173 /* DAC_OUT */ 174 175 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 176 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 177 }; 178 179 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 180 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 181 }; 182 183 /* FDCAN_RX */ 184 185 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 186 pinmux = <STM32_PINMUX('A', 11, AF3)>; 187 }; 188 189 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 190 pinmux = <STM32_PINMUX('B', 8, AF3)>; 191 }; 192 193 /omit-if-no-ref/ fdcan1_rx_pd0: fdcan1_rx_pd0 { 194 pinmux = <STM32_PINMUX('D', 0, AF3)>; 195 }; 196 197 /omit-if-no-ref/ fdcan2_rx_pb0: fdcan2_rx_pb0 { 198 pinmux = <STM32_PINMUX('B', 0, AF3)>; 199 }; 200 201 /* FDCAN_TX */ 202 203 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 204 pinmux = <STM32_PINMUX('A', 12, AF3)>; 205 }; 206 207 /omit-if-no-ref/ fdcan1_tx_pb9: fdcan1_tx_pb9 { 208 pinmux = <STM32_PINMUX('B', 9, AF3)>; 209 }; 210 211 /omit-if-no-ref/ fdcan1_tx_pd1: fdcan1_tx_pd1 { 212 pinmux = <STM32_PINMUX('D', 1, AF3)>; 213 }; 214 215 /omit-if-no-ref/ fdcan2_tx_pb1: fdcan2_tx_pb1 { 216 pinmux = <STM32_PINMUX('B', 1, AF3)>; 217 }; 218 219 /omit-if-no-ref/ fdcan2_tx_pb6: fdcan2_tx_pb6 { 220 pinmux = <STM32_PINMUX('B', 6, AF3)>; 221 }; 222 223 /* I2C_SCL */ 224 225 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 226 pinmux = <STM32_PINMUX('A', 9, AF6)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 232 pinmux = <STM32_PINMUX('B', 6, AF6)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 238 pinmux = <STM32_PINMUX('B', 8, AF6)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { 244 pinmux = <STM32_PINMUX('A', 7, AF8)>; 245 bias-pull-up; 246 drive-open-drain; 247 }; 248 249 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 250 pinmux = <STM32_PINMUX('A', 9, AF8)>; 251 bias-pull-up; 252 drive-open-drain; 253 }; 254 255 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 256 pinmux = <STM32_PINMUX('A', 11, AF6)>; 257 bias-pull-up; 258 drive-open-drain; 259 }; 260 261 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 262 pinmux = <STM32_PINMUX('A', 7, AF9)>; 263 bias-pull-up; 264 drive-open-drain; 265 }; 266 267 /* I2C_SDA */ 268 269 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 270 pinmux = <STM32_PINMUX('A', 10, AF6)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 276 pinmux = <STM32_PINMUX('B', 7, AF6)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 282 pinmux = <STM32_PINMUX('B', 9, AF6)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { 288 pinmux = <STM32_PINMUX('A', 6, AF8)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { 294 pinmux = <STM32_PINMUX('A', 10, AF8)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 300 pinmux = <STM32_PINMUX('A', 12, AF6)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { 306 pinmux = <STM32_PINMUX('A', 6, AF9)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /* I2S_CK */ 312 313 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 314 pinmux = <STM32_PINMUX('A', 1, AF0)>; 315 slew-rate = "very-high-speed"; 316 }; 317 318 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 319 pinmux = <STM32_PINMUX('A', 5, AF0)>; 320 slew-rate = "very-high-speed"; 321 }; 322 323 /omit-if-no-ref/ i2s2_ck_pa0: i2s2_ck_pa0 { 324 pinmux = <STM32_PINMUX('A', 0, AF0)>; 325 slew-rate = "very-high-speed"; 326 }; 327 328 /omit-if-no-ref/ i2s2_ck_pb8: i2s2_ck_pb8 { 329 pinmux = <STM32_PINMUX('B', 8, AF1)>; 330 slew-rate = "very-high-speed"; 331 }; 332 333 /omit-if-no-ref/ i2s2_ck_pd1: i2s2_ck_pd1 { 334 pinmux = <STM32_PINMUX('D', 1, AF1)>; 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_pa11: i2s1_mck_pa11 { 346 pinmux = <STM32_PINMUX('A', 11, AF0)>; 347 slew-rate = "very-high-speed"; 348 }; 349 350 /omit-if-no-ref/ i2s2_mck_pa3: i2s2_mck_pa3 { 351 pinmux = <STM32_PINMUX('A', 3, AF0)>; 352 slew-rate = "very-high-speed"; 353 }; 354 355 /omit-if-no-ref/ i2s2_mck_pa9: i2s2_mck_pa9 { 356 pinmux = <STM32_PINMUX('A', 9, AF4)>; 357 slew-rate = "very-high-speed"; 358 }; 359 360 /omit-if-no-ref/ i2s2_mck_pb6: i2s2_mck_pb6 { 361 pinmux = <STM32_PINMUX('B', 6, AF4)>; 362 slew-rate = "very-high-speed"; 363 }; 364 365 /omit-if-no-ref/ i2s2_mck_pd3: i2s2_mck_pd3 { 366 pinmux = <STM32_PINMUX('D', 3, AF1)>; 367 slew-rate = "very-high-speed"; 368 }; 369 370 /* I2S_SD */ 371 372 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 373 pinmux = <STM32_PINMUX('A', 2, AF0)>; 374 }; 375 376 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 377 pinmux = <STM32_PINMUX('A', 7, AF0)>; 378 }; 379 380 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 381 pinmux = <STM32_PINMUX('A', 12, AF0)>; 382 }; 383 384 /omit-if-no-ref/ i2s2_sd_pa4: i2s2_sd_pa4 { 385 pinmux = <STM32_PINMUX('A', 4, AF1)>; 386 }; 387 388 /omit-if-no-ref/ i2s2_sd_pa10: i2s2_sd_pa10 { 389 pinmux = <STM32_PINMUX('A', 10, AF0)>; 390 }; 391 392 /omit-if-no-ref/ i2s2_sd_pb7: i2s2_sd_pb7 { 393 pinmux = <STM32_PINMUX('B', 7, AF1)>; 394 }; 395 396 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 397 pinmux = <STM32_PINMUX('B', 15, AF0)>; 398 }; 399 400 /* I2S_WS */ 401 402 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 403 pinmux = <STM32_PINMUX('A', 4, AF0)>; 404 }; 405 406 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 407 pinmux = <STM32_PINMUX('B', 0, AF0)>; 408 }; 409 410 /omit-if-no-ref/ i2s2_ws_pa8: i2s2_ws_pa8 { 411 pinmux = <STM32_PINMUX('A', 8, AF1)>; 412 }; 413 414 /omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 { 415 pinmux = <STM32_PINMUX('B', 9, AF5)>; 416 }; 417 418 /omit-if-no-ref/ i2s2_ws_pd0: i2s2_ws_pd0 { 419 pinmux = <STM32_PINMUX('D', 0, AF1)>; 420 }; 421 422 /* SPI_MISO */ 423 424 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 425 pinmux = <STM32_PINMUX('A', 6, AF0)>; 426 bias-pull-down; 427 }; 428 429 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 430 pinmux = <STM32_PINMUX('A', 11, AF0)>; 431 bias-pull-down; 432 }; 433 434 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 435 pinmux = <STM32_PINMUX('A', 3, AF0)>; 436 bias-pull-down; 437 }; 438 439 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 440 pinmux = <STM32_PINMUX('A', 9, AF4)>; 441 bias-pull-down; 442 }; 443 444 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 445 pinmux = <STM32_PINMUX('B', 6, AF4)>; 446 bias-pull-down; 447 }; 448 449 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 450 pinmux = <STM32_PINMUX('D', 3, AF1)>; 451 bias-pull-down; 452 }; 453 454 /* SPI_MOSI */ 455 456 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 457 pinmux = <STM32_PINMUX('A', 2, AF0)>; 458 bias-pull-down; 459 }; 460 461 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 462 pinmux = <STM32_PINMUX('A', 7, AF0)>; 463 bias-pull-down; 464 }; 465 466 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 467 pinmux = <STM32_PINMUX('A', 12, AF0)>; 468 bias-pull-down; 469 }; 470 471 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 472 pinmux = <STM32_PINMUX('A', 4, AF1)>; 473 bias-pull-down; 474 }; 475 476 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 477 pinmux = <STM32_PINMUX('A', 10, AF0)>; 478 bias-pull-down; 479 }; 480 481 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 482 pinmux = <STM32_PINMUX('B', 7, AF1)>; 483 bias-pull-down; 484 }; 485 486 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 487 pinmux = <STM32_PINMUX('B', 15, AF0)>; 488 bias-pull-down; 489 }; 490 491 /* SPI_NSS */ 492 493 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 494 pinmux = <STM32_PINMUX('A', 4, AF0)>; 495 bias-pull-up; 496 }; 497 498 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 499 pinmux = <STM32_PINMUX('B', 0, AF0)>; 500 bias-pull-up; 501 }; 502 503 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 504 pinmux = <STM32_PINMUX('A', 8, AF1)>; 505 bias-pull-up; 506 }; 507 508 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 509 pinmux = <STM32_PINMUX('B', 9, AF5)>; 510 bias-pull-up; 511 }; 512 513 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 514 pinmux = <STM32_PINMUX('D', 0, AF1)>; 515 bias-pull-up; 516 }; 517 518 /* SPI_SCK */ 519 520 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 521 pinmux = <STM32_PINMUX('A', 1, AF0)>; 522 bias-pull-down; 523 slew-rate = "very-high-speed"; 524 }; 525 526 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 527 pinmux = <STM32_PINMUX('A', 5, AF0)>; 528 bias-pull-down; 529 slew-rate = "very-high-speed"; 530 }; 531 532 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 533 pinmux = <STM32_PINMUX('A', 0, AF0)>; 534 bias-pull-down; 535 slew-rate = "very-high-speed"; 536 }; 537 538 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 539 pinmux = <STM32_PINMUX('B', 8, AF1)>; 540 bias-pull-down; 541 slew-rate = "very-high-speed"; 542 }; 543 544 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 545 pinmux = <STM32_PINMUX('D', 1, AF1)>; 546 bias-pull-down; 547 slew-rate = "very-high-speed"; 548 }; 549 550 /* TIM_CH / TIM_CHN */ 551 552 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 553 pinmux = <STM32_PINMUX('A', 7, AF2)>; 554 }; 555 556 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 557 pinmux = <STM32_PINMUX('A', 8, AF2)>; 558 }; 559 560 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 561 pinmux = <STM32_PINMUX('A', 9, AF2)>; 562 }; 563 564 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 565 pinmux = <STM32_PINMUX('A', 10, AF2)>; 566 }; 567 568 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 569 pinmux = <STM32_PINMUX('A', 11, AF2)>; 570 }; 571 572 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 573 pinmux = <STM32_PINMUX('B', 0, AF2)>; 574 }; 575 576 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 577 pinmux = <STM32_PINMUX('B', 1, AF2)>; 578 }; 579 580 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 581 pinmux = <STM32_PINMUX('B', 6, AF1)>; 582 }; 583 584 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 585 pinmux = <STM32_PINMUX('B', 15, AF2)>; 586 }; 587 588 /omit-if-no-ref/ tim1_ch1n_pd2: tim1_ch1n_pd2 { 589 pinmux = <STM32_PINMUX('D', 2, AF2)>; 590 }; 591 592 /omit-if-no-ref/ tim1_ch2n_pd3: tim1_ch2n_pd3 { 593 pinmux = <STM32_PINMUX('D', 3, AF2)>; 594 }; 595 596 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 597 pinmux = <STM32_PINMUX('A', 0, AF2)>; 598 }; 599 600 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 601 pinmux = <STM32_PINMUX('A', 1, AF2)>; 602 }; 603 604 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 605 pinmux = <STM32_PINMUX('A', 2, AF2)>; 606 }; 607 608 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 609 pinmux = <STM32_PINMUX('A', 3, AF2)>; 610 }; 611 612 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 613 pinmux = <STM32_PINMUX('A', 5, AF2)>; 614 }; 615 616 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 617 pinmux = <STM32_PINMUX('A', 6, AF1)>; 618 }; 619 620 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 621 pinmux = <STM32_PINMUX('A', 7, AF1)>; 622 }; 623 624 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 625 pinmux = <STM32_PINMUX('B', 0, AF1)>; 626 }; 627 628 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 629 pinmux = <STM32_PINMUX('B', 1, AF1)>; 630 }; 631 632 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 633 pinmux = <STM32_PINMUX('A', 4, AF4)>; 634 }; 635 636 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 637 pinmux = <STM32_PINMUX('A', 7, AF4)>; 638 }; 639 640 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 641 pinmux = <STM32_PINMUX('B', 1, AF0)>; 642 }; 643 644 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 645 pinmux = <STM32_PINMUX('B', 6, AF9)>; 646 }; 647 648 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 649 pinmux = <STM32_PINMUX('B', 7, AF9)>; 650 }; 651 652 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 653 pinmux = <STM32_PINMUX('B', 8, AF9)>; 654 }; 655 656 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 657 pinmux = <STM32_PINMUX('B', 9, AF9)>; 658 }; 659 660 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 661 pinmux = <STM32_PINMUX('A', 1, AF5)>; 662 }; 663 664 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 665 pinmux = <STM32_PINMUX('A', 2, AF5)>; 666 }; 667 668 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 669 pinmux = <STM32_PINMUX('A', 3, AF5)>; 670 }; 671 672 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 673 pinmux = <STM32_PINMUX('B', 15, AF4)>; 674 }; 675 676 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 677 pinmux = <STM32_PINMUX('B', 15, AF5)>; 678 }; 679 680 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 681 pinmux = <STM32_PINMUX('A', 6, AF5)>; 682 }; 683 684 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 685 pinmux = <STM32_PINMUX('B', 6, AF2)>; 686 }; 687 688 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 689 pinmux = <STM32_PINMUX('B', 8, AF2)>; 690 }; 691 692 /omit-if-no-ref/ tim16_ch1_pd0: tim16_ch1_pd0 { 693 pinmux = <STM32_PINMUX('D', 0, AF2)>; 694 }; 695 696 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 697 pinmux = <STM32_PINMUX('A', 7, AF5)>; 698 }; 699 700 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 701 pinmux = <STM32_PINMUX('B', 7, AF2)>; 702 }; 703 704 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 705 pinmux = <STM32_PINMUX('B', 9, AF2)>; 706 }; 707 708 /omit-if-no-ref/ tim17_ch1_pd1: tim17_ch1_pd1 { 709 pinmux = <STM32_PINMUX('D', 1, AF2)>; 710 }; 711 712 /* UART_CTS / USART_CTS / LPUART_CTS */ 713 714 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 715 pinmux = <STM32_PINMUX('A', 6, AF6)>; 716 bias-pull-up; 717 drive-open-drain; 718 }; 719 720 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 721 pinmux = <STM32_PINMUX('A', 11, AF1)>; 722 bias-pull-up; 723 drive-open-drain; 724 }; 725 726 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 727 pinmux = <STM32_PINMUX('A', 0, AF1)>; 728 bias-pull-up; 729 drive-open-drain; 730 }; 731 732 /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { 733 pinmux = <STM32_PINMUX('B', 0, AF10)>; 734 bias-pull-up; 735 drive-open-drain; 736 }; 737 738 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 739 pinmux = <STM32_PINMUX('D', 3, AF0)>; 740 bias-pull-up; 741 drive-open-drain; 742 }; 743 744 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 745 pinmux = <STM32_PINMUX('A', 6, AF4)>; 746 bias-pull-up; 747 drive-open-drain; 748 }; 749 750 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 751 pinmux = <STM32_PINMUX('B', 7, AF4)>; 752 bias-pull-up; 753 drive-open-drain; 754 }; 755 756 /omit-if-no-ref/ usart5_cts_pb6: usart5_cts_pb6 { 757 pinmux = <STM32_PINMUX('B', 6, AF8)>; 758 bias-pull-up; 759 drive-open-drain; 760 }; 761 762 /omit-if-no-ref/ usart6_cts_pa6: usart6_cts_pa6 { 763 pinmux = <STM32_PINMUX('A', 6, AF3)>; 764 bias-pull-up; 765 drive-open-drain; 766 }; 767 768 /omit-if-no-ref/ usart6_cts_pb15: usart6_cts_pb15 { 769 pinmux = <STM32_PINMUX('B', 15, AF8)>; 770 bias-pull-up; 771 drive-open-drain; 772 }; 773 774 /* UART_DE / USART_DE / LPUART_DE */ 775 776 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 777 pinmux = <STM32_PINMUX('A', 12, AF1)>; 778 drive-push-pull; 779 }; 780 781 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 782 pinmux = <STM32_PINMUX('B', 1, AF6)>; 783 drive-push-pull; 784 }; 785 786 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 787 pinmux = <STM32_PINMUX('A', 1, AF1)>; 788 drive-push-pull; 789 }; 790 791 /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { 792 pinmux = <STM32_PINMUX('B', 1, AF10)>; 793 drive-push-pull; 794 }; 795 796 /omit-if-no-ref/ lpuart2_de_pf2: lpuart2_de_pf2 { 797 pinmux = <STM32_PINMUX('F', 2, AF3)>; 798 drive-push-pull; 799 }; 800 801 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 802 pinmux = <STM32_PINMUX('B', 1, AF4)>; 803 drive-push-pull; 804 }; 805 806 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 807 pinmux = <STM32_PINMUX('D', 2, AF0)>; 808 drive-push-pull; 809 }; 810 811 /omit-if-no-ref/ usart6_de_pa7: usart6_de_pa7 { 812 pinmux = <STM32_PINMUX('A', 7, AF3)>; 813 drive-push-pull; 814 }; 815 816 /* UART_RTS / USART_RTS / LPUART_RTS */ 817 818 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 819 pinmux = <STM32_PINMUX('A', 12, AF1)>; 820 bias-pull-up; 821 drive-open-drain; 822 }; 823 824 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 825 pinmux = <STM32_PINMUX('B', 1, AF6)>; 826 bias-pull-up; 827 drive-open-drain; 828 }; 829 830 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 831 pinmux = <STM32_PINMUX('A', 1, AF1)>; 832 bias-pull-up; 833 drive-open-drain; 834 }; 835 836 /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { 837 pinmux = <STM32_PINMUX('B', 1, AF10)>; 838 bias-pull-up; 839 drive-open-drain; 840 }; 841 842 /omit-if-no-ref/ lpuart2_rts_pf2: lpuart2_rts_pf2 { 843 pinmux = <STM32_PINMUX('F', 2, AF3)>; 844 bias-pull-up; 845 drive-open-drain; 846 }; 847 848 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 849 pinmux = <STM32_PINMUX('B', 1, AF4)>; 850 bias-pull-up; 851 drive-open-drain; 852 }; 853 854 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 855 pinmux = <STM32_PINMUX('D', 2, AF0)>; 856 bias-pull-up; 857 drive-open-drain; 858 }; 859 860 /omit-if-no-ref/ usart6_rts_pa7: usart6_rts_pa7 { 861 pinmux = <STM32_PINMUX('A', 7, AF3)>; 862 bias-pull-up; 863 drive-open-drain; 864 }; 865 866 /* UART_RX / USART_RX / LPUART_RX */ 867 868 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 869 pinmux = <STM32_PINMUX('A', 3, AF6)>; 870 }; 871 872 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 873 pinmux = <STM32_PINMUX('A', 10, AF1)>; 874 }; 875 876 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 877 pinmux = <STM32_PINMUX('B', 7, AF0)>; 878 }; 879 880 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 881 pinmux = <STM32_PINMUX('A', 3, AF1)>; 882 }; 883 884 /omit-if-no-ref/ lpuart2_rx_pa13: lpuart2_rx_pa13 { 885 pinmux = <STM32_PINMUX('A', 13, AF10)>; 886 }; 887 888 /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { 889 pinmux = <STM32_PINMUX('B', 7, AF10)>; 890 }; 891 892 /omit-if-no-ref/ usart3_rx_pb0: usart3_rx_pb0 { 893 pinmux = <STM32_PINMUX('B', 0, AF4)>; 894 }; 895 896 /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { 897 pinmux = <STM32_PINMUX('B', 9, AF4)>; 898 }; 899 900 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 901 pinmux = <STM32_PINMUX('A', 1, AF4)>; 902 }; 903 904 /omit-if-no-ref/ usart5_rx_pb1: usart5_rx_pb1 { 905 pinmux = <STM32_PINMUX('B', 1, AF8)>; 906 }; 907 908 /omit-if-no-ref/ usart5_rx_pd2: usart5_rx_pd2 { 909 pinmux = <STM32_PINMUX('D', 2, AF3)>; 910 }; 911 912 /omit-if-no-ref/ usart6_rx_pa5: usart6_rx_pa5 { 913 pinmux = <STM32_PINMUX('A', 5, AF3)>; 914 }; 915 916 /omit-if-no-ref/ usart6_rx_pb9: usart6_rx_pb9 { 917 pinmux = <STM32_PINMUX('B', 9, AF8)>; 918 }; 919 920 /* UART_TX / USART_TX / LPUART_TX */ 921 922 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 923 pinmux = <STM32_PINMUX('A', 2, AF6)>; 924 bias-pull-up; 925 }; 926 927 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 928 pinmux = <STM32_PINMUX('A', 9, AF1)>; 929 bias-pull-up; 930 }; 931 932 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 933 pinmux = <STM32_PINMUX('B', 6, AF0)>; 934 bias-pull-up; 935 }; 936 937 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 938 pinmux = <STM32_PINMUX('A', 2, AF1)>; 939 bias-pull-up; 940 }; 941 942 /omit-if-no-ref/ lpuart2_tx_pa14: lpuart2_tx_pa14 { 943 pinmux = <STM32_PINMUX('A', 14, AF10)>; 944 bias-pull-up; 945 }; 946 947 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 948 pinmux = <STM32_PINMUX('A', 14, AF1)>; 949 bias-pull-up; 950 }; 951 952 /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { 953 pinmux = <STM32_PINMUX('B', 6, AF10)>; 954 bias-pull-up; 955 }; 956 957 /omit-if-no-ref/ lpuart2_tx_pf2: lpuart2_tx_pf2 { 958 pinmux = <STM32_PINMUX('F', 2, AF1)>; 959 bias-pull-up; 960 }; 961 962 /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { 963 pinmux = <STM32_PINMUX('A', 5, AF4)>; 964 bias-pull-up; 965 }; 966 967 /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { 968 pinmux = <STM32_PINMUX('B', 8, AF4)>; 969 bias-pull-up; 970 }; 971 972 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 973 pinmux = <STM32_PINMUX('A', 0, AF4)>; 974 bias-pull-up; 975 }; 976 977 /omit-if-no-ref/ usart5_tx_pb0: usart5_tx_pb0 { 978 pinmux = <STM32_PINMUX('B', 0, AF8)>; 979 bias-pull-up; 980 }; 981 982 /omit-if-no-ref/ usart5_tx_pd3: usart5_tx_pd3 { 983 pinmux = <STM32_PINMUX('D', 3, AF3)>; 984 bias-pull-up; 985 }; 986 987 /omit-if-no-ref/ usart6_tx_pa4: usart6_tx_pa4 { 988 pinmux = <STM32_PINMUX('A', 4, AF3)>; 989 bias-pull-up; 990 }; 991 992 /omit-if-no-ref/ usart6_tx_pb8: usart6_tx_pb8 { 993 pinmux = <STM32_PINMUX('B', 8, AF8)>; 994 bias-pull-up; 995 }; 996 997 /* UCPD */ 998 999 /omit-if-no-ref/ ucpd1_cc1_pa8: ucpd1_cc1_pa8 { 1000 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 1001 }; 1002 1003 /omit-if-no-ref/ ucpd1_cc2_pb15: ucpd1_cc2_pb15 { 1004 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 1005 }; 1006 1007 /omit-if-no-ref/ ucpd2_cc1_pd0: ucpd2_cc1_pd0 { 1008 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 1009 }; 1010 1011 /omit-if-no-ref/ ucpd2_cc2_pd2: ucpd2_cc2_pd2 { 1012 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 1013 }; 1014 1015 /* USB */ 1016 1017 /omit-if-no-ref/ usb_noe_pa4: usb_noe_pa4 { 1018 pinmux = <STM32_PINMUX('A', 4, AF2)>; 1019 }; 1020 1021 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1022 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1023 }; 1024 1025 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1026 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1027 }; 1028 1029 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 1030 pinmux = <STM32_PINMUX('A', 13, AF2)>; 1031 }; 1032 1033 }; 1034 }; 1035};