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/ adc1_in5_pa0: adc1_in5_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in6_pa1: adc1_in6_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in7_pa2: adc1_in7_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in8_pa3: adc1_in8_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in9_pa4: adc1_in9_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in10_pa5: adc1_in10_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in11_pa6: adc1_in11_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in12_pa7: adc1_in12_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in15_pa8: adc1_in15_pa8 { 48 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in16_pa9: adc1_in16_pa9 { 52 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in1_pc0: adc1_in1_pc0 { 56 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 57 }; 58 59 /omit-if-no-ref/ adc1_in2_pc1: adc1_in2_pc1 { 60 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 61 }; 62 63 /omit-if-no-ref/ adc1_in3_pc2: adc1_in3_pc2 { 64 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 65 }; 66 67 /omit-if-no-ref/ adc1_in4_pc3: adc1_in4_pc3 { 68 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in13_pc4: adc1_in13_pc4 { 72 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 73 }; 74 75 /omit-if-no-ref/ adc1_in14_pc5: adc1_in14_pc5 { 76 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 77 }; 78 79 /* Analog */ 80 81 /omit-if-no-ref/ analog_pa0: analog_pa0 { 82 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa1: analog_pa1 { 86 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa2: analog_pa2 { 90 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa3: analog_pa3 { 94 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa4: analog_pa4 { 98 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa5: analog_pa5 { 102 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa6: analog_pa6 { 106 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa7: analog_pa7 { 110 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa8: analog_pa8 { 114 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa9: analog_pa9 { 118 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa10: analog_pa10 { 122 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa11: analog_pa11 { 126 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa12: analog_pa12 { 130 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa13: analog_pa13 { 134 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa14: analog_pa14 { 138 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa15: analog_pa15 { 142 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb0: analog_pb0 { 146 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb1: analog_pb1 { 150 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb2: analog_pb2 { 154 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb3: analog_pb3 { 158 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb4: analog_pb4 { 162 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb5: analog_pb5 { 166 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb6: analog_pb6 { 170 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb7: analog_pb7 { 174 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb8: analog_pb8 { 178 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb9: analog_pb9 { 182 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb10: analog_pb10 { 186 pinmux = <STM32_PINMUX('B', 10, ANALOG)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb11: analog_pb11 { 190 pinmux = <STM32_PINMUX('B', 11, ANALOG)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb12: analog_pb12 { 194 pinmux = <STM32_PINMUX('B', 12, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb13: analog_pb13 { 198 pinmux = <STM32_PINMUX('B', 13, ANALOG)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb14: analog_pb14 { 202 pinmux = <STM32_PINMUX('B', 14, ANALOG)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb15: analog_pb15 { 206 pinmux = <STM32_PINMUX('B', 15, ANALOG)>; 207 }; 208 209 /omit-if-no-ref/ analog_pc0: analog_pc0 { 210 pinmux = <STM32_PINMUX('C', 0, ANALOG)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc1: analog_pc1 { 214 pinmux = <STM32_PINMUX('C', 1, ANALOG)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc2: analog_pc2 { 218 pinmux = <STM32_PINMUX('C', 2, ANALOG)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc3: analog_pc3 { 222 pinmux = <STM32_PINMUX('C', 3, ANALOG)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc4: analog_pc4 { 226 pinmux = <STM32_PINMUX('C', 4, ANALOG)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc5: analog_pc5 { 230 pinmux = <STM32_PINMUX('C', 5, ANALOG)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc6: analog_pc6 { 234 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc7: analog_pc7 { 238 pinmux = <STM32_PINMUX('C', 7, ANALOG)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc8: analog_pc8 { 242 pinmux = <STM32_PINMUX('C', 8, ANALOG)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc9: analog_pc9 { 246 pinmux = <STM32_PINMUX('C', 9, ANALOG)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc10: analog_pc10 { 250 pinmux = <STM32_PINMUX('C', 10, ANALOG)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc11: analog_pc11 { 254 pinmux = <STM32_PINMUX('C', 11, ANALOG)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc12: analog_pc12 { 258 pinmux = <STM32_PINMUX('C', 12, ANALOG)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc13: analog_pc13 { 262 pinmux = <STM32_PINMUX('C', 13, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc14: analog_pc14 { 266 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 267 }; 268 269 /omit-if-no-ref/ analog_pc15: analog_pc15 { 270 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 271 }; 272 273 /omit-if-no-ref/ analog_pd0: analog_pd0 { 274 pinmux = <STM32_PINMUX('D', 0, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_pd1: analog_pd1 { 278 pinmux = <STM32_PINMUX('D', 1, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_pd2: analog_pd2 { 282 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 283 }; 284 285 /omit-if-no-ref/ analog_pd3: analog_pd3 { 286 pinmux = <STM32_PINMUX('D', 3, ANALOG)>; 287 }; 288 289 /omit-if-no-ref/ analog_pd4: analog_pd4 { 290 pinmux = <STM32_PINMUX('D', 4, ANALOG)>; 291 }; 292 293 /omit-if-no-ref/ analog_pd5: analog_pd5 { 294 pinmux = <STM32_PINMUX('D', 5, ANALOG)>; 295 }; 296 297 /omit-if-no-ref/ analog_pd6: analog_pd6 { 298 pinmux = <STM32_PINMUX('D', 6, ANALOG)>; 299 }; 300 301 /omit-if-no-ref/ analog_pd7: analog_pd7 { 302 pinmux = <STM32_PINMUX('D', 7, ANALOG)>; 303 }; 304 305 /omit-if-no-ref/ analog_pd8: analog_pd8 { 306 pinmux = <STM32_PINMUX('D', 8, ANALOG)>; 307 }; 308 309 /omit-if-no-ref/ analog_pd9: analog_pd9 { 310 pinmux = <STM32_PINMUX('D', 9, ANALOG)>; 311 }; 312 313 /omit-if-no-ref/ analog_pd10: analog_pd10 { 314 pinmux = <STM32_PINMUX('D', 10, ANALOG)>; 315 }; 316 317 /omit-if-no-ref/ analog_pd11: analog_pd11 { 318 pinmux = <STM32_PINMUX('D', 11, ANALOG)>; 319 }; 320 321 /omit-if-no-ref/ analog_pd12: analog_pd12 { 322 pinmux = <STM32_PINMUX('D', 12, ANALOG)>; 323 }; 324 325 /omit-if-no-ref/ analog_pd13: analog_pd13 { 326 pinmux = <STM32_PINMUX('D', 13, ANALOG)>; 327 }; 328 329 /omit-if-no-ref/ analog_pd14: analog_pd14 { 330 pinmux = <STM32_PINMUX('D', 14, ANALOG)>; 331 }; 332 333 /omit-if-no-ref/ analog_pd15: analog_pd15 { 334 pinmux = <STM32_PINMUX('D', 15, ANALOG)>; 335 }; 336 337 /omit-if-no-ref/ analog_pe0: analog_pe0 { 338 pinmux = <STM32_PINMUX('E', 0, ANALOG)>; 339 }; 340 341 /omit-if-no-ref/ analog_pe1: analog_pe1 { 342 pinmux = <STM32_PINMUX('E', 1, ANALOG)>; 343 }; 344 345 /omit-if-no-ref/ analog_pe2: analog_pe2 { 346 pinmux = <STM32_PINMUX('E', 2, ANALOG)>; 347 }; 348 349 /omit-if-no-ref/ analog_pe3: analog_pe3 { 350 pinmux = <STM32_PINMUX('E', 3, ANALOG)>; 351 }; 352 353 /omit-if-no-ref/ analog_pe4: analog_pe4 { 354 pinmux = <STM32_PINMUX('E', 4, ANALOG)>; 355 }; 356 357 /omit-if-no-ref/ analog_ph0: analog_ph0 { 358 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 359 }; 360 361 /omit-if-no-ref/ analog_ph1: analog_ph1 { 362 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 363 }; 364 365 /omit-if-no-ref/ analog_ph3: analog_ph3 { 366 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 367 }; 368 369 /* I2C_SCL */ 370 371 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 372 pinmux = <STM32_PINMUX('A', 9, AF4)>; 373 bias-pull-up; 374 drive-open-drain; 375 }; 376 377 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 378 pinmux = <STM32_PINMUX('B', 6, AF4)>; 379 bias-pull-up; 380 drive-open-drain; 381 }; 382 383 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 384 pinmux = <STM32_PINMUX('B', 8, AF4)>; 385 bias-pull-up; 386 drive-open-drain; 387 }; 388 389 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 390 pinmux = <STM32_PINMUX('A', 7, AF4)>; 391 bias-pull-up; 392 drive-open-drain; 393 }; 394 395 /omit-if-no-ref/ i2c3_scl_pb10: i2c3_scl_pb10 { 396 pinmux = <STM32_PINMUX('B', 10, AF4)>; 397 bias-pull-up; 398 drive-open-drain; 399 }; 400 401 /omit-if-no-ref/ i2c3_scl_pb13: i2c3_scl_pb13 { 402 pinmux = <STM32_PINMUX('B', 13, AF4)>; 403 bias-pull-up; 404 drive-open-drain; 405 }; 406 407 /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { 408 pinmux = <STM32_PINMUX('C', 0, AF4)>; 409 bias-pull-up; 410 drive-open-drain; 411 }; 412 413 /* I2C_SDA */ 414 415 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 416 pinmux = <STM32_PINMUX('A', 10, AF4)>; 417 bias-pull-up; 418 drive-open-drain; 419 }; 420 421 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 422 pinmux = <STM32_PINMUX('B', 7, AF4)>; 423 bias-pull-up; 424 drive-open-drain; 425 }; 426 427 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 428 pinmux = <STM32_PINMUX('B', 9, AF4)>; 429 bias-pull-up; 430 drive-open-drain; 431 }; 432 433 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 434 pinmux = <STM32_PINMUX('B', 4, AF4)>; 435 bias-pull-up; 436 drive-open-drain; 437 }; 438 439 /omit-if-no-ref/ i2c3_sda_pb11: i2c3_sda_pb11 { 440 pinmux = <STM32_PINMUX('B', 11, AF4)>; 441 bias-pull-up; 442 drive-open-drain; 443 }; 444 445 /omit-if-no-ref/ i2c3_sda_pb14: i2c3_sda_pb14 { 446 pinmux = <STM32_PINMUX('B', 14, AF4)>; 447 bias-pull-up; 448 drive-open-drain; 449 }; 450 451 /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { 452 pinmux = <STM32_PINMUX('C', 1, AF4)>; 453 bias-pull-up; 454 drive-open-drain; 455 }; 456 457 /* QUADSPI */ 458 459 /omit-if-no-ref/ quadspi_bk1_ncs_pa2: quadspi_bk1_ncs_pa2 { 460 pinmux = <STM32_PINMUX('A', 2, AF10)>; 461 slew-rate = "very-high-speed"; 462 }; 463 464 /omit-if-no-ref/ quadspi_clk_pa3: quadspi_clk_pa3 { 465 pinmux = <STM32_PINMUX('A', 3, AF10)>; 466 slew-rate = "very-high-speed"; 467 }; 468 469 /omit-if-no-ref/ quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 470 pinmux = <STM32_PINMUX('A', 6, AF10)>; 471 slew-rate = "very-high-speed"; 472 }; 473 474 /omit-if-no-ref/ quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 475 pinmux = <STM32_PINMUX('A', 7, AF10)>; 476 slew-rate = "very-high-speed"; 477 }; 478 479 /omit-if-no-ref/ quadspi_bk1_io1_pb8: quadspi_bk1_io1_pb8 { 480 pinmux = <STM32_PINMUX('B', 8, AF10)>; 481 slew-rate = "very-high-speed"; 482 }; 483 484 /omit-if-no-ref/ quadspi_bk1_io0_pb9: quadspi_bk1_io0_pb9 { 485 pinmux = <STM32_PINMUX('B', 9, AF10)>; 486 slew-rate = "very-high-speed"; 487 }; 488 489 /omit-if-no-ref/ quadspi_clk_pb10: quadspi_clk_pb10 { 490 pinmux = <STM32_PINMUX('B', 10, AF10)>; 491 slew-rate = "very-high-speed"; 492 }; 493 494 /omit-if-no-ref/ quadspi_bk1_ncs_pb11: quadspi_bk1_ncs_pb11 { 495 pinmux = <STM32_PINMUX('B', 11, AF10)>; 496 slew-rate = "very-high-speed"; 497 }; 498 499 /omit-if-no-ref/ quadspi_bk1_ncs_pd3: quadspi_bk1_ncs_pd3 { 500 pinmux = <STM32_PINMUX('D', 3, AF10)>; 501 slew-rate = "very-high-speed"; 502 }; 503 504 /omit-if-no-ref/ quadspi_bk1_io0_pd4: quadspi_bk1_io0_pd4 { 505 pinmux = <STM32_PINMUX('D', 4, AF10)>; 506 slew-rate = "very-high-speed"; 507 }; 508 509 /omit-if-no-ref/ quadspi_bk1_io1_pd5: quadspi_bk1_io1_pd5 { 510 pinmux = <STM32_PINMUX('D', 5, AF10)>; 511 slew-rate = "very-high-speed"; 512 }; 513 514 /omit-if-no-ref/ quadspi_bk1_io2_pd6: quadspi_bk1_io2_pd6 { 515 pinmux = <STM32_PINMUX('D', 6, AF10)>; 516 slew-rate = "very-high-speed"; 517 }; 518 519 /omit-if-no-ref/ quadspi_bk1_io3_pd7: quadspi_bk1_io3_pd7 { 520 pinmux = <STM32_PINMUX('D', 7, AF10)>; 521 slew-rate = "very-high-speed"; 522 }; 523 524 /* SPI_MISO */ 525 526 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 527 pinmux = <STM32_PINMUX('A', 6, AF5)>; 528 bias-pull-down; 529 }; 530 531 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 532 pinmux = <STM32_PINMUX('A', 11, AF5)>; 533 bias-pull-down; 534 }; 535 536 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 537 pinmux = <STM32_PINMUX('B', 4, AF5)>; 538 bias-pull-down; 539 }; 540 541 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 542 pinmux = <STM32_PINMUX('B', 14, AF5)>; 543 bias-pull-down; 544 }; 545 546 /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { 547 pinmux = <STM32_PINMUX('C', 2, AF5)>; 548 bias-pull-down; 549 }; 550 551 /omit-if-no-ref/ spi2_miso_pd3: spi2_miso_pd3 { 552 pinmux = <STM32_PINMUX('D', 3, AF5)>; 553 bias-pull-down; 554 }; 555 556 /* SPI_MOSI */ 557 558 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 559 pinmux = <STM32_PINMUX('A', 7, AF5)>; 560 bias-pull-down; 561 }; 562 563 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 564 pinmux = <STM32_PINMUX('A', 12, AF5)>; 565 bias-pull-down; 566 }; 567 568 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 569 pinmux = <STM32_PINMUX('B', 5, AF5)>; 570 bias-pull-down; 571 }; 572 573 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 574 pinmux = <STM32_PINMUX('B', 15, AF5)>; 575 bias-pull-down; 576 }; 577 578 /omit-if-no-ref/ spi2_mosi_pc1: spi2_mosi_pc1 { 579 pinmux = <STM32_PINMUX('C', 1, AF3)>; 580 bias-pull-down; 581 }; 582 583 /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { 584 pinmux = <STM32_PINMUX('C', 3, AF5)>; 585 bias-pull-down; 586 }; 587 588 /omit-if-no-ref/ spi2_mosi_pd4: spi2_mosi_pd4 { 589 pinmux = <STM32_PINMUX('D', 4, AF5)>; 590 bias-pull-down; 591 }; 592 593 /* SPI_NSS */ 594 595 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 596 pinmux = <STM32_PINMUX('A', 4, AF5)>; 597 bias-pull-up; 598 }; 599 600 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 601 pinmux = <STM32_PINMUX('A', 15, AF5)>; 602 bias-pull-up; 603 }; 604 605 /omit-if-no-ref/ spi1_nss_pb2: spi1_nss_pb2 { 606 pinmux = <STM32_PINMUX('B', 2, AF5)>; 607 bias-pull-up; 608 }; 609 610 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 611 pinmux = <STM32_PINMUX('B', 9, AF5)>; 612 bias-pull-up; 613 }; 614 615 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 616 pinmux = <STM32_PINMUX('B', 12, AF5)>; 617 bias-pull-up; 618 }; 619 620 /omit-if-no-ref/ spi2_nss_pd0: spi2_nss_pd0 { 621 pinmux = <STM32_PINMUX('D', 0, AF5)>; 622 bias-pull-up; 623 }; 624 625 /* SPI_SCK */ 626 627 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 628 pinmux = <STM32_PINMUX('A', 1, AF5)>; 629 bias-pull-down; 630 slew-rate = "very-high-speed"; 631 }; 632 633 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 634 pinmux = <STM32_PINMUX('A', 5, AF5)>; 635 bias-pull-down; 636 slew-rate = "very-high-speed"; 637 }; 638 639 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 640 pinmux = <STM32_PINMUX('B', 3, AF5)>; 641 bias-pull-down; 642 slew-rate = "very-high-speed"; 643 }; 644 645 /omit-if-no-ref/ spi2_sck_pa9: spi2_sck_pa9 { 646 pinmux = <STM32_PINMUX('A', 9, AF5)>; 647 bias-pull-down; 648 slew-rate = "very-high-speed"; 649 }; 650 651 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 652 pinmux = <STM32_PINMUX('B', 10, AF5)>; 653 bias-pull-down; 654 slew-rate = "very-high-speed"; 655 }; 656 657 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 658 pinmux = <STM32_PINMUX('B', 13, AF5)>; 659 bias-pull-down; 660 slew-rate = "very-high-speed"; 661 }; 662 663 /omit-if-no-ref/ spi2_sck_pd1: spi2_sck_pd1 { 664 pinmux = <STM32_PINMUX('D', 1, AF5)>; 665 bias-pull-down; 666 slew-rate = "very-high-speed"; 667 }; 668 669 /omit-if-no-ref/ spi2_sck_pd3: spi2_sck_pd3 { 670 pinmux = <STM32_PINMUX('D', 3, AF3)>; 671 bias-pull-down; 672 slew-rate = "very-high-speed"; 673 }; 674 675 /* TIM_BKIN */ 676 677 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 678 pinmux = <STM32_PINMUX('A', 6, AF12)>; 679 }; 680 681 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 682 pinmux = <STM32_PINMUX('A', 11, AF12)>; 683 }; 684 685 /omit-if-no-ref/ tim1_bkin_pb7: tim1_bkin_pb7 { 686 pinmux = <STM32_PINMUX('B', 7, AF3)>; 687 }; 688 689 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 690 pinmux = <STM32_PINMUX('B', 12, AF3)>; 691 }; 692 693 /omit-if-no-ref/ tim1_bkin_pc9: tim1_bkin_pc9 { 694 pinmux = <STM32_PINMUX('C', 9, AF3)>; 695 }; 696 697 /omit-if-no-ref/ tim1_bkin2_pd8: tim1_bkin2_pd8 { 698 pinmux = <STM32_PINMUX('D', 8, AF2)>; 699 }; 700 701 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 702 pinmux = <STM32_PINMUX('B', 5, AF14)>; 703 }; 704 705 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 706 pinmux = <STM32_PINMUX('A', 10, AF14)>; 707 }; 708 709 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 710 pinmux = <STM32_PINMUX('B', 4, AF14)>; 711 }; 712 713 /* TIM_CH / TIM_CHN */ 714 715 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 716 pinmux = <STM32_PINMUX('A', 7, AF1)>; 717 }; 718 719 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 720 pinmux = <STM32_PINMUX('A', 8, AF1)>; 721 }; 722 723 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 724 pinmux = <STM32_PINMUX('A', 9, AF1)>; 725 }; 726 727 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 728 pinmux = <STM32_PINMUX('A', 10, AF1)>; 729 }; 730 731 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 732 pinmux = <STM32_PINMUX('A', 11, AF1)>; 733 }; 734 735 /omit-if-no-ref/ tim1_ch2n_pb8: tim1_ch2n_pb8 { 736 pinmux = <STM32_PINMUX('B', 8, AF1)>; 737 }; 738 739 /omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 { 740 pinmux = <STM32_PINMUX('B', 9, AF1)>; 741 }; 742 743 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 744 pinmux = <STM32_PINMUX('B', 13, AF1)>; 745 }; 746 747 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 748 pinmux = <STM32_PINMUX('B', 14, AF1)>; 749 }; 750 751 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 752 pinmux = <STM32_PINMUX('B', 15, AF1)>; 753 }; 754 755 /omit-if-no-ref/ tim1_ch1_pd14: tim1_ch1_pd14 { 756 pinmux = <STM32_PINMUX('D', 14, AF1)>; 757 }; 758 759 /omit-if-no-ref/ tim1_ch2_pd15: tim1_ch2_pd15 { 760 pinmux = <STM32_PINMUX('D', 15, AF1)>; 761 }; 762 763 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 764 pinmux = <STM32_PINMUX('A', 0, AF1)>; 765 }; 766 767 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 768 pinmux = <STM32_PINMUX('A', 1, AF1)>; 769 }; 770 771 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 772 pinmux = <STM32_PINMUX('A', 2, AF1)>; 773 }; 774 775 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 776 pinmux = <STM32_PINMUX('A', 3, AF1)>; 777 }; 778 779 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 780 pinmux = <STM32_PINMUX('A', 5, AF1)>; 781 }; 782 783 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 784 pinmux = <STM32_PINMUX('A', 15, AF1)>; 785 }; 786 787 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 788 pinmux = <STM32_PINMUX('B', 3, AF1)>; 789 }; 790 791 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 792 pinmux = <STM32_PINMUX('B', 10, AF1)>; 793 }; 794 795 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 796 pinmux = <STM32_PINMUX('B', 11, AF1)>; 797 }; 798 799 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 800 pinmux = <STM32_PINMUX('A', 6, AF14)>; 801 }; 802 803 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 804 pinmux = <STM32_PINMUX('B', 6, AF14)>; 805 }; 806 807 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 808 pinmux = <STM32_PINMUX('B', 8, AF14)>; 809 }; 810 811 /omit-if-no-ref/ tim16_ch1_pe0: tim16_ch1_pe0 { 812 pinmux = <STM32_PINMUX('E', 0, AF14)>; 813 }; 814 815 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 816 pinmux = <STM32_PINMUX('A', 7, AF14)>; 817 }; 818 819 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 820 pinmux = <STM32_PINMUX('B', 7, AF14)>; 821 }; 822 823 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 824 pinmux = <STM32_PINMUX('B', 9, AF14)>; 825 }; 826 827 /omit-if-no-ref/ tim17_ch1_pe1: tim17_ch1_pe1 { 828 pinmux = <STM32_PINMUX('E', 1, AF14)>; 829 }; 830 831 /* UART_CTS / USART_CTS / LPUART_CTS */ 832 833 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 834 pinmux = <STM32_PINMUX('A', 6, AF8)>; 835 bias-pull-up; 836 drive-open-drain; 837 }; 838 839 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 840 pinmux = <STM32_PINMUX('A', 11, AF7)>; 841 bias-pull-up; 842 drive-open-drain; 843 }; 844 845 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 846 pinmux = <STM32_PINMUX('B', 4, AF7)>; 847 bias-pull-up; 848 drive-open-drain; 849 }; 850 851 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 852 pinmux = <STM32_PINMUX('B', 13, AF8)>; 853 bias-pull-up; 854 drive-open-drain; 855 }; 856 857 /* UART_DE / USART_DE / LPUART_DE */ 858 859 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 860 pinmux = <STM32_PINMUX('A', 12, AF7)>; 861 drive-push-pull; 862 }; 863 864 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 865 pinmux = <STM32_PINMUX('B', 1, AF8)>; 866 drive-push-pull; 867 }; 868 869 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 870 pinmux = <STM32_PINMUX('B', 3, AF7)>; 871 drive-push-pull; 872 }; 873 874 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 875 pinmux = <STM32_PINMUX('B', 12, AF8)>; 876 drive-push-pull; 877 }; 878 879 /* UART_RTS / USART_RTS / LPUART_RTS */ 880 881 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 882 pinmux = <STM32_PINMUX('A', 12, AF7)>; 883 bias-pull-up; 884 drive-open-drain; 885 }; 886 887 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 888 pinmux = <STM32_PINMUX('B', 1, AF8)>; 889 bias-pull-up; 890 drive-open-drain; 891 }; 892 893 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 894 pinmux = <STM32_PINMUX('B', 3, AF7)>; 895 bias-pull-up; 896 drive-open-drain; 897 }; 898 899 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 900 pinmux = <STM32_PINMUX('B', 12, AF8)>; 901 bias-pull-up; 902 drive-open-drain; 903 }; 904 905 /* UART_RX / USART_RX / LPUART_RX */ 906 907 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 908 pinmux = <STM32_PINMUX('A', 3, AF8)>; 909 }; 910 911 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 912 pinmux = <STM32_PINMUX('A', 10, AF7)>; 913 }; 914 915 /omit-if-no-ref/ lpuart1_rx_pa12: lpuart1_rx_pa12 { 916 pinmux = <STM32_PINMUX('A', 12, AF8)>; 917 }; 918 919 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 920 pinmux = <STM32_PINMUX('B', 7, AF7)>; 921 }; 922 923 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 924 pinmux = <STM32_PINMUX('B', 10, AF8)>; 925 }; 926 927 /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { 928 pinmux = <STM32_PINMUX('C', 0, AF8)>; 929 }; 930 931 /* UART_TX / USART_TX / LPUART_TX */ 932 933 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 934 pinmux = <STM32_PINMUX('A', 2, AF8)>; 935 bias-pull-up; 936 }; 937 938 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 939 pinmux = <STM32_PINMUX('A', 9, AF7)>; 940 bias-pull-up; 941 }; 942 943 /omit-if-no-ref/ lpuart1_tx_pb5: lpuart1_tx_pb5 { 944 pinmux = <STM32_PINMUX('B', 5, AF8)>; 945 bias-pull-up; 946 }; 947 948 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 949 pinmux = <STM32_PINMUX('B', 6, AF7)>; 950 bias-pull-up; 951 }; 952 953 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 954 pinmux = <STM32_PINMUX('B', 11, AF8)>; 955 bias-pull-up; 956 }; 957 958 /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { 959 pinmux = <STM32_PINMUX('C', 1, AF8)>; 960 bias-pull-up; 961 }; 962 963 /* USB */ 964 965 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 966 pinmux = <STM32_PINMUX('A', 11, AF10)>; 967 }; 968 969 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 970 pinmux = <STM32_PINMUX('A', 12, AF10)>; 971 }; 972 973 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 974 pinmux = <STM32_PINMUX('A', 13, AF10)>; 975 }; 976 977 /omit-if-no-ref/ usb_noe_pc9: usb_noe_pc9 { 978 pinmux = <STM32_PINMUX('C', 9, AF10)>; 979 }; 980 981 }; 982 }; 983};