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/ adc1_in1_pa0: adc1_in1_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in2_pa1: adc1_in2_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in3_pa2: adc1_in3_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in4_pa3: adc1_in4_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in15_pb0: adc1_in15_pb0 { 32 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in12_pb1: adc1_in12_pb1 { 36 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in14_pb11: adc1_in14_pb11 { 40 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in11_pb12: adc1_in11_pb12 { 44 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in5_pb14: adc1_in5_pb14 { 48 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in10_pf0: adc1_in10_pf0 { 52 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc2_in1_pa0: adc2_in1_pa0 { 56 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc2_in2_pa1: adc2_in2_pa1 { 60 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc2_in17_pa4: adc2_in17_pa4 { 64 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc2_in13_pa5: adc2_in13_pa5 { 68 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc2_in3_pa6: adc2_in3_pa6 { 72 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc2_in4_pa7: adc2_in4_pa7 { 76 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc2_in12_pb2: adc2_in12_pb2 { 80 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc2_in14_pb11: adc2_in14_pb11 { 84 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc2_in15_pb15: adc2_in15_pb15 { 88 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 89 }; 90 91 /omit-if-no-ref/ adc2_in5_pc4: adc2_in5_pc4 { 92 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 93 }; 94 95 /omit-if-no-ref/ adc2_in10_pf1: adc2_in10_pf1 { 96 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 97 }; 98 99 /* Analog */ 100 101 /omit-if-no-ref/ analog_pa0: analog_pa0 { 102 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa1: analog_pa1 { 106 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa2: analog_pa2 { 110 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa3: analog_pa3 { 114 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa4: analog_pa4 { 118 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa5: analog_pa5 { 122 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa6: analog_pa6 { 126 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa7: analog_pa7 { 130 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa8: analog_pa8 { 134 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa9: analog_pa9 { 138 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa10: analog_pa10 { 142 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pa11: analog_pa11 { 146 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pa12: analog_pa12 { 150 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pa13: analog_pa13 { 154 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pa14: analog_pa14 { 158 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pa15: analog_pa15 { 162 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb0: analog_pb0 { 166 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb1: analog_pb1 { 170 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb2: analog_pb2 { 174 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb3: analog_pb3 { 178 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb4: analog_pb4 { 182 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb5: analog_pb5 { 186 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb6: analog_pb6 { 190 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb7: analog_pb7 { 194 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb8: analog_pb8 { 198 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb9: analog_pb9 { 202 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb10: analog_pb10 { 206 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb11: analog_pb11 { 210 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb12: analog_pb12 { 214 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pb13: analog_pb13 { 218 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pb14: analog_pb14 { 222 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pb15: analog_pb15 { 226 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc4: analog_pc4 { 230 pinmux = <STM32_PINMUX('C', 4, 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_pc11: analog_pc11 { 238 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc13: analog_pc13 { 242 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc14: analog_pc14 { 246 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc15: analog_pc15 { 250 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pf0: analog_pf0 { 254 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pf1: analog_pf1 { 258 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pg10: analog_pg10 { 262 pinmux = <STM32_PINMUX('G', 10, ANALOG)>; 263 }; 264 265 /* DAC_OUT */ 266 267 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 268 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 269 }; 270 271 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 272 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 273 }; 274 275 /* FDCAN_RX */ 276 277 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 278 pinmux = <STM32_PINMUX('A', 11, AF9)>; 279 }; 280 281 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 282 pinmux = <STM32_PINMUX('B', 8, AF9)>; 283 }; 284 285 /* FDCAN_TX */ 286 287 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 288 pinmux = <STM32_PINMUX('A', 12, AF9)>; 289 }; 290 291 /omit-if-no-ref/ fdcan1_tx_pb9: fdcan1_tx_pb9 { 292 pinmux = <STM32_PINMUX('B', 9, AF9)>; 293 }; 294 295 /* I2C_SCL */ 296 297 /omit-if-no-ref/ i2c1_scl_pa13: i2c1_scl_pa13 { 298 pinmux = <STM32_PINMUX('A', 13, AF4)>; 299 bias-pull-up; 300 drive-open-drain; 301 }; 302 303 /omit-if-no-ref/ i2c1_scl_pa15: i2c1_scl_pa15 { 304 pinmux = <STM32_PINMUX('A', 15, AF4)>; 305 bias-pull-up; 306 drive-open-drain; 307 }; 308 309 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 310 pinmux = <STM32_PINMUX('B', 8, AF4)>; 311 bias-pull-up; 312 drive-open-drain; 313 }; 314 315 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 316 pinmux = <STM32_PINMUX('A', 9, AF4)>; 317 bias-pull-up; 318 drive-open-drain; 319 }; 320 321 /omit-if-no-ref/ i2c2_scl_pc4: i2c2_scl_pc4 { 322 pinmux = <STM32_PINMUX('C', 4, AF4)>; 323 bias-pull-up; 324 drive-open-drain; 325 }; 326 327 /omit-if-no-ref/ i2c3_scl_pa8: i2c3_scl_pa8 { 328 pinmux = <STM32_PINMUX('A', 8, AF2)>; 329 bias-pull-up; 330 drive-open-drain; 331 }; 332 333 /* I2C_SDA */ 334 335 /omit-if-no-ref/ i2c1_sda_pa14: i2c1_sda_pa14 { 336 pinmux = <STM32_PINMUX('A', 14, AF4)>; 337 bias-pull-up; 338 drive-open-drain; 339 }; 340 341 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 342 pinmux = <STM32_PINMUX('B', 7, AF4)>; 343 bias-pull-up; 344 drive-open-drain; 345 }; 346 347 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 348 pinmux = <STM32_PINMUX('B', 9, AF4)>; 349 bias-pull-up; 350 drive-open-drain; 351 }; 352 353 /omit-if-no-ref/ i2c2_sda_pa8: i2c2_sda_pa8 { 354 pinmux = <STM32_PINMUX('A', 8, AF4)>; 355 bias-pull-up; 356 drive-open-drain; 357 }; 358 359 /omit-if-no-ref/ i2c2_sda_pf0: i2c2_sda_pf0 { 360 pinmux = <STM32_PINMUX('F', 0, AF4)>; 361 bias-pull-up; 362 drive-open-drain; 363 }; 364 365 /omit-if-no-ref/ i2c3_sda_pb5: i2c3_sda_pb5 { 366 pinmux = <STM32_PINMUX('B', 5, AF8)>; 367 bias-pull-up; 368 drive-open-drain; 369 }; 370 371 /omit-if-no-ref/ i2c3_sda_pc11: i2c3_sda_pc11 { 372 pinmux = <STM32_PINMUX('C', 11, AF8)>; 373 bias-pull-up; 374 drive-open-drain; 375 }; 376 377 /* I2S_CK */ 378 379 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 380 pinmux = <STM32_PINMUX('B', 13, AF5)>; 381 slew-rate = "very-high-speed"; 382 }; 383 384 /omit-if-no-ref/ i2s2_ck_pf1: i2s2_ck_pf1 { 385 pinmux = <STM32_PINMUX('F', 1, AF5)>; 386 slew-rate = "very-high-speed"; 387 }; 388 389 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 390 pinmux = <STM32_PINMUX('B', 3, AF6)>; 391 slew-rate = "very-high-speed"; 392 }; 393 394 /* I2S_MCK */ 395 396 /omit-if-no-ref/ i2s2_mck_pa8: i2s2_mck_pa8 { 397 pinmux = <STM32_PINMUX('A', 8, AF5)>; 398 slew-rate = "very-high-speed"; 399 }; 400 401 /omit-if-no-ref/ i2s2_mck_pc6: i2s2_mck_pc6 { 402 pinmux = <STM32_PINMUX('C', 6, AF6)>; 403 slew-rate = "very-high-speed"; 404 }; 405 406 /omit-if-no-ref/ i2s3_mck_pa9: i2s3_mck_pa9 { 407 pinmux = <STM32_PINMUX('A', 9, AF5)>; 408 slew-rate = "very-high-speed"; 409 }; 410 411 /* I2S_SD */ 412 413 /omit-if-no-ref/ i2s2_sd_pa11: i2s2_sd_pa11 { 414 pinmux = <STM32_PINMUX('A', 11, AF5)>; 415 }; 416 417 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 418 pinmux = <STM32_PINMUX('B', 15, AF5)>; 419 }; 420 421 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 422 pinmux = <STM32_PINMUX('B', 5, AF6)>; 423 }; 424 425 /* I2S_WS */ 426 427 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 428 pinmux = <STM32_PINMUX('B', 12, AF5)>; 429 }; 430 431 /omit-if-no-ref/ i2s2_ws_pf0: i2s2_ws_pf0 { 432 pinmux = <STM32_PINMUX('F', 0, AF5)>; 433 }; 434 435 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 436 pinmux = <STM32_PINMUX('A', 4, AF6)>; 437 }; 438 439 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 440 pinmux = <STM32_PINMUX('A', 15, AF6)>; 441 }; 442 443 /* SPI_MISO */ 444 445 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 446 pinmux = <STM32_PINMUX('A', 6, AF5)>; 447 bias-pull-down; 448 }; 449 450 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 451 pinmux = <STM32_PINMUX('B', 4, AF5)>; 452 bias-pull-down; 453 }; 454 455 /omit-if-no-ref/ spi2_miso_pa10: spi2_miso_pa10 { 456 pinmux = <STM32_PINMUX('A', 10, AF5)>; 457 bias-pull-down; 458 }; 459 460 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 461 pinmux = <STM32_PINMUX('B', 14, AF5)>; 462 bias-pull-down; 463 }; 464 465 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 466 pinmux = <STM32_PINMUX('B', 4, AF6)>; 467 bias-pull-down; 468 }; 469 470 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 471 pinmux = <STM32_PINMUX('C', 11, AF6)>; 472 bias-pull-down; 473 }; 474 475 /* SPI_MOSI */ 476 477 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 478 pinmux = <STM32_PINMUX('A', 7, AF5)>; 479 bias-pull-down; 480 }; 481 482 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 483 pinmux = <STM32_PINMUX('B', 5, AF5)>; 484 bias-pull-down; 485 }; 486 487 /omit-if-no-ref/ spi2_mosi_pa11: spi2_mosi_pa11 { 488 pinmux = <STM32_PINMUX('A', 11, AF5)>; 489 bias-pull-down; 490 }; 491 492 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 493 pinmux = <STM32_PINMUX('B', 15, AF5)>; 494 bias-pull-down; 495 }; 496 497 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 498 pinmux = <STM32_PINMUX('B', 5, AF6)>; 499 bias-pull-down; 500 }; 501 502 /* SPI_NSS */ 503 504 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 505 pinmux = <STM32_PINMUX('A', 4, AF5)>; 506 bias-pull-up; 507 }; 508 509 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 510 pinmux = <STM32_PINMUX('A', 15, AF5)>; 511 bias-pull-up; 512 }; 513 514 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 515 pinmux = <STM32_PINMUX('B', 12, AF5)>; 516 bias-pull-up; 517 }; 518 519 /omit-if-no-ref/ spi2_nss_pf0: spi2_nss_pf0 { 520 pinmux = <STM32_PINMUX('F', 0, AF5)>; 521 bias-pull-up; 522 }; 523 524 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 525 pinmux = <STM32_PINMUX('A', 4, AF6)>; 526 bias-pull-up; 527 }; 528 529 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 530 pinmux = <STM32_PINMUX('A', 15, AF6)>; 531 bias-pull-up; 532 }; 533 534 /* SPI_SCK */ 535 536 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 537 pinmux = <STM32_PINMUX('A', 5, AF5)>; 538 bias-pull-down; 539 slew-rate = "very-high-speed"; 540 }; 541 542 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 543 pinmux = <STM32_PINMUX('B', 3, AF5)>; 544 bias-pull-down; 545 slew-rate = "very-high-speed"; 546 }; 547 548 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 549 pinmux = <STM32_PINMUX('B', 13, AF5)>; 550 bias-pull-down; 551 slew-rate = "very-high-speed"; 552 }; 553 554 /omit-if-no-ref/ spi2_sck_pf1: spi2_sck_pf1 { 555 pinmux = <STM32_PINMUX('F', 1, AF5)>; 556 bias-pull-down; 557 slew-rate = "very-high-speed"; 558 }; 559 560 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 561 pinmux = <STM32_PINMUX('B', 3, AF6)>; 562 bias-pull-down; 563 slew-rate = "very-high-speed"; 564 }; 565 566 /* TIM_BKIN */ 567 568 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 569 pinmux = <STM32_PINMUX('A', 6, AF6)>; 570 }; 571 572 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 573 pinmux = <STM32_PINMUX('A', 11, AF12)>; 574 }; 575 576 /omit-if-no-ref/ tim1_bkin_pa14: tim1_bkin_pa14 { 577 pinmux = <STM32_PINMUX('A', 14, AF6)>; 578 }; 579 580 /omit-if-no-ref/ tim1_bkin_pa15: tim1_bkin_pa15 { 581 pinmux = <STM32_PINMUX('A', 15, AF9)>; 582 }; 583 584 /omit-if-no-ref/ tim1_bkin_pb8: tim1_bkin_pb8 { 585 pinmux = <STM32_PINMUX('B', 8, AF12)>; 586 }; 587 588 /omit-if-no-ref/ tim1_bkin_pb10: tim1_bkin_pb10 { 589 pinmux = <STM32_PINMUX('B', 10, AF12)>; 590 }; 591 592 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 593 pinmux = <STM32_PINMUX('B', 12, AF6)>; 594 }; 595 596 /omit-if-no-ref/ tim1_bkin_pc13: tim1_bkin_pc13 { 597 pinmux = <STM32_PINMUX('C', 13, AF2)>; 598 }; 599 600 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 601 pinmux = <STM32_PINMUX('A', 9, AF9)>; 602 }; 603 604 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 605 pinmux = <STM32_PINMUX('B', 5, AF1)>; 606 }; 607 608 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 609 pinmux = <STM32_PINMUX('A', 10, AF1)>; 610 }; 611 612 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 613 pinmux = <STM32_PINMUX('B', 4, AF10)>; 614 }; 615 616 /omit-if-no-ref/ tim8_bkin_pa0: tim8_bkin_pa0 { 617 pinmux = <STM32_PINMUX('A', 0, AF9)>; 618 }; 619 620 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 621 pinmux = <STM32_PINMUX('A', 6, AF4)>; 622 }; 623 624 /omit-if-no-ref/ tim8_bkin_pa10: tim8_bkin_pa10 { 625 pinmux = <STM32_PINMUX('A', 10, AF11)>; 626 }; 627 628 /omit-if-no-ref/ tim8_bkin2_pb6: tim8_bkin2_pb6 { 629 pinmux = <STM32_PINMUX('B', 6, AF10)>; 630 }; 631 632 /omit-if-no-ref/ tim8_bkin_pb7: tim8_bkin_pb7 { 633 pinmux = <STM32_PINMUX('B', 7, AF5)>; 634 }; 635 636 /* TIM_CH / TIM_CHN */ 637 638 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 639 pinmux = <STM32_PINMUX('A', 7, AF6)>; 640 }; 641 642 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 643 pinmux = <STM32_PINMUX('A', 8, AF6)>; 644 }; 645 646 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 647 pinmux = <STM32_PINMUX('A', 9, AF6)>; 648 }; 649 650 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 651 pinmux = <STM32_PINMUX('A', 10, AF6)>; 652 }; 653 654 /omit-if-no-ref/ tim1_ch1n_pa11: tim1_ch1n_pa11 { 655 pinmux = <STM32_PINMUX('A', 11, AF6)>; 656 }; 657 658 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 659 pinmux = <STM32_PINMUX('A', 11, AF11)>; 660 }; 661 662 /omit-if-no-ref/ tim1_ch2n_pa12: tim1_ch2n_pa12 { 663 pinmux = <STM32_PINMUX('A', 12, AF6)>; 664 }; 665 666 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 667 pinmux = <STM32_PINMUX('B', 0, AF6)>; 668 }; 669 670 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 671 pinmux = <STM32_PINMUX('B', 1, AF6)>; 672 }; 673 674 /omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 { 675 pinmux = <STM32_PINMUX('B', 9, AF12)>; 676 }; 677 678 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 679 pinmux = <STM32_PINMUX('B', 13, AF6)>; 680 }; 681 682 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 683 pinmux = <STM32_PINMUX('B', 14, AF6)>; 684 }; 685 686 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 687 pinmux = <STM32_PINMUX('B', 15, AF4)>; 688 }; 689 690 /omit-if-no-ref/ tim1_ch1n_pc13: tim1_ch1n_pc13 { 691 pinmux = <STM32_PINMUX('C', 13, AF4)>; 692 }; 693 694 /omit-if-no-ref/ tim1_ch3n_pf0: tim1_ch3n_pf0 { 695 pinmux = <STM32_PINMUX('F', 0, AF6)>; 696 }; 697 698 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 699 pinmux = <STM32_PINMUX('A', 0, AF1)>; 700 }; 701 702 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 703 pinmux = <STM32_PINMUX('A', 1, AF1)>; 704 }; 705 706 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 707 pinmux = <STM32_PINMUX('A', 2, AF1)>; 708 }; 709 710 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 711 pinmux = <STM32_PINMUX('A', 3, AF1)>; 712 }; 713 714 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 715 pinmux = <STM32_PINMUX('A', 5, AF1)>; 716 }; 717 718 /omit-if-no-ref/ tim2_ch3_pa9: tim2_ch3_pa9 { 719 pinmux = <STM32_PINMUX('A', 9, AF10)>; 720 }; 721 722 /omit-if-no-ref/ tim2_ch4_pa10: tim2_ch4_pa10 { 723 pinmux = <STM32_PINMUX('A', 10, AF10)>; 724 }; 725 726 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 727 pinmux = <STM32_PINMUX('A', 15, AF1)>; 728 }; 729 730 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 731 pinmux = <STM32_PINMUX('B', 3, AF1)>; 732 }; 733 734 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 735 pinmux = <STM32_PINMUX('B', 10, AF1)>; 736 }; 737 738 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 739 pinmux = <STM32_PINMUX('B', 11, AF1)>; 740 }; 741 742 /omit-if-no-ref/ tim3_ch2_pa4: tim3_ch2_pa4 { 743 pinmux = <STM32_PINMUX('A', 4, AF2)>; 744 }; 745 746 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 747 pinmux = <STM32_PINMUX('A', 6, AF2)>; 748 }; 749 750 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 751 pinmux = <STM32_PINMUX('A', 7, AF2)>; 752 }; 753 754 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 755 pinmux = <STM32_PINMUX('B', 0, AF2)>; 756 }; 757 758 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 759 pinmux = <STM32_PINMUX('B', 1, AF2)>; 760 }; 761 762 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 763 pinmux = <STM32_PINMUX('B', 4, AF2)>; 764 }; 765 766 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 767 pinmux = <STM32_PINMUX('B', 5, AF2)>; 768 }; 769 770 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 771 pinmux = <STM32_PINMUX('B', 7, AF10)>; 772 }; 773 774 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 775 pinmux = <STM32_PINMUX('C', 6, AF2)>; 776 }; 777 778 /omit-if-no-ref/ tim4_ch1_pa11: tim4_ch1_pa11 { 779 pinmux = <STM32_PINMUX('A', 11, AF10)>; 780 }; 781 782 /omit-if-no-ref/ tim4_ch2_pa12: tim4_ch2_pa12 { 783 pinmux = <STM32_PINMUX('A', 12, AF10)>; 784 }; 785 786 /omit-if-no-ref/ tim4_ch3_pa13: tim4_ch3_pa13 { 787 pinmux = <STM32_PINMUX('A', 13, AF10)>; 788 }; 789 790 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 791 pinmux = <STM32_PINMUX('B', 6, AF2)>; 792 }; 793 794 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 795 pinmux = <STM32_PINMUX('B', 7, AF2)>; 796 }; 797 798 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 799 pinmux = <STM32_PINMUX('B', 8, AF2)>; 800 }; 801 802 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 803 pinmux = <STM32_PINMUX('B', 9, AF2)>; 804 }; 805 806 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 807 pinmux = <STM32_PINMUX('A', 1, AF9)>; 808 }; 809 810 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 811 pinmux = <STM32_PINMUX('A', 2, AF9)>; 812 }; 813 814 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 815 pinmux = <STM32_PINMUX('A', 3, AF9)>; 816 }; 817 818 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 819 pinmux = <STM32_PINMUX('B', 14, AF1)>; 820 }; 821 822 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 823 pinmux = <STM32_PINMUX('B', 15, AF2)>; 824 }; 825 826 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 827 pinmux = <STM32_PINMUX('B', 15, AF1)>; 828 }; 829 830 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 831 pinmux = <STM32_PINMUX('A', 6, AF1)>; 832 }; 833 834 /omit-if-no-ref/ tim16_ch1_pa12: tim16_ch1_pa12 { 835 pinmux = <STM32_PINMUX('A', 12, AF1)>; 836 }; 837 838 /omit-if-no-ref/ tim16_ch1n_pa13: tim16_ch1n_pa13 { 839 pinmux = <STM32_PINMUX('A', 13, AF1)>; 840 }; 841 842 /omit-if-no-ref/ tim16_ch1_pb4: tim16_ch1_pb4 { 843 pinmux = <STM32_PINMUX('B', 4, AF1)>; 844 }; 845 846 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 847 pinmux = <STM32_PINMUX('B', 6, AF1)>; 848 }; 849 850 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 851 pinmux = <STM32_PINMUX('B', 8, AF1)>; 852 }; 853 854 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 855 pinmux = <STM32_PINMUX('A', 7, AF1)>; 856 }; 857 858 /omit-if-no-ref/ tim17_ch1_pb5: tim17_ch1_pb5 { 859 pinmux = <STM32_PINMUX('B', 5, AF10)>; 860 }; 861 862 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 863 pinmux = <STM32_PINMUX('B', 7, AF1)>; 864 }; 865 866 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 867 pinmux = <STM32_PINMUX('B', 9, AF1)>; 868 }; 869 870 /omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 { 871 pinmux = <STM32_PINMUX('A', 7, AF4)>; 872 }; 873 874 /omit-if-no-ref/ tim8_ch2_pa14: tim8_ch2_pa14 { 875 pinmux = <STM32_PINMUX('A', 14, AF5)>; 876 }; 877 878 /omit-if-no-ref/ tim8_ch1_pa15: tim8_ch1_pa15 { 879 pinmux = <STM32_PINMUX('A', 15, AF2)>; 880 }; 881 882 /omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 { 883 pinmux = <STM32_PINMUX('B', 0, AF4)>; 884 }; 885 886 /omit-if-no-ref/ tim8_ch3n_pb1: tim8_ch3n_pb1 { 887 pinmux = <STM32_PINMUX('B', 1, AF4)>; 888 }; 889 890 /omit-if-no-ref/ tim8_ch1n_pb3: tim8_ch1n_pb3 { 891 pinmux = <STM32_PINMUX('B', 3, AF4)>; 892 }; 893 894 /omit-if-no-ref/ tim8_ch2n_pb4: tim8_ch2n_pb4 { 895 pinmux = <STM32_PINMUX('B', 4, AF4)>; 896 }; 897 898 /omit-if-no-ref/ tim8_ch3n_pb5: tim8_ch3n_pb5 { 899 pinmux = <STM32_PINMUX('B', 5, AF3)>; 900 }; 901 902 /omit-if-no-ref/ tim8_ch1_pb6: tim8_ch1_pb6 { 903 pinmux = <STM32_PINMUX('B', 6, AF5)>; 904 }; 905 906 /omit-if-no-ref/ tim8_ch2_pb8: tim8_ch2_pb8 { 907 pinmux = <STM32_PINMUX('B', 8, AF10)>; 908 }; 909 910 /omit-if-no-ref/ tim8_ch3_pb9: tim8_ch3_pb9 { 911 pinmux = <STM32_PINMUX('B', 9, AF10)>; 912 }; 913 914 /omit-if-no-ref/ tim8_ch1_pc6: tim8_ch1_pc6 { 915 pinmux = <STM32_PINMUX('C', 6, AF4)>; 916 }; 917 918 /omit-if-no-ref/ tim8_ch2n_pc11: tim8_ch2n_pc11 { 919 pinmux = <STM32_PINMUX('C', 11, AF4)>; 920 }; 921 922 /omit-if-no-ref/ tim8_ch4n_pc13: tim8_ch4n_pc13 { 923 pinmux = <STM32_PINMUX('C', 13, AF6)>; 924 }; 925 926 /* UART_CTS / USART_CTS / LPUART_CTS */ 927 928 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 929 pinmux = <STM32_PINMUX('A', 6, AF12)>; 930 bias-pull-up; 931 drive-open-drain; 932 }; 933 934 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 935 pinmux = <STM32_PINMUX('A', 11, AF7)>; 936 bias-pull-up; 937 drive-open-drain; 938 }; 939 940 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 941 pinmux = <STM32_PINMUX('B', 13, AF8)>; 942 bias-pull-up; 943 drive-open-drain; 944 }; 945 946 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 947 pinmux = <STM32_PINMUX('A', 0, AF7)>; 948 bias-pull-up; 949 drive-open-drain; 950 }; 951 952 /omit-if-no-ref/ usart3_cts_pa13: usart3_cts_pa13 { 953 pinmux = <STM32_PINMUX('A', 13, AF7)>; 954 bias-pull-up; 955 drive-open-drain; 956 }; 957 958 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 959 pinmux = <STM32_PINMUX('B', 13, AF7)>; 960 bias-pull-up; 961 drive-open-drain; 962 }; 963 964 /* UART_DE / USART_DE / LPUART_DE */ 965 966 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 967 pinmux = <STM32_PINMUX('A', 12, AF7)>; 968 drive-push-pull; 969 }; 970 971 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 972 pinmux = <STM32_PINMUX('B', 1, AF12)>; 973 drive-push-pull; 974 }; 975 976 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 977 pinmux = <STM32_PINMUX('B', 12, AF8)>; 978 drive-push-pull; 979 }; 980 981 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 982 pinmux = <STM32_PINMUX('A', 1, AF7)>; 983 drive-push-pull; 984 }; 985 986 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 987 pinmux = <STM32_PINMUX('B', 14, AF7)>; 988 drive-push-pull; 989 }; 990 991 /* UART_RTS / USART_RTS / LPUART_RTS */ 992 993 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 994 pinmux = <STM32_PINMUX('A', 12, AF7)>; 995 bias-pull-up; 996 drive-open-drain; 997 }; 998 999 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 1000 pinmux = <STM32_PINMUX('B', 1, AF12)>; 1001 bias-pull-up; 1002 drive-open-drain; 1003 }; 1004 1005 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 1006 pinmux = <STM32_PINMUX('B', 12, AF8)>; 1007 bias-pull-up; 1008 drive-open-drain; 1009 }; 1010 1011 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 1012 pinmux = <STM32_PINMUX('A', 1, AF7)>; 1013 bias-pull-up; 1014 drive-open-drain; 1015 }; 1016 1017 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 1018 pinmux = <STM32_PINMUX('B', 14, AF7)>; 1019 bias-pull-up; 1020 drive-open-drain; 1021 }; 1022 1023 /* UART_RX / USART_RX / LPUART_RX */ 1024 1025 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 1026 pinmux = <STM32_PINMUX('A', 3, AF12)>; 1027 }; 1028 1029 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 1030 pinmux = <STM32_PINMUX('A', 10, AF7)>; 1031 }; 1032 1033 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 1034 pinmux = <STM32_PINMUX('B', 7, AF7)>; 1035 }; 1036 1037 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 1038 pinmux = <STM32_PINMUX('B', 10, AF8)>; 1039 }; 1040 1041 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 1042 pinmux = <STM32_PINMUX('A', 3, AF7)>; 1043 }; 1044 1045 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 1046 pinmux = <STM32_PINMUX('A', 15, AF7)>; 1047 }; 1048 1049 /omit-if-no-ref/ usart2_rx_pb4: usart2_rx_pb4 { 1050 pinmux = <STM32_PINMUX('B', 4, AF7)>; 1051 }; 1052 1053 /omit-if-no-ref/ usart3_rx_pb8: usart3_rx_pb8 { 1054 pinmux = <STM32_PINMUX('B', 8, AF7)>; 1055 }; 1056 1057 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1058 pinmux = <STM32_PINMUX('B', 11, AF7)>; 1059 }; 1060 1061 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 1062 pinmux = <STM32_PINMUX('C', 11, AF7)>; 1063 }; 1064 1065 /* UART_TX / USART_TX / LPUART_TX */ 1066 1067 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 1068 pinmux = <STM32_PINMUX('A', 2, AF12)>; 1069 bias-pull-up; 1070 }; 1071 1072 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1073 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1074 bias-pull-up; 1075 }; 1076 1077 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1078 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1079 bias-pull-up; 1080 }; 1081 1082 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 1083 pinmux = <STM32_PINMUX('B', 11, AF8)>; 1084 bias-pull-up; 1085 }; 1086 1087 /omit-if-no-ref/ usart1_tx_pc4: usart1_tx_pc4 { 1088 pinmux = <STM32_PINMUX('C', 4, AF7)>; 1089 bias-pull-up; 1090 }; 1091 1092 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1093 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1094 bias-pull-up; 1095 }; 1096 1097 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 1098 pinmux = <STM32_PINMUX('A', 14, AF7)>; 1099 bias-pull-up; 1100 }; 1101 1102 /omit-if-no-ref/ usart2_tx_pb3: usart2_tx_pb3 { 1103 pinmux = <STM32_PINMUX('B', 3, AF7)>; 1104 bias-pull-up; 1105 }; 1106 1107 /omit-if-no-ref/ usart3_tx_pb9: usart3_tx_pb9 { 1108 pinmux = <STM32_PINMUX('B', 9, AF7)>; 1109 bias-pull-up; 1110 }; 1111 1112 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1113 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1114 bias-pull-up; 1115 }; 1116 1117 /* UCPD */ 1118 1119 /omit-if-no-ref/ ucpd1_cc2_pb4: ucpd1_cc2_pb4 { 1120 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 1121 }; 1122 1123 /omit-if-no-ref/ ucpd1_cc1_pb6: ucpd1_cc1_pb6 { 1124 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 1125 }; 1126 1127 /* USB */ 1128 1129 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1130 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1131 }; 1132 1133 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1134 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1135 }; 1136 1137 }; 1138 }; 1139};