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_pb0: adc1_in15_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in16_pb1: adc1_in16_pb1 { 52 pinmux = <STM32_PINMUX('B', 1, 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_pd2: analog_pd2 { 274 pinmux = <STM32_PINMUX('D', 2, ANALOG)>; 275 }; 276 277 /omit-if-no-ref/ analog_ph0: analog_ph0 { 278 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 279 }; 280 281 /omit-if-no-ref/ analog_ph1: analog_ph1 { 282 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 283 }; 284 285 /omit-if-no-ref/ analog_ph3: analog_ph3 { 286 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 287 }; 288 289 /* CAN_RX */ 290 291 /omit-if-no-ref/ can1_rx_pa11: can1_rx_pa11 { 292 pinmux = <STM32_PINMUX('A', 11, AF9)>; 293 bias-pull-up; 294 }; 295 296 /omit-if-no-ref/ can1_rx_pb8: can1_rx_pb8 { 297 pinmux = <STM32_PINMUX('B', 8, AF9)>; 298 bias-pull-up; 299 }; 300 301 /* CAN_TX */ 302 303 /omit-if-no-ref/ can1_tx_pa12: can1_tx_pa12 { 304 pinmux = <STM32_PINMUX('A', 12, AF9)>; 305 }; 306 307 /omit-if-no-ref/ can1_tx_pb9: can1_tx_pb9 { 308 pinmux = <STM32_PINMUX('B', 9, AF9)>; 309 }; 310 311 /* DAC_OUT */ 312 313 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 314 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 315 }; 316 317 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 318 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 319 }; 320 321 /* I2C_SCL */ 322 323 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 324 pinmux = <STM32_PINMUX('A', 9, AF4)>; 325 bias-pull-up; 326 drive-open-drain; 327 }; 328 329 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 330 pinmux = <STM32_PINMUX('B', 6, AF4)>; 331 bias-pull-up; 332 drive-open-drain; 333 }; 334 335 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 336 pinmux = <STM32_PINMUX('B', 8, AF4)>; 337 bias-pull-up; 338 drive-open-drain; 339 }; 340 341 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 342 pinmux = <STM32_PINMUX('B', 10, AF4)>; 343 bias-pull-up; 344 drive-open-drain; 345 }; 346 347 /omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 { 348 pinmux = <STM32_PINMUX('B', 13, AF4)>; 349 bias-pull-up; 350 drive-open-drain; 351 }; 352 353 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 354 pinmux = <STM32_PINMUX('A', 7, AF4)>; 355 bias-pull-up; 356 drive-open-drain; 357 }; 358 359 /omit-if-no-ref/ i2c3_scl_pc0: i2c3_scl_pc0 { 360 pinmux = <STM32_PINMUX('C', 0, AF4)>; 361 bias-pull-up; 362 drive-open-drain; 363 }; 364 365 /* I2C_SDA */ 366 367 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 368 pinmux = <STM32_PINMUX('A', 10, AF4)>; 369 bias-pull-up; 370 drive-open-drain; 371 }; 372 373 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 374 pinmux = <STM32_PINMUX('B', 7, AF4)>; 375 bias-pull-up; 376 drive-open-drain; 377 }; 378 379 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 380 pinmux = <STM32_PINMUX('B', 9, AF4)>; 381 bias-pull-up; 382 drive-open-drain; 383 }; 384 385 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 386 pinmux = <STM32_PINMUX('B', 11, AF4)>; 387 bias-pull-up; 388 drive-open-drain; 389 }; 390 391 /omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 { 392 pinmux = <STM32_PINMUX('B', 14, AF4)>; 393 bias-pull-up; 394 drive-open-drain; 395 }; 396 397 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 398 pinmux = <STM32_PINMUX('B', 4, AF4)>; 399 bias-pull-up; 400 drive-open-drain; 401 }; 402 403 /omit-if-no-ref/ i2c3_sda_pc1: i2c3_sda_pc1 { 404 pinmux = <STM32_PINMUX('C', 1, AF4)>; 405 bias-pull-up; 406 drive-open-drain; 407 }; 408 409 /* QUADSPI */ 410 411 /omit-if-no-ref/ quadspi_bk1_ncs_pa2: quadspi_bk1_ncs_pa2 { 412 pinmux = <STM32_PINMUX('A', 2, AF10)>; 413 slew-rate = "very-high-speed"; 414 }; 415 416 /omit-if-no-ref/ quadspi_clk_pa3: quadspi_clk_pa3 { 417 pinmux = <STM32_PINMUX('A', 3, AF10)>; 418 slew-rate = "very-high-speed"; 419 }; 420 421 /omit-if-no-ref/ quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 { 422 pinmux = <STM32_PINMUX('A', 6, AF10)>; 423 slew-rate = "very-high-speed"; 424 }; 425 426 /omit-if-no-ref/ quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 { 427 pinmux = <STM32_PINMUX('A', 7, AF10)>; 428 slew-rate = "very-high-speed"; 429 }; 430 431 /omit-if-no-ref/ quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 { 432 pinmux = <STM32_PINMUX('B', 0, AF10)>; 433 slew-rate = "very-high-speed"; 434 }; 435 436 /omit-if-no-ref/ quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 { 437 pinmux = <STM32_PINMUX('B', 1, AF10)>; 438 slew-rate = "very-high-speed"; 439 }; 440 441 /omit-if-no-ref/ quadspi_clk_pb10: quadspi_clk_pb10 { 442 pinmux = <STM32_PINMUX('B', 10, AF10)>; 443 slew-rate = "very-high-speed"; 444 }; 445 446 /omit-if-no-ref/ quadspi_bk1_ncs_pb11: quadspi_bk1_ncs_pb11 { 447 pinmux = <STM32_PINMUX('B', 11, AF10)>; 448 slew-rate = "very-high-speed"; 449 }; 450 451 /* SDMMC */ 452 453 /omit-if-no-ref/ sdmmc1_d4_pb8: sdmmc1_d4_pb8 { 454 pinmux = <STM32_PINMUX('B', 8, AF12)>; 455 bias-pull-up; 456 slew-rate = "very-high-speed"; 457 }; 458 459 /omit-if-no-ref/ sdmmc1_d5_pb9: sdmmc1_d5_pb9 { 460 pinmux = <STM32_PINMUX('B', 9, AF12)>; 461 bias-pull-up; 462 slew-rate = "very-high-speed"; 463 }; 464 465 /omit-if-no-ref/ sdmmc1_d6_pc6: sdmmc1_d6_pc6 { 466 pinmux = <STM32_PINMUX('C', 6, AF12)>; 467 bias-pull-up; 468 slew-rate = "very-high-speed"; 469 }; 470 471 /omit-if-no-ref/ sdmmc1_d7_pc7: sdmmc1_d7_pc7 { 472 pinmux = <STM32_PINMUX('C', 7, AF12)>; 473 bias-pull-up; 474 slew-rate = "very-high-speed"; 475 }; 476 477 /omit-if-no-ref/ sdmmc1_d0_pc8: sdmmc1_d0_pc8 { 478 pinmux = <STM32_PINMUX('C', 8, AF12)>; 479 bias-pull-up; 480 slew-rate = "very-high-speed"; 481 }; 482 483 /omit-if-no-ref/ sdmmc1_d1_pc9: sdmmc1_d1_pc9 { 484 pinmux = <STM32_PINMUX('C', 9, AF12)>; 485 bias-pull-up; 486 slew-rate = "very-high-speed"; 487 }; 488 489 /omit-if-no-ref/ sdmmc1_d2_pc10: sdmmc1_d2_pc10 { 490 pinmux = <STM32_PINMUX('C', 10, AF12)>; 491 bias-pull-up; 492 slew-rate = "very-high-speed"; 493 }; 494 495 /omit-if-no-ref/ sdmmc1_d3_pc11: sdmmc1_d3_pc11 { 496 pinmux = <STM32_PINMUX('C', 11, AF12)>; 497 bias-pull-up; 498 slew-rate = "very-high-speed"; 499 }; 500 501 /omit-if-no-ref/ sdmmc1_ck_pc12: sdmmc1_ck_pc12 { 502 pinmux = <STM32_PINMUX('C', 12, AF12)>; 503 bias-pull-up; 504 slew-rate = "very-high-speed"; 505 }; 506 507 /omit-if-no-ref/ sdmmc1_cmd_pd2: sdmmc1_cmd_pd2 { 508 pinmux = <STM32_PINMUX('D', 2, AF12)>; 509 bias-pull-up; 510 slew-rate = "very-high-speed"; 511 }; 512 513 /* SPI_MISO */ 514 515 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 516 pinmux = <STM32_PINMUX('A', 6, AF5)>; 517 bias-pull-down; 518 }; 519 520 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 521 pinmux = <STM32_PINMUX('A', 11, AF5)>; 522 bias-pull-down; 523 }; 524 525 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 526 pinmux = <STM32_PINMUX('B', 4, AF5)>; 527 bias-pull-down; 528 }; 529 530 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 531 pinmux = <STM32_PINMUX('B', 14, AF5)>; 532 bias-pull-down; 533 }; 534 535 /omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 { 536 pinmux = <STM32_PINMUX('C', 2, AF5)>; 537 bias-pull-down; 538 }; 539 540 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 541 pinmux = <STM32_PINMUX('B', 4, AF6)>; 542 bias-pull-down; 543 }; 544 545 /omit-if-no-ref/ spi3_miso_pc11: spi3_miso_pc11 { 546 pinmux = <STM32_PINMUX('C', 11, AF6)>; 547 bias-pull-down; 548 }; 549 550 /* SPI_MOSI */ 551 552 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 553 pinmux = <STM32_PINMUX('A', 7, AF5)>; 554 bias-pull-down; 555 }; 556 557 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 558 pinmux = <STM32_PINMUX('A', 12, AF5)>; 559 bias-pull-down; 560 }; 561 562 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 563 pinmux = <STM32_PINMUX('B', 5, AF5)>; 564 bias-pull-down; 565 }; 566 567 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 568 pinmux = <STM32_PINMUX('B', 15, AF5)>; 569 bias-pull-down; 570 }; 571 572 /omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 { 573 pinmux = <STM32_PINMUX('C', 3, AF5)>; 574 bias-pull-down; 575 }; 576 577 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 578 pinmux = <STM32_PINMUX('B', 5, AF6)>; 579 bias-pull-down; 580 }; 581 582 /omit-if-no-ref/ spi3_mosi_pc12: spi3_mosi_pc12 { 583 pinmux = <STM32_PINMUX('C', 12, AF6)>; 584 bias-pull-down; 585 }; 586 587 /* SPI_NSS */ 588 589 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 590 pinmux = <STM32_PINMUX('A', 4, AF5)>; 591 bias-pull-up; 592 }; 593 594 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 595 pinmux = <STM32_PINMUX('A', 15, AF5)>; 596 bias-pull-up; 597 }; 598 599 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 600 pinmux = <STM32_PINMUX('B', 0, AF5)>; 601 bias-pull-up; 602 }; 603 604 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 605 pinmux = <STM32_PINMUX('B', 9, AF5)>; 606 bias-pull-up; 607 }; 608 609 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 610 pinmux = <STM32_PINMUX('B', 12, AF5)>; 611 bias-pull-up; 612 }; 613 614 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 615 pinmux = <STM32_PINMUX('A', 4, AF6)>; 616 bias-pull-up; 617 }; 618 619 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 620 pinmux = <STM32_PINMUX('A', 15, AF6)>; 621 bias-pull-up; 622 }; 623 624 /* SPI_SCK */ 625 626 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 627 pinmux = <STM32_PINMUX('A', 1, AF5)>; 628 bias-pull-down; 629 slew-rate = "very-high-speed"; 630 }; 631 632 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 633 pinmux = <STM32_PINMUX('A', 5, AF5)>; 634 bias-pull-down; 635 slew-rate = "very-high-speed"; 636 }; 637 638 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 639 pinmux = <STM32_PINMUX('B', 3, AF5)>; 640 bias-pull-down; 641 slew-rate = "very-high-speed"; 642 }; 643 644 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 645 pinmux = <STM32_PINMUX('B', 10, AF5)>; 646 bias-pull-down; 647 slew-rate = "very-high-speed"; 648 }; 649 650 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 651 pinmux = <STM32_PINMUX('B', 13, AF5)>; 652 bias-pull-down; 653 slew-rate = "very-high-speed"; 654 }; 655 656 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 657 pinmux = <STM32_PINMUX('B', 3, AF6)>; 658 bias-pull-down; 659 slew-rate = "very-high-speed"; 660 }; 661 662 /omit-if-no-ref/ spi3_sck_pc10: spi3_sck_pc10 { 663 pinmux = <STM32_PINMUX('C', 10, AF6)>; 664 bias-pull-down; 665 slew-rate = "very-high-speed"; 666 }; 667 668 /* TIM_BKIN */ 669 670 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 671 pinmux = <STM32_PINMUX('A', 6, AF1)>; 672 }; 673 674 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 675 pinmux = <STM32_PINMUX('A', 11, AF2)>; 676 }; 677 678 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 679 pinmux = <STM32_PINMUX('B', 12, AF1)>; 680 }; 681 682 /omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 { 683 pinmux = <STM32_PINMUX('A', 9, AF14)>; 684 }; 685 686 /omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 { 687 pinmux = <STM32_PINMUX('B', 12, AF14)>; 688 }; 689 690 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 691 pinmux = <STM32_PINMUX('B', 5, AF14)>; 692 }; 693 694 /* TIM_CH / TIM_CHN */ 695 696 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 697 pinmux = <STM32_PINMUX('A', 7, AF1)>; 698 }; 699 700 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 701 pinmux = <STM32_PINMUX('A', 8, AF1)>; 702 }; 703 704 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 705 pinmux = <STM32_PINMUX('A', 9, AF1)>; 706 }; 707 708 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 709 pinmux = <STM32_PINMUX('A', 10, AF1)>; 710 }; 711 712 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 713 pinmux = <STM32_PINMUX('A', 11, AF1)>; 714 }; 715 716 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 717 pinmux = <STM32_PINMUX('B', 0, AF1)>; 718 }; 719 720 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 721 pinmux = <STM32_PINMUX('B', 1, AF1)>; 722 }; 723 724 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 725 pinmux = <STM32_PINMUX('B', 13, AF1)>; 726 }; 727 728 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 729 pinmux = <STM32_PINMUX('B', 14, AF1)>; 730 }; 731 732 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 733 pinmux = <STM32_PINMUX('B', 15, AF1)>; 734 }; 735 736 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 737 pinmux = <STM32_PINMUX('A', 0, AF1)>; 738 }; 739 740 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 741 pinmux = <STM32_PINMUX('A', 1, AF1)>; 742 }; 743 744 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 745 pinmux = <STM32_PINMUX('A', 2, AF1)>; 746 }; 747 748 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 749 pinmux = <STM32_PINMUX('A', 3, AF1)>; 750 }; 751 752 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 753 pinmux = <STM32_PINMUX('A', 5, AF1)>; 754 }; 755 756 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 757 pinmux = <STM32_PINMUX('A', 15, AF1)>; 758 }; 759 760 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 761 pinmux = <STM32_PINMUX('B', 3, AF1)>; 762 }; 763 764 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 765 pinmux = <STM32_PINMUX('B', 10, AF1)>; 766 }; 767 768 /omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 { 769 pinmux = <STM32_PINMUX('B', 11, AF1)>; 770 }; 771 772 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 773 pinmux = <STM32_PINMUX('A', 1, AF14)>; 774 }; 775 776 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 777 pinmux = <STM32_PINMUX('A', 2, AF14)>; 778 }; 779 780 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 781 pinmux = <STM32_PINMUX('A', 3, AF14)>; 782 }; 783 784 /omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 { 785 pinmux = <STM32_PINMUX('B', 13, AF14)>; 786 }; 787 788 /omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 { 789 pinmux = <STM32_PINMUX('B', 14, AF14)>; 790 }; 791 792 /omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 { 793 pinmux = <STM32_PINMUX('B', 15, AF14)>; 794 }; 795 796 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 797 pinmux = <STM32_PINMUX('A', 6, AF14)>; 798 }; 799 800 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 801 pinmux = <STM32_PINMUX('B', 6, AF14)>; 802 }; 803 804 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 805 pinmux = <STM32_PINMUX('B', 8, AF14)>; 806 }; 807 808 /* UART_CTS / USART_CTS / LPUART_CTS */ 809 810 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 811 pinmux = <STM32_PINMUX('A', 6, AF8)>; 812 bias-pull-up; 813 drive-open-drain; 814 }; 815 816 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 817 pinmux = <STM32_PINMUX('A', 11, AF7)>; 818 bias-pull-up; 819 drive-open-drain; 820 }; 821 822 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 823 pinmux = <STM32_PINMUX('B', 4, AF7)>; 824 bias-pull-up; 825 drive-open-drain; 826 }; 827 828 /omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 { 829 pinmux = <STM32_PINMUX('B', 13, AF8)>; 830 bias-pull-up; 831 drive-open-drain; 832 }; 833 834 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 835 pinmux = <STM32_PINMUX('A', 0, AF7)>; 836 bias-pull-up; 837 drive-open-drain; 838 }; 839 840 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 841 pinmux = <STM32_PINMUX('A', 6, AF7)>; 842 bias-pull-up; 843 drive-open-drain; 844 }; 845 846 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 847 pinmux = <STM32_PINMUX('B', 13, AF7)>; 848 bias-pull-up; 849 drive-open-drain; 850 }; 851 852 /* UART_DE / USART_DE / LPUART_DE */ 853 854 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 855 pinmux = <STM32_PINMUX('A', 12, AF7)>; 856 drive-push-pull; 857 }; 858 859 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 860 pinmux = <STM32_PINMUX('B', 1, AF8)>; 861 drive-push-pull; 862 }; 863 864 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 865 pinmux = <STM32_PINMUX('B', 3, AF7)>; 866 drive-push-pull; 867 }; 868 869 /omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 { 870 pinmux = <STM32_PINMUX('B', 12, AF8)>; 871 drive-push-pull; 872 }; 873 874 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 875 pinmux = <STM32_PINMUX('A', 1, AF7)>; 876 drive-push-pull; 877 }; 878 879 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 880 pinmux = <STM32_PINMUX('A', 15, AF7)>; 881 drive-push-pull; 882 }; 883 884 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 885 pinmux = <STM32_PINMUX('B', 1, AF7)>; 886 drive-push-pull; 887 }; 888 889 /omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 { 890 pinmux = <STM32_PINMUX('B', 14, AF7)>; 891 drive-push-pull; 892 }; 893 894 /omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 { 895 pinmux = <STM32_PINMUX('D', 2, AF7)>; 896 drive-push-pull; 897 }; 898 899 /* UART_RTS / USART_RTS / LPUART_RTS */ 900 901 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 902 pinmux = <STM32_PINMUX('A', 12, AF7)>; 903 bias-pull-up; 904 drive-open-drain; 905 }; 906 907 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 908 pinmux = <STM32_PINMUX('B', 1, AF8)>; 909 bias-pull-up; 910 drive-open-drain; 911 }; 912 913 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 914 pinmux = <STM32_PINMUX('B', 3, AF7)>; 915 bias-pull-up; 916 drive-open-drain; 917 }; 918 919 /omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 { 920 pinmux = <STM32_PINMUX('B', 12, AF8)>; 921 bias-pull-up; 922 drive-open-drain; 923 }; 924 925 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 926 pinmux = <STM32_PINMUX('A', 1, AF7)>; 927 bias-pull-up; 928 drive-open-drain; 929 }; 930 931 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 932 pinmux = <STM32_PINMUX('A', 15, AF7)>; 933 bias-pull-up; 934 drive-open-drain; 935 }; 936 937 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 938 pinmux = <STM32_PINMUX('B', 1, AF7)>; 939 bias-pull-up; 940 drive-open-drain; 941 }; 942 943 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 944 pinmux = <STM32_PINMUX('B', 14, AF7)>; 945 bias-pull-up; 946 drive-open-drain; 947 }; 948 949 /omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 { 950 pinmux = <STM32_PINMUX('D', 2, AF7)>; 951 bias-pull-up; 952 drive-open-drain; 953 }; 954 955 /* UART_RX / USART_RX / LPUART_RX */ 956 957 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 958 pinmux = <STM32_PINMUX('A', 3, AF8)>; 959 }; 960 961 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 962 pinmux = <STM32_PINMUX('A', 10, AF7)>; 963 }; 964 965 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 966 pinmux = <STM32_PINMUX('B', 7, AF7)>; 967 }; 968 969 /omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 { 970 pinmux = <STM32_PINMUX('B', 10, AF8)>; 971 }; 972 973 /omit-if-no-ref/ lpuart1_rx_pc0: lpuart1_rx_pc0 { 974 pinmux = <STM32_PINMUX('C', 0, AF8)>; 975 }; 976 977 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 978 pinmux = <STM32_PINMUX('A', 3, AF7)>; 979 }; 980 981 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 982 pinmux = <STM32_PINMUX('A', 15, AF3)>; 983 }; 984 985 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 986 pinmux = <STM32_PINMUX('B', 11, AF7)>; 987 }; 988 989 /omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 { 990 pinmux = <STM32_PINMUX('C', 5, AF7)>; 991 }; 992 993 /omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 { 994 pinmux = <STM32_PINMUX('C', 11, AF7)>; 995 }; 996 997 /* UART_TX / USART_TX / LPUART_TX */ 998 999 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 1000 pinmux = <STM32_PINMUX('A', 2, AF8)>; 1001 bias-pull-up; 1002 }; 1003 1004 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1005 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1006 bias-pull-up; 1007 }; 1008 1009 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1010 pinmux = <STM32_PINMUX('B', 6, AF7)>; 1011 bias-pull-up; 1012 }; 1013 1014 /omit-if-no-ref/ lpuart1_tx_pb11: lpuart1_tx_pb11 { 1015 pinmux = <STM32_PINMUX('B', 11, AF8)>; 1016 bias-pull-up; 1017 }; 1018 1019 /omit-if-no-ref/ lpuart1_tx_pc1: lpuart1_tx_pc1 { 1020 pinmux = <STM32_PINMUX('C', 1, AF8)>; 1021 bias-pull-up; 1022 }; 1023 1024 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1025 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1026 bias-pull-up; 1027 }; 1028 1029 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1030 pinmux = <STM32_PINMUX('B', 10, AF7)>; 1031 bias-pull-up; 1032 }; 1033 1034 /omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 { 1035 pinmux = <STM32_PINMUX('C', 4, AF7)>; 1036 bias-pull-up; 1037 }; 1038 1039 /omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 { 1040 pinmux = <STM32_PINMUX('C', 10, AF7)>; 1041 bias-pull-up; 1042 }; 1043 1044 }; 1045 }; 1046};