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_in10_pf1: adc2_in10_pf1 { 92 pinmux = <STM32_PINMUX('F', 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_pb9: analog_pb9 { 198 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb10: analog_pb10 { 202 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb11: analog_pb11 { 206 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb12: analog_pb12 { 210 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb13: analog_pb13 { 214 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pb14: analog_pb14 { 218 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pb15: analog_pb15 { 222 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc13: analog_pc13 { 226 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc14: analog_pc14 { 230 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc15: analog_pc15 { 234 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pf0: analog_pf0 { 238 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pf1: analog_pf1 { 242 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pg10: analog_pg10 { 246 pinmux = <STM32_PINMUX('G', 10, ANALOG)>; 247 }; 248 249 /* DAC_OUT */ 250 251 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 252 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 253 }; 254 255 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 256 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 257 }; 258 259 /* FDCAN_RX */ 260 261 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 262 pinmux = <STM32_PINMUX('A', 11, AF9)>; 263 }; 264 265 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 266 pinmux = <STM32_PINMUX('B', 8, AF9)>; 267 }; 268 269 /* FDCAN_TX */ 270 271 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 272 pinmux = <STM32_PINMUX('A', 12, AF9)>; 273 }; 274 275 /omit-if-no-ref/ fdcan1_tx_pb9: fdcan1_tx_pb9 { 276 pinmux = <STM32_PINMUX('B', 9, AF9)>; 277 }; 278 279 /* I2C_SCL */ 280 281 /omit-if-no-ref/ i2c1_scl_pa13: i2c1_scl_pa13 { 282 pinmux = <STM32_PINMUX('A', 13, AF4)>; 283 bias-pull-up; 284 drive-open-drain; 285 }; 286 287 /omit-if-no-ref/ i2c1_scl_pa15: i2c1_scl_pa15 { 288 pinmux = <STM32_PINMUX('A', 15, AF4)>; 289 bias-pull-up; 290 drive-open-drain; 291 }; 292 293 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 294 pinmux = <STM32_PINMUX('B', 8, AF4)>; 295 bias-pull-up; 296 drive-open-drain; 297 }; 298 299 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 300 pinmux = <STM32_PINMUX('A', 9, AF4)>; 301 bias-pull-up; 302 drive-open-drain; 303 }; 304 305 /omit-if-no-ref/ i2c3_scl_pa8: i2c3_scl_pa8 { 306 pinmux = <STM32_PINMUX('A', 8, AF2)>; 307 bias-pull-up; 308 drive-open-drain; 309 }; 310 311 /* I2C_SDA */ 312 313 /omit-if-no-ref/ i2c1_sda_pa14: i2c1_sda_pa14 { 314 pinmux = <STM32_PINMUX('A', 14, AF4)>; 315 bias-pull-up; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 320 pinmux = <STM32_PINMUX('B', 7, AF4)>; 321 bias-pull-up; 322 drive-open-drain; 323 }; 324 325 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 326 pinmux = <STM32_PINMUX('B', 9, AF4)>; 327 bias-pull-up; 328 drive-open-drain; 329 }; 330 331 /omit-if-no-ref/ i2c2_sda_pa8: i2c2_sda_pa8 { 332 pinmux = <STM32_PINMUX('A', 8, AF4)>; 333 bias-pull-up; 334 drive-open-drain; 335 }; 336 337 /omit-if-no-ref/ i2c2_sda_pf0: i2c2_sda_pf0 { 338 pinmux = <STM32_PINMUX('F', 0, AF4)>; 339 bias-pull-up; 340 drive-open-drain; 341 }; 342 343 /omit-if-no-ref/ i2c3_sda_pb5: i2c3_sda_pb5 { 344 pinmux = <STM32_PINMUX('B', 5, AF8)>; 345 bias-pull-up; 346 drive-open-drain; 347 }; 348 349 /* I2S_CK */ 350 351 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 352 pinmux = <STM32_PINMUX('B', 13, AF5)>; 353 slew-rate = "very-high-speed"; 354 }; 355 356 /omit-if-no-ref/ i2s2_ck_pf1: i2s2_ck_pf1 { 357 pinmux = <STM32_PINMUX('F', 1, AF5)>; 358 slew-rate = "very-high-speed"; 359 }; 360 361 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 362 pinmux = <STM32_PINMUX('B', 3, AF6)>; 363 slew-rate = "very-high-speed"; 364 }; 365 366 /* I2S_MCK */ 367 368 /omit-if-no-ref/ i2s2_mck_pa8: i2s2_mck_pa8 { 369 pinmux = <STM32_PINMUX('A', 8, AF5)>; 370 slew-rate = "very-high-speed"; 371 }; 372 373 /omit-if-no-ref/ i2s3_mck_pa9: i2s3_mck_pa9 { 374 pinmux = <STM32_PINMUX('A', 9, AF5)>; 375 slew-rate = "very-high-speed"; 376 }; 377 378 /* I2S_SD */ 379 380 /omit-if-no-ref/ i2s2_sd_pa11: i2s2_sd_pa11 { 381 pinmux = <STM32_PINMUX('A', 11, AF5)>; 382 }; 383 384 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 385 pinmux = <STM32_PINMUX('B', 15, AF5)>; 386 }; 387 388 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 389 pinmux = <STM32_PINMUX('B', 5, AF6)>; 390 }; 391 392 /* I2S_WS */ 393 394 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 395 pinmux = <STM32_PINMUX('B', 12, AF5)>; 396 }; 397 398 /omit-if-no-ref/ i2s2_ws_pf0: i2s2_ws_pf0 { 399 pinmux = <STM32_PINMUX('F', 0, AF5)>; 400 }; 401 402 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 403 pinmux = <STM32_PINMUX('A', 4, AF6)>; 404 }; 405 406 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 407 pinmux = <STM32_PINMUX('A', 15, AF6)>; 408 }; 409 410 /* SPI_MISO */ 411 412 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 413 pinmux = <STM32_PINMUX('A', 6, AF5)>; 414 bias-pull-down; 415 }; 416 417 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 418 pinmux = <STM32_PINMUX('B', 4, AF5)>; 419 bias-pull-down; 420 }; 421 422 /omit-if-no-ref/ spi2_miso_pa10: spi2_miso_pa10 { 423 pinmux = <STM32_PINMUX('A', 10, AF5)>; 424 bias-pull-down; 425 }; 426 427 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 428 pinmux = <STM32_PINMUX('B', 14, AF5)>; 429 bias-pull-down; 430 }; 431 432 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 433 pinmux = <STM32_PINMUX('B', 4, AF6)>; 434 bias-pull-down; 435 }; 436 437 /* SPI_MOSI */ 438 439 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 440 pinmux = <STM32_PINMUX('A', 7, AF5)>; 441 bias-pull-down; 442 }; 443 444 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 445 pinmux = <STM32_PINMUX('B', 5, AF5)>; 446 bias-pull-down; 447 }; 448 449 /omit-if-no-ref/ spi2_mosi_pa11: spi2_mosi_pa11 { 450 pinmux = <STM32_PINMUX('A', 11, AF5)>; 451 bias-pull-down; 452 }; 453 454 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 455 pinmux = <STM32_PINMUX('B', 15, AF5)>; 456 bias-pull-down; 457 }; 458 459 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 460 pinmux = <STM32_PINMUX('B', 5, AF6)>; 461 bias-pull-down; 462 }; 463 464 /* SPI_NSS */ 465 466 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 467 pinmux = <STM32_PINMUX('A', 4, AF5)>; 468 bias-pull-up; 469 }; 470 471 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 472 pinmux = <STM32_PINMUX('A', 15, AF5)>; 473 bias-pull-up; 474 }; 475 476 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 477 pinmux = <STM32_PINMUX('B', 12, AF5)>; 478 bias-pull-up; 479 }; 480 481 /omit-if-no-ref/ spi2_nss_pf0: spi2_nss_pf0 { 482 pinmux = <STM32_PINMUX('F', 0, AF5)>; 483 bias-pull-up; 484 }; 485 486 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 487 pinmux = <STM32_PINMUX('A', 4, AF6)>; 488 bias-pull-up; 489 }; 490 491 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 492 pinmux = <STM32_PINMUX('A', 15, AF6)>; 493 bias-pull-up; 494 }; 495 496 /* SPI_SCK */ 497 498 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 499 pinmux = <STM32_PINMUX('A', 5, AF5)>; 500 bias-pull-down; 501 slew-rate = "very-high-speed"; 502 }; 503 504 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 505 pinmux = <STM32_PINMUX('B', 3, AF5)>; 506 bias-pull-down; 507 slew-rate = "very-high-speed"; 508 }; 509 510 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 511 pinmux = <STM32_PINMUX('B', 13, AF5)>; 512 bias-pull-down; 513 slew-rate = "very-high-speed"; 514 }; 515 516 /omit-if-no-ref/ spi2_sck_pf1: spi2_sck_pf1 { 517 pinmux = <STM32_PINMUX('F', 1, AF5)>; 518 bias-pull-down; 519 slew-rate = "very-high-speed"; 520 }; 521 522 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 523 pinmux = <STM32_PINMUX('B', 3, AF6)>; 524 bias-pull-down; 525 slew-rate = "very-high-speed"; 526 }; 527 528 /* TIM_BKIN */ 529 530 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 531 pinmux = <STM32_PINMUX('A', 6, AF6)>; 532 }; 533 534 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 535 pinmux = <STM32_PINMUX('A', 11, AF12)>; 536 }; 537 538 /omit-if-no-ref/ tim1_bkin_pa14: tim1_bkin_pa14 { 539 pinmux = <STM32_PINMUX('A', 14, AF6)>; 540 }; 541 542 /omit-if-no-ref/ tim1_bkin_pa15: tim1_bkin_pa15 { 543 pinmux = <STM32_PINMUX('A', 15, AF9)>; 544 }; 545 546 /omit-if-no-ref/ tim1_bkin_pb8: tim1_bkin_pb8 { 547 pinmux = <STM32_PINMUX('B', 8, AF12)>; 548 }; 549 550 /omit-if-no-ref/ tim1_bkin_pb10: tim1_bkin_pb10 { 551 pinmux = <STM32_PINMUX('B', 10, AF12)>; 552 }; 553 554 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 555 pinmux = <STM32_PINMUX('B', 12, AF6)>; 556 }; 557 558 /omit-if-no-ref/ tim1_bkin_pc13: tim1_bkin_pc13 { 559 pinmux = <STM32_PINMUX('C', 13, AF2)>; 560 }; 561 562 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 563 pinmux = <STM32_PINMUX('A', 9, AF9)>; 564 }; 565 566 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 567 pinmux = <STM32_PINMUX('B', 5, AF1)>; 568 }; 569 570 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 571 pinmux = <STM32_PINMUX('A', 10, AF1)>; 572 }; 573 574 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 575 pinmux = <STM32_PINMUX('B', 4, AF10)>; 576 }; 577 578 /omit-if-no-ref/ tim8_bkin_pa0: tim8_bkin_pa0 { 579 pinmux = <STM32_PINMUX('A', 0, AF9)>; 580 }; 581 582 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 583 pinmux = <STM32_PINMUX('A', 6, AF4)>; 584 }; 585 586 /omit-if-no-ref/ tim8_bkin_pa10: tim8_bkin_pa10 { 587 pinmux = <STM32_PINMUX('A', 10, AF11)>; 588 }; 589 590 /omit-if-no-ref/ tim8_bkin2_pb6: tim8_bkin2_pb6 { 591 pinmux = <STM32_PINMUX('B', 6, AF10)>; 592 }; 593 594 /omit-if-no-ref/ tim8_bkin_pb7: tim8_bkin_pb7 { 595 pinmux = <STM32_PINMUX('B', 7, AF5)>; 596 }; 597 598 /* TIM_CH / TIM_CHN */ 599 600 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 601 pinmux = <STM32_PINMUX('A', 7, AF6)>; 602 }; 603 604 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 605 pinmux = <STM32_PINMUX('A', 8, AF6)>; 606 }; 607 608 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 609 pinmux = <STM32_PINMUX('A', 9, AF6)>; 610 }; 611 612 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 613 pinmux = <STM32_PINMUX('A', 10, AF6)>; 614 }; 615 616 /omit-if-no-ref/ tim1_ch1n_pa11: tim1_ch1n_pa11 { 617 pinmux = <STM32_PINMUX('A', 11, AF6)>; 618 }; 619 620 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 621 pinmux = <STM32_PINMUX('A', 11, AF11)>; 622 }; 623 624 /omit-if-no-ref/ tim1_ch2n_pa12: tim1_ch2n_pa12 { 625 pinmux = <STM32_PINMUX('A', 12, AF6)>; 626 }; 627 628 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 629 pinmux = <STM32_PINMUX('B', 0, AF6)>; 630 }; 631 632 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 633 pinmux = <STM32_PINMUX('B', 1, AF6)>; 634 }; 635 636 /omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 { 637 pinmux = <STM32_PINMUX('B', 9, AF12)>; 638 }; 639 640 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 641 pinmux = <STM32_PINMUX('B', 13, AF6)>; 642 }; 643 644 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 645 pinmux = <STM32_PINMUX('B', 14, AF6)>; 646 }; 647 648 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 649 pinmux = <STM32_PINMUX('B', 15, AF4)>; 650 }; 651 652 /omit-if-no-ref/ tim1_ch1n_pc13: tim1_ch1n_pc13 { 653 pinmux = <STM32_PINMUX('C', 13, AF4)>; 654 }; 655 656 /omit-if-no-ref/ tim1_ch3n_pf0: tim1_ch3n_pf0 { 657 pinmux = <STM32_PINMUX('F', 0, AF6)>; 658 }; 659 660 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 661 pinmux = <STM32_PINMUX('A', 0, AF1)>; 662 }; 663 664 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 665 pinmux = <STM32_PINMUX('A', 1, AF1)>; 666 }; 667 668 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 669 pinmux = <STM32_PINMUX('A', 2, AF1)>; 670 }; 671 672 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 673 pinmux = <STM32_PINMUX('A', 3, AF1)>; 674 }; 675 676 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 677 pinmux = <STM32_PINMUX('A', 5, AF1)>; 678 }; 679 680 /omit-if-no-ref/ tim2_ch3_pa9: tim2_ch3_pa9 { 681 pinmux = <STM32_PINMUX('A', 9, AF10)>; 682 }; 683 684 /omit-if-no-ref/ tim2_ch4_pa10: tim2_ch4_pa10 { 685 pinmux = <STM32_PINMUX('A', 10, AF10)>; 686 }; 687 688 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 689 pinmux = <STM32_PINMUX('A', 15, AF1)>; 690 }; 691 692 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 693 pinmux = <STM32_PINMUX('B', 3, AF1)>; 694 }; 695 696 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 697 pinmux = <STM32_PINMUX('B', 10, AF1)>; 698 }; 699 700 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 701 pinmux = <STM32_PINMUX('B', 11, AF1)>; 702 }; 703 704 /omit-if-no-ref/ tim3_ch2_pa4: tim3_ch2_pa4 { 705 pinmux = <STM32_PINMUX('A', 4, AF2)>; 706 }; 707 708 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 709 pinmux = <STM32_PINMUX('A', 6, AF2)>; 710 }; 711 712 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 713 pinmux = <STM32_PINMUX('A', 7, AF2)>; 714 }; 715 716 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 717 pinmux = <STM32_PINMUX('B', 0, AF2)>; 718 }; 719 720 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 721 pinmux = <STM32_PINMUX('B', 1, AF2)>; 722 }; 723 724 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 725 pinmux = <STM32_PINMUX('B', 4, AF2)>; 726 }; 727 728 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 729 pinmux = <STM32_PINMUX('B', 5, AF2)>; 730 }; 731 732 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 733 pinmux = <STM32_PINMUX('B', 7, AF10)>; 734 }; 735 736 /omit-if-no-ref/ tim4_ch1_pa11: tim4_ch1_pa11 { 737 pinmux = <STM32_PINMUX('A', 11, AF10)>; 738 }; 739 740 /omit-if-no-ref/ tim4_ch2_pa12: tim4_ch2_pa12 { 741 pinmux = <STM32_PINMUX('A', 12, AF10)>; 742 }; 743 744 /omit-if-no-ref/ tim4_ch3_pa13: tim4_ch3_pa13 { 745 pinmux = <STM32_PINMUX('A', 13, AF10)>; 746 }; 747 748 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 749 pinmux = <STM32_PINMUX('B', 6, AF2)>; 750 }; 751 752 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 753 pinmux = <STM32_PINMUX('B', 7, AF2)>; 754 }; 755 756 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 757 pinmux = <STM32_PINMUX('B', 8, AF2)>; 758 }; 759 760 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 761 pinmux = <STM32_PINMUX('B', 9, AF2)>; 762 }; 763 764 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 765 pinmux = <STM32_PINMUX('A', 1, AF9)>; 766 }; 767 768 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 769 pinmux = <STM32_PINMUX('A', 2, AF9)>; 770 }; 771 772 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 773 pinmux = <STM32_PINMUX('A', 3, AF9)>; 774 }; 775 776 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 777 pinmux = <STM32_PINMUX('B', 14, AF1)>; 778 }; 779 780 /omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 { 781 pinmux = <STM32_PINMUX('B', 15, AF2)>; 782 }; 783 784 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 785 pinmux = <STM32_PINMUX('B', 15, AF1)>; 786 }; 787 788 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 789 pinmux = <STM32_PINMUX('A', 6, AF1)>; 790 }; 791 792 /omit-if-no-ref/ tim16_ch1_pa12: tim16_ch1_pa12 { 793 pinmux = <STM32_PINMUX('A', 12, AF1)>; 794 }; 795 796 /omit-if-no-ref/ tim16_ch1n_pa13: tim16_ch1n_pa13 { 797 pinmux = <STM32_PINMUX('A', 13, AF1)>; 798 }; 799 800 /omit-if-no-ref/ tim16_ch1_pb4: tim16_ch1_pb4 { 801 pinmux = <STM32_PINMUX('B', 4, AF1)>; 802 }; 803 804 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 805 pinmux = <STM32_PINMUX('B', 6, AF1)>; 806 }; 807 808 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 809 pinmux = <STM32_PINMUX('B', 8, AF1)>; 810 }; 811 812 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 813 pinmux = <STM32_PINMUX('A', 7, AF1)>; 814 }; 815 816 /omit-if-no-ref/ tim17_ch1_pb5: tim17_ch1_pb5 { 817 pinmux = <STM32_PINMUX('B', 5, AF10)>; 818 }; 819 820 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 821 pinmux = <STM32_PINMUX('B', 7, AF1)>; 822 }; 823 824 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 825 pinmux = <STM32_PINMUX('B', 9, AF1)>; 826 }; 827 828 /omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 { 829 pinmux = <STM32_PINMUX('A', 7, AF4)>; 830 }; 831 832 /omit-if-no-ref/ tim8_ch2_pa14: tim8_ch2_pa14 { 833 pinmux = <STM32_PINMUX('A', 14, AF5)>; 834 }; 835 836 /omit-if-no-ref/ tim8_ch1_pa15: tim8_ch1_pa15 { 837 pinmux = <STM32_PINMUX('A', 15, AF2)>; 838 }; 839 840 /omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 { 841 pinmux = <STM32_PINMUX('B', 0, AF4)>; 842 }; 843 844 /omit-if-no-ref/ tim8_ch3n_pb1: tim8_ch3n_pb1 { 845 pinmux = <STM32_PINMUX('B', 1, AF4)>; 846 }; 847 848 /omit-if-no-ref/ tim8_ch1n_pb3: tim8_ch1n_pb3 { 849 pinmux = <STM32_PINMUX('B', 3, AF4)>; 850 }; 851 852 /omit-if-no-ref/ tim8_ch2n_pb4: tim8_ch2n_pb4 { 853 pinmux = <STM32_PINMUX('B', 4, AF4)>; 854 }; 855 856 /omit-if-no-ref/ tim8_ch3n_pb5: tim8_ch3n_pb5 { 857 pinmux = <STM32_PINMUX('B', 5, AF3)>; 858 }; 859 860 /omit-if-no-ref/ tim8_ch1_pb6: tim8_ch1_pb6 { 861 pinmux = <STM32_PINMUX('B', 6, AF5)>; 862 }; 863 864 /omit-if-no-ref/ tim8_ch2_pb8: tim8_ch2_pb8 { 865 pinmux = <STM32_PINMUX('B', 8, AF10)>; 866 }; 867 868 /omit-if-no-ref/ tim8_ch3_pb9: tim8_ch3_pb9 { 869 pinmux = <STM32_PINMUX('B', 9, AF10)>; 870 }; 871 872 /omit-if-no-ref/ tim8_ch4n_pc13: tim8_ch4n_pc13 { 873 pinmux = <STM32_PINMUX('C', 13, AF6)>; 874 }; 875 876 /* UART_CTS / USART_CTS / LPUART_CTS */ 877 878 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 879 pinmux = <STM32_PINMUX('A', 6, AF12)>; 880 bias-pull-up; 881 drive-open-drain; 882 }; 883 884 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 885 pinmux = <STM32_PINMUX('A', 11, AF7)>; 886 bias-pull-up; 887 drive-open-drain; 888 }; 889 890 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 891 pinmux = <STM32_PINMUX('B', 13, AF8)>; 892 bias-pull-up; 893 drive-open-drain; 894 }; 895 896 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 897 pinmux = <STM32_PINMUX('A', 0, AF7)>; 898 bias-pull-up; 899 drive-open-drain; 900 }; 901 902 /omit-if-no-ref/ usart3_cts_pa13: usart3_cts_pa13 { 903 pinmux = <STM32_PINMUX('A', 13, AF7)>; 904 bias-pull-up; 905 drive-open-drain; 906 }; 907 908 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 909 pinmux = <STM32_PINMUX('B', 13, AF7)>; 910 bias-pull-up; 911 drive-open-drain; 912 }; 913 914 /* UART_DE / USART_DE / LPUART_DE */ 915 916 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 917 pinmux = <STM32_PINMUX('A', 12, AF7)>; 918 drive-push-pull; 919 }; 920 921 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 922 pinmux = <STM32_PINMUX('B', 1, AF12)>; 923 drive-push-pull; 924 }; 925 926 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 927 pinmux = <STM32_PINMUX('B', 12, AF8)>; 928 drive-push-pull; 929 }; 930 931 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 932 pinmux = <STM32_PINMUX('A', 1, AF7)>; 933 drive-push-pull; 934 }; 935 936 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 937 pinmux = <STM32_PINMUX('B', 14, AF7)>; 938 drive-push-pull; 939 }; 940 941 /* UART_RTS / USART_RTS / LPUART_RTS */ 942 943 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 944 pinmux = <STM32_PINMUX('A', 12, AF7)>; 945 bias-pull-up; 946 drive-open-drain; 947 }; 948 949 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 950 pinmux = <STM32_PINMUX('B', 1, AF12)>; 951 bias-pull-up; 952 drive-open-drain; 953 }; 954 955 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 956 pinmux = <STM32_PINMUX('B', 12, AF8)>; 957 bias-pull-up; 958 drive-open-drain; 959 }; 960 961 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 962 pinmux = <STM32_PINMUX('A', 1, AF7)>; 963 bias-pull-up; 964 drive-open-drain; 965 }; 966 967 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 968 pinmux = <STM32_PINMUX('B', 14, AF7)>; 969 bias-pull-up; 970 drive-open-drain; 971 }; 972 973 /* UART_RX / USART_RX / LPUART_RX */ 974 975 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 976 pinmux = <STM32_PINMUX('A', 3, AF12)>; 977 }; 978 979 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 980 pinmux = <STM32_PINMUX('A', 10, AF7)>; 981 }; 982 983 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 984 pinmux = <STM32_PINMUX('B', 7, AF7)>; 985 }; 986 987 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 988 pinmux = <STM32_PINMUX('B', 10, AF8)>; 989 }; 990 991 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 992 pinmux = <STM32_PINMUX('A', 3, AF7)>; 993 }; 994 995 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 996 pinmux = <STM32_PINMUX('A', 15, AF7)>; 997 }; 998 999 /omit-if-no-ref/ usart2_rx_pb4: usart2_rx_pb4 { 1000 pinmux = <STM32_PINMUX('B', 4, AF7)>; 1001 }; 1002 1003 /omit-if-no-ref/ usart3_rx_pb8: usart3_rx_pb8 { 1004 pinmux = <STM32_PINMUX('B', 8, AF7)>; 1005 }; 1006 1007 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1008 pinmux = <STM32_PINMUX('B', 11, AF7)>; 1009 }; 1010 1011 /* UART_TX / USART_TX / LPUART_TX */ 1012 1013 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 1014 pinmux = <STM32_PINMUX('A', 2, AF12)>; 1015 bias-pull-up; 1016 }; 1017 1018 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1019 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1020 bias-pull-up; 1021 }; 1022 1023 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1024 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1025 bias-pull-up; 1026 }; 1027 1028 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 1029 pinmux = <STM32_PINMUX('B', 11, AF8)>; 1030 bias-pull-up; 1031 }; 1032 1033 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1034 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1035 bias-pull-up; 1036 }; 1037 1038 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 1039 pinmux = <STM32_PINMUX('A', 14, AF7)>; 1040 bias-pull-up; 1041 }; 1042 1043 /omit-if-no-ref/ usart2_tx_pb3: usart2_tx_pb3 { 1044 pinmux = <STM32_PINMUX('B', 3, AF7)>; 1045 bias-pull-up; 1046 }; 1047 1048 /omit-if-no-ref/ usart3_tx_pb9: usart3_tx_pb9 { 1049 pinmux = <STM32_PINMUX('B', 9, AF7)>; 1050 bias-pull-up; 1051 }; 1052 1053 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1054 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1055 bias-pull-up; 1056 }; 1057 1058 /* UCPD */ 1059 1060 /omit-if-no-ref/ ucpd1_cc2_pb4: ucpd1_cc2_pb4 { 1061 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 1062 }; 1063 1064 /omit-if-no-ref/ ucpd1_cc1_pb6: ucpd1_cc1_pb6 { 1065 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 1066 }; 1067 1068 /* USB */ 1069 1070 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1071 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1072 }; 1073 1074 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1075 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1076 }; 1077 1078 }; 1079 }; 1080};