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/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in9_pb1: adc1_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_pb2: analog_pb2 { 130 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb3: analog_pb3 { 134 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb4: analog_pb4 { 138 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb5: analog_pb5 { 142 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb6: analog_pb6 { 146 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb7: analog_pb7 { 150 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb8: analog_pb8 { 154 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb9: analog_pb9 { 158 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb10: analog_pb10 { 162 pinmux = <STM32_PINMUX('B', 10, 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_ph0: analog_ph0 { 194 pinmux = <STM32_PINMUX('H', 0, ANALOG)>; 195 }; 196 197 /omit-if-no-ref/ analog_ph1: analog_ph1 { 198 pinmux = <STM32_PINMUX('H', 1, ANALOG)>; 199 }; 200 201 /* CAN_RX */ 202 203 /omit-if-no-ref/ can1_rx_pa11: can1_rx_pa11 { 204 pinmux = <STM32_PINMUX('A', 11, AF9)>; 205 bias-pull-up; 206 }; 207 208 /omit-if-no-ref/ can1_rx_pb8: can1_rx_pb8 { 209 pinmux = <STM32_PINMUX('B', 8, AF8)>; 210 bias-pull-up; 211 }; 212 213 /omit-if-no-ref/ can2_rx_pb5: can2_rx_pb5 { 214 pinmux = <STM32_PINMUX('B', 5, AF9)>; 215 bias-pull-up; 216 }; 217 218 /omit-if-no-ref/ can2_rx_pb12: can2_rx_pb12 { 219 pinmux = <STM32_PINMUX('B', 12, AF9)>; 220 bias-pull-up; 221 }; 222 223 /omit-if-no-ref/ can3_rx_pa8: can3_rx_pa8 { 224 pinmux = <STM32_PINMUX('A', 8, AF11)>; 225 bias-pull-up; 226 }; 227 228 /omit-if-no-ref/ can3_rx_pb3: can3_rx_pb3 { 229 pinmux = <STM32_PINMUX('B', 3, AF11)>; 230 bias-pull-up; 231 }; 232 233 /* CAN_TX */ 234 235 /omit-if-no-ref/ can1_tx_pa12: can1_tx_pa12 { 236 pinmux = <STM32_PINMUX('A', 12, AF9)>; 237 }; 238 239 /omit-if-no-ref/ can1_tx_pb9: can1_tx_pb9 { 240 pinmux = <STM32_PINMUX('B', 9, AF8)>; 241 }; 242 243 /omit-if-no-ref/ can2_tx_pb6: can2_tx_pb6 { 244 pinmux = <STM32_PINMUX('B', 6, AF9)>; 245 }; 246 247 /omit-if-no-ref/ can2_tx_pb13: can2_tx_pb13 { 248 pinmux = <STM32_PINMUX('B', 13, AF9)>; 249 }; 250 251 /omit-if-no-ref/ can3_tx_pa15: can3_tx_pa15 { 252 pinmux = <STM32_PINMUX('A', 15, AF11)>; 253 }; 254 255 /omit-if-no-ref/ can3_tx_pb4: can3_tx_pb4 { 256 pinmux = <STM32_PINMUX('B', 4, AF11)>; 257 }; 258 259 /* DAC_OUT */ 260 261 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 262 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 263 }; 264 265 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 266 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 267 }; 268 269 /* I2C_SCL */ 270 271 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 272 pinmux = <STM32_PINMUX('B', 6, AF4)>; 273 bias-pull-up; 274 drive-open-drain; 275 }; 276 277 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 278 pinmux = <STM32_PINMUX('B', 8, AF4)>; 279 bias-pull-up; 280 drive-open-drain; 281 }; 282 283 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 284 pinmux = <STM32_PINMUX('B', 10, AF4)>; 285 bias-pull-up; 286 drive-open-drain; 287 }; 288 289 /omit-if-no-ref/ i2c3_scl_pa8: i2c3_scl_pa8 { 290 pinmux = <STM32_PINMUX('A', 8, AF4)>; 291 bias-pull-up; 292 drive-open-drain; 293 }; 294 295 /* I2C_SDA */ 296 297 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 298 pinmux = <STM32_PINMUX('B', 7, AF4)>; 299 bias-pull-up; 300 drive-open-drain; 301 }; 302 303 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 304 pinmux = <STM32_PINMUX('B', 9, AF4)>; 305 bias-pull-up; 306 drive-open-drain; 307 }; 308 309 /omit-if-no-ref/ i2c2_sda_pb3: i2c2_sda_pb3 { 310 pinmux = <STM32_PINMUX('B', 3, AF9)>; 311 bias-pull-up; 312 drive-open-drain; 313 }; 314 315 /omit-if-no-ref/ i2c2_sda_pb9: i2c2_sda_pb9 { 316 pinmux = <STM32_PINMUX('B', 9, AF9)>; 317 bias-pull-up; 318 drive-open-drain; 319 }; 320 321 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 322 pinmux = <STM32_PINMUX('B', 4, AF9)>; 323 bias-pull-up; 324 drive-open-drain; 325 }; 326 327 /omit-if-no-ref/ i2c3_sda_pb8: i2c3_sda_pb8 { 328 pinmux = <STM32_PINMUX('B', 8, AF9)>; 329 bias-pull-up; 330 drive-open-drain; 331 }; 332 333 /* I2S_CK */ 334 335 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 336 pinmux = <STM32_PINMUX('A', 5, AF5)>; 337 slew-rate = "very-high-speed"; 338 }; 339 340 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 341 pinmux = <STM32_PINMUX('B', 3, AF5)>; 342 slew-rate = "very-high-speed"; 343 }; 344 345 /omit-if-no-ref/ i2s2_ck_pa9: i2s2_ck_pa9 { 346 pinmux = <STM32_PINMUX('A', 9, AF5)>; 347 slew-rate = "very-high-speed"; 348 }; 349 350 /omit-if-no-ref/ i2s2_ck_pb10: i2s2_ck_pb10 { 351 pinmux = <STM32_PINMUX('B', 10, AF5)>; 352 slew-rate = "very-high-speed"; 353 }; 354 355 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 356 pinmux = <STM32_PINMUX('B', 13, AF5)>; 357 slew-rate = "very-high-speed"; 358 }; 359 360 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 361 pinmux = <STM32_PINMUX('B', 3, AF6)>; 362 slew-rate = "very-high-speed"; 363 }; 364 365 /omit-if-no-ref/ i2s3_ck_pb12: i2s3_ck_pb12 { 366 pinmux = <STM32_PINMUX('B', 12, AF5)>; 367 slew-rate = "very-high-speed"; 368 }; 369 370 /omit-if-no-ref/ i2s4_ck_pb13: i2s4_ck_pb13 { 371 pinmux = <STM32_PINMUX('B', 13, AF6)>; 372 slew-rate = "very-high-speed"; 373 }; 374 375 /omit-if-no-ref/ i2s5_ck_pb0: i2s5_ck_pb0 { 376 pinmux = <STM32_PINMUX('B', 0, AF6)>; 377 slew-rate = "very-high-speed"; 378 }; 379 380 /* I2S_MCK */ 381 382 /omit-if-no-ref/ i2s2_mck_pa3: i2s2_mck_pa3 { 383 pinmux = <STM32_PINMUX('A', 3, AF5)>; 384 slew-rate = "very-high-speed"; 385 }; 386 387 /omit-if-no-ref/ i2s2_mck_pa6: i2s2_mck_pa6 { 388 pinmux = <STM32_PINMUX('A', 6, AF6)>; 389 slew-rate = "very-high-speed"; 390 }; 391 392 /omit-if-no-ref/ i2s3_mck_pb10: i2s3_mck_pb10 { 393 pinmux = <STM32_PINMUX('B', 10, AF6)>; 394 slew-rate = "very-high-speed"; 395 }; 396 397 /* I2S_SD */ 398 399 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 400 pinmux = <STM32_PINMUX('A', 7, AF5)>; 401 }; 402 403 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 404 pinmux = <STM32_PINMUX('B', 5, AF5)>; 405 }; 406 407 /omit-if-no-ref/ i2s2_sd_pa10: i2s2_sd_pa10 { 408 pinmux = <STM32_PINMUX('A', 10, AF5)>; 409 }; 410 411 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 412 pinmux = <STM32_PINMUX('B', 15, AF5)>; 413 }; 414 415 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 416 pinmux = <STM32_PINMUX('B', 5, AF6)>; 417 }; 418 419 /omit-if-no-ref/ i2s4_sd_pa1: i2s4_sd_pa1 { 420 pinmux = <STM32_PINMUX('A', 1, AF5)>; 421 }; 422 423 /omit-if-no-ref/ i2s5_sd_pa10: i2s5_sd_pa10 { 424 pinmux = <STM32_PINMUX('A', 10, AF6)>; 425 }; 426 427 /omit-if-no-ref/ i2s5_sd_pb8: i2s5_sd_pb8 { 428 pinmux = <STM32_PINMUX('B', 8, AF6)>; 429 }; 430 431 /* I2S_WS */ 432 433 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 434 pinmux = <STM32_PINMUX('A', 4, AF5)>; 435 }; 436 437 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 438 pinmux = <STM32_PINMUX('A', 15, AF5)>; 439 }; 440 441 /omit-if-no-ref/ i2s2_ws_pa11: i2s2_ws_pa11 { 442 pinmux = <STM32_PINMUX('A', 11, AF5)>; 443 }; 444 445 /omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 { 446 pinmux = <STM32_PINMUX('B', 9, AF5)>; 447 }; 448 449 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 450 pinmux = <STM32_PINMUX('B', 12, AF5)>; 451 }; 452 453 /omit-if-no-ref/ i2s3_ws_pa4: i2s3_ws_pa4 { 454 pinmux = <STM32_PINMUX('A', 4, AF6)>; 455 }; 456 457 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 458 pinmux = <STM32_PINMUX('A', 15, AF6)>; 459 }; 460 461 /omit-if-no-ref/ i2s4_ws_pb12: i2s4_ws_pb12 { 462 pinmux = <STM32_PINMUX('B', 12, AF6)>; 463 }; 464 465 /omit-if-no-ref/ i2s5_ws_pb1: i2s5_ws_pb1 { 466 pinmux = <STM32_PINMUX('B', 1, AF6)>; 467 }; 468 469 /* SDIO */ 470 471 /omit-if-no-ref/ sdio_cmd_pa6: sdio_cmd_pa6 { 472 pinmux = <STM32_PINMUX('A', 6, AF12)>; 473 bias-pull-up; 474 slew-rate = "very-high-speed"; 475 }; 476 477 /omit-if-no-ref/ sdio_d1_pa8: sdio_d1_pa8 { 478 pinmux = <STM32_PINMUX('A', 8, AF12)>; 479 bias-pull-up; 480 slew-rate = "very-high-speed"; 481 }; 482 483 /omit-if-no-ref/ sdio_d2_pa9: sdio_d2_pa9 { 484 pinmux = <STM32_PINMUX('A', 9, AF12)>; 485 bias-pull-up; 486 slew-rate = "very-high-speed"; 487 }; 488 489 /omit-if-no-ref/ sdio_d0_pb4: sdio_d0_pb4 { 490 pinmux = <STM32_PINMUX('B', 4, AF12)>; 491 bias-pull-up; 492 slew-rate = "very-high-speed"; 493 }; 494 495 /omit-if-no-ref/ sdio_d3_pb5: sdio_d3_pb5 { 496 pinmux = <STM32_PINMUX('B', 5, AF12)>; 497 bias-pull-up; 498 slew-rate = "very-high-speed"; 499 }; 500 501 /omit-if-no-ref/ sdio_d0_pb6: sdio_d0_pb6 { 502 pinmux = <STM32_PINMUX('B', 6, AF12)>; 503 bias-pull-up; 504 slew-rate = "very-high-speed"; 505 }; 506 507 /omit-if-no-ref/ sdio_d4_pb8: sdio_d4_pb8 { 508 pinmux = <STM32_PINMUX('B', 8, AF12)>; 509 bias-pull-up; 510 slew-rate = "very-high-speed"; 511 }; 512 513 /omit-if-no-ref/ sdio_d5_pb9: sdio_d5_pb9 { 514 pinmux = <STM32_PINMUX('B', 9, AF12)>; 515 bias-pull-up; 516 slew-rate = "very-high-speed"; 517 }; 518 519 /omit-if-no-ref/ sdio_d7_pb10: sdio_d7_pb10 { 520 pinmux = <STM32_PINMUX('B', 10, AF12)>; 521 bias-pull-up; 522 slew-rate = "very-high-speed"; 523 }; 524 525 /omit-if-no-ref/ sdio_d6_pb14: sdio_d6_pb14 { 526 pinmux = <STM32_PINMUX('B', 14, AF12)>; 527 bias-pull-up; 528 slew-rate = "very-high-speed"; 529 }; 530 531 /omit-if-no-ref/ sdio_ck_pb15: sdio_ck_pb15 { 532 pinmux = <STM32_PINMUX('B', 15, AF12)>; 533 bias-pull-up; 534 slew-rate = "very-high-speed"; 535 }; 536 537 /* SPI_MISO */ 538 539 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 540 pinmux = <STM32_PINMUX('A', 6, AF5)>; 541 bias-pull-down; 542 }; 543 544 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 545 pinmux = <STM32_PINMUX('B', 4, AF5)>; 546 bias-pull-down; 547 }; 548 549 /omit-if-no-ref/ spi2_miso_pa12: spi2_miso_pa12 { 550 pinmux = <STM32_PINMUX('A', 12, AF5)>; 551 bias-pull-down; 552 }; 553 554 /omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 { 555 pinmux = <STM32_PINMUX('B', 14, AF5)>; 556 bias-pull-down; 557 }; 558 559 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 560 pinmux = <STM32_PINMUX('B', 4, AF6)>; 561 bias-pull-down; 562 }; 563 564 /omit-if-no-ref/ spi4_miso_pa11: spi4_miso_pa11 { 565 pinmux = <STM32_PINMUX('A', 11, AF6)>; 566 bias-pull-down; 567 }; 568 569 /omit-if-no-ref/ spi5_miso_pa12: spi5_miso_pa12 { 570 pinmux = <STM32_PINMUX('A', 12, AF6)>; 571 bias-pull-down; 572 }; 573 574 /* SPI_MOSI */ 575 576 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 577 pinmux = <STM32_PINMUX('A', 7, AF5)>; 578 bias-pull-down; 579 }; 580 581 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 582 pinmux = <STM32_PINMUX('B', 5, AF5)>; 583 bias-pull-down; 584 }; 585 586 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 587 pinmux = <STM32_PINMUX('A', 10, AF5)>; 588 bias-pull-down; 589 }; 590 591 /omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 { 592 pinmux = <STM32_PINMUX('B', 15, AF5)>; 593 bias-pull-down; 594 }; 595 596 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 597 pinmux = <STM32_PINMUX('B', 5, AF6)>; 598 bias-pull-down; 599 }; 600 601 /omit-if-no-ref/ spi4_mosi_pa1: spi4_mosi_pa1 { 602 pinmux = <STM32_PINMUX('A', 1, AF5)>; 603 bias-pull-down; 604 }; 605 606 /omit-if-no-ref/ spi5_mosi_pa10: spi5_mosi_pa10 { 607 pinmux = <STM32_PINMUX('A', 10, AF6)>; 608 bias-pull-down; 609 }; 610 611 /omit-if-no-ref/ spi5_mosi_pb8: spi5_mosi_pb8 { 612 pinmux = <STM32_PINMUX('B', 8, AF6)>; 613 bias-pull-down; 614 }; 615 616 /* SPI_NSS */ 617 618 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 619 pinmux = <STM32_PINMUX('A', 4, AF5)>; 620 bias-pull-up; 621 }; 622 623 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 624 pinmux = <STM32_PINMUX('A', 15, AF5)>; 625 bias-pull-up; 626 }; 627 628 /omit-if-no-ref/ spi2_nss_pa11: spi2_nss_pa11 { 629 pinmux = <STM32_PINMUX('A', 11, AF5)>; 630 bias-pull-up; 631 }; 632 633 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 634 pinmux = <STM32_PINMUX('B', 9, AF5)>; 635 bias-pull-up; 636 }; 637 638 /omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 { 639 pinmux = <STM32_PINMUX('B', 12, AF5)>; 640 bias-pull-up; 641 }; 642 643 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 644 pinmux = <STM32_PINMUX('A', 4, AF6)>; 645 bias-pull-up; 646 }; 647 648 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 649 pinmux = <STM32_PINMUX('A', 15, AF6)>; 650 bias-pull-up; 651 }; 652 653 /omit-if-no-ref/ spi4_nss_pb12: spi4_nss_pb12 { 654 pinmux = <STM32_PINMUX('B', 12, AF6)>; 655 bias-pull-up; 656 }; 657 658 /omit-if-no-ref/ spi5_nss_pb1: spi5_nss_pb1 { 659 pinmux = <STM32_PINMUX('B', 1, AF6)>; 660 bias-pull-up; 661 }; 662 663 /* SPI_SCK */ 664 665 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 666 pinmux = <STM32_PINMUX('A', 5, AF5)>; 667 bias-pull-down; 668 slew-rate = "very-high-speed"; 669 }; 670 671 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 672 pinmux = <STM32_PINMUX('B', 3, AF5)>; 673 bias-pull-down; 674 slew-rate = "very-high-speed"; 675 }; 676 677 /omit-if-no-ref/ spi2_sck_pa9: spi2_sck_pa9 { 678 pinmux = <STM32_PINMUX('A', 9, AF5)>; 679 bias-pull-down; 680 slew-rate = "very-high-speed"; 681 }; 682 683 /omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 { 684 pinmux = <STM32_PINMUX('B', 10, AF5)>; 685 bias-pull-down; 686 slew-rate = "very-high-speed"; 687 }; 688 689 /omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 { 690 pinmux = <STM32_PINMUX('B', 13, AF5)>; 691 bias-pull-down; 692 slew-rate = "very-high-speed"; 693 }; 694 695 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 696 pinmux = <STM32_PINMUX('B', 3, AF6)>; 697 bias-pull-down; 698 slew-rate = "very-high-speed"; 699 }; 700 701 /omit-if-no-ref/ spi3_sck_pb12: spi3_sck_pb12 { 702 pinmux = <STM32_PINMUX('B', 12, AF7)>; 703 bias-pull-down; 704 slew-rate = "very-high-speed"; 705 }; 706 707 /omit-if-no-ref/ spi4_sck_pb13: spi4_sck_pb13 { 708 pinmux = <STM32_PINMUX('B', 13, AF6)>; 709 bias-pull-down; 710 slew-rate = "very-high-speed"; 711 }; 712 713 /omit-if-no-ref/ spi5_sck_pb0: spi5_sck_pb0 { 714 pinmux = <STM32_PINMUX('B', 0, AF6)>; 715 bias-pull-down; 716 slew-rate = "very-high-speed"; 717 }; 718 719 /* TIM_BKIN */ 720 721 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 722 pinmux = <STM32_PINMUX('A', 6, AF1)>; 723 }; 724 725 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 726 pinmux = <STM32_PINMUX('B', 12, AF1)>; 727 }; 728 729 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 730 pinmux = <STM32_PINMUX('A', 6, AF3)>; 731 }; 732 733 /* TIM_CH / TIM_CHN */ 734 735 /omit-if-no-ref/ tim10_ch1_pb8: tim10_ch1_pb8 { 736 pinmux = <STM32_PINMUX('B', 8, AF3)>; 737 }; 738 739 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 740 pinmux = <STM32_PINMUX('A', 7, AF1)>; 741 }; 742 743 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 744 pinmux = <STM32_PINMUX('A', 8, AF1)>; 745 }; 746 747 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 748 pinmux = <STM32_PINMUX('A', 9, AF1)>; 749 }; 750 751 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 752 pinmux = <STM32_PINMUX('A', 10, AF1)>; 753 }; 754 755 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 756 pinmux = <STM32_PINMUX('A', 11, AF1)>; 757 }; 758 759 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 760 pinmux = <STM32_PINMUX('B', 0, AF1)>; 761 }; 762 763 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 764 pinmux = <STM32_PINMUX('B', 1, AF1)>; 765 }; 766 767 /omit-if-no-ref/ tim11_ch1_pb9: tim11_ch1_pb9 { 768 pinmux = <STM32_PINMUX('B', 9, AF3)>; 769 }; 770 771 /omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 { 772 pinmux = <STM32_PINMUX('B', 13, AF1)>; 773 }; 774 775 /omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 { 776 pinmux = <STM32_PINMUX('B', 14, AF1)>; 777 }; 778 779 /omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 { 780 pinmux = <STM32_PINMUX('B', 15, AF1)>; 781 }; 782 783 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 784 pinmux = <STM32_PINMUX('A', 0, AF1)>; 785 }; 786 787 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 788 pinmux = <STM32_PINMUX('A', 1, AF1)>; 789 }; 790 791 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 792 pinmux = <STM32_PINMUX('A', 2, AF1)>; 793 }; 794 795 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 796 pinmux = <STM32_PINMUX('A', 3, AF1)>; 797 }; 798 799 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 800 pinmux = <STM32_PINMUX('A', 5, AF1)>; 801 }; 802 803 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 804 pinmux = <STM32_PINMUX('A', 15, AF1)>; 805 }; 806 807 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 808 pinmux = <STM32_PINMUX('B', 3, AF1)>; 809 }; 810 811 /omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 { 812 pinmux = <STM32_PINMUX('B', 10, AF1)>; 813 }; 814 815 /omit-if-no-ref/ tim12_ch1_pb14: tim12_ch1_pb14 { 816 pinmux = <STM32_PINMUX('B', 14, AF9)>; 817 }; 818 819 /omit-if-no-ref/ tim12_ch2_pb15: tim12_ch2_pb15 { 820 pinmux = <STM32_PINMUX('B', 15, AF9)>; 821 }; 822 823 /omit-if-no-ref/ tim13_ch1_pa6: tim13_ch1_pa6 { 824 pinmux = <STM32_PINMUX('A', 6, AF9)>; 825 }; 826 827 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 828 pinmux = <STM32_PINMUX('A', 6, AF2)>; 829 }; 830 831 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 832 pinmux = <STM32_PINMUX('A', 7, AF2)>; 833 }; 834 835 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 836 pinmux = <STM32_PINMUX('B', 0, AF2)>; 837 }; 838 839 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 840 pinmux = <STM32_PINMUX('B', 1, AF2)>; 841 }; 842 843 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 844 pinmux = <STM32_PINMUX('B', 4, AF2)>; 845 }; 846 847 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 848 pinmux = <STM32_PINMUX('B', 5, AF2)>; 849 }; 850 851 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 852 pinmux = <STM32_PINMUX('A', 7, AF9)>; 853 }; 854 855 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 856 pinmux = <STM32_PINMUX('B', 6, AF2)>; 857 }; 858 859 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 860 pinmux = <STM32_PINMUX('B', 7, AF2)>; 861 }; 862 863 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 864 pinmux = <STM32_PINMUX('B', 8, AF2)>; 865 }; 866 867 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 868 pinmux = <STM32_PINMUX('B', 9, AF2)>; 869 }; 870 871 /omit-if-no-ref/ tim5_ch1_pa0: tim5_ch1_pa0 { 872 pinmux = <STM32_PINMUX('A', 0, AF2)>; 873 }; 874 875 /omit-if-no-ref/ tim5_ch2_pa1: tim5_ch2_pa1 { 876 pinmux = <STM32_PINMUX('A', 1, AF2)>; 877 }; 878 879 /omit-if-no-ref/ tim5_ch3_pa2: tim5_ch3_pa2 { 880 pinmux = <STM32_PINMUX('A', 2, AF2)>; 881 }; 882 883 /omit-if-no-ref/ tim5_ch4_pa3: tim5_ch4_pa3 { 884 pinmux = <STM32_PINMUX('A', 3, AF2)>; 885 }; 886 887 /omit-if-no-ref/ tim8_ch1n_pa5: tim8_ch1n_pa5 { 888 pinmux = <STM32_PINMUX('A', 5, AF3)>; 889 }; 890 891 /omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 { 892 pinmux = <STM32_PINMUX('A', 7, AF3)>; 893 }; 894 895 /omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 { 896 pinmux = <STM32_PINMUX('B', 0, AF3)>; 897 }; 898 899 /omit-if-no-ref/ tim8_ch3n_pb1: tim8_ch3n_pb1 { 900 pinmux = <STM32_PINMUX('B', 1, AF3)>; 901 }; 902 903 /omit-if-no-ref/ tim8_ch2n_pb14: tim8_ch2n_pb14 { 904 pinmux = <STM32_PINMUX('B', 14, AF3)>; 905 }; 906 907 /omit-if-no-ref/ tim8_ch3n_pb15: tim8_ch3n_pb15 { 908 pinmux = <STM32_PINMUX('B', 15, AF3)>; 909 }; 910 911 /omit-if-no-ref/ tim9_ch1_pa2: tim9_ch1_pa2 { 912 pinmux = <STM32_PINMUX('A', 2, AF3)>; 913 }; 914 915 /omit-if-no-ref/ tim9_ch2_pa3: tim9_ch2_pa3 { 916 pinmux = <STM32_PINMUX('A', 3, AF3)>; 917 }; 918 919 /* UART_CTS / USART_CTS / LPUART_CTS */ 920 921 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 922 pinmux = <STM32_PINMUX('A', 11, AF7)>; 923 bias-pull-up; 924 drive-open-drain; 925 }; 926 927 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 928 pinmux = <STM32_PINMUX('A', 0, AF7)>; 929 bias-pull-up; 930 drive-open-drain; 931 }; 932 933 /* UART_RTS / USART_RTS / LPUART_RTS */ 934 935 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 936 pinmux = <STM32_PINMUX('A', 12, AF7)>; 937 bias-pull-up; 938 drive-open-drain; 939 }; 940 941 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 942 pinmux = <STM32_PINMUX('A', 1, AF7)>; 943 bias-pull-up; 944 drive-open-drain; 945 }; 946 947 /* UART_RX / USART_RX / LPUART_RX */ 948 949 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 950 pinmux = <STM32_PINMUX('A', 10, AF7)>; 951 }; 952 953 /omit-if-no-ref/ usart1_rx_pb3: usart1_rx_pb3 { 954 pinmux = <STM32_PINMUX('B', 3, AF7)>; 955 }; 956 957 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 958 pinmux = <STM32_PINMUX('B', 7, AF7)>; 959 }; 960 961 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 962 pinmux = <STM32_PINMUX('A', 3, AF7)>; 963 }; 964 965 /omit-if-no-ref/ uart4_rx_pa1: uart4_rx_pa1 { 966 pinmux = <STM32_PINMUX('A', 1, AF8)>; 967 }; 968 969 /omit-if-no-ref/ uart4_rx_pa11: uart4_rx_pa11 { 970 pinmux = <STM32_PINMUX('A', 11, AF11)>; 971 }; 972 973 /omit-if-no-ref/ uart5_rx_pb5: uart5_rx_pb5 { 974 pinmux = <STM32_PINMUX('B', 5, AF11)>; 975 }; 976 977 /omit-if-no-ref/ uart5_rx_pb8: uart5_rx_pb8 { 978 pinmux = <STM32_PINMUX('B', 8, AF11)>; 979 }; 980 981 /omit-if-no-ref/ uart5_rx_pb12: uart5_rx_pb12 { 982 pinmux = <STM32_PINMUX('B', 12, AF11)>; 983 }; 984 985 /omit-if-no-ref/ usart6_rx_pa12: usart6_rx_pa12 { 986 pinmux = <STM32_PINMUX('A', 12, AF8)>; 987 }; 988 989 /omit-if-no-ref/ uart7_rx_pa8: uart7_rx_pa8 { 990 pinmux = <STM32_PINMUX('A', 8, AF8)>; 991 }; 992 993 /omit-if-no-ref/ uart7_rx_pb3: uart7_rx_pb3 { 994 pinmux = <STM32_PINMUX('B', 3, AF8)>; 995 }; 996 997 /* UART_TX / USART_TX / LPUART_TX */ 998 999 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1000 pinmux = <STM32_PINMUX('A', 9, AF7)>; 1001 bias-pull-up; 1002 }; 1003 1004 /omit-if-no-ref/ usart1_tx_pa15: usart1_tx_pa15 { 1005 pinmux = <STM32_PINMUX('A', 15, 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/ usart2_tx_pa2: usart2_tx_pa2 { 1015 pinmux = <STM32_PINMUX('A', 2, AF7)>; 1016 bias-pull-up; 1017 }; 1018 1019 /omit-if-no-ref/ uart4_tx_pa0: uart4_tx_pa0 { 1020 pinmux = <STM32_PINMUX('A', 0, AF8)>; 1021 bias-pull-up; 1022 }; 1023 1024 /omit-if-no-ref/ uart4_tx_pa12: uart4_tx_pa12 { 1025 pinmux = <STM32_PINMUX('A', 12, AF11)>; 1026 bias-pull-up; 1027 }; 1028 1029 /omit-if-no-ref/ uart5_tx_pb6: uart5_tx_pb6 { 1030 pinmux = <STM32_PINMUX('B', 6, AF11)>; 1031 bias-pull-up; 1032 }; 1033 1034 /omit-if-no-ref/ uart5_tx_pb9: uart5_tx_pb9 { 1035 pinmux = <STM32_PINMUX('B', 9, AF11)>; 1036 bias-pull-up; 1037 }; 1038 1039 /omit-if-no-ref/ uart5_tx_pb13: uart5_tx_pb13 { 1040 pinmux = <STM32_PINMUX('B', 13, AF11)>; 1041 bias-pull-up; 1042 }; 1043 1044 /omit-if-no-ref/ usart6_tx_pa11: usart6_tx_pa11 { 1045 pinmux = <STM32_PINMUX('A', 11, AF8)>; 1046 bias-pull-up; 1047 }; 1048 1049 /omit-if-no-ref/ uart7_tx_pa15: uart7_tx_pa15 { 1050 pinmux = <STM32_PINMUX('A', 15, AF8)>; 1051 bias-pull-up; 1052 }; 1053 1054 /omit-if-no-ref/ uart7_tx_pb4: uart7_tx_pb4 { 1055 pinmux = <STM32_PINMUX('B', 4, AF8)>; 1056 bias-pull-up; 1057 }; 1058 1059 /* USB_OTG_FS */ 1060 1061 /omit-if-no-ref/ usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 { 1062 pinmux = <STM32_PINMUX('A', 8, AF10)>; 1063 }; 1064 1065 /omit-if-no-ref/ usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 { 1066 pinmux = <STM32_PINMUX('A', 9, AF10)>; 1067 }; 1068 1069 /omit-if-no-ref/ usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 { 1070 pinmux = <STM32_PINMUX('A', 10, AF10)>; 1071 }; 1072 1073 /omit-if-no-ref/ usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 { 1074 pinmux = <STM32_PINMUX('A', 11, AF10)>; 1075 }; 1076 1077 /omit-if-no-ref/ usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 { 1078 pinmux = <STM32_PINMUX('A', 12, AF10)>; 1079 }; 1080 1081 }; 1082 }; 1083};