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@40020000 { 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 /omit-if-no-ref/ adc_in18_pb12: adc_in18_pb12 { 56 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc_in19_pb13: adc_in19_pb13 { 60 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc_in20_pb14: adc_in20_pb14 { 64 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc_in21_pb15: adc_in21_pb15 { 68 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc_in10_pc0: adc_in10_pc0 { 72 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc_in11_pc1: adc_in11_pc1 { 76 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 77 }; 78 79 /omit-if-no-ref/ adc_in12_pc2: adc_in12_pc2 { 80 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 81 }; 82 83 /omit-if-no-ref/ adc_in13_pc3: adc_in13_pc3 { 84 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 85 }; 86 87 /omit-if-no-ref/ adc_in14_pc4: adc_in14_pc4 { 88 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 89 }; 90 91 /omit-if-no-ref/ adc_in15_pc5: adc_in15_pc5 { 92 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 93 }; 94 95 /omit-if-no-ref/ adc_in22_pe7: adc_in22_pe7 { 96 pinmux = <STM32_PINMUX('E', 7, ANALOG)>; 97 }; 98 99 /omit-if-no-ref/ adc_in23_pe8: adc_in23_pe8 { 100 pinmux = <STM32_PINMUX('E', 8, ANALOG)>; 101 }; 102 103 /omit-if-no-ref/ adc_in24_pe9: adc_in24_pe9 { 104 pinmux = <STM32_PINMUX('E', 9, ANALOG)>; 105 }; 106 107 /omit-if-no-ref/ adc_in25_pe10: adc_in25_pe10 { 108 pinmux = <STM32_PINMUX('E', 10, ANALOG)>; 109 }; 110 111 /* Analog */ 112 113 /omit-if-no-ref/ analog_pa0: analog_pa0 { 114 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa1: analog_pa1 { 118 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa2: analog_pa2 { 122 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa3: analog_pa3 { 126 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa4: analog_pa4 { 130 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa5: analog_pa5 { 134 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa6: analog_pa6 { 138 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa7: analog_pa7 { 142 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pa8: analog_pa8 { 146 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pa9: analog_pa9 { 150 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pa10: analog_pa10 { 154 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pa11: analog_pa11 { 158 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pa12: analog_pa12 { 162 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pa13: analog_pa13 { 166 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pa14: analog_pa14 { 170 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pa15: analog_pa15 { 174 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb0: analog_pb0 { 178 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb1: analog_pb1 { 182 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb2: analog_pb2 { 186 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb3: analog_pb3 { 190 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb4: analog_pb4 { 194 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb5: analog_pb5 { 198 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb6: analog_pb6 { 202 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb7: analog_pb7 { 206 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pb8: analog_pb8 { 210 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pb9: analog_pb9 { 214 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pb10: analog_pb10 { 218 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pb11: analog_pb11 { 222 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pb12: analog_pb12 { 226 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pb13: analog_pb13 { 230 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pb14: analog_pb14 { 234 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pb15: analog_pb15 { 238 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc0: analog_pc0 { 242 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc1: analog_pc1 { 246 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc2: analog_pc2 { 250 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc3: analog_pc3 { 254 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc4: analog_pc4 { 258 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc5: analog_pc5 { 262 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc6: analog_pc6 { 266 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pc7: analog_pc7 { 270 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 271 }; 272 273 /omit-if-no-ref/ analog_pc8: analog_pc8 { 274 pinmux = <STM32_PINMUX('C', 8, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_pc9: analog_pc9 { 278 pinmux = <STM32_PINMUX('C', 9, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_pc10: analog_pc10 { 282 pinmux = <STM32_PINMUX('C', 10, ANALOG)>; 283 }; 284 285 /omit-if-no-ref/ analog_pc11: analog_pc11 { 286 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 287 }; 288 289 /omit-if-no-ref/ analog_pc12: analog_pc12 { 290 pinmux = <STM32_PINMUX('C', 12, ANALOG)>; 291 }; 292 293 /omit-if-no-ref/ analog_pc13: analog_pc13 { 294 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 295 }; 296 297 /omit-if-no-ref/ analog_pc14: analog_pc14 { 298 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 299 }; 300 301 /omit-if-no-ref/ analog_pc15: analog_pc15 { 302 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 303 }; 304 305 /omit-if-no-ref/ analog_pd0: analog_pd0 { 306 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 307 }; 308 309 /omit-if-no-ref/ analog_pd1: analog_pd1 { 310 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 311 }; 312 313 /omit-if-no-ref/ analog_pd2: analog_pd2 { 314 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 315 }; 316 317 /omit-if-no-ref/ analog_pd3: analog_pd3 { 318 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 319 }; 320 321 /omit-if-no-ref/ analog_pd4: analog_pd4 { 322 pinmux = <STM32_PINMUX('D', 4, ANALOG)>; 323 }; 324 325 /omit-if-no-ref/ analog_pd5: analog_pd5 { 326 pinmux = <STM32_PINMUX('D', 5, ANALOG)>; 327 }; 328 329 /omit-if-no-ref/ analog_pd6: analog_pd6 { 330 pinmux = <STM32_PINMUX('D', 6, ANALOG)>; 331 }; 332 333 /omit-if-no-ref/ analog_pd7: analog_pd7 { 334 pinmux = <STM32_PINMUX('D', 7, ANALOG)>; 335 }; 336 337 /omit-if-no-ref/ analog_pd8: analog_pd8 { 338 pinmux = <STM32_PINMUX('D', 8, ANALOG)>; 339 }; 340 341 /omit-if-no-ref/ analog_pd9: analog_pd9 { 342 pinmux = <STM32_PINMUX('D', 9, ANALOG)>; 343 }; 344 345 /omit-if-no-ref/ analog_pd10: analog_pd10 { 346 pinmux = <STM32_PINMUX('D', 10, ANALOG)>; 347 }; 348 349 /omit-if-no-ref/ analog_pd11: analog_pd11 { 350 pinmux = <STM32_PINMUX('D', 11, ANALOG)>; 351 }; 352 353 /omit-if-no-ref/ analog_pd12: analog_pd12 { 354 pinmux = <STM32_PINMUX('D', 12, ANALOG)>; 355 }; 356 357 /omit-if-no-ref/ analog_pd13: analog_pd13 { 358 pinmux = <STM32_PINMUX('D', 13, ANALOG)>; 359 }; 360 361 /omit-if-no-ref/ analog_pd14: analog_pd14 { 362 pinmux = <STM32_PINMUX('D', 14, ANALOG)>; 363 }; 364 365 /omit-if-no-ref/ analog_pd15: analog_pd15 { 366 pinmux = <STM32_PINMUX('D', 15, ANALOG)>; 367 }; 368 369 /omit-if-no-ref/ analog_pe0: analog_pe0 { 370 pinmux = <STM32_PINMUX('E', 0, ANALOG)>; 371 }; 372 373 /omit-if-no-ref/ analog_pe1: analog_pe1 { 374 pinmux = <STM32_PINMUX('E', 1, ANALOG)>; 375 }; 376 377 /omit-if-no-ref/ analog_pe2: analog_pe2 { 378 pinmux = <STM32_PINMUX('E', 2, ANALOG)>; 379 }; 380 381 /omit-if-no-ref/ analog_pe3: analog_pe3 { 382 pinmux = <STM32_PINMUX('E', 3, ANALOG)>; 383 }; 384 385 /omit-if-no-ref/ analog_pe4: analog_pe4 { 386 pinmux = <STM32_PINMUX('E', 4, ANALOG)>; 387 }; 388 389 /omit-if-no-ref/ analog_pe5: analog_pe5 { 390 pinmux = <STM32_PINMUX('E', 5, ANALOG)>; 391 }; 392 393 /omit-if-no-ref/ analog_pe6: analog_pe6 { 394 pinmux = <STM32_PINMUX('E', 6, ANALOG)>; 395 }; 396 397 /omit-if-no-ref/ analog_pe7: analog_pe7 { 398 pinmux = <STM32_PINMUX('E', 7, ANALOG)>; 399 }; 400 401 /omit-if-no-ref/ analog_pe8: analog_pe8 { 402 pinmux = <STM32_PINMUX('E', 8, ANALOG)>; 403 }; 404 405 /omit-if-no-ref/ analog_pe9: analog_pe9 { 406 pinmux = <STM32_PINMUX('E', 9, ANALOG)>; 407 }; 408 409 /omit-if-no-ref/ analog_pe10: analog_pe10 { 410 pinmux = <STM32_PINMUX('E', 10, ANALOG)>; 411 }; 412 413 /omit-if-no-ref/ analog_pe11: analog_pe11 { 414 pinmux = <STM32_PINMUX('E', 11, ANALOG)>; 415 }; 416 417 /omit-if-no-ref/ analog_pe12: analog_pe12 { 418 pinmux = <STM32_PINMUX('E', 12, ANALOG)>; 419 }; 420 421 /omit-if-no-ref/ analog_pe13: analog_pe13 { 422 pinmux = <STM32_PINMUX('E', 13, ANALOG)>; 423 }; 424 425 /omit-if-no-ref/ analog_pe14: analog_pe14 { 426 pinmux = <STM32_PINMUX('E', 14, ANALOG)>; 427 }; 428 429 /omit-if-no-ref/ analog_pe15: analog_pe15 { 430 pinmux = <STM32_PINMUX('E', 15, ANALOG)>; 431 }; 432 433 /omit-if-no-ref/ analog_ph0: analog_ph0 { 434 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 435 }; 436 437 /omit-if-no-ref/ analog_ph1: analog_ph1 { 438 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 439 }; 440 441 /omit-if-no-ref/ analog_ph2: analog_ph2 { 442 pinmux = <STM32_PINMUX('H', 2, ANALOG)>; 443 }; 444 445 /* DAC_OUT */ 446 447 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 448 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 449 }; 450 451 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 452 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 453 }; 454 455 /* I2C_SCL */ 456 457 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 458 pinmux = <STM32_PINMUX('B', 6, AF4)>; 459 bias-pull-up; 460 drive-open-drain; 461 }; 462 463 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 464 pinmux = <STM32_PINMUX('B', 8, AF4)>; 465 bias-pull-up; 466 drive-open-drain; 467 }; 468 469 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 470 pinmux = <STM32_PINMUX('B', 10, AF4)>; 471 bias-pull-up; 472 drive-open-drain; 473 }; 474 475 /* I2C_SDA */ 476 477 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 478 pinmux = <STM32_PINMUX('B', 7, AF4)>; 479 bias-pull-up; 480 drive-open-drain; 481 }; 482 483 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 484 pinmux = <STM32_PINMUX('B', 9, AF4)>; 485 bias-pull-up; 486 drive-open-drain; 487 }; 488 489 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 490 pinmux = <STM32_PINMUX('B', 11, AF4)>; 491 bias-pull-up; 492 drive-open-drain; 493 }; 494 495 /* I2S_CK */ 496 497 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 498 pinmux = <STM32_PINMUX('B', 13, AF5)>; 499 slew-rate = "very-high-speed"; 500 }; 501 502 /omit-if-no-ref/ i2s2_ck_pd1: i2s2_ck_pd1 { 503 pinmux = <STM32_PINMUX('D', 1, AF5)>; 504 slew-rate = "very-high-speed"; 505 }; 506 507 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 508 pinmux = <STM32_PINMUX('B', 3, AF6)>; 509 slew-rate = "very-high-speed"; 510 }; 511 512 /omit-if-no-ref/ i2s3_ck_pc10: i2s3_ck_pc10 { 513 pinmux = <STM32_PINMUX('C', 10, AF6)>; 514 slew-rate = "very-high-speed"; 515 }; 516 517 /* I2S_MCK */ 518 519 /omit-if-no-ref/ i2s2_mck_pc6: i2s2_mck_pc6 { 520 pinmux = <STM32_PINMUX('C', 6, AF5)>; 521 slew-rate = "very-high-speed"; 522 }; 523 524 /omit-if-no-ref/ i2s3_mck_pc7: i2s3_mck_pc7 { 525 pinmux = <STM32_PINMUX('C', 7, AF6)>; 526 slew-rate = "very-high-speed"; 527 }; 528 529 /* I2S_SD */ 530 531 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 532 pinmux = <STM32_PINMUX('B', 15, AF5)>; 533 }; 534 535 /omit-if-no-ref/ i2s2_sd_pd4: i2s2_sd_pd4 { 536 pinmux = <STM32_PINMUX('D', 4, AF5)>; 537 }; 538 539 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 540 pinmux = <STM32_PINMUX('B', 5, AF6)>; 541 }; 542 543 /omit-if-no-ref/ i2s3_sd_pc12: i2s3_sd_pc12 { 544 pinmux = <STM32_PINMUX('C', 12, AF6)>; 545 }; 546 547 /* I2S_WS */ 548 549 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 550 pinmux = <STM32_PINMUX('B', 12, AF5)>; 551 }; 552 553 /omit-if-no-ref/ i2s2_ws_pd0: i2s2_ws_pd0 { 554 pinmux = <STM32_PINMUX('D', 0, AF5)>; 555 }; 556 557 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 558 pinmux = <STM32_PINMUX('A', 4, AF6)>; 559 }; 560 561 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 562 pinmux = <STM32_PINMUX('A', 15, AF6)>; 563 }; 564 565 /* SPI_MISO */ 566 567 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 568 pinmux = <STM32_PINMUX('A', 6, AF5)>; 569 bias-pull-down; 570 }; 571 572 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 573 pinmux = <STM32_PINMUX('A', 11, AF5)>; 574 bias-pull-down; 575 }; 576 577 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 578 pinmux = <STM32_PINMUX('B', 4, AF5)>; 579 bias-pull-down; 580 }; 581 582 /omit-if-no-ref/ spi1_miso_pe14: spi1_miso_pe14 { 583 pinmux = <STM32_PINMUX('E', 14, AF5)>; 584 bias-pull-down; 585 }; 586 587 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 588 pinmux = <STM32_PINMUX('B', 14, AF5)>; 589 bias-pull-down; 590 }; 591 592 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 593 pinmux = <STM32_PINMUX('D', 3, AF5)>; 594 bias-pull-down; 595 }; 596 597 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 598 pinmux = <STM32_PINMUX('B', 4, AF6)>; 599 bias-pull-down; 600 }; 601 602 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 603 pinmux = <STM32_PINMUX('C', 11, AF6)>; 604 bias-pull-down; 605 }; 606 607 /* SPI_MOSI */ 608 609 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 610 pinmux = <STM32_PINMUX('A', 7, AF5)>; 611 bias-pull-down; 612 }; 613 614 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 615 pinmux = <STM32_PINMUX('A', 12, AF5)>; 616 bias-pull-down; 617 }; 618 619 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 620 pinmux = <STM32_PINMUX('B', 5, AF5)>; 621 bias-pull-down; 622 }; 623 624 /omit-if-no-ref/ spi1_mosi_pe15: spi1_mosi_pe15 { 625 pinmux = <STM32_PINMUX('E', 15, AF5)>; 626 bias-pull-down; 627 }; 628 629 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 630 pinmux = <STM32_PINMUX('B', 15, AF5)>; 631 bias-pull-down; 632 }; 633 634 /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { 635 pinmux = <STM32_PINMUX('D', 4, AF5)>; 636 bias-pull-down; 637 }; 638 639 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 640 pinmux = <STM32_PINMUX('B', 5, AF6)>; 641 bias-pull-down; 642 }; 643 644 /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { 645 pinmux = <STM32_PINMUX('C', 12, AF6)>; 646 bias-pull-down; 647 }; 648 649 /* SPI_NSS */ 650 651 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 652 pinmux = <STM32_PINMUX('A', 4, AF5)>; 653 bias-pull-up; 654 }; 655 656 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 657 pinmux = <STM32_PINMUX('A', 15, AF5)>; 658 bias-pull-up; 659 }; 660 661 /omit-if-no-ref/ spi1_nss_pe12: spi1_nss_pe12 { 662 pinmux = <STM32_PINMUX('E', 12, AF5)>; 663 bias-pull-up; 664 }; 665 666 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 667 pinmux = <STM32_PINMUX('B', 12, AF5)>; 668 bias-pull-up; 669 }; 670 671 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 672 pinmux = <STM32_PINMUX('D', 0, AF5)>; 673 bias-pull-up; 674 }; 675 676 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 677 pinmux = <STM32_PINMUX('A', 4, AF6)>; 678 bias-pull-up; 679 }; 680 681 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 682 pinmux = <STM32_PINMUX('A', 15, AF6)>; 683 bias-pull-up; 684 }; 685 686 /* SPI_SCK */ 687 688 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 689 pinmux = <STM32_PINMUX('A', 5, AF5)>; 690 bias-pull-down; 691 slew-rate = "very-high-speed"; 692 }; 693 694 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 695 pinmux = <STM32_PINMUX('B', 3, AF5)>; 696 bias-pull-down; 697 slew-rate = "very-high-speed"; 698 }; 699 700 /omit-if-no-ref/ spi1_sck_pe13: spi1_sck_pe13 { 701 pinmux = <STM32_PINMUX('E', 13, AF5)>; 702 bias-pull-down; 703 slew-rate = "very-high-speed"; 704 }; 705 706 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 707 pinmux = <STM32_PINMUX('B', 13, AF5)>; 708 bias-pull-down; 709 slew-rate = "very-high-speed"; 710 }; 711 712 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 713 pinmux = <STM32_PINMUX('D', 1, AF5)>; 714 bias-pull-down; 715 slew-rate = "very-high-speed"; 716 }; 717 718 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 719 pinmux = <STM32_PINMUX('B', 3, AF6)>; 720 bias-pull-down; 721 slew-rate = "very-high-speed"; 722 }; 723 724 /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { 725 pinmux = <STM32_PINMUX('C', 10, AF6)>; 726 bias-pull-down; 727 slew-rate = "very-high-speed"; 728 }; 729 730 /* TIM_CH / TIM_CHN */ 731 732 /omit-if-no-ref/ tim10_ch1_pa6: tim10_ch1_pa6 { 733 pinmux = <STM32_PINMUX('A', 6, AF3)>; 734 }; 735 736 /omit-if-no-ref/ tim10_ch1_pb8: tim10_ch1_pb8 { 737 pinmux = <STM32_PINMUX('B', 8, AF3)>; 738 }; 739 740 /omit-if-no-ref/ tim10_ch1_pb12: tim10_ch1_pb12 { 741 pinmux = <STM32_PINMUX('B', 12, AF3)>; 742 }; 743 744 /omit-if-no-ref/ tim10_ch1_pe0: tim10_ch1_pe0 { 745 pinmux = <STM32_PINMUX('E', 0, AF3)>; 746 }; 747 748 /omit-if-no-ref/ tim11_ch1_pa7: tim11_ch1_pa7 { 749 pinmux = <STM32_PINMUX('A', 7, AF3)>; 750 }; 751 752 /omit-if-no-ref/ tim11_ch1_pb9: tim11_ch1_pb9 { 753 pinmux = <STM32_PINMUX('B', 9, AF3)>; 754 }; 755 756 /omit-if-no-ref/ tim11_ch1_pb15: tim11_ch1_pb15 { 757 pinmux = <STM32_PINMUX('B', 15, AF3)>; 758 }; 759 760 /omit-if-no-ref/ tim11_ch1_pe1: tim11_ch1_pe1 { 761 pinmux = <STM32_PINMUX('E', 1, AF3)>; 762 }; 763 764 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 765 pinmux = <STM32_PINMUX('A', 0, AF1)>; 766 }; 767 768 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 769 pinmux = <STM32_PINMUX('A', 1, AF1)>; 770 }; 771 772 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 773 pinmux = <STM32_PINMUX('A', 2, AF1)>; 774 }; 775 776 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 777 pinmux = <STM32_PINMUX('A', 3, AF1)>; 778 }; 779 780 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 781 pinmux = <STM32_PINMUX('A', 5, AF1)>; 782 }; 783 784 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 785 pinmux = <STM32_PINMUX('A', 15, AF1)>; 786 }; 787 788 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 789 pinmux = <STM32_PINMUX('B', 3, AF1)>; 790 }; 791 792 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 793 pinmux = <STM32_PINMUX('B', 10, AF1)>; 794 }; 795 796 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 797 pinmux = <STM32_PINMUX('B', 11, AF1)>; 798 }; 799 800 /omit-if-no-ref/ tim2_ch1_pe9: tim2_ch1_pe9 { 801 pinmux = <STM32_PINMUX('E', 9, AF1)>; 802 }; 803 804 /omit-if-no-ref/ tim2_ch2_pe10: tim2_ch2_pe10 { 805 pinmux = <STM32_PINMUX('E', 10, AF1)>; 806 }; 807 808 /omit-if-no-ref/ tim2_ch3_pe11: tim2_ch3_pe11 { 809 pinmux = <STM32_PINMUX('E', 11, AF1)>; 810 }; 811 812 /omit-if-no-ref/ tim2_ch4_pe12: tim2_ch4_pe12 { 813 pinmux = <STM32_PINMUX('E', 12, AF1)>; 814 }; 815 816 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 817 pinmux = <STM32_PINMUX('A', 6, AF2)>; 818 }; 819 820 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 821 pinmux = <STM32_PINMUX('A', 7, AF2)>; 822 }; 823 824 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 825 pinmux = <STM32_PINMUX('B', 0, AF2)>; 826 }; 827 828 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 829 pinmux = <STM32_PINMUX('B', 1, AF2)>; 830 }; 831 832 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 833 pinmux = <STM32_PINMUX('B', 4, AF2)>; 834 }; 835 836 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 837 pinmux = <STM32_PINMUX('B', 5, AF2)>; 838 }; 839 840 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 841 pinmux = <STM32_PINMUX('C', 6, AF2)>; 842 }; 843 844 /omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 { 845 pinmux = <STM32_PINMUX('C', 7, AF2)>; 846 }; 847 848 /omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 { 849 pinmux = <STM32_PINMUX('C', 8, AF2)>; 850 }; 851 852 /omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 { 853 pinmux = <STM32_PINMUX('C', 9, AF2)>; 854 }; 855 856 /omit-if-no-ref/ tim3_ch1_pe3: tim3_ch1_pe3 { 857 pinmux = <STM32_PINMUX('E', 3, AF2)>; 858 }; 859 860 /omit-if-no-ref/ tim3_ch2_pe4: tim3_ch2_pe4 { 861 pinmux = <STM32_PINMUX('E', 4, AF2)>; 862 }; 863 864 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 865 pinmux = <STM32_PINMUX('B', 6, AF2)>; 866 }; 867 868 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 869 pinmux = <STM32_PINMUX('B', 7, AF2)>; 870 }; 871 872 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 873 pinmux = <STM32_PINMUX('B', 8, AF2)>; 874 }; 875 876 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 877 pinmux = <STM32_PINMUX('B', 9, AF2)>; 878 }; 879 880 /omit-if-no-ref/ tim4_ch1_pd12: tim4_ch1_pd12 { 881 pinmux = <STM32_PINMUX('D', 12, AF2)>; 882 }; 883 884 /omit-if-no-ref/ tim4_ch2_pd13: tim4_ch2_pd13 { 885 pinmux = <STM32_PINMUX('D', 13, AF2)>; 886 }; 887 888 /omit-if-no-ref/ tim4_ch3_pd14: tim4_ch3_pd14 { 889 pinmux = <STM32_PINMUX('D', 14, AF2)>; 890 }; 891 892 /omit-if-no-ref/ tim4_ch4_pd15: tim4_ch4_pd15 { 893 pinmux = <STM32_PINMUX('D', 15, AF2)>; 894 }; 895 896 /omit-if-no-ref/ tim5_ch1_pa0: tim5_ch1_pa0 { 897 pinmux = <STM32_PINMUX('A', 0, AF2)>; 898 }; 899 900 /omit-if-no-ref/ tim5_ch2_pa1: tim5_ch2_pa1 { 901 pinmux = <STM32_PINMUX('A', 1, AF2)>; 902 }; 903 904 /omit-if-no-ref/ tim5_ch3_pa2: tim5_ch3_pa2 { 905 pinmux = <STM32_PINMUX('A', 2, AF2)>; 906 }; 907 908 /omit-if-no-ref/ tim5_ch4_pa3: tim5_ch4_pa3 { 909 pinmux = <STM32_PINMUX('A', 3, AF2)>; 910 }; 911 912 /omit-if-no-ref/ tim9_ch1_pa2: tim9_ch1_pa2 { 913 pinmux = <STM32_PINMUX('A', 2, AF3)>; 914 }; 915 916 /omit-if-no-ref/ tim9_ch2_pa3: tim9_ch2_pa3 { 917 pinmux = <STM32_PINMUX('A', 3, AF3)>; 918 }; 919 920 /omit-if-no-ref/ tim9_ch1_pb13: tim9_ch1_pb13 { 921 pinmux = <STM32_PINMUX('B', 13, AF3)>; 922 }; 923 924 /omit-if-no-ref/ tim9_ch2_pb14: tim9_ch2_pb14 { 925 pinmux = <STM32_PINMUX('B', 14, AF3)>; 926 }; 927 928 /omit-if-no-ref/ tim9_ch1_pd0: tim9_ch1_pd0 { 929 pinmux = <STM32_PINMUX('D', 0, AF3)>; 930 }; 931 932 /omit-if-no-ref/ tim9_ch2_pd7: tim9_ch2_pd7 { 933 pinmux = <STM32_PINMUX('D', 7, AF3)>; 934 }; 935 936 /omit-if-no-ref/ tim9_ch1_pe5: tim9_ch1_pe5 { 937 pinmux = <STM32_PINMUX('E', 5, AF3)>; 938 }; 939 940 /omit-if-no-ref/ tim9_ch2_pe6: tim9_ch2_pe6 { 941 pinmux = <STM32_PINMUX('E', 6, AF3)>; 942 }; 943 944 /* UART_CTS / USART_CTS / LPUART_CTS */ 945 946 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 947 pinmux = <STM32_PINMUX('A', 11, AF7)>; 948 bias-pull-up; 949 drive-open-drain; 950 }; 951 952 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 953 pinmux = <STM32_PINMUX('A', 0, AF7)>; 954 bias-pull-up; 955 drive-open-drain; 956 }; 957 958 /omit-if-no-ref/ usart2_cts_pd3: usart2_cts_pd3 { 959 pinmux = <STM32_PINMUX('D', 3, AF7)>; 960 bias-pull-up; 961 drive-open-drain; 962 }; 963 964 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 965 pinmux = <STM32_PINMUX('B', 13, AF7)>; 966 bias-pull-up; 967 drive-open-drain; 968 }; 969 970 /omit-if-no-ref/ usart3_cts_pd11: usart3_cts_pd11 { 971 pinmux = <STM32_PINMUX('D', 11, AF7)>; 972 bias-pull-up; 973 drive-open-drain; 974 }; 975 976 /* UART_RTS / USART_RTS / LPUART_RTS */ 977 978 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 979 pinmux = <STM32_PINMUX('A', 12, AF7)>; 980 bias-pull-up; 981 drive-open-drain; 982 }; 983 984 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 985 pinmux = <STM32_PINMUX('A', 1, AF7)>; 986 bias-pull-up; 987 drive-open-drain; 988 }; 989 990 /omit-if-no-ref/ usart2_rts_pd4: usart2_rts_pd4 { 991 pinmux = <STM32_PINMUX('D', 4, AF7)>; 992 bias-pull-up; 993 drive-open-drain; 994 }; 995 996 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 997 pinmux = <STM32_PINMUX('B', 14, AF7)>; 998 bias-pull-up; 999 drive-open-drain; 1000 }; 1001 1002 /omit-if-no-ref/ usart3_rts_pd12: usart3_rts_pd12 { 1003 pinmux = <STM32_PINMUX('D', 12, AF7)>; 1004 bias-pull-up; 1005 drive-open-drain; 1006 }; 1007 1008 /* UART_RX / USART_RX / LPUART_RX */ 1009 1010 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 1011 pinmux = <STM32_PINMUX('A', 10, AF7)>; 1012 }; 1013 1014 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 1015 pinmux = <STM32_PINMUX('B', 7, AF7)>; 1016 }; 1017 1018 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 1019 pinmux = <STM32_PINMUX('A', 3, AF7)>; 1020 }; 1021 1022 /omit-if-no-ref/ usart2_rx_pd6: usart2_rx_pd6 { 1023 pinmux = <STM32_PINMUX('D', 6, AF7)>; 1024 }; 1025 1026 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1027 pinmux = <STM32_PINMUX('B', 11, AF7)>; 1028 }; 1029 1030 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 1031 pinmux = <STM32_PINMUX('C', 11, AF7)>; 1032 }; 1033 1034 /omit-if-no-ref/ usart3_rx_pd9: usart3_rx_pd9 { 1035 pinmux = <STM32_PINMUX('D', 9, AF7)>; 1036 }; 1037 1038 /* UART_TX / USART_TX / LPUART_TX */ 1039 1040 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1041 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1042 bias-pull-up; 1043 }; 1044 1045 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1046 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1047 bias-pull-up; 1048 }; 1049 1050 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1051 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1052 bias-pull-up; 1053 }; 1054 1055 /omit-if-no-ref/ usart2_tx_pd5: usart2_tx_pd5 { 1056 pinmux = <STM32_PINMUX('D', 5, AF7)>; 1057 bias-pull-up; 1058 }; 1059 1060 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1061 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1062 bias-pull-up; 1063 }; 1064 1065 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 1066 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1067 bias-pull-up; 1068 }; 1069 1070 /omit-if-no-ref/ usart3_tx_pd8: usart3_tx_pd8 { 1071 pinmux = <STM32_PINMUX('D', 8, AF7)>; 1072 bias-pull-up; 1073 }; 1074 1075 /* USB */ 1076 1077 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1078 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1079 }; 1080 1081 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1082 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1083 }; 1084 1085 }; 1086 }; 1087};