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_in6_pa10: adc_in6_pa10 { 16 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in7_pa11: adc_in7_pa11 { 20 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in8_pa12: adc_in8_pa12 { 24 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in9_pa13: adc_in9_pa13 { 28 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in10_pa14: adc_in10_pa14 { 32 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in11_pa15: adc_in11_pa15 { 36 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in5_pb1: adc_in5_pb1 { 40 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in4_pb2: adc_in4_pb2 { 44 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in2_pb3: adc_in2_pb3 { 48 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc_in3_pb4: adc_in3_pb4 { 52 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc_in0_pb13: adc_in0_pb13 { 56 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc_in1_pb14: adc_in1_pb14 { 60 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 61 }; 62 63 /* Analog */ 64 65 /omit-if-no-ref/ analog_pa0: analog_pa0 { 66 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa1: analog_pa1 { 70 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa2: analog_pa2 { 74 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa3: analog_pa3 { 78 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa4: analog_pa4 { 82 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa5: analog_pa5 { 86 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa6: analog_pa6 { 90 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa7: analog_pa7 { 94 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa8: analog_pa8 { 98 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa9: analog_pa9 { 102 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa10: analog_pa10 { 106 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa11: analog_pa11 { 110 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa12: analog_pa12 { 114 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa13: analog_pa13 { 118 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa14: analog_pa14 { 122 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa15: analog_pa15 { 126 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb0: analog_pb0 { 130 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb1: analog_pb1 { 134 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb2: analog_pb2 { 138 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb3: analog_pb3 { 142 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb4: analog_pb4 { 146 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb5: analog_pb5 { 150 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb6: analog_pb6 { 154 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb7: analog_pb7 { 158 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb8: analog_pb8 { 162 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb9: analog_pb9 { 166 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb10: analog_pb10 { 170 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb11: analog_pb11 { 174 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb12: analog_pb12 { 178 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb13: analog_pb13 { 182 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb14: analog_pb14 { 186 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb15: analog_pb15 { 190 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pc0: analog_pc0 { 194 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pc1: analog_pc1 { 198 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pc2: analog_pc2 { 202 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pc3: analog_pc3 { 206 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pc4: analog_pc4 { 210 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc5: analog_pc5 { 214 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc6: analog_pc6 { 218 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc13: analog_pc13 { 222 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc14: analog_pc14 { 226 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc15: analog_pc15 { 230 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_ph3: analog_ph3 { 234 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 235 }; 236 237 /* DAC_OUT */ 238 239 /omit-if-no-ref/ dac_out1_pa10: dac_out1_pa10 { 240 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 241 }; 242 243 /* I2C_SCL */ 244 245 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 246 pinmux = <STM32_PINMUX('A', 9, AF4)>; 247 bias-pull-up; 248 drive-open-drain; 249 }; 250 251 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 252 pinmux = <STM32_PINMUX('B', 6, AF4)>; 253 bias-pull-up; 254 drive-open-drain; 255 }; 256 257 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 258 pinmux = <STM32_PINMUX('B', 8, AF4)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 /omit-if-no-ref/ i2c2_scl_pa12: i2c2_scl_pa12 { 264 pinmux = <STM32_PINMUX('A', 12, AF4)>; 265 bias-pull-up; 266 drive-open-drain; 267 }; 268 269 /omit-if-no-ref/ i2c2_scl_pb15: i2c2_scl_pb15 { 270 pinmux = <STM32_PINMUX('B', 15, AF4)>; 271 bias-pull-up; 272 drive-open-drain; 273 }; 274 275 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 276 pinmux = <STM32_PINMUX('A', 7, AF4)>; 277 bias-pull-up; 278 drive-open-drain; 279 }; 280 281 /omit-if-no-ref/ i2c3_scl_pb10: i2c3_scl_pb10 { 282 pinmux = <STM32_PINMUX('B', 10, AF4)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c3_scl_pb13: i2c3_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_pc0: i2c3_scl_pc0 { 294 pinmux = <STM32_PINMUX('C', 0, AF4)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /* I2C_SDA */ 300 301 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 302 pinmux = <STM32_PINMUX('A', 10, AF4)>; 303 bias-pull-up; 304 drive-open-drain; 305 }; 306 307 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 308 pinmux = <STM32_PINMUX('B', 7, AF4)>; 309 bias-pull-up; 310 drive-open-drain; 311 }; 312 313 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 314 pinmux = <STM32_PINMUX('B', 9, AF4)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c2_sda_pa11: i2c2_sda_pa11 { 320 pinmux = <STM32_PINMUX('A', 11, AF4)>; 321 bias-pull-up; 322 drive-open-drain; 323 }; 324 325 /omit-if-no-ref/ i2c2_sda_pa15: i2c2_sda_pa15 { 326 pinmux = <STM32_PINMUX('A', 15, AF4)>; 327 bias-pull-up; 328 drive-open-drain; 329 }; 330 331 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 332 pinmux = <STM32_PINMUX('B', 4, AF4)>; 333 bias-pull-up; 334 drive-open-drain; 335 }; 336 337 /omit-if-no-ref/ i2c3_sda_pb11: i2c3_sda_pb11 { 338 pinmux = <STM32_PINMUX('B', 11, AF4)>; 339 bias-pull-up; 340 drive-open-drain; 341 }; 342 343 /omit-if-no-ref/ i2c3_sda_pb14: i2c3_sda_pb14 { 344 pinmux = <STM32_PINMUX('B', 14, AF4)>; 345 bias-pull-up; 346 drive-open-drain; 347 }; 348 349 /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { 350 pinmux = <STM32_PINMUX('C', 1, AF4)>; 351 bias-pull-up; 352 drive-open-drain; 353 }; 354 355 /* I2S_CK */ 356 357 /omit-if-no-ref/ i2s2_ck_pa8: i2s2_ck_pa8 { 358 pinmux = <STM32_PINMUX('A', 8, AF5)>; 359 slew-rate = "very-high-speed"; 360 }; 361 362 /omit-if-no-ref/ i2s2_ck_pa9: i2s2_ck_pa9 { 363 pinmux = <STM32_PINMUX('A', 9, AF5)>; 364 slew-rate = "very-high-speed"; 365 }; 366 367 /omit-if-no-ref/ i2s2_ck_pb10: i2s2_ck_pb10 { 368 pinmux = <STM32_PINMUX('B', 10, AF5)>; 369 slew-rate = "very-high-speed"; 370 }; 371 372 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 373 pinmux = <STM32_PINMUX('B', 13, AF5)>; 374 slew-rate = "very-high-speed"; 375 }; 376 377 /* I2S_MCK */ 378 379 /omit-if-no-ref/ i2s2_mck_pa3: i2s2_mck_pa3 { 380 pinmux = <STM32_PINMUX('A', 3, AF5)>; 381 slew-rate = "very-high-speed"; 382 }; 383 384 /omit-if-no-ref/ i2s2_mck_pb14: i2s2_mck_pb14 { 385 pinmux = <STM32_PINMUX('B', 14, AF3)>; 386 slew-rate = "very-high-speed"; 387 }; 388 389 /omit-if-no-ref/ i2s2_mck_pc6: i2s2_mck_pc6 { 390 pinmux = <STM32_PINMUX('C', 6, AF5)>; 391 slew-rate = "very-high-speed"; 392 }; 393 394 /* I2S_SD */ 395 396 /omit-if-no-ref/ i2s2_sd_pa10: i2s2_sd_pa10 { 397 pinmux = <STM32_PINMUX('A', 10, AF5)>; 398 }; 399 400 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 401 pinmux = <STM32_PINMUX('B', 15, AF5)>; 402 }; 403 404 /omit-if-no-ref/ i2s2_sd_pc1: i2s2_sd_pc1 { 405 pinmux = <STM32_PINMUX('C', 1, AF3)>; 406 }; 407 408 /omit-if-no-ref/ i2s2_sd_pc3: i2s2_sd_pc3 { 409 pinmux = <STM32_PINMUX('C', 3, AF5)>; 410 }; 411 412 /* I2S_WS */ 413 414 /omit-if-no-ref/ i2s2_ws_pa9: i2s2_ws_pa9 { 415 pinmux = <STM32_PINMUX('A', 9, AF3)>; 416 }; 417 418 /omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 { 419 pinmux = <STM32_PINMUX('B', 9, AF5)>; 420 }; 421 422 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 423 pinmux = <STM32_PINMUX('B', 12, AF5)>; 424 }; 425 426 /* SPI_MISO */ 427 428 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 429 pinmux = <STM32_PINMUX('A', 6, AF5)>; 430 bias-pull-down; 431 }; 432 433 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 434 pinmux = <STM32_PINMUX('A', 11, AF5)>; 435 bias-pull-down; 436 }; 437 438 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 439 pinmux = <STM32_PINMUX('B', 4, AF5)>; 440 bias-pull-down; 441 }; 442 443 /omit-if-no-ref/ spi2_miso_pa5: spi2_miso_pa5 { 444 pinmux = <STM32_PINMUX('A', 5, AF3)>; 445 bias-pull-down; 446 }; 447 448 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 449 pinmux = <STM32_PINMUX('B', 14, AF5)>; 450 bias-pull-down; 451 }; 452 453 /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { 454 pinmux = <STM32_PINMUX('C', 2, AF5)>; 455 bias-pull-down; 456 }; 457 458 /* SPI_MOSI */ 459 460 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 461 pinmux = <STM32_PINMUX('A', 7, AF5)>; 462 bias-pull-down; 463 }; 464 465 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 466 pinmux = <STM32_PINMUX('A', 12, AF5)>; 467 bias-pull-down; 468 }; 469 470 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 471 pinmux = <STM32_PINMUX('B', 5, AF5)>; 472 bias-pull-down; 473 }; 474 475 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 476 pinmux = <STM32_PINMUX('A', 10, AF5)>; 477 bias-pull-down; 478 }; 479 480 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 481 pinmux = <STM32_PINMUX('B', 15, AF5)>; 482 bias-pull-down; 483 }; 484 485 /omit-if-no-ref/ spi2_mosi_pc1: spi2_mosi_pc1 { 486 pinmux = <STM32_PINMUX('C', 1, AF3)>; 487 bias-pull-down; 488 }; 489 490 /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { 491 pinmux = <STM32_PINMUX('C', 3, AF5)>; 492 bias-pull-down; 493 }; 494 495 /* SPI_NSS */ 496 497 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 498 pinmux = <STM32_PINMUX('A', 4, AF5)>; 499 bias-pull-up; 500 }; 501 502 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 503 pinmux = <STM32_PINMUX('A', 15, AF5)>; 504 bias-pull-up; 505 }; 506 507 /omit-if-no-ref/ spi1_nss_pb2: spi1_nss_pb2 { 508 pinmux = <STM32_PINMUX('B', 2, AF5)>; 509 bias-pull-up; 510 }; 511 512 /omit-if-no-ref/ spi2_nss_pa9: spi2_nss_pa9 { 513 pinmux = <STM32_PINMUX('A', 9, AF3)>; 514 bias-pull-up; 515 }; 516 517 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 518 pinmux = <STM32_PINMUX('B', 9, AF5)>; 519 bias-pull-up; 520 }; 521 522 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 523 pinmux = <STM32_PINMUX('B', 12, AF5)>; 524 bias-pull-up; 525 }; 526 527 /* SPI_SCK */ 528 529 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 530 pinmux = <STM32_PINMUX('A', 1, AF5)>; 531 bias-pull-down; 532 slew-rate = "very-high-speed"; 533 }; 534 535 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 536 pinmux = <STM32_PINMUX('A', 5, AF5)>; 537 bias-pull-down; 538 slew-rate = "very-high-speed"; 539 }; 540 541 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 542 pinmux = <STM32_PINMUX('B', 3, AF5)>; 543 bias-pull-down; 544 slew-rate = "very-high-speed"; 545 }; 546 547 /omit-if-no-ref/ spi2_sck_pa8: spi2_sck_pa8 { 548 pinmux = <STM32_PINMUX('A', 8, AF5)>; 549 bias-pull-down; 550 slew-rate = "very-high-speed"; 551 }; 552 553 /omit-if-no-ref/ spi2_sck_pa9: spi2_sck_pa9 { 554 pinmux = <STM32_PINMUX('A', 9, AF5)>; 555 bias-pull-down; 556 slew-rate = "very-high-speed"; 557 }; 558 559 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 560 pinmux = <STM32_PINMUX('B', 10, AF5)>; 561 bias-pull-down; 562 slew-rate = "very-high-speed"; 563 }; 564 565 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 566 pinmux = <STM32_PINMUX('B', 13, AF5)>; 567 bias-pull-down; 568 slew-rate = "very-high-speed"; 569 }; 570 571 /* TIM_BKIN */ 572 573 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 574 pinmux = <STM32_PINMUX('A', 6, AF12)>; 575 }; 576 577 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 578 pinmux = <STM32_PINMUX('A', 11, AF12)>; 579 }; 580 581 /omit-if-no-ref/ tim1_bkin_pb7: tim1_bkin_pb7 { 582 pinmux = <STM32_PINMUX('B', 7, AF3)>; 583 }; 584 585 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 586 pinmux = <STM32_PINMUX('B', 12, AF3)>; 587 }; 588 589 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 590 pinmux = <STM32_PINMUX('B', 5, AF14)>; 591 }; 592 593 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 594 pinmux = <STM32_PINMUX('A', 10, AF14)>; 595 }; 596 597 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 598 pinmux = <STM32_PINMUX('B', 4, AF14)>; 599 }; 600 601 /* TIM_CH / TIM_CHN */ 602 603 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 604 pinmux = <STM32_PINMUX('A', 7, AF1)>; 605 }; 606 607 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 608 pinmux = <STM32_PINMUX('A', 8, AF1)>; 609 }; 610 611 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 612 pinmux = <STM32_PINMUX('A', 9, AF1)>; 613 }; 614 615 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 616 pinmux = <STM32_PINMUX('A', 10, AF1)>; 617 }; 618 619 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 620 pinmux = <STM32_PINMUX('A', 11, AF1)>; 621 }; 622 623 /omit-if-no-ref/ tim1_ch2n_pb8: tim1_ch2n_pb8 { 624 pinmux = <STM32_PINMUX('B', 8, AF1)>; 625 }; 626 627 /omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 { 628 pinmux = <STM32_PINMUX('B', 9, AF1)>; 629 }; 630 631 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 632 pinmux = <STM32_PINMUX('B', 13, AF1)>; 633 }; 634 635 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 636 pinmux = <STM32_PINMUX('B', 14, AF1)>; 637 }; 638 639 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 640 pinmux = <STM32_PINMUX('B', 15, AF1)>; 641 }; 642 643 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 644 pinmux = <STM32_PINMUX('A', 0, AF1)>; 645 }; 646 647 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 648 pinmux = <STM32_PINMUX('A', 1, AF1)>; 649 }; 650 651 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 652 pinmux = <STM32_PINMUX('A', 2, AF1)>; 653 }; 654 655 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 656 pinmux = <STM32_PINMUX('A', 3, AF1)>; 657 }; 658 659 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 660 pinmux = <STM32_PINMUX('A', 5, AF1)>; 661 }; 662 663 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 664 pinmux = <STM32_PINMUX('A', 15, AF1)>; 665 }; 666 667 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 668 pinmux = <STM32_PINMUX('B', 3, AF1)>; 669 }; 670 671 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 672 pinmux = <STM32_PINMUX('B', 10, AF1)>; 673 }; 674 675 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 676 pinmux = <STM32_PINMUX('B', 11, AF1)>; 677 }; 678 679 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 680 pinmux = <STM32_PINMUX('A', 6, AF14)>; 681 }; 682 683 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 684 pinmux = <STM32_PINMUX('B', 6, AF14)>; 685 }; 686 687 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 688 pinmux = <STM32_PINMUX('B', 8, AF14)>; 689 }; 690 691 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 692 pinmux = <STM32_PINMUX('A', 7, AF14)>; 693 }; 694 695 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 696 pinmux = <STM32_PINMUX('B', 7, AF14)>; 697 }; 698 699 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 700 pinmux = <STM32_PINMUX('B', 9, AF14)>; 701 }; 702 703 /* UART_CTS / USART_CTS / LPUART_CTS */ 704 705 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 706 pinmux = <STM32_PINMUX('A', 6, AF8)>; 707 bias-pull-up; 708 drive-open-drain; 709 }; 710 711 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 712 pinmux = <STM32_PINMUX('A', 11, AF7)>; 713 bias-pull-up; 714 drive-open-drain; 715 }; 716 717 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 718 pinmux = <STM32_PINMUX('B', 4, AF7)>; 719 bias-pull-up; 720 drive-open-drain; 721 }; 722 723 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 724 pinmux = <STM32_PINMUX('B', 13, AF8)>; 725 bias-pull-up; 726 drive-open-drain; 727 }; 728 729 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 730 pinmux = <STM32_PINMUX('A', 0, AF7)>; 731 bias-pull-up; 732 drive-open-drain; 733 }; 734 735 /* UART_DE / USART_DE / LPUART_DE */ 736 737 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 738 pinmux = <STM32_PINMUX('A', 12, AF7)>; 739 drive-push-pull; 740 }; 741 742 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 743 pinmux = <STM32_PINMUX('B', 1, AF8)>; 744 drive-push-pull; 745 }; 746 747 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 748 pinmux = <STM32_PINMUX('B', 3, AF7)>; 749 drive-push-pull; 750 }; 751 752 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 753 pinmux = <STM32_PINMUX('A', 1, AF7)>; 754 drive-push-pull; 755 }; 756 757 /* UART_RTS / USART_RTS / LPUART_RTS */ 758 759 /omit-if-no-ref/ lpuart1_rts_pa1: lpuart1_rts_pa1 { 760 pinmux = <STM32_PINMUX('A', 1, AF8)>; 761 bias-pull-up; 762 drive-open-drain; 763 }; 764 765 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 766 pinmux = <STM32_PINMUX('A', 12, AF7)>; 767 bias-pull-up; 768 drive-open-drain; 769 }; 770 771 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 772 pinmux = <STM32_PINMUX('B', 1, AF8)>; 773 bias-pull-up; 774 drive-open-drain; 775 }; 776 777 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 778 pinmux = <STM32_PINMUX('B', 3, AF7)>; 779 bias-pull-up; 780 drive-open-drain; 781 }; 782 783 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 784 pinmux = <STM32_PINMUX('B', 12, AF8)>; 785 bias-pull-up; 786 drive-open-drain; 787 }; 788 789 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 790 pinmux = <STM32_PINMUX('A', 1, AF7)>; 791 bias-pull-up; 792 drive-open-drain; 793 }; 794 795 /* UART_RX / USART_RX / LPUART_RX */ 796 797 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 798 pinmux = <STM32_PINMUX('A', 3, AF8)>; 799 }; 800 801 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 802 pinmux = <STM32_PINMUX('A', 10, AF7)>; 803 }; 804 805 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 806 pinmux = <STM32_PINMUX('B', 7, AF7)>; 807 }; 808 809 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 810 pinmux = <STM32_PINMUX('B', 10, AF8)>; 811 }; 812 813 /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { 814 pinmux = <STM32_PINMUX('C', 0, AF8)>; 815 }; 816 817 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 818 pinmux = <STM32_PINMUX('A', 3, AF7)>; 819 }; 820 821 /* UART_TX / USART_TX / LPUART_TX */ 822 823 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 824 pinmux = <STM32_PINMUX('A', 2, AF8)>; 825 bias-pull-up; 826 }; 827 828 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 829 pinmux = <STM32_PINMUX('A', 9, AF7)>; 830 bias-pull-up; 831 }; 832 833 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 834 pinmux = <STM32_PINMUX('B', 6, AF7)>; 835 bias-pull-up; 836 }; 837 838 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 839 pinmux = <STM32_PINMUX('B', 11, AF8)>; 840 bias-pull-up; 841 }; 842 843 /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { 844 pinmux = <STM32_PINMUX('C', 1, AF8)>; 845 bias-pull-up; 846 }; 847 848 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 849 pinmux = <STM32_PINMUX('A', 2, AF7)>; 850 bias-pull-up; 851 }; 852 853 }; 854 }; 855};