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@50000000 { 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 /omit-if-no-ref/ adc1_in10_pb2: adc1_in10_pb2 { 56 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 57 }; 58 59 /* Analog */ 60 61 /omit-if-no-ref/ analog_pa0: analog_pa0 { 62 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 63 }; 64 65 /omit-if-no-ref/ analog_pa1: analog_pa1 { 66 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa2: analog_pa2 { 70 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa3: analog_pa3 { 74 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa4: analog_pa4 { 78 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa5: analog_pa5 { 82 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa6: analog_pa6 { 86 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa7: analog_pa7 { 90 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa8: analog_pa8 { 94 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa9: analog_pa9 { 98 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa10: analog_pa10 { 102 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa11: analog_pa11 { 106 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa12: analog_pa12 { 110 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa13: analog_pa13 { 114 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa14: analog_pa14 { 118 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa15: analog_pa15 { 122 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb0: analog_pb0 { 126 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb1: analog_pb1 { 130 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb2: analog_pb2 { 134 pinmux = <STM32_PINMUX('B', 2, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb3: analog_pb3 { 138 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pb4: analog_pb4 { 142 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb5: analog_pb5 { 146 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb6: analog_pb6 { 150 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb7: analog_pb7 { 154 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb8: analog_pb8 { 158 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb9: analog_pb9 { 162 pinmux = <STM32_PINMUX('B', 9, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pc6: analog_pc6 { 166 pinmux = <STM32_PINMUX('C', 6, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pc14: analog_pc14 { 170 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_pc15: analog_pc15 { 174 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 175 }; 176 177 /omit-if-no-ref/ analog_pf2: analog_pf2 { 178 pinmux = <STM32_PINMUX('F', 2, ANALOG)>; 179 }; 180 181 /* DAC_OUT */ 182 183 /omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 { 184 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 185 }; 186 187 /omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 { 188 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 189 }; 190 191 /* FDCAN_RX */ 192 193 /omit-if-no-ref/ fdcan1_rx_pa11: fdcan1_rx_pa11 { 194 pinmux = <STM32_PINMUX('A', 11, AF3)>; 195 }; 196 197 /omit-if-no-ref/ fdcan1_rx_pb8: fdcan1_rx_pb8 { 198 pinmux = <STM32_PINMUX('B', 8, AF3)>; 199 }; 200 201 /omit-if-no-ref/ fdcan2_rx_pb0: fdcan2_rx_pb0 { 202 pinmux = <STM32_PINMUX('B', 0, AF3)>; 203 }; 204 205 /omit-if-no-ref/ fdcan2_rx_pb5: fdcan2_rx_pb5 { 206 pinmux = <STM32_PINMUX('B', 5, AF3)>; 207 }; 208 209 /* FDCAN_TX */ 210 211 /omit-if-no-ref/ fdcan1_tx_pa12: fdcan1_tx_pa12 { 212 pinmux = <STM32_PINMUX('A', 12, AF3)>; 213 }; 214 215 /omit-if-no-ref/ fdcan1_tx_pb9: fdcan1_tx_pb9 { 216 pinmux = <STM32_PINMUX('B', 9, AF3)>; 217 }; 218 219 /omit-if-no-ref/ fdcan2_tx_pb1: fdcan2_tx_pb1 { 220 pinmux = <STM32_PINMUX('B', 1, AF3)>; 221 }; 222 223 /omit-if-no-ref/ fdcan2_tx_pb6: fdcan2_tx_pb6 { 224 pinmux = <STM32_PINMUX('B', 6, AF3)>; 225 }; 226 227 /* I2C_SCL */ 228 229 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 230 pinmux = <STM32_PINMUX('A', 9, AF6)>; 231 bias-pull-up; 232 drive-open-drain; 233 }; 234 235 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 236 pinmux = <STM32_PINMUX('B', 6, AF6)>; 237 bias-pull-up; 238 drive-open-drain; 239 }; 240 241 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 242 pinmux = <STM32_PINMUX('B', 8, AF6)>; 243 bias-pull-up; 244 drive-open-drain; 245 }; 246 247 /omit-if-no-ref/ i2c2_scl_pa7: i2c2_scl_pa7 { 248 pinmux = <STM32_PINMUX('A', 7, AF8)>; 249 bias-pull-up; 250 drive-open-drain; 251 }; 252 253 /omit-if-no-ref/ i2c2_scl_pa9: i2c2_scl_pa9 { 254 pinmux = <STM32_PINMUX('A', 9, AF8)>; 255 bias-pull-up; 256 drive-open-drain; 257 }; 258 259 /omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 { 260 pinmux = <STM32_PINMUX('A', 11, AF6)>; 261 bias-pull-up; 262 drive-open-drain; 263 }; 264 265 /omit-if-no-ref/ i2c2_scl_pb3: i2c2_scl_pb3 { 266 pinmux = <STM32_PINMUX('B', 3, AF8)>; 267 bias-pull-up; 268 drive-open-drain; 269 }; 270 271 /omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 { 272 pinmux = <STM32_PINMUX('A', 7, AF9)>; 273 bias-pull-up; 274 drive-open-drain; 275 }; 276 277 /omit-if-no-ref/ i2c3_scl_pb3: i2c3_scl_pb3 { 278 pinmux = <STM32_PINMUX('B', 3, AF6)>; 279 bias-pull-up; 280 drive-open-drain; 281 }; 282 283 /* I2C_SDA */ 284 285 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 286 pinmux = <STM32_PINMUX('A', 10, AF6)>; 287 bias-pull-up; 288 drive-open-drain; 289 }; 290 291 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 292 pinmux = <STM32_PINMUX('B', 7, AF6)>; 293 bias-pull-up; 294 drive-open-drain; 295 }; 296 297 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 298 pinmux = <STM32_PINMUX('B', 9, AF6)>; 299 bias-pull-up; 300 drive-open-drain; 301 }; 302 303 /omit-if-no-ref/ i2c2_sda_pa6: i2c2_sda_pa6 { 304 pinmux = <STM32_PINMUX('A', 6, AF8)>; 305 bias-pull-up; 306 drive-open-drain; 307 }; 308 309 /omit-if-no-ref/ i2c2_sda_pa10: i2c2_sda_pa10 { 310 pinmux = <STM32_PINMUX('A', 10, AF8)>; 311 bias-pull-up; 312 drive-open-drain; 313 }; 314 315 /omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 { 316 pinmux = <STM32_PINMUX('A', 12, AF6)>; 317 bias-pull-up; 318 drive-open-drain; 319 }; 320 321 /omit-if-no-ref/ i2c2_sda_pb4: i2c2_sda_pb4 { 322 pinmux = <STM32_PINMUX('B', 4, AF8)>; 323 bias-pull-up; 324 drive-open-drain; 325 }; 326 327 /omit-if-no-ref/ i2c3_sda_pa6: i2c3_sda_pa6 { 328 pinmux = <STM32_PINMUX('A', 6, AF9)>; 329 bias-pull-up; 330 drive-open-drain; 331 }; 332 333 /omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 { 334 pinmux = <STM32_PINMUX('B', 4, AF6)>; 335 bias-pull-up; 336 drive-open-drain; 337 }; 338 339 /* I2S_CK */ 340 341 /omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 { 342 pinmux = <STM32_PINMUX('A', 1, AF0)>; 343 slew-rate = "very-high-speed"; 344 }; 345 346 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 347 pinmux = <STM32_PINMUX('A', 5, AF0)>; 348 slew-rate = "very-high-speed"; 349 }; 350 351 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 352 pinmux = <STM32_PINMUX('B', 3, AF0)>; 353 slew-rate = "very-high-speed"; 354 }; 355 356 /omit-if-no-ref/ i2s2_ck_pa0: i2s2_ck_pa0 { 357 pinmux = <STM32_PINMUX('A', 0, AF0)>; 358 slew-rate = "very-high-speed"; 359 }; 360 361 /omit-if-no-ref/ i2s2_ck_pb8: i2s2_ck_pb8 { 362 pinmux = <STM32_PINMUX('B', 8, AF1)>; 363 slew-rate = "very-high-speed"; 364 }; 365 366 /* I2S_MCK */ 367 368 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 369 pinmux = <STM32_PINMUX('A', 6, AF0)>; 370 slew-rate = "very-high-speed"; 371 }; 372 373 /omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 { 374 pinmux = <STM32_PINMUX('A', 11, AF0)>; 375 slew-rate = "very-high-speed"; 376 }; 377 378 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 379 pinmux = <STM32_PINMUX('B', 4, AF0)>; 380 slew-rate = "very-high-speed"; 381 }; 382 383 /omit-if-no-ref/ i2s2_mck_pa3: i2s2_mck_pa3 { 384 pinmux = <STM32_PINMUX('A', 3, AF0)>; 385 slew-rate = "very-high-speed"; 386 }; 387 388 /omit-if-no-ref/ i2s2_mck_pa9: i2s2_mck_pa9 { 389 pinmux = <STM32_PINMUX('A', 9, AF4)>; 390 slew-rate = "very-high-speed"; 391 }; 392 393 /omit-if-no-ref/ i2s2_mck_pb2: i2s2_mck_pb2 { 394 pinmux = <STM32_PINMUX('B', 2, AF1)>; 395 slew-rate = "very-high-speed"; 396 }; 397 398 /omit-if-no-ref/ i2s2_mck_pb6: i2s2_mck_pb6 { 399 pinmux = <STM32_PINMUX('B', 6, AF4)>; 400 slew-rate = "very-high-speed"; 401 }; 402 403 /* I2S_SD */ 404 405 /omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 { 406 pinmux = <STM32_PINMUX('A', 2, AF0)>; 407 }; 408 409 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 410 pinmux = <STM32_PINMUX('A', 7, AF0)>; 411 }; 412 413 /omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 { 414 pinmux = <STM32_PINMUX('A', 12, AF0)>; 415 }; 416 417 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 418 pinmux = <STM32_PINMUX('B', 5, AF0)>; 419 }; 420 421 /omit-if-no-ref/ i2s2_sd_pa4: i2s2_sd_pa4 { 422 pinmux = <STM32_PINMUX('A', 4, AF1)>; 423 }; 424 425 /omit-if-no-ref/ i2s2_sd_pa10: i2s2_sd_pa10 { 426 pinmux = <STM32_PINMUX('A', 10, AF0)>; 427 }; 428 429 /omit-if-no-ref/ i2s2_sd_pb7: i2s2_sd_pb7 { 430 pinmux = <STM32_PINMUX('B', 7, AF1)>; 431 }; 432 433 /* I2S_WS */ 434 435 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 436 pinmux = <STM32_PINMUX('A', 4, AF0)>; 437 }; 438 439 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 440 pinmux = <STM32_PINMUX('A', 15, AF0)>; 441 }; 442 443 /omit-if-no-ref/ i2s1_ws_pb0: i2s1_ws_pb0 { 444 pinmux = <STM32_PINMUX('B', 0, AF0)>; 445 }; 446 447 /omit-if-no-ref/ i2s2_ws_pa8: i2s2_ws_pa8 { 448 pinmux = <STM32_PINMUX('A', 8, AF1)>; 449 }; 450 451 /omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 { 452 pinmux = <STM32_PINMUX('B', 9, AF5)>; 453 }; 454 455 /* SPI_MISO */ 456 457 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 458 pinmux = <STM32_PINMUX('A', 6, AF0)>; 459 bias-pull-down; 460 }; 461 462 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 463 pinmux = <STM32_PINMUX('A', 11, AF0)>; 464 bias-pull-down; 465 }; 466 467 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 468 pinmux = <STM32_PINMUX('B', 4, AF0)>; 469 bias-pull-down; 470 }; 471 472 /omit-if-no-ref/ spi2_miso_pa3: spi2_miso_pa3 { 473 pinmux = <STM32_PINMUX('A', 3, AF0)>; 474 bias-pull-down; 475 }; 476 477 /omit-if-no-ref/ spi2_miso_pa9: spi2_miso_pa9 { 478 pinmux = <STM32_PINMUX('A', 9, AF4)>; 479 bias-pull-down; 480 }; 481 482 /omit-if-no-ref/ spi2_miso_pb2: spi2_miso_pb2 { 483 pinmux = <STM32_PINMUX('B', 2, AF1)>; 484 bias-pull-down; 485 }; 486 487 /omit-if-no-ref/ spi2_miso_pb6: spi2_miso_pb6 { 488 pinmux = <STM32_PINMUX('B', 6, AF4)>; 489 bias-pull-down; 490 }; 491 492 /omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 { 493 pinmux = <STM32_PINMUX('B', 4, AF9)>; 494 bias-pull-down; 495 }; 496 497 /* SPI_MOSI */ 498 499 /omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 { 500 pinmux = <STM32_PINMUX('A', 2, AF0)>; 501 bias-pull-down; 502 }; 503 504 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 505 pinmux = <STM32_PINMUX('A', 7, AF0)>; 506 bias-pull-down; 507 }; 508 509 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 510 pinmux = <STM32_PINMUX('A', 12, AF0)>; 511 bias-pull-down; 512 }; 513 514 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 515 pinmux = <STM32_PINMUX('B', 5, AF0)>; 516 bias-pull-down; 517 }; 518 519 /omit-if-no-ref/ spi2_mosi_pa4: spi2_mosi_pa4 { 520 pinmux = <STM32_PINMUX('A', 4, AF1)>; 521 bias-pull-down; 522 }; 523 524 /omit-if-no-ref/ spi2_mosi_pa10: spi2_mosi_pa10 { 525 pinmux = <STM32_PINMUX('A', 10, AF0)>; 526 bias-pull-down; 527 }; 528 529 /omit-if-no-ref/ spi2_mosi_pb7: spi2_mosi_pb7 { 530 pinmux = <STM32_PINMUX('B', 7, AF1)>; 531 bias-pull-down; 532 }; 533 534 /omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 { 535 pinmux = <STM32_PINMUX('B', 5, AF9)>; 536 bias-pull-down; 537 }; 538 539 /* SPI_NSS */ 540 541 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 542 pinmux = <STM32_PINMUX('A', 4, AF0)>; 543 bias-pull-up; 544 }; 545 546 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 547 pinmux = <STM32_PINMUX('A', 15, AF0)>; 548 bias-pull-up; 549 }; 550 551 /omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 { 552 pinmux = <STM32_PINMUX('B', 0, AF0)>; 553 bias-pull-up; 554 }; 555 556 /omit-if-no-ref/ spi2_nss_pa8: spi2_nss_pa8 { 557 pinmux = <STM32_PINMUX('A', 8, AF1)>; 558 bias-pull-up; 559 }; 560 561 /omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 { 562 pinmux = <STM32_PINMUX('B', 9, AF5)>; 563 bias-pull-up; 564 }; 565 566 /omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 { 567 pinmux = <STM32_PINMUX('A', 4, AF9)>; 568 bias-pull-up; 569 }; 570 571 /omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 { 572 pinmux = <STM32_PINMUX('A', 15, AF9)>; 573 bias-pull-up; 574 }; 575 576 /* SPI_SCK */ 577 578 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 579 pinmux = <STM32_PINMUX('A', 1, AF0)>; 580 bias-pull-down; 581 slew-rate = "very-high-speed"; 582 }; 583 584 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 585 pinmux = <STM32_PINMUX('A', 5, AF0)>; 586 bias-pull-down; 587 slew-rate = "very-high-speed"; 588 }; 589 590 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 591 pinmux = <STM32_PINMUX('B', 3, AF0)>; 592 bias-pull-down; 593 slew-rate = "very-high-speed"; 594 }; 595 596 /omit-if-no-ref/ spi2_sck_pa0: spi2_sck_pa0 { 597 pinmux = <STM32_PINMUX('A', 0, AF0)>; 598 bias-pull-down; 599 slew-rate = "very-high-speed"; 600 }; 601 602 /omit-if-no-ref/ spi2_sck_pb8: spi2_sck_pb8 { 603 pinmux = <STM32_PINMUX('B', 8, AF1)>; 604 bias-pull-down; 605 slew-rate = "very-high-speed"; 606 }; 607 608 /omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 { 609 pinmux = <STM32_PINMUX('B', 3, AF9)>; 610 bias-pull-down; 611 slew-rate = "very-high-speed"; 612 }; 613 614 /* TIM_CH / TIM_CHN */ 615 616 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 617 pinmux = <STM32_PINMUX('A', 7, AF2)>; 618 }; 619 620 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 621 pinmux = <STM32_PINMUX('A', 8, AF2)>; 622 }; 623 624 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 625 pinmux = <STM32_PINMUX('A', 9, AF2)>; 626 }; 627 628 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 629 pinmux = <STM32_PINMUX('A', 10, AF2)>; 630 }; 631 632 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 633 pinmux = <STM32_PINMUX('A', 11, AF2)>; 634 }; 635 636 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 637 pinmux = <STM32_PINMUX('B', 0, AF2)>; 638 }; 639 640 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 641 pinmux = <STM32_PINMUX('B', 1, AF2)>; 642 }; 643 644 /omit-if-no-ref/ tim1_ch2_pb3: tim1_ch2_pb3 { 645 pinmux = <STM32_PINMUX('B', 3, AF1)>; 646 }; 647 648 /omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 { 649 pinmux = <STM32_PINMUX('B', 6, AF1)>; 650 }; 651 652 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 653 pinmux = <STM32_PINMUX('A', 0, AF2)>; 654 }; 655 656 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 657 pinmux = <STM32_PINMUX('A', 1, AF2)>; 658 }; 659 660 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 661 pinmux = <STM32_PINMUX('A', 2, AF2)>; 662 }; 663 664 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 665 pinmux = <STM32_PINMUX('A', 3, AF2)>; 666 }; 667 668 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 669 pinmux = <STM32_PINMUX('A', 5, AF2)>; 670 }; 671 672 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 673 pinmux = <STM32_PINMUX('A', 15, AF2)>; 674 }; 675 676 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 677 pinmux = <STM32_PINMUX('B', 3, AF2)>; 678 }; 679 680 /omit-if-no-ref/ tim2_ch3_pc6: tim2_ch3_pc6 { 681 pinmux = <STM32_PINMUX('C', 6, AF2)>; 682 }; 683 684 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 685 pinmux = <STM32_PINMUX('A', 6, AF1)>; 686 }; 687 688 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 689 pinmux = <STM32_PINMUX('A', 7, AF1)>; 690 }; 691 692 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 693 pinmux = <STM32_PINMUX('B', 0, AF1)>; 694 }; 695 696 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 697 pinmux = <STM32_PINMUX('B', 1, AF1)>; 698 }; 699 700 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 701 pinmux = <STM32_PINMUX('B', 4, AF1)>; 702 }; 703 704 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 705 pinmux = <STM32_PINMUX('B', 5, AF1)>; 706 }; 707 708 /omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 { 709 pinmux = <STM32_PINMUX('C', 6, AF1)>; 710 }; 711 712 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 713 pinmux = <STM32_PINMUX('A', 4, AF4)>; 714 }; 715 716 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 717 pinmux = <STM32_PINMUX('A', 7, AF4)>; 718 }; 719 720 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 721 pinmux = <STM32_PINMUX('B', 1, AF0)>; 722 }; 723 724 /omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 { 725 pinmux = <STM32_PINMUX('B', 6, AF9)>; 726 }; 727 728 /omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 { 729 pinmux = <STM32_PINMUX('B', 7, AF9)>; 730 }; 731 732 /omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 { 733 pinmux = <STM32_PINMUX('B', 8, AF9)>; 734 }; 735 736 /omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 { 737 pinmux = <STM32_PINMUX('B', 9, AF9)>; 738 }; 739 740 /omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 { 741 pinmux = <STM32_PINMUX('A', 1, AF5)>; 742 }; 743 744 /omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 { 745 pinmux = <STM32_PINMUX('A', 2, AF5)>; 746 }; 747 748 /omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 { 749 pinmux = <STM32_PINMUX('A', 3, AF5)>; 750 }; 751 752 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 753 pinmux = <STM32_PINMUX('A', 6, AF5)>; 754 }; 755 756 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 757 pinmux = <STM32_PINMUX('B', 6, AF2)>; 758 }; 759 760 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 761 pinmux = <STM32_PINMUX('B', 8, AF2)>; 762 }; 763 764 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 765 pinmux = <STM32_PINMUX('A', 7, AF5)>; 766 }; 767 768 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 769 pinmux = <STM32_PINMUX('B', 7, AF2)>; 770 }; 771 772 /omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 { 773 pinmux = <STM32_PINMUX('B', 9, AF2)>; 774 }; 775 776 /* UART_CTS / USART_CTS / LPUART_CTS */ 777 778 /omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 { 779 pinmux = <STM32_PINMUX('A', 6, AF6)>; 780 bias-pull-up; 781 drive-open-drain; 782 }; 783 784 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 785 pinmux = <STM32_PINMUX('A', 11, AF1)>; 786 bias-pull-up; 787 drive-open-drain; 788 }; 789 790 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 791 pinmux = <STM32_PINMUX('B', 4, AF4)>; 792 bias-pull-up; 793 drive-open-drain; 794 }; 795 796 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 797 pinmux = <STM32_PINMUX('A', 0, AF1)>; 798 bias-pull-up; 799 drive-open-drain; 800 }; 801 802 /omit-if-no-ref/ lpuart2_cts_pb0: lpuart2_cts_pb0 { 803 pinmux = <STM32_PINMUX('B', 0, AF10)>; 804 bias-pull-up; 805 drive-open-drain; 806 }; 807 808 /omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 { 809 pinmux = <STM32_PINMUX('A', 6, AF4)>; 810 bias-pull-up; 811 drive-open-drain; 812 }; 813 814 /omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 { 815 pinmux = <STM32_PINMUX('B', 7, AF4)>; 816 bias-pull-up; 817 drive-open-drain; 818 }; 819 820 /omit-if-no-ref/ usart5_cts_pb6: usart5_cts_pb6 { 821 pinmux = <STM32_PINMUX('B', 6, AF8)>; 822 bias-pull-up; 823 drive-open-drain; 824 }; 825 826 /omit-if-no-ref/ usart6_cts_pa6: usart6_cts_pa6 { 827 pinmux = <STM32_PINMUX('A', 6, AF3)>; 828 bias-pull-up; 829 drive-open-drain; 830 }; 831 832 /* UART_DE / USART_DE / LPUART_DE */ 833 834 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 835 pinmux = <STM32_PINMUX('A', 12, AF1)>; 836 drive-push-pull; 837 }; 838 839 /omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 { 840 pinmux = <STM32_PINMUX('B', 1, AF6)>; 841 drive-push-pull; 842 }; 843 844 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 845 pinmux = <STM32_PINMUX('B', 3, AF4)>; 846 drive-push-pull; 847 }; 848 849 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 850 pinmux = <STM32_PINMUX('A', 1, AF1)>; 851 drive-push-pull; 852 }; 853 854 /omit-if-no-ref/ lpuart2_de_pb1: lpuart2_de_pb1 { 855 pinmux = <STM32_PINMUX('B', 1, AF10)>; 856 drive-push-pull; 857 }; 858 859 /omit-if-no-ref/ lpuart2_de_pf2: lpuart2_de_pf2 { 860 pinmux = <STM32_PINMUX('F', 2, AF3)>; 861 drive-push-pull; 862 }; 863 864 /omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 { 865 pinmux = <STM32_PINMUX('A', 15, AF5)>; 866 drive-push-pull; 867 }; 868 869 /omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 { 870 pinmux = <STM32_PINMUX('B', 1, AF4)>; 871 drive-push-pull; 872 }; 873 874 /omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 { 875 pinmux = <STM32_PINMUX('A', 15, AF4)>; 876 drive-push-pull; 877 }; 878 879 /omit-if-no-ref/ usart5_de_pb5: usart5_de_pb5 { 880 pinmux = <STM32_PINMUX('B', 5, AF8)>; 881 drive-push-pull; 882 }; 883 884 /omit-if-no-ref/ usart6_de_pa7: usart6_de_pa7 { 885 pinmux = <STM32_PINMUX('A', 7, AF3)>; 886 drive-push-pull; 887 }; 888 889 /* UART_RTS / USART_RTS / LPUART_RTS */ 890 891 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 892 pinmux = <STM32_PINMUX('A', 12, AF1)>; 893 bias-pull-up; 894 drive-open-drain; 895 }; 896 897 /omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 { 898 pinmux = <STM32_PINMUX('B', 1, AF6)>; 899 bias-pull-up; 900 drive-open-drain; 901 }; 902 903 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 904 pinmux = <STM32_PINMUX('B', 3, AF4)>; 905 bias-pull-up; 906 drive-open-drain; 907 }; 908 909 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 910 pinmux = <STM32_PINMUX('A', 1, AF1)>; 911 bias-pull-up; 912 drive-open-drain; 913 }; 914 915 /omit-if-no-ref/ lpuart2_rts_pb1: lpuart2_rts_pb1 { 916 pinmux = <STM32_PINMUX('B', 1, AF10)>; 917 bias-pull-up; 918 drive-open-drain; 919 }; 920 921 /omit-if-no-ref/ lpuart2_rts_pf2: lpuart2_rts_pf2 { 922 pinmux = <STM32_PINMUX('F', 2, AF3)>; 923 bias-pull-up; 924 drive-open-drain; 925 }; 926 927 /omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 { 928 pinmux = <STM32_PINMUX('A', 15, AF5)>; 929 bias-pull-up; 930 drive-open-drain; 931 }; 932 933 /omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 { 934 pinmux = <STM32_PINMUX('B', 1, AF4)>; 935 bias-pull-up; 936 drive-open-drain; 937 }; 938 939 /omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 { 940 pinmux = <STM32_PINMUX('A', 15, AF4)>; 941 bias-pull-up; 942 drive-open-drain; 943 }; 944 945 /omit-if-no-ref/ usart5_rts_pb5: usart5_rts_pb5 { 946 pinmux = <STM32_PINMUX('B', 5, AF8)>; 947 bias-pull-up; 948 drive-open-drain; 949 }; 950 951 /omit-if-no-ref/ usart6_rts_pa7: usart6_rts_pa7 { 952 pinmux = <STM32_PINMUX('A', 7, AF3)>; 953 bias-pull-up; 954 drive-open-drain; 955 }; 956 957 /* UART_RX / USART_RX / LPUART_RX */ 958 959 /omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 { 960 pinmux = <STM32_PINMUX('A', 3, AF6)>; 961 }; 962 963 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 964 pinmux = <STM32_PINMUX('A', 10, AF1)>; 965 }; 966 967 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 968 pinmux = <STM32_PINMUX('B', 7, AF0)>; 969 }; 970 971 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 972 pinmux = <STM32_PINMUX('A', 3, AF1)>; 973 }; 974 975 /omit-if-no-ref/ lpuart2_rx_pa13: lpuart2_rx_pa13 { 976 pinmux = <STM32_PINMUX('A', 13, AF10)>; 977 }; 978 979 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 980 pinmux = <STM32_PINMUX('A', 15, AF1)>; 981 }; 982 983 /omit-if-no-ref/ lpuart2_rx_pb7: lpuart2_rx_pb7 { 984 pinmux = <STM32_PINMUX('B', 7, AF10)>; 985 }; 986 987 /omit-if-no-ref/ usart3_rx_pb0: usart3_rx_pb0 { 988 pinmux = <STM32_PINMUX('B', 0, AF4)>; 989 }; 990 991 /omit-if-no-ref/ usart3_rx_pb9: usart3_rx_pb9 { 992 pinmux = <STM32_PINMUX('B', 9, AF4)>; 993 }; 994 995 /omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 { 996 pinmux = <STM32_PINMUX('A', 1, AF4)>; 997 }; 998 999 /omit-if-no-ref/ usart5_rx_pb1: usart5_rx_pb1 { 1000 pinmux = <STM32_PINMUX('B', 1, AF8)>; 1001 }; 1002 1003 /omit-if-no-ref/ usart5_rx_pb4: usart5_rx_pb4 { 1004 pinmux = <STM32_PINMUX('B', 4, AF3)>; 1005 }; 1006 1007 /omit-if-no-ref/ usart6_rx_pa5: usart6_rx_pa5 { 1008 pinmux = <STM32_PINMUX('A', 5, AF3)>; 1009 }; 1010 1011 /omit-if-no-ref/ usart6_rx_pb9: usart6_rx_pb9 { 1012 pinmux = <STM32_PINMUX('B', 9, AF8)>; 1013 }; 1014 1015 /* UART_TX / USART_TX / LPUART_TX */ 1016 1017 /omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 { 1018 pinmux = <STM32_PINMUX('A', 2, AF6)>; 1019 bias-pull-up; 1020 }; 1021 1022 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1023 pinmux = <STM32_PINMUX('A', 9, AF1)>; 1024 bias-pull-up; 1025 }; 1026 1027 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 1028 pinmux = <STM32_PINMUX('B', 6, AF0)>; 1029 bias-pull-up; 1030 }; 1031 1032 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1033 pinmux = <STM32_PINMUX('A', 2, AF1)>; 1034 bias-pull-up; 1035 }; 1036 1037 /omit-if-no-ref/ lpuart2_tx_pa14: lpuart2_tx_pa14 { 1038 pinmux = <STM32_PINMUX('A', 14, AF10)>; 1039 bias-pull-up; 1040 }; 1041 1042 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 1043 pinmux = <STM32_PINMUX('A', 14, AF1)>; 1044 bias-pull-up; 1045 }; 1046 1047 /omit-if-no-ref/ lpuart2_tx_pb6: lpuart2_tx_pb6 { 1048 pinmux = <STM32_PINMUX('B', 6, AF10)>; 1049 bias-pull-up; 1050 }; 1051 1052 /omit-if-no-ref/ lpuart2_tx_pc6: lpuart2_tx_pc6 { 1053 pinmux = <STM32_PINMUX('C', 6, AF3)>; 1054 bias-pull-up; 1055 }; 1056 1057 /omit-if-no-ref/ lpuart2_tx_pf2: lpuart2_tx_pf2 { 1058 pinmux = <STM32_PINMUX('F', 2, AF1)>; 1059 bias-pull-up; 1060 }; 1061 1062 /omit-if-no-ref/ usart3_tx_pa5: usart3_tx_pa5 { 1063 pinmux = <STM32_PINMUX('A', 5, AF4)>; 1064 bias-pull-up; 1065 }; 1066 1067 /omit-if-no-ref/ usart3_tx_pb2: usart3_tx_pb2 { 1068 pinmux = <STM32_PINMUX('B', 2, AF4)>; 1069 bias-pull-up; 1070 }; 1071 1072 /omit-if-no-ref/ usart3_tx_pb8: usart3_tx_pb8 { 1073 pinmux = <STM32_PINMUX('B', 8, AF4)>; 1074 bias-pull-up; 1075 }; 1076 1077 /omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 { 1078 pinmux = <STM32_PINMUX('A', 0, AF4)>; 1079 bias-pull-up; 1080 }; 1081 1082 /omit-if-no-ref/ usart5_tx_pb0: usart5_tx_pb0 { 1083 pinmux = <STM32_PINMUX('B', 0, AF8)>; 1084 bias-pull-up; 1085 }; 1086 1087 /omit-if-no-ref/ usart5_tx_pb3: usart5_tx_pb3 { 1088 pinmux = <STM32_PINMUX('B', 3, AF3)>; 1089 bias-pull-up; 1090 }; 1091 1092 /omit-if-no-ref/ usart6_tx_pa4: usart6_tx_pa4 { 1093 pinmux = <STM32_PINMUX('A', 4, AF3)>; 1094 bias-pull-up; 1095 }; 1096 1097 /omit-if-no-ref/ usart6_tx_pb8: usart6_tx_pb8 { 1098 pinmux = <STM32_PINMUX('B', 8, AF8)>; 1099 bias-pull-up; 1100 }; 1101 1102 /* UCPD */ 1103 1104 /omit-if-no-ref/ ucpd1_cc1_pa8: ucpd1_cc1_pa8 { 1105 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 1106 }; 1107 1108 /* USB */ 1109 1110 /omit-if-no-ref/ usb_noe_pa4: usb_noe_pa4 { 1111 pinmux = <STM32_PINMUX('A', 4, AF2)>; 1112 }; 1113 1114 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1115 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 1116 }; 1117 1118 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1119 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 1120 }; 1121 1122 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 1123 pinmux = <STM32_PINMUX('A', 13, AF2)>; 1124 }; 1125 1126 /omit-if-no-ref/ usb_noe_pa15: usb_noe_pa15 { 1127 pinmux = <STM32_PINMUX('A', 15, AF6)>; 1128 }; 1129 1130 }; 1131 }; 1132};