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