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_in10_pf0: adc1_in10_pf0 { 36 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc2_in1_pa0: adc2_in1_pa0 { 40 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc2_in2_pa1: adc2_in2_pa1 { 44 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc2_in17_pa4: adc2_in17_pa4 { 48 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc2_in13_pa5: adc2_in13_pa5 { 52 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc2_in3_pa6: adc2_in3_pa6 { 56 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc2_in4_pa7: adc2_in4_pa7 { 60 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc2_in10_pf1: adc2_in10_pf1 { 64 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 65 }; 66 67 /* Analog */ 68 69 /omit-if-no-ref/ analog_pa0: analog_pa0 { 70 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa1: analog_pa1 { 74 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa2: analog_pa2 { 78 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa3: analog_pa3 { 82 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa4: analog_pa4 { 86 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa5: analog_pa5 { 90 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa6: analog_pa6 { 94 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa7: analog_pa7 { 98 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa8: analog_pa8 { 102 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa9: analog_pa9 { 106 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa10: analog_pa10 { 110 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa11: analog_pa11 { 114 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa12: analog_pa12 { 118 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa13: analog_pa13 { 122 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa14: analog_pa14 { 126 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa15: analog_pa15 { 130 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb0: analog_pb0 { 134 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb3: analog_pb3 { 138 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb4: analog_pb4 { 142 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb5: analog_pb5 { 146 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb6: analog_pb6 { 150 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb7: analog_pb7 { 154 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb8: analog_pb8 { 158 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pf0: analog_pf0 { 162 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pf1: analog_pf1 { 166 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pg10: analog_pg10 { 170 pinmux = <STM32_PINMUX('G', 10, ANALOG)>; 171 }; 172 173 /* DAC_OUT */ 174 175 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 176 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 177 }; 178 179 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 180 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 181 }; 182 183 /* FDCAN_RX */ 184 185 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 186 pinmux = <STM32_PINMUX('A', 11, AF9)>; 187 }; 188 189 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 190 pinmux = <STM32_PINMUX('B', 8, AF9)>; 191 }; 192 193 /* FDCAN_TX */ 194 195 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 196 pinmux = <STM32_PINMUX('A', 12, AF9)>; 197 }; 198 199 /* I2C_SCL */ 200 201 /omit-if-no-ref/ i2c1_scl_pa13: i2c1_scl_pa13 { 202 pinmux = <STM32_PINMUX('A', 13, AF4)>; 203 bias-pull-up; 204 drive-open-drain; 205 }; 206 207 /omit-if-no-ref/ i2c1_scl_pa15: i2c1_scl_pa15 { 208 pinmux = <STM32_PINMUX('A', 15, AF4)>; 209 bias-pull-up; 210 drive-open-drain; 211 }; 212 213 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 214 pinmux = <STM32_PINMUX('B', 8, AF4)>; 215 bias-pull-up; 216 drive-open-drain; 217 }; 218 219 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 220 pinmux = <STM32_PINMUX('A', 9, AF4)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 /omit-if-no-ref/ i2c3_scl_pa8: i2c3_scl_pa8 { 226 pinmux = <STM32_PINMUX('A', 8, AF2)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 /* I2C_SDA */ 232 233 /omit-if-no-ref/ i2c1_sda_pa14: i2c1_sda_pa14 { 234 pinmux = <STM32_PINMUX('A', 14, AF4)>; 235 bias-pull-up; 236 drive-open-drain; 237 }; 238 239 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 240 pinmux = <STM32_PINMUX('B', 7, AF4)>; 241 bias-pull-up; 242 drive-open-drain; 243 }; 244 245 /omit-if-no-ref/ i2c2_sda_pa8: i2c2_sda_pa8 { 246 pinmux = <STM32_PINMUX('A', 8, AF4)>; 247 bias-pull-up; 248 drive-open-drain; 249 }; 250 251 /omit-if-no-ref/ i2c2_sda_pf0: i2c2_sda_pf0 { 252 pinmux = <STM32_PINMUX('F', 0, AF4)>; 253 bias-pull-up; 254 drive-open-drain; 255 }; 256 257 /omit-if-no-ref/ i2c3_sda_pb5: i2c3_sda_pb5 { 258 pinmux = <STM32_PINMUX('B', 5, AF8)>; 259 bias-pull-up; 260 drive-open-drain; 261 }; 262 263 /* I2S_CK */ 264 265 /omit-if-no-ref/ i2s2_ck_pf1: i2s2_ck_pf1 { 266 pinmux = <STM32_PINMUX('F', 1, AF5)>; 267 slew-rate = "very-high-speed"; 268 }; 269 270 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 271 pinmux = <STM32_PINMUX('B', 3, AF6)>; 272 slew-rate = "very-high-speed"; 273 }; 274 275 /* I2S_MCK */ 276 277 /omit-if-no-ref/ i2s2_mck_pa8: i2s2_mck_pa8 { 278 pinmux = <STM32_PINMUX('A', 8, AF5)>; 279 slew-rate = "very-high-speed"; 280 }; 281 282 /omit-if-no-ref/ i2s3_mck_pa9: i2s3_mck_pa9 { 283 pinmux = <STM32_PINMUX('A', 9, AF5)>; 284 slew-rate = "very-high-speed"; 285 }; 286 287 /* I2S_SD */ 288 289 /omit-if-no-ref/ i2s2_sd_pa11: i2s2_sd_pa11 { 290 pinmux = <STM32_PINMUX('A', 11, AF5)>; 291 }; 292 293 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 294 pinmux = <STM32_PINMUX('B', 5, AF6)>; 295 }; 296 297 /* I2S_WS */ 298 299 /omit-if-no-ref/ i2s2_ws_pf0: i2s2_ws_pf0 { 300 pinmux = <STM32_PINMUX('F', 0, AF5)>; 301 }; 302 303 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 304 pinmux = <STM32_PINMUX('A', 4, AF6)>; 305 }; 306 307 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 308 pinmux = <STM32_PINMUX('A', 15, AF6)>; 309 }; 310 311 /* SPI_MISO */ 312 313 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 314 pinmux = <STM32_PINMUX('A', 6, AF5)>; 315 bias-pull-down; 316 }; 317 318 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 319 pinmux = <STM32_PINMUX('B', 4, AF5)>; 320 bias-pull-down; 321 }; 322 323 /omit-if-no-ref/ spi2_miso_pa10: spi2_miso_pa10 { 324 pinmux = <STM32_PINMUX('A', 10, AF5)>; 325 bias-pull-down; 326 }; 327 328 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 329 pinmux = <STM32_PINMUX('B', 4, AF6)>; 330 bias-pull-down; 331 }; 332 333 /* SPI_MOSI */ 334 335 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 336 pinmux = <STM32_PINMUX('A', 7, AF5)>; 337 bias-pull-down; 338 }; 339 340 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 341 pinmux = <STM32_PINMUX('B', 5, AF5)>; 342 bias-pull-down; 343 }; 344 345 /omit-if-no-ref/ spi2_mosi_pa11: spi2_mosi_pa11 { 346 pinmux = <STM32_PINMUX('A', 11, AF5)>; 347 bias-pull-down; 348 }; 349 350 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 351 pinmux = <STM32_PINMUX('B', 5, AF6)>; 352 bias-pull-down; 353 }; 354 355 /* SPI_NSS */ 356 357 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 358 pinmux = <STM32_PINMUX('A', 4, AF5)>; 359 bias-pull-up; 360 }; 361 362 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 363 pinmux = <STM32_PINMUX('A', 15, AF5)>; 364 bias-pull-up; 365 }; 366 367 /omit-if-no-ref/ spi2_nss_pf0: spi2_nss_pf0 { 368 pinmux = <STM32_PINMUX('F', 0, AF5)>; 369 bias-pull-up; 370 }; 371 372 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 373 pinmux = <STM32_PINMUX('A', 4, AF6)>; 374 bias-pull-up; 375 }; 376 377 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 378 pinmux = <STM32_PINMUX('A', 15, AF6)>; 379 bias-pull-up; 380 }; 381 382 /* SPI_SCK */ 383 384 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 385 pinmux = <STM32_PINMUX('A', 5, AF5)>; 386 bias-pull-down; 387 slew-rate = "very-high-speed"; 388 }; 389 390 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 391 pinmux = <STM32_PINMUX('B', 3, AF5)>; 392 bias-pull-down; 393 slew-rate = "very-high-speed"; 394 }; 395 396 /omit-if-no-ref/ spi2_sck_pf1: spi2_sck_pf1 { 397 pinmux = <STM32_PINMUX('F', 1, AF5)>; 398 bias-pull-down; 399 slew-rate = "very-high-speed"; 400 }; 401 402 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 403 pinmux = <STM32_PINMUX('B', 3, AF6)>; 404 bias-pull-down; 405 slew-rate = "very-high-speed"; 406 }; 407 408 /* TIM_BKIN */ 409 410 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 411 pinmux = <STM32_PINMUX('A', 6, AF6)>; 412 }; 413 414 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 415 pinmux = <STM32_PINMUX('A', 11, AF12)>; 416 }; 417 418 /omit-if-no-ref/ tim1_bkin_pa14: tim1_bkin_pa14 { 419 pinmux = <STM32_PINMUX('A', 14, AF6)>; 420 }; 421 422 /omit-if-no-ref/ tim1_bkin_pa15: tim1_bkin_pa15 { 423 pinmux = <STM32_PINMUX('A', 15, AF9)>; 424 }; 425 426 /omit-if-no-ref/ tim1_bkin_pb8: tim1_bkin_pb8 { 427 pinmux = <STM32_PINMUX('B', 8, AF12)>; 428 }; 429 430 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 431 pinmux = <STM32_PINMUX('A', 9, AF9)>; 432 }; 433 434 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 435 pinmux = <STM32_PINMUX('B', 5, AF1)>; 436 }; 437 438 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 439 pinmux = <STM32_PINMUX('A', 10, AF1)>; 440 }; 441 442 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 443 pinmux = <STM32_PINMUX('B', 4, AF10)>; 444 }; 445 446 /omit-if-no-ref/ tim8_bkin_pa0: tim8_bkin_pa0 { 447 pinmux = <STM32_PINMUX('A', 0, AF9)>; 448 }; 449 450 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 451 pinmux = <STM32_PINMUX('A', 6, AF4)>; 452 }; 453 454 /omit-if-no-ref/ tim8_bkin_pa10: tim8_bkin_pa10 { 455 pinmux = <STM32_PINMUX('A', 10, AF11)>; 456 }; 457 458 /omit-if-no-ref/ tim8_bkin2_pb6: tim8_bkin2_pb6 { 459 pinmux = <STM32_PINMUX('B', 6, AF10)>; 460 }; 461 462 /omit-if-no-ref/ tim8_bkin_pb7: tim8_bkin_pb7 { 463 pinmux = <STM32_PINMUX('B', 7, AF5)>; 464 }; 465 466 /* TIM_CH / TIM_CHN */ 467 468 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 469 pinmux = <STM32_PINMUX('A', 7, AF6)>; 470 }; 471 472 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 473 pinmux = <STM32_PINMUX('A', 8, AF6)>; 474 }; 475 476 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 477 pinmux = <STM32_PINMUX('A', 9, AF6)>; 478 }; 479 480 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 481 pinmux = <STM32_PINMUX('A', 10, AF6)>; 482 }; 483 484 /omit-if-no-ref/ tim1_ch1n_pa11: tim1_ch1n_pa11 { 485 pinmux = <STM32_PINMUX('A', 11, AF6)>; 486 }; 487 488 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 489 pinmux = <STM32_PINMUX('A', 11, AF11)>; 490 }; 491 492 /omit-if-no-ref/ tim1_ch2n_pa12: tim1_ch2n_pa12 { 493 pinmux = <STM32_PINMUX('A', 12, AF6)>; 494 }; 495 496 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 497 pinmux = <STM32_PINMUX('B', 0, AF6)>; 498 }; 499 500 /omit-if-no-ref/ tim1_ch3n_pf0: tim1_ch3n_pf0 { 501 pinmux = <STM32_PINMUX('F', 0, AF6)>; 502 }; 503 504 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 505 pinmux = <STM32_PINMUX('A', 0, AF1)>; 506 }; 507 508 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 509 pinmux = <STM32_PINMUX('A', 1, AF1)>; 510 }; 511 512 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 513 pinmux = <STM32_PINMUX('A', 2, AF1)>; 514 }; 515 516 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 517 pinmux = <STM32_PINMUX('A', 3, AF1)>; 518 }; 519 520 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 521 pinmux = <STM32_PINMUX('A', 5, AF1)>; 522 }; 523 524 /omit-if-no-ref/ tim2_ch3_pa9: tim2_ch3_pa9 { 525 pinmux = <STM32_PINMUX('A', 9, AF10)>; 526 }; 527 528 /omit-if-no-ref/ tim2_ch4_pa10: tim2_ch4_pa10 { 529 pinmux = <STM32_PINMUX('A', 10, AF10)>; 530 }; 531 532 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 533 pinmux = <STM32_PINMUX('A', 15, AF1)>; 534 }; 535 536 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 537 pinmux = <STM32_PINMUX('B', 3, AF1)>; 538 }; 539 540 /omit-if-no-ref/ tim3_ch2_pa4: tim3_ch2_pa4 { 541 pinmux = <STM32_PINMUX('A', 4, AF2)>; 542 }; 543 544 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 545 pinmux = <STM32_PINMUX('A', 6, AF2)>; 546 }; 547 548 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 549 pinmux = <STM32_PINMUX('A', 7, AF2)>; 550 }; 551 552 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 553 pinmux = <STM32_PINMUX('B', 0, AF2)>; 554 }; 555 556 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 557 pinmux = <STM32_PINMUX('B', 4, AF2)>; 558 }; 559 560 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 561 pinmux = <STM32_PINMUX('B', 5, AF2)>; 562 }; 563 564 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 565 pinmux = <STM32_PINMUX('B', 7, AF10)>; 566 }; 567 568 /omit-if-no-ref/ tim4_ch1_pa11: tim4_ch1_pa11 { 569 pinmux = <STM32_PINMUX('A', 11, AF10)>; 570 }; 571 572 /omit-if-no-ref/ tim4_ch2_pa12: tim4_ch2_pa12 { 573 pinmux = <STM32_PINMUX('A', 12, AF10)>; 574 }; 575 576 /omit-if-no-ref/ tim4_ch3_pa13: tim4_ch3_pa13 { 577 pinmux = <STM32_PINMUX('A', 13, AF10)>; 578 }; 579 580 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 581 pinmux = <STM32_PINMUX('B', 6, AF2)>; 582 }; 583 584 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 585 pinmux = <STM32_PINMUX('B', 7, AF2)>; 586 }; 587 588 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 589 pinmux = <STM32_PINMUX('B', 8, AF2)>; 590 }; 591 592 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 593 pinmux = <STM32_PINMUX('A', 1, AF9)>; 594 }; 595 596 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 597 pinmux = <STM32_PINMUX('A', 2, AF9)>; 598 }; 599 600 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 601 pinmux = <STM32_PINMUX('A', 3, AF9)>; 602 }; 603 604 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 605 pinmux = <STM32_PINMUX('A', 6, AF1)>; 606 }; 607 608 /omit-if-no-ref/ tim16_ch1_pa12: tim16_ch1_pa12 { 609 pinmux = <STM32_PINMUX('A', 12, AF1)>; 610 }; 611 612 /omit-if-no-ref/ tim16_ch1n_pa13: tim16_ch1n_pa13 { 613 pinmux = <STM32_PINMUX('A', 13, AF1)>; 614 }; 615 616 /omit-if-no-ref/ tim16_ch1_pb4: tim16_ch1_pb4 { 617 pinmux = <STM32_PINMUX('B', 4, AF1)>; 618 }; 619 620 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 621 pinmux = <STM32_PINMUX('B', 6, AF1)>; 622 }; 623 624 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 625 pinmux = <STM32_PINMUX('B', 8, AF1)>; 626 }; 627 628 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 629 pinmux = <STM32_PINMUX('A', 7, AF1)>; 630 }; 631 632 /omit-if-no-ref/ tim17_ch1_pb5: tim17_ch1_pb5 { 633 pinmux = <STM32_PINMUX('B', 5, AF10)>; 634 }; 635 636 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 637 pinmux = <STM32_PINMUX('B', 7, AF1)>; 638 }; 639 640 /omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 { 641 pinmux = <STM32_PINMUX('A', 7, AF4)>; 642 }; 643 644 /omit-if-no-ref/ tim8_ch2_pa14: tim8_ch2_pa14 { 645 pinmux = <STM32_PINMUX('A', 14, AF5)>; 646 }; 647 648 /omit-if-no-ref/ tim8_ch1_pa15: tim8_ch1_pa15 { 649 pinmux = <STM32_PINMUX('A', 15, AF2)>; 650 }; 651 652 /omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 { 653 pinmux = <STM32_PINMUX('B', 0, AF4)>; 654 }; 655 656 /omit-if-no-ref/ tim8_ch1n_pb3: tim8_ch1n_pb3 { 657 pinmux = <STM32_PINMUX('B', 3, AF4)>; 658 }; 659 660 /omit-if-no-ref/ tim8_ch2n_pb4: tim8_ch2n_pb4 { 661 pinmux = <STM32_PINMUX('B', 4, AF4)>; 662 }; 663 664 /omit-if-no-ref/ tim8_ch3n_pb5: tim8_ch3n_pb5 { 665 pinmux = <STM32_PINMUX('B', 5, AF3)>; 666 }; 667 668 /omit-if-no-ref/ tim8_ch1_pb6: tim8_ch1_pb6 { 669 pinmux = <STM32_PINMUX('B', 6, AF5)>; 670 }; 671 672 /omit-if-no-ref/ tim8_ch2_pb8: tim8_ch2_pb8 { 673 pinmux = <STM32_PINMUX('B', 8, AF10)>; 674 }; 675 676 /* UART_CTS / USART_CTS / LPUART_CTS */ 677 678 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 679 pinmux = <STM32_PINMUX('A', 6, AF12)>; 680 bias-pull-up; 681 drive-open-drain; 682 }; 683 684 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 685 pinmux = <STM32_PINMUX('A', 11, AF7)>; 686 bias-pull-up; 687 drive-open-drain; 688 }; 689 690 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 691 pinmux = <STM32_PINMUX('A', 0, AF7)>; 692 bias-pull-up; 693 drive-open-drain; 694 }; 695 696 /* UART_DE / USART_DE / LPUART_DE */ 697 698 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 699 pinmux = <STM32_PINMUX('A', 12, AF7)>; 700 drive-push-pull; 701 }; 702 703 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 704 pinmux = <STM32_PINMUX('A', 1, AF7)>; 705 drive-push-pull; 706 }; 707 708 /* UART_RTS / USART_RTS / LPUART_RTS */ 709 710 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 711 pinmux = <STM32_PINMUX('A', 12, AF7)>; 712 bias-pull-up; 713 drive-open-drain; 714 }; 715 716 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 717 pinmux = <STM32_PINMUX('A', 1, AF7)>; 718 bias-pull-up; 719 drive-open-drain; 720 }; 721 722 /* UART_RX / USART_RX / LPUART_RX */ 723 724 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 725 pinmux = <STM32_PINMUX('A', 3, AF12)>; 726 }; 727 728 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 729 pinmux = <STM32_PINMUX('A', 10, AF7)>; 730 }; 731 732 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 733 pinmux = <STM32_PINMUX('B', 7, AF7)>; 734 }; 735 736 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 737 pinmux = <STM32_PINMUX('A', 3, AF7)>; 738 }; 739 740 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 741 pinmux = <STM32_PINMUX('A', 15, AF7)>; 742 }; 743 744 /omit-if-no-ref/ usart2_rx_pb4: usart2_rx_pb4 { 745 pinmux = <STM32_PINMUX('B', 4, AF7)>; 746 }; 747 748 /* UART_TX / USART_TX / LPUART_TX */ 749 750 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 751 pinmux = <STM32_PINMUX('A', 2, AF12)>; 752 bias-pull-up; 753 }; 754 755 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 756 pinmux = <STM32_PINMUX('A', 9, AF7)>; 757 bias-pull-up; 758 }; 759 760 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 761 pinmux = <STM32_PINMUX('B', 6, AF7)>; 762 bias-pull-up; 763 }; 764 765 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 766 pinmux = <STM32_PINMUX('A', 2, AF7)>; 767 bias-pull-up; 768 }; 769 770 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 771 pinmux = <STM32_PINMUX('A', 14, AF7)>; 772 bias-pull-up; 773 }; 774 775 /omit-if-no-ref/ usart2_tx_pb3: usart2_tx_pb3 { 776 pinmux = <STM32_PINMUX('B', 3, AF7)>; 777 bias-pull-up; 778 }; 779 780 /* UCPD */ 781 782 /omit-if-no-ref/ ucpd1_cc2_pb4: ucpd1_cc2_pb4 { 783 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 784 }; 785 786 /omit-if-no-ref/ ucpd1_cc1_pb6: ucpd1_cc1_pb6 { 787 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 788 }; 789 790 /* USB */ 791 792 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 793 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 794 }; 795 796 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 797 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 798 }; 799 800 }; 801 }; 802};