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@50000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in8_pa8: adc1_in8_pa8 { 48 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in11_pa11: adc1_in11_pa11 { 52 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in12_pa12: adc1_in12_pa12 { 56 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc1_in13_pa13: adc1_in13_pa13 { 60 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc1_in14_pa14: adc1_in14_pa14 { 64 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc1_in17_pb0: adc1_in17_pb0 { 68 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in18_pb1: adc1_in18_pb1 { 72 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 73 }; 74 75 /* Analog */ 76 77 /omit-if-no-ref/ analog_pa0: analog_pa0 { 78 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa1: analog_pa1 { 82 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa2: analog_pa2 { 86 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa3: analog_pa3 { 90 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa4: analog_pa4 { 94 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa5: analog_pa5 { 98 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa6: analog_pa6 { 102 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa7: analog_pa7 { 106 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa8: analog_pa8 { 110 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa9: analog_pa9 { 114 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa10: analog_pa10 { 118 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa11: analog_pa11 { 122 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa12: analog_pa12 { 126 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa13: analog_pa13 { 130 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa14: analog_pa14 { 134 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa15: analog_pa15 { 138 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb0: analog_pb0 { 142 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb1: analog_pb1 { 146 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb3: analog_pb3 { 150 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb4: analog_pb4 { 154 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb5: analog_pb5 { 158 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb6: analog_pb6 { 162 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb7: analog_pb7 { 166 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb8: analog_pb8 { 170 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pc6: analog_pc6 { 174 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pc14: analog_pc14 { 178 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pc15: analog_pc15 { 182 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pf2: analog_pf2 { 186 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 187 }; 188 189 /* I2C_SCL */ 190 191 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 192 pinmux = <STM32_PINMUX('A', 9, AF6)>; 193 bias-pull-up; 194 drive-open-drain; 195 }; 196 197 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 198 pinmux = <STM32_PINMUX('B', 6, AF6)>; 199 bias-pull-up; 200 drive-open-drain; 201 }; 202 203 /omit-if-no-ref/ i2c1_scl_pb7: i2c1_scl_pb7 { 204 pinmux = <STM32_PINMUX('B', 7, AF14)>; 205 bias-pull-up; 206 drive-open-drain; 207 }; 208 209 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 210 pinmux = <STM32_PINMUX('B', 8, AF6)>; 211 bias-pull-up; 212 drive-open-drain; 213 }; 214 215 /* I2C_SDA */ 216 217 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 218 pinmux = <STM32_PINMUX('A', 10, AF6)>; 219 bias-pull-up; 220 drive-open-drain; 221 }; 222 223 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 224 pinmux = <STM32_PINMUX('B', 7, AF6)>; 225 bias-pull-up; 226 drive-open-drain; 227 }; 228 229 /omit-if-no-ref/ i2c1_sda_pc14: i2c1_sda_pc14 { 230 pinmux = <STM32_PINMUX('C', 14, AF14)>; 231 bias-pull-up; 232 drive-open-drain; 233 }; 234 235 /* I2S_CK */ 236 237 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 238 pinmux = <STM32_PINMUX('A', 1, AF0)>; 239 slew-rate = "very-high-speed"; 240 }; 241 242 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 243 pinmux = <STM32_PINMUX('A', 5, AF0)>; 244 slew-rate = "very-high-speed"; 245 }; 246 247 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 248 pinmux = <STM32_PINMUX('B', 3, AF0)>; 249 slew-rate = "very-high-speed"; 250 }; 251 252 /omit-if-no-ref/ i2s1_ck_pb6: i2s1_ck_pb6 { 253 pinmux = <STM32_PINMUX('B', 6, AF10)>; 254 slew-rate = "very-high-speed"; 255 }; 256 257 /* I2S_MCK */ 258 259 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 260 pinmux = <STM32_PINMUX('A', 6, AF0)>; 261 slew-rate = "very-high-speed"; 262 }; 263 264 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 265 pinmux = <STM32_PINMUX('A', 11, AF0)>; 266 slew-rate = "very-high-speed"; 267 }; 268 269 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 270 pinmux = <STM32_PINMUX('B', 4, AF0)>; 271 slew-rate = "very-high-speed"; 272 }; 273 274 /omit-if-no-ref/ i2s1_mck_pb6: i2s1_mck_pb6 { 275 pinmux = <STM32_PINMUX('B', 6, AF9)>; 276 slew-rate = "very-high-speed"; 277 }; 278 279 /* I2S_SD */ 280 281 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 282 pinmux = <STM32_PINMUX('A', 2, AF0)>; 283 }; 284 285 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 286 pinmux = <STM32_PINMUX('A', 7, AF0)>; 287 }; 288 289 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 290 pinmux = <STM32_PINMUX('A', 12, AF0)>; 291 }; 292 293 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 294 pinmux = <STM32_PINMUX('B', 5, AF0)>; 295 }; 296 297 /omit-if-no-ref/ i2s1_sd_pb6: i2s1_sd_pb6 { 298 pinmux = <STM32_PINMUX('B', 6, AF8)>; 299 }; 300 301 /* I2S_WS */ 302 303 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 304 pinmux = <STM32_PINMUX('A', 4, AF0)>; 305 }; 306 307 /omit-if-no-ref/ i2s1_ws_pa8: i2s1_ws_pa8 { 308 pinmux = <STM32_PINMUX('A', 8, AF8)>; 309 }; 310 311 /omit-if-no-ref/ i2s1_ws_pa14: i2s1_ws_pa14 { 312 pinmux = <STM32_PINMUX('A', 14, AF8)>; 313 }; 314 315 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 316 pinmux = <STM32_PINMUX('A', 15, AF0)>; 317 }; 318 319 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 320 pinmux = <STM32_PINMUX('B', 0, AF0)>; 321 }; 322 323 /* SPI_MISO */ 324 325 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 326 pinmux = <STM32_PINMUX('A', 6, AF0)>; 327 bias-pull-down; 328 }; 329 330 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 331 pinmux = <STM32_PINMUX('A', 11, AF0)>; 332 bias-pull-down; 333 }; 334 335 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 336 pinmux = <STM32_PINMUX('B', 4, AF0)>; 337 bias-pull-down; 338 }; 339 340 /omit-if-no-ref/ spi1_miso_pb6: spi1_miso_pb6 { 341 pinmux = <STM32_PINMUX('B', 6, AF9)>; 342 bias-pull-down; 343 }; 344 345 /* SPI_MOSI */ 346 347 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 348 pinmux = <STM32_PINMUX('A', 2, AF0)>; 349 bias-pull-down; 350 }; 351 352 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 353 pinmux = <STM32_PINMUX('A', 7, AF0)>; 354 bias-pull-down; 355 }; 356 357 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 358 pinmux = <STM32_PINMUX('A', 12, AF0)>; 359 bias-pull-down; 360 }; 361 362 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 363 pinmux = <STM32_PINMUX('B', 5, AF0)>; 364 bias-pull-down; 365 }; 366 367 /omit-if-no-ref/ spi1_mosi_pb6: spi1_mosi_pb6 { 368 pinmux = <STM32_PINMUX('B', 6, AF8)>; 369 bias-pull-down; 370 }; 371 372 /* SPI_NSS */ 373 374 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 375 pinmux = <STM32_PINMUX('A', 4, AF0)>; 376 bias-pull-up; 377 }; 378 379 /omit-if-no-ref/ spi1_nss_pa8: spi1_nss_pa8 { 380 pinmux = <STM32_PINMUX('A', 8, AF8)>; 381 bias-pull-up; 382 }; 383 384 /omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 { 385 pinmux = <STM32_PINMUX('A', 14, AF8)>; 386 bias-pull-up; 387 }; 388 389 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 390 pinmux = <STM32_PINMUX('A', 15, AF0)>; 391 bias-pull-up; 392 }; 393 394 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 395 pinmux = <STM32_PINMUX('B', 0, AF0)>; 396 bias-pull-up; 397 }; 398 399 /* SPI_SCK */ 400 401 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 402 pinmux = <STM32_PINMUX('A', 1, AF0)>; 403 bias-pull-down; 404 slew-rate = "very-high-speed"; 405 }; 406 407 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 408 pinmux = <STM32_PINMUX('A', 5, AF0)>; 409 bias-pull-down; 410 slew-rate = "very-high-speed"; 411 }; 412 413 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 414 pinmux = <STM32_PINMUX('B', 3, AF0)>; 415 bias-pull-down; 416 slew-rate = "very-high-speed"; 417 }; 418 419 /omit-if-no-ref/ spi1_sck_pb6: spi1_sck_pb6 { 420 pinmux = <STM32_PINMUX('B', 6, AF10)>; 421 bias-pull-down; 422 slew-rate = "very-high-speed"; 423 }; 424 425 /* TIM_BKIN */ 426 427 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 428 pinmux = <STM32_PINMUX('A', 6, AF2)>; 429 }; 430 431 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 432 pinmux = <STM32_PINMUX('A', 11, AF5)>; 433 }; 434 435 /omit-if-no-ref/ tim1_bkin2_pc14: tim1_bkin2_pc14 { 436 pinmux = <STM32_PINMUX('C', 14, AF2)>; 437 }; 438 439 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 440 pinmux = <STM32_PINMUX('B', 5, AF2)>; 441 }; 442 443 /omit-if-no-ref/ tim16_bkin_pb6: tim16_bkin_pb6 { 444 pinmux = <STM32_PINMUX('B', 6, AF14)>; 445 }; 446 447 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 448 pinmux = <STM32_PINMUX('A', 10, AF5)>; 449 }; 450 451 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 452 pinmux = <STM32_PINMUX('B', 4, AF5)>; 453 }; 454 455 /omit-if-no-ref/ tim17_bkin_pb6: tim17_bkin_pb6 { 456 pinmux = <STM32_PINMUX('B', 6, AF15)>; 457 }; 458 459 /* TIM_CH / TIM_CHN */ 460 461 /omit-if-no-ref/ tim1_ch1_pa0: tim1_ch1_pa0 { 462 pinmux = <STM32_PINMUX('A', 0, AF5)>; 463 }; 464 465 /omit-if-no-ref/ tim1_ch2_pa1: tim1_ch2_pa1 { 466 pinmux = <STM32_PINMUX('A', 1, AF5)>; 467 }; 468 469 /omit-if-no-ref/ tim1_ch3_pa2: tim1_ch3_pa2 { 470 pinmux = <STM32_PINMUX('A', 2, AF5)>; 471 }; 472 473 /omit-if-no-ref/ tim1_ch1n_pa3: tim1_ch1n_pa3 { 474 pinmux = <STM32_PINMUX('A', 3, AF2)>; 475 }; 476 477 /omit-if-no-ref/ tim1_ch4_pa3: tim1_ch4_pa3 { 478 pinmux = <STM32_PINMUX('A', 3, AF5)>; 479 }; 480 481 /omit-if-no-ref/ tim1_ch2n_pa4: tim1_ch2n_pa4 { 482 pinmux = <STM32_PINMUX('A', 4, AF2)>; 483 }; 484 485 /omit-if-no-ref/ tim1_ch1_pa5: tim1_ch1_pa5 { 486 pinmux = <STM32_PINMUX('A', 5, AF5)>; 487 }; 488 489 /omit-if-no-ref/ tim1_ch3n_pa5: tim1_ch3n_pa5 { 490 pinmux = <STM32_PINMUX('A', 5, AF2)>; 491 }; 492 493 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 494 pinmux = <STM32_PINMUX('A', 7, AF2)>; 495 }; 496 497 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 498 pinmux = <STM32_PINMUX('A', 8, AF2)>; 499 }; 500 501 /omit-if-no-ref/ tim1_ch2n_pa8: tim1_ch2n_pa8 { 502 pinmux = <STM32_PINMUX('A', 8, AF9)>; 503 }; 504 505 /omit-if-no-ref/ tim1_ch3n_pa8: tim1_ch3n_pa8 { 506 pinmux = <STM32_PINMUX('A', 8, AF10)>; 507 }; 508 509 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 510 pinmux = <STM32_PINMUX('A', 9, AF2)>; 511 }; 512 513 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 514 pinmux = <STM32_PINMUX('A', 10, AF2)>; 515 }; 516 517 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 518 pinmux = <STM32_PINMUX('A', 11, AF2)>; 519 }; 520 521 /omit-if-no-ref/ tim1_ch1_pa14: tim1_ch1_pa14 { 522 pinmux = <STM32_PINMUX('A', 14, AF10)>; 523 }; 524 525 /omit-if-no-ref/ tim1_ch1_pa15: tim1_ch1_pa15 { 526 pinmux = <STM32_PINMUX('A', 15, AF2)>; 527 }; 528 529 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 530 pinmux = <STM32_PINMUX('B', 0, AF2)>; 531 }; 532 533 /omit-if-no-ref/ tim1_ch2n_pb1: tim1_ch2n_pb1 { 534 pinmux = <STM32_PINMUX('B', 1, AF5)>; 535 }; 536 537 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 538 pinmux = <STM32_PINMUX('B', 1, AF2)>; 539 }; 540 541 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 542 pinmux = <STM32_PINMUX('B', 3, AF1)>; 543 }; 544 545 /omit-if-no-ref/ tim1_ch2_pb6: tim1_ch2_pb6 { 546 pinmux = <STM32_PINMUX('B', 6, AF11)>; 547 }; 548 549 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 550 pinmux = <STM32_PINMUX('B', 6, AF1)>; 551 }; 552 553 /omit-if-no-ref/ tim1_ch4_pb7: tim1_ch4_pb7 { 554 pinmux = <STM32_PINMUX('B', 7, AF1)>; 555 }; 556 557 /omit-if-no-ref/ tim1_ch4_pf2: tim1_ch4_pf2 { 558 pinmux = <STM32_PINMUX('F', 2, AF1)>; 559 }; 560 561 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 562 pinmux = <STM32_PINMUX('A', 6, AF1)>; 563 }; 564 565 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 566 pinmux = <STM32_PINMUX('A', 7, AF1)>; 567 }; 568 569 /omit-if-no-ref/ tim3_ch3_pa8: tim3_ch3_pa8 { 570 pinmux = <STM32_PINMUX('A', 8, AF11)>; 571 }; 572 573 /omit-if-no-ref/ tim3_ch4_pa8: tim3_ch4_pa8 { 574 pinmux = <STM32_PINMUX('A', 8, AF12)>; 575 }; 576 577 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 578 pinmux = <STM32_PINMUX('B', 0, AF1)>; 579 }; 580 581 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 582 pinmux = <STM32_PINMUX('B', 1, AF1)>; 583 }; 584 585 /omit-if-no-ref/ tim3_ch2_pb3: tim3_ch2_pb3 { 586 pinmux = <STM32_PINMUX('B', 3, AF3)>; 587 }; 588 589 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 590 pinmux = <STM32_PINMUX('B', 4, AF1)>; 591 }; 592 593 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 594 pinmux = <STM32_PINMUX('B', 5, AF1)>; 595 }; 596 597 /omit-if-no-ref/ tim3_ch3_pb5: tim3_ch3_pb5 { 598 pinmux = <STM32_PINMUX('B', 5, AF3)>; 599 }; 600 601 /omit-if-no-ref/ tim3_ch1_pb6: tim3_ch1_pb6 { 602 pinmux = <STM32_PINMUX('B', 6, AF12)>; 603 }; 604 605 /omit-if-no-ref/ tim3_ch2_pb6: tim3_ch2_pb6 { 606 pinmux = <STM32_PINMUX('B', 6, AF13)>; 607 }; 608 609 /omit-if-no-ref/ tim3_ch3_pb6: tim3_ch3_pb6 { 610 pinmux = <STM32_PINMUX('B', 6, AF3)>; 611 }; 612 613 /omit-if-no-ref/ tim3_ch1_pb7: tim3_ch1_pb7 { 614 pinmux = <STM32_PINMUX('B', 7, AF11)>; 615 }; 616 617 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 618 pinmux = <STM32_PINMUX('B', 7, AF3)>; 619 }; 620 621 /omit-if-no-ref/ tim3_ch1_pb8: tim3_ch1_pb8 { 622 pinmux = <STM32_PINMUX('B', 8, AF3)>; 623 }; 624 625 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 626 pinmux = <STM32_PINMUX('C', 6, AF1)>; 627 }; 628 629 /omit-if-no-ref/ tim3_ch2_pc14: tim3_ch2_pc14 { 630 pinmux = <STM32_PINMUX('C', 14, AF11)>; 631 }; 632 633 /omit-if-no-ref/ tim3_ch3_pc15: tim3_ch3_pc15 { 634 pinmux = <STM32_PINMUX('C', 15, AF3)>; 635 }; 636 637 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 638 pinmux = <STM32_PINMUX('A', 4, AF4)>; 639 }; 640 641 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 642 pinmux = <STM32_PINMUX('A', 7, AF4)>; 643 }; 644 645 /omit-if-no-ref/ tim14_ch1_pa8: tim14_ch1_pa8 { 646 pinmux = <STM32_PINMUX('A', 8, AF13)>; 647 }; 648 649 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 650 pinmux = <STM32_PINMUX('B', 1, AF0)>; 651 }; 652 653 /omit-if-no-ref/ tim16_ch1_pa0: tim16_ch1_pa0 { 654 pinmux = <STM32_PINMUX('A', 0, AF2)>; 655 }; 656 657 /omit-if-no-ref/ tim16_ch1n_pa2: tim16_ch1n_pa2 { 658 pinmux = <STM32_PINMUX('A', 2, AF2)>; 659 }; 660 661 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 662 pinmux = <STM32_PINMUX('A', 6, AF5)>; 663 }; 664 665 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 666 pinmux = <STM32_PINMUX('B', 6, AF2)>; 667 }; 668 669 /omit-if-no-ref/ tim16_ch1_pb7: tim16_ch1_pb7 { 670 pinmux = <STM32_PINMUX('B', 7, AF10)>; 671 }; 672 673 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 674 pinmux = <STM32_PINMUX('B', 8, AF2)>; 675 }; 676 677 /omit-if-no-ref/ tim17_ch1_pa1: tim17_ch1_pa1 { 678 pinmux = <STM32_PINMUX('A', 1, AF2)>; 679 }; 680 681 /omit-if-no-ref/ tim17_ch1n_pa4: tim17_ch1n_pa4 { 682 pinmux = <STM32_PINMUX('A', 4, AF5)>; 683 }; 684 685 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 686 pinmux = <STM32_PINMUX('A', 7, AF5)>; 687 }; 688 689 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 690 pinmux = <STM32_PINMUX('B', 7, AF2)>; 691 }; 692 693 /omit-if-no-ref/ tim17_ch1_pc14: tim17_ch1_pc14 { 694 pinmux = <STM32_PINMUX('C', 14, AF10)>; 695 }; 696 697 /* UART_CTS / USART_CTS / LPUART_CTS */ 698 699 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 700 pinmux = <STM32_PINMUX('A', 11, AF1)>; 701 bias-pull-up; 702 drive-open-drain; 703 }; 704 705 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 706 pinmux = <STM32_PINMUX('B', 4, AF4)>; 707 bias-pull-up; 708 drive-open-drain; 709 }; 710 711 /omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 { 712 pinmux = <STM32_PINMUX('B', 6, AF5)>; 713 bias-pull-up; 714 drive-open-drain; 715 }; 716 717 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 718 pinmux = <STM32_PINMUX('A', 0, AF1)>; 719 bias-pull-up; 720 drive-open-drain; 721 }; 722 723 /omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 { 724 pinmux = <STM32_PINMUX('B', 7, AF9)>; 725 bias-pull-up; 726 drive-open-drain; 727 }; 728 729 /omit-if-no-ref/ usart2_cts_pb8: usart2_cts_pb8 { 730 pinmux = <STM32_PINMUX('B', 8, AF1)>; 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, AF1)>; 739 drive-push-pull; 740 }; 741 742 /omit-if-no-ref/ usart1_de_pa14: usart1_de_pa14 { 743 pinmux = <STM32_PINMUX('A', 14, AF12)>; 744 drive-push-pull; 745 }; 746 747 /omit-if-no-ref/ usart1_de_pa15: usart1_de_pa15 { 748 pinmux = <STM32_PINMUX('A', 15, AF4)>; 749 drive-push-pull; 750 }; 751 752 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 753 pinmux = <STM32_PINMUX('B', 3, AF4)>; 754 drive-push-pull; 755 }; 756 757 /omit-if-no-ref/ usart1_de_pb6: usart1_de_pb6 { 758 pinmux = <STM32_PINMUX('B', 6, AF4)>; 759 drive-push-pull; 760 }; 761 762 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 763 pinmux = <STM32_PINMUX('A', 1, AF1)>; 764 drive-push-pull; 765 }; 766 767 /omit-if-no-ref/ usart2_de_pc14: usart2_de_pc14 { 768 pinmux = <STM32_PINMUX('C', 14, AF9)>; 769 drive-push-pull; 770 }; 771 772 /* UART_RTS / USART_RTS / LPUART_RTS */ 773 774 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 775 pinmux = <STM32_PINMUX('A', 12, AF1)>; 776 bias-pull-up; 777 drive-open-drain; 778 }; 779 780 /omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 { 781 pinmux = <STM32_PINMUX('A', 14, AF12)>; 782 bias-pull-up; 783 drive-open-drain; 784 }; 785 786 /omit-if-no-ref/ usart1_rts_pa15: usart1_rts_pa15 { 787 pinmux = <STM32_PINMUX('A', 15, AF4)>; 788 bias-pull-up; 789 drive-open-drain; 790 }; 791 792 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 793 pinmux = <STM32_PINMUX('B', 3, AF4)>; 794 bias-pull-up; 795 drive-open-drain; 796 }; 797 798 /omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 { 799 pinmux = <STM32_PINMUX('B', 6, AF4)>; 800 bias-pull-up; 801 drive-open-drain; 802 }; 803 804 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 805 pinmux = <STM32_PINMUX('A', 1, AF1)>; 806 bias-pull-up; 807 drive-open-drain; 808 }; 809 810 /omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 { 811 pinmux = <STM32_PINMUX('C', 14, AF9)>; 812 bias-pull-up; 813 drive-open-drain; 814 }; 815 816 /* UART_RX / USART_RX / LPUART_RX */ 817 818 /omit-if-no-ref/ usart1_rx_pa1: usart1_rx_pa1 { 819 pinmux = <STM32_PINMUX('A', 1, AF4)>; 820 }; 821 822 /omit-if-no-ref/ usart1_rx_pa8: usart1_rx_pa8 { 823 pinmux = <STM32_PINMUX('A', 8, AF14)>; 824 }; 825 826 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 827 pinmux = <STM32_PINMUX('A', 10, AF1)>; 828 }; 829 830 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 831 pinmux = <STM32_PINMUX('B', 7, AF0)>; 832 }; 833 834 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 835 pinmux = <STM32_PINMUX('A', 3, AF1)>; 836 }; 837 838 /omit-if-no-ref/ usart2_rx_pa5: usart2_rx_pa5 { 839 pinmux = <STM32_PINMUX('A', 5, AF1)>; 840 }; 841 842 /omit-if-no-ref/ usart2_rx_pa13: usart2_rx_pa13 { 843 pinmux = <STM32_PINMUX('A', 13, AF4)>; 844 }; 845 846 /omit-if-no-ref/ usart2_rx_pa14: usart2_rx_pa14 { 847 pinmux = <STM32_PINMUX('A', 14, AF9)>; 848 }; 849 850 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 851 pinmux = <STM32_PINMUX('A', 15, AF1)>; 852 }; 853 854 /* UART_TX / USART_TX / LPUART_TX */ 855 856 /omit-if-no-ref/ usart1_tx_pa0: usart1_tx_pa0 { 857 pinmux = <STM32_PINMUX('A', 0, AF4)>; 858 bias-pull-up; 859 }; 860 861 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 862 pinmux = <STM32_PINMUX('A', 9, AF1)>; 863 bias-pull-up; 864 }; 865 866 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 867 pinmux = <STM32_PINMUX('B', 6, AF0)>; 868 bias-pull-up; 869 }; 870 871 /omit-if-no-ref/ usart1_tx_pc14: usart1_tx_pc14 { 872 pinmux = <STM32_PINMUX('C', 14, AF0)>; 873 bias-pull-up; 874 }; 875 876 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 877 pinmux = <STM32_PINMUX('A', 2, AF1)>; 878 bias-pull-up; 879 }; 880 881 /omit-if-no-ref/ usart2_tx_pa4: usart2_tx_pa4 { 882 pinmux = <STM32_PINMUX('A', 4, AF1)>; 883 bias-pull-up; 884 }; 885 886 /omit-if-no-ref/ usart2_tx_pa8: usart2_tx_pa8 { 887 pinmux = <STM32_PINMUX('A', 8, AF1)>; 888 bias-pull-up; 889 }; 890 891 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 892 pinmux = <STM32_PINMUX('A', 14, AF1)>; 893 bias-pull-up; 894 }; 895 896 }; 897 }; 898};