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