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 /* 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_pb6: analog_pb6 { 130 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb7: analog_pb7 { 134 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pc14: analog_pc14 { 138 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pc15: analog_pc15 { 142 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pf2: analog_pf2 { 146 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 147 }; 148 149 /* I2C_SCL */ 150 151 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 152 pinmux = <STM32_PINMUX('A', 9, AF6)>; 153 bias-pull-up; 154 drive-open-drain; 155 }; 156 157 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 158 pinmux = <STM32_PINMUX('B', 6, AF6)>; 159 bias-pull-up; 160 drive-open-drain; 161 }; 162 163 /omit-if-no-ref/ i2c1_scl_pb7: i2c1_scl_pb7 { 164 pinmux = <STM32_PINMUX('B', 7, AF14)>; 165 bias-pull-up; 166 drive-open-drain; 167 }; 168 169 /* I2C_SDA */ 170 171 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 172 pinmux = <STM32_PINMUX('A', 10, AF6)>; 173 bias-pull-up; 174 drive-open-drain; 175 }; 176 177 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 178 pinmux = <STM32_PINMUX('B', 7, AF6)>; 179 bias-pull-up; 180 drive-open-drain; 181 }; 182 183 /omit-if-no-ref/ i2c1_sda_pc14: i2c1_sda_pc14 { 184 pinmux = <STM32_PINMUX('C', 14, AF14)>; 185 bias-pull-up; 186 drive-open-drain; 187 }; 188 189 /* I2S_CK */ 190 191 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 192 pinmux = <STM32_PINMUX('A', 1, AF0)>; 193 slew-rate = "very-high-speed"; 194 }; 195 196 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 197 pinmux = <STM32_PINMUX('A', 5, AF0)>; 198 slew-rate = "very-high-speed"; 199 }; 200 201 /omit-if-no-ref/ i2s1_ck_pb6: i2s1_ck_pb6 { 202 pinmux = <STM32_PINMUX('B', 6, AF10)>; 203 slew-rate = "very-high-speed"; 204 }; 205 206 /* I2S_MCK */ 207 208 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 209 pinmux = <STM32_PINMUX('A', 6, AF0)>; 210 slew-rate = "very-high-speed"; 211 }; 212 213 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 214 pinmux = <STM32_PINMUX('A', 11, AF0)>; 215 slew-rate = "very-high-speed"; 216 }; 217 218 /omit-if-no-ref/ i2s1_mck_pb6: i2s1_mck_pb6 { 219 pinmux = <STM32_PINMUX('B', 6, AF9)>; 220 slew-rate = "very-high-speed"; 221 }; 222 223 /* I2S_SD */ 224 225 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 226 pinmux = <STM32_PINMUX('A', 2, AF0)>; 227 }; 228 229 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 230 pinmux = <STM32_PINMUX('A', 7, AF0)>; 231 }; 232 233 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 234 pinmux = <STM32_PINMUX('A', 12, AF0)>; 235 }; 236 237 /omit-if-no-ref/ i2s1_sd_pb6: i2s1_sd_pb6 { 238 pinmux = <STM32_PINMUX('B', 6, AF8)>; 239 }; 240 241 /* I2S_WS */ 242 243 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 244 pinmux = <STM32_PINMUX('A', 4, AF0)>; 245 }; 246 247 /omit-if-no-ref/ i2s1_ws_pa8: i2s1_ws_pa8 { 248 pinmux = <STM32_PINMUX('A', 8, AF8)>; 249 }; 250 251 /omit-if-no-ref/ i2s1_ws_pa14: i2s1_ws_pa14 { 252 pinmux = <STM32_PINMUX('A', 14, AF8)>; 253 }; 254 255 /* SPI_MISO */ 256 257 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 258 pinmux = <STM32_PINMUX('A', 6, AF0)>; 259 bias-pull-down; 260 }; 261 262 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 263 pinmux = <STM32_PINMUX('A', 11, AF0)>; 264 bias-pull-down; 265 }; 266 267 /omit-if-no-ref/ spi1_miso_pb6: spi1_miso_pb6 { 268 pinmux = <STM32_PINMUX('B', 6, AF9)>; 269 bias-pull-down; 270 }; 271 272 /* SPI_MOSI */ 273 274 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 275 pinmux = <STM32_PINMUX('A', 2, AF0)>; 276 bias-pull-down; 277 }; 278 279 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 280 pinmux = <STM32_PINMUX('A', 7, AF0)>; 281 bias-pull-down; 282 }; 283 284 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 285 pinmux = <STM32_PINMUX('A', 12, AF0)>; 286 bias-pull-down; 287 }; 288 289 /omit-if-no-ref/ spi1_mosi_pb6: spi1_mosi_pb6 { 290 pinmux = <STM32_PINMUX('B', 6, AF8)>; 291 bias-pull-down; 292 }; 293 294 /* SPI_NSS */ 295 296 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 297 pinmux = <STM32_PINMUX('A', 4, AF0)>; 298 bias-pull-up; 299 }; 300 301 /omit-if-no-ref/ spi1_nss_pa8: spi1_nss_pa8 { 302 pinmux = <STM32_PINMUX('A', 8, AF8)>; 303 bias-pull-up; 304 }; 305 306 /omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 { 307 pinmux = <STM32_PINMUX('A', 14, AF8)>; 308 bias-pull-up; 309 }; 310 311 /* SPI_SCK */ 312 313 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 314 pinmux = <STM32_PINMUX('A', 1, AF0)>; 315 bias-pull-down; 316 slew-rate = "very-high-speed"; 317 }; 318 319 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 320 pinmux = <STM32_PINMUX('A', 5, AF0)>; 321 bias-pull-down; 322 slew-rate = "very-high-speed"; 323 }; 324 325 /omit-if-no-ref/ spi1_sck_pb6: spi1_sck_pb6 { 326 pinmux = <STM32_PINMUX('B', 6, AF10)>; 327 bias-pull-down; 328 slew-rate = "very-high-speed"; 329 }; 330 331 /* TIM_BKIN */ 332 333 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 334 pinmux = <STM32_PINMUX('A', 6, AF2)>; 335 }; 336 337 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 338 pinmux = <STM32_PINMUX('A', 11, AF5)>; 339 }; 340 341 /omit-if-no-ref/ tim1_bkin2_pc14: tim1_bkin2_pc14 { 342 pinmux = <STM32_PINMUX('C', 14, AF2)>; 343 }; 344 345 /omit-if-no-ref/ tim16_bkin_pb6: tim16_bkin_pb6 { 346 pinmux = <STM32_PINMUX('B', 6, AF14)>; 347 }; 348 349 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 350 pinmux = <STM32_PINMUX('A', 10, AF5)>; 351 }; 352 353 /omit-if-no-ref/ tim17_bkin_pb6: tim17_bkin_pb6 { 354 pinmux = <STM32_PINMUX('B', 6, AF15)>; 355 }; 356 357 /* TIM_CH / TIM_CHN */ 358 359 /omit-if-no-ref/ tim1_ch1_pa0: tim1_ch1_pa0 { 360 pinmux = <STM32_PINMUX('A', 0, AF5)>; 361 }; 362 363 /omit-if-no-ref/ tim1_ch2_pa1: tim1_ch2_pa1 { 364 pinmux = <STM32_PINMUX('A', 1, AF5)>; 365 }; 366 367 /omit-if-no-ref/ tim1_ch3_pa2: tim1_ch3_pa2 { 368 pinmux = <STM32_PINMUX('A', 2, AF5)>; 369 }; 370 371 /omit-if-no-ref/ tim1_ch1n_pa3: tim1_ch1n_pa3 { 372 pinmux = <STM32_PINMUX('A', 3, AF2)>; 373 }; 374 375 /omit-if-no-ref/ tim1_ch4_pa3: tim1_ch4_pa3 { 376 pinmux = <STM32_PINMUX('A', 3, AF5)>; 377 }; 378 379 /omit-if-no-ref/ tim1_ch2n_pa4: tim1_ch2n_pa4 { 380 pinmux = <STM32_PINMUX('A', 4, AF2)>; 381 }; 382 383 /omit-if-no-ref/ tim1_ch1_pa5: tim1_ch1_pa5 { 384 pinmux = <STM32_PINMUX('A', 5, AF5)>; 385 }; 386 387 /omit-if-no-ref/ tim1_ch3n_pa5: tim1_ch3n_pa5 { 388 pinmux = <STM32_PINMUX('A', 5, AF2)>; 389 }; 390 391 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 392 pinmux = <STM32_PINMUX('A', 7, AF2)>; 393 }; 394 395 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 396 pinmux = <STM32_PINMUX('A', 8, AF2)>; 397 }; 398 399 /omit-if-no-ref/ tim1_ch2n_pa8: tim1_ch2n_pa8 { 400 pinmux = <STM32_PINMUX('A', 8, AF9)>; 401 }; 402 403 /omit-if-no-ref/ tim1_ch3n_pa8: tim1_ch3n_pa8 { 404 pinmux = <STM32_PINMUX('A', 8, AF10)>; 405 }; 406 407 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 408 pinmux = <STM32_PINMUX('A', 9, AF2)>; 409 }; 410 411 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 412 pinmux = <STM32_PINMUX('A', 10, AF2)>; 413 }; 414 415 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 416 pinmux = <STM32_PINMUX('A', 11, AF2)>; 417 }; 418 419 /omit-if-no-ref/ tim1_ch1_pa14: tim1_ch1_pa14 { 420 pinmux = <STM32_PINMUX('A', 14, AF10)>; 421 }; 422 423 /omit-if-no-ref/ tim1_ch2_pb6: tim1_ch2_pb6 { 424 pinmux = <STM32_PINMUX('B', 6, AF11)>; 425 }; 426 427 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 428 pinmux = <STM32_PINMUX('B', 6, AF1)>; 429 }; 430 431 /omit-if-no-ref/ tim1_ch4_pb7: tim1_ch4_pb7 { 432 pinmux = <STM32_PINMUX('B', 7, AF1)>; 433 }; 434 435 /omit-if-no-ref/ tim1_ch4_pf2: tim1_ch4_pf2 { 436 pinmux = <STM32_PINMUX('F', 2, AF1)>; 437 }; 438 439 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 440 pinmux = <STM32_PINMUX('A', 6, AF1)>; 441 }; 442 443 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 444 pinmux = <STM32_PINMUX('A', 7, AF1)>; 445 }; 446 447 /omit-if-no-ref/ tim3_ch3_pa8: tim3_ch3_pa8 { 448 pinmux = <STM32_PINMUX('A', 8, AF11)>; 449 }; 450 451 /omit-if-no-ref/ tim3_ch4_pa8: tim3_ch4_pa8 { 452 pinmux = <STM32_PINMUX('A', 8, AF12)>; 453 }; 454 455 /omit-if-no-ref/ tim3_ch1_pb6: tim3_ch1_pb6 { 456 pinmux = <STM32_PINMUX('B', 6, AF12)>; 457 }; 458 459 /omit-if-no-ref/ tim3_ch2_pb6: tim3_ch2_pb6 { 460 pinmux = <STM32_PINMUX('B', 6, AF13)>; 461 }; 462 463 /omit-if-no-ref/ tim3_ch3_pb6: tim3_ch3_pb6 { 464 pinmux = <STM32_PINMUX('B', 6, AF3)>; 465 }; 466 467 /omit-if-no-ref/ tim3_ch1_pb7: tim3_ch1_pb7 { 468 pinmux = <STM32_PINMUX('B', 7, AF11)>; 469 }; 470 471 /omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 { 472 pinmux = <STM32_PINMUX('B', 7, AF3)>; 473 }; 474 475 /omit-if-no-ref/ tim3_ch2_pc14: tim3_ch2_pc14 { 476 pinmux = <STM32_PINMUX('C', 14, AF11)>; 477 }; 478 479 /omit-if-no-ref/ tim3_ch3_pc15: tim3_ch3_pc15 { 480 pinmux = <STM32_PINMUX('C', 15, AF3)>; 481 }; 482 483 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 484 pinmux = <STM32_PINMUX('A', 4, AF4)>; 485 }; 486 487 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 488 pinmux = <STM32_PINMUX('A', 7, AF4)>; 489 }; 490 491 /omit-if-no-ref/ tim14_ch1_pa8: tim14_ch1_pa8 { 492 pinmux = <STM32_PINMUX('A', 8, AF13)>; 493 }; 494 495 /omit-if-no-ref/ tim16_ch1_pa0: tim16_ch1_pa0 { 496 pinmux = <STM32_PINMUX('A', 0, AF2)>; 497 }; 498 499 /omit-if-no-ref/ tim16_ch1n_pa2: tim16_ch1n_pa2 { 500 pinmux = <STM32_PINMUX('A', 2, AF2)>; 501 }; 502 503 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 504 pinmux = <STM32_PINMUX('A', 6, AF5)>; 505 }; 506 507 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 508 pinmux = <STM32_PINMUX('B', 6, AF2)>; 509 }; 510 511 /omit-if-no-ref/ tim16_ch1_pb7: tim16_ch1_pb7 { 512 pinmux = <STM32_PINMUX('B', 7, AF10)>; 513 }; 514 515 /omit-if-no-ref/ tim17_ch1_pa1: tim17_ch1_pa1 { 516 pinmux = <STM32_PINMUX('A', 1, AF2)>; 517 }; 518 519 /omit-if-no-ref/ tim17_ch1n_pa4: tim17_ch1n_pa4 { 520 pinmux = <STM32_PINMUX('A', 4, AF5)>; 521 }; 522 523 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 524 pinmux = <STM32_PINMUX('A', 7, AF5)>; 525 }; 526 527 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 528 pinmux = <STM32_PINMUX('B', 7, AF2)>; 529 }; 530 531 /omit-if-no-ref/ tim17_ch1_pc14: tim17_ch1_pc14 { 532 pinmux = <STM32_PINMUX('C', 14, AF10)>; 533 }; 534 535 /* UART_CTS / USART_CTS / LPUART_CTS */ 536 537 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 538 pinmux = <STM32_PINMUX('A', 11, AF1)>; 539 bias-pull-up; 540 drive-open-drain; 541 }; 542 543 /omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 { 544 pinmux = <STM32_PINMUX('B', 6, AF5)>; 545 bias-pull-up; 546 drive-open-drain; 547 }; 548 549 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 550 pinmux = <STM32_PINMUX('A', 0, AF1)>; 551 bias-pull-up; 552 drive-open-drain; 553 }; 554 555 /omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 { 556 pinmux = <STM32_PINMUX('B', 7, AF9)>; 557 bias-pull-up; 558 drive-open-drain; 559 }; 560 561 /* UART_DE / USART_DE / LPUART_DE */ 562 563 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 564 pinmux = <STM32_PINMUX('A', 12, AF1)>; 565 drive-push-pull; 566 }; 567 568 /omit-if-no-ref/ usart1_de_pa14: usart1_de_pa14 { 569 pinmux = <STM32_PINMUX('A', 14, AF12)>; 570 drive-push-pull; 571 }; 572 573 /omit-if-no-ref/ usart1_de_pb6: usart1_de_pb6 { 574 pinmux = <STM32_PINMUX('B', 6, AF4)>; 575 drive-push-pull; 576 }; 577 578 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 579 pinmux = <STM32_PINMUX('A', 1, AF1)>; 580 drive-push-pull; 581 }; 582 583 /omit-if-no-ref/ usart2_de_pc14: usart2_de_pc14 { 584 pinmux = <STM32_PINMUX('C', 14, AF9)>; 585 drive-push-pull; 586 }; 587 588 /* UART_RTS / USART_RTS / LPUART_RTS */ 589 590 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 591 pinmux = <STM32_PINMUX('A', 12, AF1)>; 592 bias-pull-up; 593 drive-open-drain; 594 }; 595 596 /omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 { 597 pinmux = <STM32_PINMUX('A', 14, AF12)>; 598 bias-pull-up; 599 drive-open-drain; 600 }; 601 602 /omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 { 603 pinmux = <STM32_PINMUX('B', 6, AF4)>; 604 bias-pull-up; 605 drive-open-drain; 606 }; 607 608 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 609 pinmux = <STM32_PINMUX('A', 1, AF1)>; 610 bias-pull-up; 611 drive-open-drain; 612 }; 613 614 /omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 { 615 pinmux = <STM32_PINMUX('C', 14, AF9)>; 616 bias-pull-up; 617 drive-open-drain; 618 }; 619 620 /* UART_RX / USART_RX / LPUART_RX */ 621 622 /omit-if-no-ref/ usart1_rx_pa1: usart1_rx_pa1 { 623 pinmux = <STM32_PINMUX('A', 1, AF4)>; 624 }; 625 626 /omit-if-no-ref/ usart1_rx_pa8: usart1_rx_pa8 { 627 pinmux = <STM32_PINMUX('A', 8, AF14)>; 628 }; 629 630 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 631 pinmux = <STM32_PINMUX('A', 10, AF1)>; 632 }; 633 634 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 635 pinmux = <STM32_PINMUX('B', 7, AF0)>; 636 }; 637 638 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 639 pinmux = <STM32_PINMUX('A', 3, AF1)>; 640 }; 641 642 /omit-if-no-ref/ usart2_rx_pa5: usart2_rx_pa5 { 643 pinmux = <STM32_PINMUX('A', 5, AF1)>; 644 }; 645 646 /omit-if-no-ref/ usart2_rx_pa13: usart2_rx_pa13 { 647 pinmux = <STM32_PINMUX('A', 13, AF4)>; 648 }; 649 650 /omit-if-no-ref/ usart2_rx_pa14: usart2_rx_pa14 { 651 pinmux = <STM32_PINMUX('A', 14, AF9)>; 652 }; 653 654 /* UART_TX / USART_TX / LPUART_TX */ 655 656 /omit-if-no-ref/ usart1_tx_pa0: usart1_tx_pa0 { 657 pinmux = <STM32_PINMUX('A', 0, AF4)>; 658 bias-pull-up; 659 }; 660 661 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 662 pinmux = <STM32_PINMUX('A', 9, AF1)>; 663 bias-pull-up; 664 }; 665 666 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 667 pinmux = <STM32_PINMUX('B', 6, AF0)>; 668 bias-pull-up; 669 }; 670 671 /omit-if-no-ref/ usart1_tx_pc14: usart1_tx_pc14 { 672 pinmux = <STM32_PINMUX('C', 14, AF0)>; 673 bias-pull-up; 674 }; 675 676 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 677 pinmux = <STM32_PINMUX('A', 2, AF1)>; 678 bias-pull-up; 679 }; 680 681 /omit-if-no-ref/ usart2_tx_pa4: usart2_tx_pa4 { 682 pinmux = <STM32_PINMUX('A', 4, AF1)>; 683 bias-pull-up; 684 }; 685 686 /omit-if-no-ref/ usart2_tx_pa8: usart2_tx_pa8 { 687 pinmux = <STM32_PINMUX('A', 8, AF1)>; 688 bias-pull-up; 689 }; 690 691 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 692 pinmux = <STM32_PINMUX('A', 14, AF1)>; 693 bias-pull-up; 694 }; 695 696 }; 697 }; 698};