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_pb0: adc1_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in9_pb1: adc1_in9_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in10_pb2: adc1_in10_pb2 { 56 pinmux = <STM32_PINMUX('B', 2, 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_pb2: analog_pb2 { 134 pinmux = <STM32_PINMUX('B', 2, 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_pb9: analog_pb9 { 162 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pc6: analog_pc6 { 166 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pc14: analog_pc14 { 170 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pc15: analog_pc15 { 174 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pf2: analog_pf2 { 178 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 179 }; 180 181 /* DAC_OUT */ 182 183 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 184 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 185 }; 186 187 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 188 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 189 }; 190 191 /* I2C_SCL */ 192 193 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 194 pinmux = <STM32_PINMUX('A', 9, AF6)>; 195 bias-pull-up; 196 drive-open-drain; 197 }; 198 199 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 200 pinmux = <STM32_PINMUX('B', 6, AF6)>; 201 bias-pull-up; 202 drive-open-drain; 203 }; 204 205 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 206 pinmux = <STM32_PINMUX('B', 8, AF6)>; 207 bias-pull-up; 208 drive-open-drain; 209 }; 210 211 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 212 pinmux = <STM32_PINMUX('A', 11, AF6)>; 213 bias-pull-up; 214 drive-open-drain; 215 }; 216 217 /* I2C_SDA */ 218 219 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 220 pinmux = <STM32_PINMUX('A', 10, AF6)>; 221 bias-pull-up; 222 drive-open-drain; 223 }; 224 225 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 226 pinmux = <STM32_PINMUX('B', 7, AF6)>; 227 bias-pull-up; 228 drive-open-drain; 229 }; 230 231 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 232 pinmux = <STM32_PINMUX('B', 9, AF6)>; 233 bias-pull-up; 234 drive-open-drain; 235 }; 236 237 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 238 pinmux = <STM32_PINMUX('A', 12, AF6)>; 239 bias-pull-up; 240 drive-open-drain; 241 }; 242 243 /* I2S_CK */ 244 245 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 246 pinmux = <STM32_PINMUX('A', 1, AF0)>; 247 slew-rate = "very-high-speed"; 248 }; 249 250 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 251 pinmux = <STM32_PINMUX('A', 5, AF0)>; 252 slew-rate = "very-high-speed"; 253 }; 254 255 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 256 pinmux = <STM32_PINMUX('B', 3, AF0)>; 257 slew-rate = "very-high-speed"; 258 }; 259 260 /* I2S_MCK */ 261 262 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 263 pinmux = <STM32_PINMUX('A', 6, AF0)>; 264 slew-rate = "very-high-speed"; 265 }; 266 267 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 268 pinmux = <STM32_PINMUX('A', 11, AF0)>; 269 slew-rate = "very-high-speed"; 270 }; 271 272 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 273 pinmux = <STM32_PINMUX('B', 4, AF0)>; 274 slew-rate = "very-high-speed"; 275 }; 276 277 /* I2S_SD */ 278 279 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 280 pinmux = <STM32_PINMUX('A', 2, AF0)>; 281 }; 282 283 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 284 pinmux = <STM32_PINMUX('A', 7, AF0)>; 285 }; 286 287 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 288 pinmux = <STM32_PINMUX('A', 12, AF0)>; 289 }; 290 291 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 292 pinmux = <STM32_PINMUX('B', 5, AF0)>; 293 }; 294 295 /* I2S_WS */ 296 297 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 298 pinmux = <STM32_PINMUX('A', 4, AF0)>; 299 }; 300 301 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 302 pinmux = <STM32_PINMUX('A', 15, AF0)>; 303 }; 304 305 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 306 pinmux = <STM32_PINMUX('B', 0, AF0)>; 307 }; 308 309 /* SPI_MISO */ 310 311 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 312 pinmux = <STM32_PINMUX('A', 6, AF0)>; 313 bias-pull-down; 314 }; 315 316 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 317 pinmux = <STM32_PINMUX('A', 11, AF0)>; 318 bias-pull-down; 319 }; 320 321 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 322 pinmux = <STM32_PINMUX('B', 4, AF0)>; 323 bias-pull-down; 324 }; 325 326 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 327 pinmux = <STM32_PINMUX('A', 3, AF0)>; 328 bias-pull-down; 329 }; 330 331 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 332 pinmux = <STM32_PINMUX('A', 9, AF4)>; 333 bias-pull-down; 334 }; 335 336 /omit-if-no-ref/ spi2_miso_pb2: spi2_miso_pb2 { 337 pinmux = <STM32_PINMUX('B', 2, AF1)>; 338 bias-pull-down; 339 }; 340 341 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 342 pinmux = <STM32_PINMUX('B', 6, AF4)>; 343 bias-pull-down; 344 }; 345 346 /* SPI_MOSI */ 347 348 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 349 pinmux = <STM32_PINMUX('A', 2, AF0)>; 350 bias-pull-down; 351 }; 352 353 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 354 pinmux = <STM32_PINMUX('A', 7, AF0)>; 355 bias-pull-down; 356 }; 357 358 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 359 pinmux = <STM32_PINMUX('A', 12, AF0)>; 360 bias-pull-down; 361 }; 362 363 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 364 pinmux = <STM32_PINMUX('B', 5, AF0)>; 365 bias-pull-down; 366 }; 367 368 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 369 pinmux = <STM32_PINMUX('A', 4, AF1)>; 370 bias-pull-down; 371 }; 372 373 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 374 pinmux = <STM32_PINMUX('A', 10, AF0)>; 375 bias-pull-down; 376 }; 377 378 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 379 pinmux = <STM32_PINMUX('B', 7, AF1)>; 380 bias-pull-down; 381 }; 382 383 /* SPI_NSS */ 384 385 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 386 pinmux = <STM32_PINMUX('A', 4, AF0)>; 387 bias-pull-up; 388 }; 389 390 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 391 pinmux = <STM32_PINMUX('A', 15, AF0)>; 392 bias-pull-up; 393 }; 394 395 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 396 pinmux = <STM32_PINMUX('B', 0, AF0)>; 397 bias-pull-up; 398 }; 399 400 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 401 pinmux = <STM32_PINMUX('A', 8, AF1)>; 402 bias-pull-up; 403 }; 404 405 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 406 pinmux = <STM32_PINMUX('B', 9, AF5)>; 407 bias-pull-up; 408 }; 409 410 /* SPI_SCK */ 411 412 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 413 pinmux = <STM32_PINMUX('A', 1, AF0)>; 414 bias-pull-down; 415 slew-rate = "very-high-speed"; 416 }; 417 418 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 419 pinmux = <STM32_PINMUX('A', 5, AF0)>; 420 bias-pull-down; 421 slew-rate = "very-high-speed"; 422 }; 423 424 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 425 pinmux = <STM32_PINMUX('B', 3, AF0)>; 426 bias-pull-down; 427 slew-rate = "very-high-speed"; 428 }; 429 430 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 431 pinmux = <STM32_PINMUX('A', 0, AF0)>; 432 bias-pull-down; 433 slew-rate = "very-high-speed"; 434 }; 435 436 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 437 pinmux = <STM32_PINMUX('B', 8, AF1)>; 438 bias-pull-down; 439 slew-rate = "very-high-speed"; 440 }; 441 442 /* TIM_CH / TIM_CHN */ 443 444 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 445 pinmux = <STM32_PINMUX('A', 7, AF2)>; 446 }; 447 448 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 449 pinmux = <STM32_PINMUX('A', 8, AF2)>; 450 }; 451 452 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 453 pinmux = <STM32_PINMUX('A', 9, AF2)>; 454 }; 455 456 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 457 pinmux = <STM32_PINMUX('A', 10, AF2)>; 458 }; 459 460 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 461 pinmux = <STM32_PINMUX('A', 11, AF2)>; 462 }; 463 464 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 465 pinmux = <STM32_PINMUX('B', 0, AF2)>; 466 }; 467 468 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 469 pinmux = <STM32_PINMUX('B', 1, AF2)>; 470 }; 471 472 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 473 pinmux = <STM32_PINMUX('B', 3, AF1)>; 474 }; 475 476 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 477 pinmux = <STM32_PINMUX('B', 6, AF1)>; 478 }; 479 480 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 481 pinmux = <STM32_PINMUX('A', 0, AF2)>; 482 }; 483 484 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 485 pinmux = <STM32_PINMUX('A', 1, AF2)>; 486 }; 487 488 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 489 pinmux = <STM32_PINMUX('A', 2, AF2)>; 490 }; 491 492 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 493 pinmux = <STM32_PINMUX('A', 3, AF2)>; 494 }; 495 496 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 497 pinmux = <STM32_PINMUX('A', 5, AF2)>; 498 }; 499 500 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 501 pinmux = <STM32_PINMUX('A', 15, AF2)>; 502 }; 503 504 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 505 pinmux = <STM32_PINMUX('B', 3, AF2)>; 506 }; 507 508 /omit-if-no-ref/ tim2_ch3_pc6: tim2_ch3_pc6 { 509 pinmux = <STM32_PINMUX('C', 6, AF2)>; 510 }; 511 512 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 513 pinmux = <STM32_PINMUX('A', 6, AF1)>; 514 }; 515 516 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 517 pinmux = <STM32_PINMUX('A', 7, AF1)>; 518 }; 519 520 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 521 pinmux = <STM32_PINMUX('B', 0, AF1)>; 522 }; 523 524 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 525 pinmux = <STM32_PINMUX('B', 1, AF1)>; 526 }; 527 528 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 529 pinmux = <STM32_PINMUX('B', 4, AF1)>; 530 }; 531 532 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 533 pinmux = <STM32_PINMUX('B', 5, AF1)>; 534 }; 535 536 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 537 pinmux = <STM32_PINMUX('C', 6, AF1)>; 538 }; 539 540 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 541 pinmux = <STM32_PINMUX('A', 4, AF4)>; 542 }; 543 544 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 545 pinmux = <STM32_PINMUX('A', 7, AF4)>; 546 }; 547 548 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 549 pinmux = <STM32_PINMUX('B', 1, AF0)>; 550 }; 551 552 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 553 pinmux = <STM32_PINMUX('A', 1, AF5)>; 554 }; 555 556 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 557 pinmux = <STM32_PINMUX('A', 2, AF5)>; 558 }; 559 560 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 561 pinmux = <STM32_PINMUX('A', 3, AF5)>; 562 }; 563 564 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 565 pinmux = <STM32_PINMUX('A', 6, AF5)>; 566 }; 567 568 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 569 pinmux = <STM32_PINMUX('B', 6, AF2)>; 570 }; 571 572 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 573 pinmux = <STM32_PINMUX('B', 8, AF2)>; 574 }; 575 576 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 577 pinmux = <STM32_PINMUX('A', 7, AF5)>; 578 }; 579 580 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 581 pinmux = <STM32_PINMUX('B', 7, AF2)>; 582 }; 583 584 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 585 pinmux = <STM32_PINMUX('B', 9, AF2)>; 586 }; 587 588 /* UART_CTS / USART_CTS / LPUART_CTS */ 589 590 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 591 pinmux = <STM32_PINMUX('A', 6, AF6)>; 592 bias-pull-up; 593 drive-open-drain; 594 }; 595 596 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 597 pinmux = <STM32_PINMUX('A', 11, AF1)>; 598 bias-pull-up; 599 drive-open-drain; 600 }; 601 602 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 603 pinmux = <STM32_PINMUX('B', 4, AF4)>; 604 bias-pull-up; 605 drive-open-drain; 606 }; 607 608 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 609 pinmux = <STM32_PINMUX('A', 0, AF1)>; 610 bias-pull-up; 611 drive-open-drain; 612 }; 613 614 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 615 pinmux = <STM32_PINMUX('A', 6, AF4)>; 616 bias-pull-up; 617 drive-open-drain; 618 }; 619 620 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 621 pinmux = <STM32_PINMUX('B', 7, AF4)>; 622 bias-pull-up; 623 drive-open-drain; 624 }; 625 626 /* UART_DE / USART_DE / LPUART_DE */ 627 628 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 629 pinmux = <STM32_PINMUX('A', 12, AF1)>; 630 drive-push-pull; 631 }; 632 633 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 634 pinmux = <STM32_PINMUX('B', 1, AF6)>; 635 drive-push-pull; 636 }; 637 638 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 639 pinmux = <STM32_PINMUX('B', 3, AF4)>; 640 drive-push-pull; 641 }; 642 643 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 644 pinmux = <STM32_PINMUX('A', 1, AF1)>; 645 drive-push-pull; 646 }; 647 648 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 649 pinmux = <STM32_PINMUX('A', 15, AF5)>; 650 drive-push-pull; 651 }; 652 653 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 654 pinmux = <STM32_PINMUX('B', 1, AF4)>; 655 drive-push-pull; 656 }; 657 658 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 659 pinmux = <STM32_PINMUX('A', 15, AF4)>; 660 drive-push-pull; 661 }; 662 663 /* UART_RTS / USART_RTS / LPUART_RTS */ 664 665 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 666 pinmux = <STM32_PINMUX('A', 12, AF1)>; 667 bias-pull-up; 668 drive-open-drain; 669 }; 670 671 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 672 pinmux = <STM32_PINMUX('B', 1, AF6)>; 673 bias-pull-up; 674 drive-open-drain; 675 }; 676 677 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 678 pinmux = <STM32_PINMUX('B', 3, AF4)>; 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, AF1)>; 685 bias-pull-up; 686 drive-open-drain; 687 }; 688 689 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 690 pinmux = <STM32_PINMUX('A', 15, AF5)>; 691 bias-pull-up; 692 drive-open-drain; 693 }; 694 695 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 696 pinmux = <STM32_PINMUX('B', 1, AF4)>; 697 bias-pull-up; 698 drive-open-drain; 699 }; 700 701 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 702 pinmux = <STM32_PINMUX('A', 15, AF4)>; 703 bias-pull-up; 704 drive-open-drain; 705 }; 706 707 /* UART_RX / USART_RX / LPUART_RX */ 708 709 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 710 pinmux = <STM32_PINMUX('A', 3, AF6)>; 711 }; 712 713 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 714 pinmux = <STM32_PINMUX('A', 10, AF1)>; 715 }; 716 717 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 718 pinmux = <STM32_PINMUX('B', 7, AF0)>; 719 }; 720 721 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 722 pinmux = <STM32_PINMUX('A', 3, AF1)>; 723 }; 724 725 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 726 pinmux = <STM32_PINMUX('A', 15, AF1)>; 727 }; 728 729 /omit-if-no-ref/ usart3_rx_pb0: usart3_rx_pb0 { 730 pinmux = <STM32_PINMUX('B', 0, AF4)>; 731 }; 732 733 /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { 734 pinmux = <STM32_PINMUX('B', 9, AF4)>; 735 }; 736 737 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 738 pinmux = <STM32_PINMUX('A', 1, AF4)>; 739 }; 740 741 /* UART_TX / USART_TX / LPUART_TX */ 742 743 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 744 pinmux = <STM32_PINMUX('A', 2, AF6)>; 745 bias-pull-up; 746 }; 747 748 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 749 pinmux = <STM32_PINMUX('A', 9, AF1)>; 750 bias-pull-up; 751 }; 752 753 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 754 pinmux = <STM32_PINMUX('B', 6, AF0)>; 755 bias-pull-up; 756 }; 757 758 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 759 pinmux = <STM32_PINMUX('A', 2, AF1)>; 760 bias-pull-up; 761 }; 762 763 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 764 pinmux = <STM32_PINMUX('A', 14, AF1)>; 765 bias-pull-up; 766 }; 767 768 /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { 769 pinmux = <STM32_PINMUX('A', 5, AF4)>; 770 bias-pull-up; 771 }; 772 773 /omit-if-no-ref/ usart3_tx_pb2: usart3_tx_pb2 { 774 pinmux = <STM32_PINMUX('B', 2, AF4)>; 775 bias-pull-up; 776 }; 777 778 /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { 779 pinmux = <STM32_PINMUX('B', 8, AF4)>; 780 bias-pull-up; 781 }; 782 783 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 784 pinmux = <STM32_PINMUX('A', 0, AF4)>; 785 bias-pull-up; 786 }; 787 788 /* UCPD */ 789 790 /omit-if-no-ref/ ucpd1_cc1_pa8: ucpd1_cc1_pa8 { 791 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 792 }; 793 794 }; 795 }; 796};