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@42020000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in5_pa0: adc1_in5_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in6_pa1: adc1_in6_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in7_pa2: adc1_in7_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in8_pa3: adc1_in8_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in9_pa4: adc1_in9_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in10_pa5: adc1_in10_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in11_pa6: adc1_in11_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in12_pa7: adc1_in12_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in15_pb0: adc1_in15_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in16_pb1: adc1_in16_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc2_in5_pa0: adc2_in5_pa0 { 56 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc2_in6_pa1: adc2_in6_pa1 { 60 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc2_in7_pa2: adc2_in7_pa2 { 64 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc2_in8_pa3: adc2_in8_pa3 { 68 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc2_in9_pa4: adc2_in9_pa4 { 72 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc2_in10_pa5: adc2_in10_pa5 { 76 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc2_in11_pa6: adc2_in11_pa6 { 80 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc2_in12_pa7: adc2_in12_pa7 { 84 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc2_in15_pb0: adc2_in15_pb0 { 88 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 89 }; 90 91 /omit-if-no-ref/ adc2_in16_pb1: adc2_in16_pb1 { 92 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 93 }; 94 95 /* Analog */ 96 97 /omit-if-no-ref/ analog_pa0: analog_pa0 { 98 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa1: analog_pa1 { 102 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa2: analog_pa2 { 106 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa3: analog_pa3 { 110 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa4: analog_pa4 { 114 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa5: analog_pa5 { 118 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa6: analog_pa6 { 122 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa7: analog_pa7 { 126 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa8: analog_pa8 { 130 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa9: analog_pa9 { 134 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa10: analog_pa10 { 138 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa11: analog_pa11 { 142 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pa12: analog_pa12 { 146 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pa13: analog_pa13 { 150 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pa14: analog_pa14 { 154 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pa15: analog_pa15 { 158 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb0: analog_pb0 { 162 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb1: analog_pb1 { 166 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb2: analog_pb2 { 170 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb3: analog_pb3 { 174 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb4: analog_pb4 { 178 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb5: analog_pb5 { 182 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb6: analog_pb6 { 186 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb7: analog_pb7 { 190 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb8: analog_pb8 { 194 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb10: analog_pb10 { 198 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb12: analog_pb12 { 202 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb13: analog_pb13 { 206 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb14: analog_pb14 { 210 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb15: analog_pb15 { 214 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc13: analog_pc13 { 218 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc14: analog_pc14 { 222 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc15: analog_pc15 { 226 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_ph0: analog_ph0 { 230 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_ph1: analog_ph1 { 234 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_ph3: analog_ph3 { 238 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 239 }; 240 241 /* DAC_OUT */ 242 243 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 244 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 245 }; 246 247 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 248 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 249 }; 250 251 /* FDCAN_RX */ 252 253 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 254 pinmux = <STM32_PINMUX('A', 11, AF9)>; 255 }; 256 257 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 258 pinmux = <STM32_PINMUX('B', 8, AF9)>; 259 }; 260 261 /* FDCAN_TX */ 262 263 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 264 pinmux = <STM32_PINMUX('A', 12, AF9)>; 265 }; 266 267 /* I2C_SCL */ 268 269 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 270 pinmux = <STM32_PINMUX('B', 6, AF4)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 276 pinmux = <STM32_PINMUX('B', 8, AF4)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 282 pinmux = <STM32_PINMUX('B', 10, AF4)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 288 pinmux = <STM32_PINMUX('B', 13, AF4)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 294 pinmux = <STM32_PINMUX('A', 7, AF4)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 { 300 pinmux = <STM32_PINMUX('B', 6, AF5)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 { 306 pinmux = <STM32_PINMUX('B', 10, AF3)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /* I2C_SDA */ 312 313 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 314 pinmux = <STM32_PINMUX('B', 7, AF4)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 320 pinmux = <STM32_PINMUX('B', 14, AF4)>; 321 bias-pull-up; 322 drive-open-drain; 323 }; 324 325 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 326 pinmux = <STM32_PINMUX('B', 4, AF4)>; 327 bias-pull-up; 328 drive-open-drain; 329 }; 330 331 /omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 { 332 pinmux = <STM32_PINMUX('B', 7, AF5)>; 333 bias-pull-up; 334 drive-open-drain; 335 }; 336 337 /* OCTOSPI */ 338 339 /omit-if-no-ref/ octospi1_dqs_pa1: octospi1_dqs_pa1 { 340 pinmux = <STM32_PINMUX('A', 1, AF10)>; 341 slew-rate = "very-high-speed"; 342 }; 343 344 /omit-if-no-ref/ octospi1_ncs_pa2: octospi1_ncs_pa2 { 345 pinmux = <STM32_PINMUX('A', 2, AF10)>; 346 slew-rate = "very-high-speed"; 347 }; 348 349 /omit-if-no-ref/ octospi1_clk_pa3: octospi1_clk_pa3 { 350 pinmux = <STM32_PINMUX('A', 3, AF10)>; 351 slew-rate = "very-high-speed"; 352 }; 353 354 /omit-if-no-ref/ octospi1_ncs_pa4: octospi1_ncs_pa4 { 355 pinmux = <STM32_PINMUX('A', 4, AF3)>; 356 slew-rate = "very-high-speed"; 357 }; 358 359 /omit-if-no-ref/ octospi1_io3_pa6: octospi1_io3_pa6 { 360 pinmux = <STM32_PINMUX('A', 6, AF10)>; 361 slew-rate = "very-high-speed"; 362 }; 363 364 /omit-if-no-ref/ octospi1_io2_pa7: octospi1_io2_pa7 { 365 pinmux = <STM32_PINMUX('A', 7, AF10)>; 366 slew-rate = "very-high-speed"; 367 }; 368 369 /omit-if-no-ref/ octospi1_io1_pb0: octospi1_io1_pb0 { 370 pinmux = <STM32_PINMUX('B', 0, AF10)>; 371 slew-rate = "very-high-speed"; 372 }; 373 374 /omit-if-no-ref/ octospi1_io0_pb1: octospi1_io0_pb1 { 375 pinmux = <STM32_PINMUX('B', 1, AF10)>; 376 slew-rate = "very-high-speed"; 377 }; 378 379 /omit-if-no-ref/ octospi1_dqs_pb2: octospi1_dqs_pb2 { 380 pinmux = <STM32_PINMUX('B', 2, AF10)>; 381 slew-rate = "very-high-speed"; 382 }; 383 384 /omit-if-no-ref/ octospi1_nclk_pb5: octospi1_nclk_pb5 { 385 pinmux = <STM32_PINMUX('B', 5, AF3)>; 386 slew-rate = "very-high-speed"; 387 }; 388 389 /omit-if-no-ref/ octospi1_clk_pb10: octospi1_clk_pb10 { 390 pinmux = <STM32_PINMUX('B', 10, AF10)>; 391 slew-rate = "very-high-speed"; 392 }; 393 394 /omit-if-no-ref/ octospi1_nclk_pb12: octospi1_nclk_pb12 { 395 pinmux = <STM32_PINMUX('B', 12, AF10)>; 396 slew-rate = "very-high-speed"; 397 }; 398 399 /* SPI_MISO */ 400 401 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 402 pinmux = <STM32_PINMUX('A', 6, AF5)>; 403 bias-pull-down; 404 }; 405 406 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 407 pinmux = <STM32_PINMUX('A', 11, AF5)>; 408 bias-pull-down; 409 }; 410 411 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 412 pinmux = <STM32_PINMUX('B', 4, AF5)>; 413 bias-pull-down; 414 }; 415 416 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 417 pinmux = <STM32_PINMUX('B', 14, AF5)>; 418 bias-pull-down; 419 }; 420 421 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 422 pinmux = <STM32_PINMUX('B', 4, AF6)>; 423 bias-pull-down; 424 }; 425 426 /* SPI_MOSI */ 427 428 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 429 pinmux = <STM32_PINMUX('A', 7, AF5)>; 430 bias-pull-down; 431 }; 432 433 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 434 pinmux = <STM32_PINMUX('A', 12, AF5)>; 435 bias-pull-down; 436 }; 437 438 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 439 pinmux = <STM32_PINMUX('B', 5, AF5)>; 440 bias-pull-down; 441 }; 442 443 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 444 pinmux = <STM32_PINMUX('B', 15, AF5)>; 445 bias-pull-down; 446 }; 447 448 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 449 pinmux = <STM32_PINMUX('B', 5, AF6)>; 450 bias-pull-down; 451 }; 452 453 /* SPI_NSS */ 454 455 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 456 pinmux = <STM32_PINMUX('A', 4, AF5)>; 457 bias-pull-up; 458 }; 459 460 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 461 pinmux = <STM32_PINMUX('A', 15, AF5)>; 462 bias-pull-up; 463 }; 464 465 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 466 pinmux = <STM32_PINMUX('B', 0, AF5)>; 467 bias-pull-up; 468 }; 469 470 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 471 pinmux = <STM32_PINMUX('B', 12, AF5)>; 472 bias-pull-up; 473 }; 474 475 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 476 pinmux = <STM32_PINMUX('A', 4, AF6)>; 477 bias-pull-up; 478 }; 479 480 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 481 pinmux = <STM32_PINMUX('A', 15, AF6)>; 482 bias-pull-up; 483 }; 484 485 /* SPI_SCK */ 486 487 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 488 pinmux = <STM32_PINMUX('A', 1, AF5)>; 489 bias-pull-down; 490 slew-rate = "very-high-speed"; 491 }; 492 493 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 494 pinmux = <STM32_PINMUX('A', 5, AF5)>; 495 bias-pull-down; 496 slew-rate = "very-high-speed"; 497 }; 498 499 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 500 pinmux = <STM32_PINMUX('B', 3, AF5)>; 501 bias-pull-down; 502 slew-rate = "very-high-speed"; 503 }; 504 505 /omit-if-no-ref/ spi2_sck_pa9: spi2_sck_pa9 { 506 pinmux = <STM32_PINMUX('A', 9, AF3)>; 507 bias-pull-down; 508 slew-rate = "very-high-speed"; 509 }; 510 511 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 512 pinmux = <STM32_PINMUX('B', 10, AF5)>; 513 bias-pull-down; 514 slew-rate = "very-high-speed"; 515 }; 516 517 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 518 pinmux = <STM32_PINMUX('B', 13, AF5)>; 519 bias-pull-down; 520 slew-rate = "very-high-speed"; 521 }; 522 523 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 524 pinmux = <STM32_PINMUX('B', 3, AF6)>; 525 bias-pull-down; 526 slew-rate = "very-high-speed"; 527 }; 528 529 /* TIM_BKIN */ 530 531 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 532 pinmux = <STM32_PINMUX('A', 6, AF12)>; 533 }; 534 535 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 536 pinmux = <STM32_PINMUX('A', 11, AF12)>; 537 }; 538 539 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 540 pinmux = <STM32_PINMUX('B', 12, AF3)>; 541 }; 542 543 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 544 pinmux = <STM32_PINMUX('A', 9, AF14)>; 545 }; 546 547 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 548 pinmux = <STM32_PINMUX('B', 12, AF14)>; 549 }; 550 551 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 552 pinmux = <STM32_PINMUX('B', 5, AF14)>; 553 }; 554 555 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 556 pinmux = <STM32_PINMUX('A', 10, AF14)>; 557 }; 558 559 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 560 pinmux = <STM32_PINMUX('B', 4, AF14)>; 561 }; 562 563 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 564 pinmux = <STM32_PINMUX('A', 6, AF13)>; 565 }; 566 567 /omit-if-no-ref/ tim8_bkin2_pb6: tim8_bkin2_pb6 { 568 pinmux = <STM32_PINMUX('B', 6, AF12)>; 569 }; 570 571 /omit-if-no-ref/ tim8_bkin_pb7: tim8_bkin_pb7 { 572 pinmux = <STM32_PINMUX('B', 7, AF13)>; 573 }; 574 575 /* TIM_CH / TIM_CHN */ 576 577 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 578 pinmux = <STM32_PINMUX('A', 7, AF1)>; 579 }; 580 581 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 582 pinmux = <STM32_PINMUX('A', 8, AF1)>; 583 }; 584 585 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 586 pinmux = <STM32_PINMUX('A', 9, AF1)>; 587 }; 588 589 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 590 pinmux = <STM32_PINMUX('A', 10, AF1)>; 591 }; 592 593 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 594 pinmux = <STM32_PINMUX('A', 11, AF1)>; 595 }; 596 597 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 598 pinmux = <STM32_PINMUX('B', 0, AF1)>; 599 }; 600 601 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 602 pinmux = <STM32_PINMUX('B', 1, AF1)>; 603 }; 604 605 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 606 pinmux = <STM32_PINMUX('B', 13, AF1)>; 607 }; 608 609 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 610 pinmux = <STM32_PINMUX('B', 14, AF1)>; 611 }; 612 613 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 614 pinmux = <STM32_PINMUX('B', 15, AF1)>; 615 }; 616 617 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 618 pinmux = <STM32_PINMUX('A', 0, AF1)>; 619 }; 620 621 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 622 pinmux = <STM32_PINMUX('A', 1, AF1)>; 623 }; 624 625 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 626 pinmux = <STM32_PINMUX('A', 2, AF1)>; 627 }; 628 629 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 630 pinmux = <STM32_PINMUX('A', 3, AF1)>; 631 }; 632 633 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 634 pinmux = <STM32_PINMUX('A', 5, AF1)>; 635 }; 636 637 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 638 pinmux = <STM32_PINMUX('A', 15, AF1)>; 639 }; 640 641 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 642 pinmux = <STM32_PINMUX('B', 3, AF1)>; 643 }; 644 645 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 646 pinmux = <STM32_PINMUX('B', 10, AF1)>; 647 }; 648 649 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 650 pinmux = <STM32_PINMUX('A', 6, AF2)>; 651 }; 652 653 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 654 pinmux = <STM32_PINMUX('A', 7, AF2)>; 655 }; 656 657 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 658 pinmux = <STM32_PINMUX('B', 0, AF2)>; 659 }; 660 661 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 662 pinmux = <STM32_PINMUX('B', 1, AF2)>; 663 }; 664 665 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 666 pinmux = <STM32_PINMUX('B', 4, AF2)>; 667 }; 668 669 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 670 pinmux = <STM32_PINMUX('B', 5, AF2)>; 671 }; 672 673 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 674 pinmux = <STM32_PINMUX('B', 6, AF2)>; 675 }; 676 677 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 678 pinmux = <STM32_PINMUX('B', 7, AF2)>; 679 }; 680 681 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 682 pinmux = <STM32_PINMUX('B', 8, AF2)>; 683 }; 684 685 /omit-if-no-ref/ tim5_ch1_pa0: tim5_ch1_pa0 { 686 pinmux = <STM32_PINMUX('A', 0, AF2)>; 687 }; 688 689 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 690 pinmux = <STM32_PINMUX('A', 1, AF14)>; 691 }; 692 693 /omit-if-no-ref/ tim5_ch2_pa1: tim5_ch2_pa1 { 694 pinmux = <STM32_PINMUX('A', 1, AF2)>; 695 }; 696 697 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 698 pinmux = <STM32_PINMUX('A', 2, AF14)>; 699 }; 700 701 /omit-if-no-ref/ tim5_ch3_pa2: tim5_ch3_pa2 { 702 pinmux = <STM32_PINMUX('A', 2, AF2)>; 703 }; 704 705 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 706 pinmux = <STM32_PINMUX('A', 3, AF14)>; 707 }; 708 709 /omit-if-no-ref/ tim5_ch4_pa3: tim5_ch4_pa3 { 710 pinmux = <STM32_PINMUX('A', 3, AF2)>; 711 }; 712 713 /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { 714 pinmux = <STM32_PINMUX('B', 13, AF14)>; 715 }; 716 717 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 718 pinmux = <STM32_PINMUX('B', 14, AF14)>; 719 }; 720 721 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 722 pinmux = <STM32_PINMUX('B', 15, AF14)>; 723 }; 724 725 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 726 pinmux = <STM32_PINMUX('A', 6, AF14)>; 727 }; 728 729 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 730 pinmux = <STM32_PINMUX('B', 6, AF14)>; 731 }; 732 733 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 734 pinmux = <STM32_PINMUX('B', 8, AF14)>; 735 }; 736 737 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 738 pinmux = <STM32_PINMUX('A', 7, AF14)>; 739 }; 740 741 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 742 pinmux = <STM32_PINMUX('B', 7, AF14)>; 743 }; 744 745 /omit-if-no-ref/ tim8_ch1n_pa5: tim8_ch1n_pa5 { 746 pinmux = <STM32_PINMUX('A', 5, AF3)>; 747 }; 748 749 /omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 { 750 pinmux = <STM32_PINMUX('A', 7, AF3)>; 751 }; 752 753 /omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 { 754 pinmux = <STM32_PINMUX('B', 0, AF3)>; 755 }; 756 757 /omit-if-no-ref/ tim8_ch3n_pb1: tim8_ch3n_pb1 { 758 pinmux = <STM32_PINMUX('B', 1, AF3)>; 759 }; 760 761 /omit-if-no-ref/ tim8_ch2n_pb14: tim8_ch2n_pb14 { 762 pinmux = <STM32_PINMUX('B', 14, AF3)>; 763 }; 764 765 /omit-if-no-ref/ tim8_ch3n_pb15: tim8_ch3n_pb15 { 766 pinmux = <STM32_PINMUX('B', 15, AF3)>; 767 }; 768 769 /* UART_CTS / USART_CTS / LPUART_CTS */ 770 771 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 772 pinmux = <STM32_PINMUX('A', 6, AF8)>; 773 bias-pull-up; 774 drive-open-drain; 775 }; 776 777 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 778 pinmux = <STM32_PINMUX('A', 11, AF7)>; 779 bias-pull-up; 780 drive-open-drain; 781 }; 782 783 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 784 pinmux = <STM32_PINMUX('B', 4, AF7)>; 785 bias-pull-up; 786 drive-open-drain; 787 }; 788 789 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 790 pinmux = <STM32_PINMUX('B', 13, AF8)>; 791 bias-pull-up; 792 drive-open-drain; 793 }; 794 795 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 796 pinmux = <STM32_PINMUX('A', 0, AF7)>; 797 bias-pull-up; 798 drive-open-drain; 799 }; 800 801 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 802 pinmux = <STM32_PINMUX('A', 6, AF7)>; 803 bias-pull-up; 804 drive-open-drain; 805 }; 806 807 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 808 pinmux = <STM32_PINMUX('B', 13, AF7)>; 809 bias-pull-up; 810 drive-open-drain; 811 }; 812 813 /omit-if-no-ref/ uart4_cts_pb7: uart4_cts_pb7 { 814 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 815 bias-pull-up; 816 drive-open-drain; 817 }; 818 819 /* UART_DE / USART_DE / LPUART_DE */ 820 821 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 822 pinmux = <STM32_PINMUX('A', 12, AF7)>; 823 drive-push-pull; 824 }; 825 826 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 827 pinmux = <STM32_PINMUX('B', 1, AF8)>; 828 drive-push-pull; 829 }; 830 831 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 832 pinmux = <STM32_PINMUX('B', 3, AF7)>; 833 drive-push-pull; 834 }; 835 836 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 837 pinmux = <STM32_PINMUX('B', 12, AF8)>; 838 drive-push-pull; 839 }; 840 841 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 842 pinmux = <STM32_PINMUX('A', 1, AF7)>; 843 drive-push-pull; 844 }; 845 846 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 847 pinmux = <STM32_PINMUX('A', 15, AF7)>; 848 drive-push-pull; 849 }; 850 851 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 852 pinmux = <STM32_PINMUX('B', 1, AF7)>; 853 drive-push-pull; 854 }; 855 856 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 857 pinmux = <STM32_PINMUX('B', 14, AF7)>; 858 drive-push-pull; 859 }; 860 861 /omit-if-no-ref/ uart4_de_pa15: uart4_de_pa15 { 862 pinmux = <STM32_PINMUX('A', 15, AF8)>; 863 drive-push-pull; 864 }; 865 866 /* UART_RTS / USART_RTS / LPUART_RTS */ 867 868 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 869 pinmux = <STM32_PINMUX('A', 12, AF7)>; 870 bias-pull-up; 871 drive-open-drain; 872 }; 873 874 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 875 pinmux = <STM32_PINMUX('B', 1, AF8)>; 876 bias-pull-up; 877 drive-open-drain; 878 }; 879 880 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 881 pinmux = <STM32_PINMUX('B', 3, AF7)>; 882 bias-pull-up; 883 drive-open-drain; 884 }; 885 886 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 887 pinmux = <STM32_PINMUX('B', 12, AF8)>; 888 bias-pull-up; 889 drive-open-drain; 890 }; 891 892 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 893 pinmux = <STM32_PINMUX('A', 1, AF7)>; 894 bias-pull-up; 895 drive-open-drain; 896 }; 897 898 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 899 pinmux = <STM32_PINMUX('A', 15, AF7)>; 900 bias-pull-up; 901 drive-open-drain; 902 }; 903 904 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 905 pinmux = <STM32_PINMUX('B', 1, AF7)>; 906 bias-pull-up; 907 drive-open-drain; 908 }; 909 910 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 911 pinmux = <STM32_PINMUX('B', 14, AF7)>; 912 bias-pull-up; 913 drive-open-drain; 914 }; 915 916 /omit-if-no-ref/ uart4_rts_pa15: uart4_rts_pa15 { 917 pinmux = <STM32_PINMUX('A', 15, AF8)>; 918 bias-pull-up; 919 drive-open-drain; 920 }; 921 922 /* UART_RX / USART_RX / LPUART_RX */ 923 924 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 925 pinmux = <STM32_PINMUX('A', 3, AF8)>; 926 }; 927 928 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 929 pinmux = <STM32_PINMUX('A', 10, AF7)>; 930 }; 931 932 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 933 pinmux = <STM32_PINMUX('B', 7, AF7)>; 934 }; 935 936 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 937 pinmux = <STM32_PINMUX('B', 10, AF8)>; 938 }; 939 940 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 941 pinmux = <STM32_PINMUX('A', 3, AF7)>; 942 }; 943 944 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 945 pinmux = <STM32_PINMUX('A', 15, AF3)>; 946 }; 947 948 /omit-if-no-ref/ uart4_rx_pa1: uart4_rx_pa1 { 949 pinmux = <STM32_PINMUX('A', 1, AF8)>; 950 }; 951 952 /* UART_TX / USART_TX / LPUART_TX */ 953 954 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 955 pinmux = <STM32_PINMUX('A', 2, AF8)>; 956 bias-pull-up; 957 }; 958 959 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 960 pinmux = <STM32_PINMUX('A', 9, AF7)>; 961 bias-pull-up; 962 }; 963 964 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 965 pinmux = <STM32_PINMUX('B', 6, AF7)>; 966 bias-pull-up; 967 }; 968 969 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 970 pinmux = <STM32_PINMUX('A', 2, AF7)>; 971 bias-pull-up; 972 }; 973 974 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 975 pinmux = <STM32_PINMUX('B', 10, AF7)>; 976 bias-pull-up; 977 }; 978 979 /omit-if-no-ref/ uart4_tx_pa0: uart4_tx_pa0 { 980 pinmux = <STM32_PINMUX('A', 0, AF8)>; 981 bias-pull-up; 982 }; 983 984 /* UCPD */ 985 986 /omit-if-no-ref/ ucpd1_cc1_pa15: ucpd1_cc1_pa15 { 987 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 988 }; 989 990 /omit-if-no-ref/ ucpd1_cc2_pb15: ucpd1_cc2_pb15 { 991 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 992 }; 993 994 /* USB */ 995 996 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 997 pinmux = <STM32_PINMUX('A', 11, AF10)>; 998 }; 999 1000 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1001 pinmux = <STM32_PINMUX('A', 12, AF10)>; 1002 }; 1003 1004 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 1005 pinmux = <STM32_PINMUX('A', 13, AF10)>; 1006 }; 1007 1008 }; 1009 }; 1010};