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/ adc_in0_pa0: adc_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in8_pb0: adc_in8_pb0 { 48 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 49 }; 50 51 /* Analog */ 52 53 /omit-if-no-ref/ analog_pa0: analog_pa0 { 54 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 55 }; 56 57 /omit-if-no-ref/ analog_pa1: analog_pa1 { 58 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 59 }; 60 61 /omit-if-no-ref/ analog_pa2: analog_pa2 { 62 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 63 }; 64 65 /omit-if-no-ref/ analog_pa3: analog_pa3 { 66 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa4: analog_pa4 { 70 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa5: analog_pa5 { 74 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa6: analog_pa6 { 78 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa7: analog_pa7 { 82 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa9: analog_pa9 { 86 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa10: analog_pa10 { 90 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa11: analog_pa11 { 94 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa12: analog_pa12 { 98 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa13: analog_pa13 { 102 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa14: analog_pa14 { 106 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa15: analog_pa15 { 110 pinmux = <STM32_PINMUX('A', 15, ANALOG)>; 111 }; 112 113 /omit-if-no-ref/ analog_pb0: analog_pb0 { 114 pinmux = <STM32_PINMUX('B', 0, ANALOG)>; 115 }; 116 117 /omit-if-no-ref/ analog_pb3: analog_pb3 { 118 pinmux = <STM32_PINMUX('B', 3, ANALOG)>; 119 }; 120 121 /omit-if-no-ref/ analog_pb4: analog_pb4 { 122 pinmux = <STM32_PINMUX('B', 4, ANALOG)>; 123 }; 124 125 /omit-if-no-ref/ analog_pb5: analog_pb5 { 126 pinmux = <STM32_PINMUX('B', 5, ANALOG)>; 127 }; 128 129 /omit-if-no-ref/ analog_pb6: analog_pb6 { 130 pinmux = <STM32_PINMUX('B', 6, ANALOG)>; 131 }; 132 133 /omit-if-no-ref/ analog_pb7: analog_pb7 { 134 pinmux = <STM32_PINMUX('B', 7, ANALOG)>; 135 }; 136 137 /omit-if-no-ref/ analog_pb8: analog_pb8 { 138 pinmux = <STM32_PINMUX('B', 8, ANALOG)>; 139 }; 140 141 /omit-if-no-ref/ analog_pf0: analog_pf0 { 142 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 143 }; 144 145 /omit-if-no-ref/ analog_pf1: analog_pf1 { 146 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 147 }; 148 149 /* I2C_SCL */ 150 151 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 152 pinmux = <STM32_PINMUX('A', 9, AF4)>; 153 bias-pull-up; 154 drive-open-drain; 155 }; 156 157 /omit-if-no-ref/ i2c1_scl_pa11: i2c1_scl_pa11 { 158 pinmux = <STM32_PINMUX('A', 11, AF5)>; 159 bias-pull-up; 160 drive-open-drain; 161 }; 162 163 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 164 pinmux = <STM32_PINMUX('B', 6, AF1)>; 165 bias-pull-up; 166 drive-open-drain; 167 }; 168 169 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 170 pinmux = <STM32_PINMUX('B', 8, AF1)>; 171 bias-pull-up; 172 drive-open-drain; 173 }; 174 175 /omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 { 176 pinmux = <STM32_PINMUX('F', 1, AF1)>; 177 bias-pull-up; 178 drive-open-drain; 179 }; 180 181 /* I2C_SDA */ 182 183 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 184 pinmux = <STM32_PINMUX('A', 10, AF4)>; 185 bias-pull-up; 186 drive-open-drain; 187 }; 188 189 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 190 pinmux = <STM32_PINMUX('B', 7, AF1)>; 191 bias-pull-up; 192 drive-open-drain; 193 }; 194 195 /omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 { 196 pinmux = <STM32_PINMUX('F', 0, AF1)>; 197 bias-pull-up; 198 drive-open-drain; 199 }; 200 201 /* I2S_CK */ 202 203 /omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 { 204 pinmux = <STM32_PINMUX('A', 5, AF0)>; 205 slew-rate = "very-high-speed"; 206 }; 207 208 /omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 { 209 pinmux = <STM32_PINMUX('B', 3, AF0)>; 210 slew-rate = "very-high-speed"; 211 }; 212 213 /* I2S_MCK */ 214 215 /omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 { 216 pinmux = <STM32_PINMUX('A', 6, AF0)>; 217 slew-rate = "very-high-speed"; 218 }; 219 220 /omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 { 221 pinmux = <STM32_PINMUX('B', 4, AF0)>; 222 slew-rate = "very-high-speed"; 223 }; 224 225 /* I2S_SD */ 226 227 /omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 { 228 pinmux = <STM32_PINMUX('A', 7, AF0)>; 229 }; 230 231 /omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 { 232 pinmux = <STM32_PINMUX('B', 5, AF0)>; 233 }; 234 235 /* I2S_WS */ 236 237 /omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 { 238 pinmux = <STM32_PINMUX('A', 4, AF0)>; 239 }; 240 241 /omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 { 242 pinmux = <STM32_PINMUX('A', 15, AF0)>; 243 }; 244 245 /* SPI_MISO */ 246 247 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 248 pinmux = <STM32_PINMUX('A', 6, AF0)>; 249 bias-pull-down; 250 }; 251 252 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 253 pinmux = <STM32_PINMUX('B', 4, AF0)>; 254 bias-pull-down; 255 }; 256 257 /* SPI_MOSI */ 258 259 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 260 pinmux = <STM32_PINMUX('A', 7, AF0)>; 261 bias-pull-down; 262 }; 263 264 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 265 pinmux = <STM32_PINMUX('B', 5, AF0)>; 266 bias-pull-down; 267 }; 268 269 /* SPI_NSS */ 270 271 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 272 pinmux = <STM32_PINMUX('A', 4, AF0)>; 273 bias-pull-up; 274 }; 275 276 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 277 pinmux = <STM32_PINMUX('A', 15, AF0)>; 278 bias-pull-up; 279 }; 280 281 /* SPI_SCK */ 282 283 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 284 pinmux = <STM32_PINMUX('A', 5, AF0)>; 285 bias-pull-down; 286 slew-rate = "very-high-speed"; 287 }; 288 289 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 290 pinmux = <STM32_PINMUX('B', 3, AF0)>; 291 bias-pull-down; 292 slew-rate = "very-high-speed"; 293 }; 294 295 /* TIM_BKIN */ 296 297 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 298 pinmux = <STM32_PINMUX('A', 6, AF2)>; 299 }; 300 301 /omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 { 302 pinmux = <STM32_PINMUX('B', 5, AF2)>; 303 }; 304 305 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 306 pinmux = <STM32_PINMUX('A', 10, AF0)>; 307 }; 308 309 /omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 { 310 pinmux = <STM32_PINMUX('B', 4, AF5)>; 311 }; 312 313 /* TIM_CH / TIM_CHN */ 314 315 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 316 pinmux = <STM32_PINMUX('A', 7, AF2)>; 317 }; 318 319 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 320 pinmux = <STM32_PINMUX('A', 9, AF2)>; 321 }; 322 323 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 324 pinmux = <STM32_PINMUX('A', 10, AF2)>; 325 }; 326 327 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 328 pinmux = <STM32_PINMUX('A', 11, AF2)>; 329 }; 330 331 /omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 { 332 pinmux = <STM32_PINMUX('B', 0, AF2)>; 333 }; 334 335 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 336 pinmux = <STM32_PINMUX('A', 0, AF2)>; 337 }; 338 339 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 340 pinmux = <STM32_PINMUX('A', 1, AF2)>; 341 }; 342 343 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 344 pinmux = <STM32_PINMUX('A', 2, AF2)>; 345 }; 346 347 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 348 pinmux = <STM32_PINMUX('A', 3, AF2)>; 349 }; 350 351 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 352 pinmux = <STM32_PINMUX('A', 5, AF2)>; 353 }; 354 355 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 356 pinmux = <STM32_PINMUX('A', 15, AF2)>; 357 }; 358 359 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 360 pinmux = <STM32_PINMUX('B', 3, AF2)>; 361 }; 362 363 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 364 pinmux = <STM32_PINMUX('A', 6, AF1)>; 365 }; 366 367 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 368 pinmux = <STM32_PINMUX('A', 7, AF1)>; 369 }; 370 371 /omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 { 372 pinmux = <STM32_PINMUX('B', 0, AF1)>; 373 }; 374 375 /omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 { 376 pinmux = <STM32_PINMUX('B', 4, AF1)>; 377 }; 378 379 /omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 { 380 pinmux = <STM32_PINMUX('B', 5, AF1)>; 381 }; 382 383 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 384 pinmux = <STM32_PINMUX('A', 4, AF4)>; 385 }; 386 387 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 388 pinmux = <STM32_PINMUX('A', 7, AF4)>; 389 }; 390 391 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 392 pinmux = <STM32_PINMUX('A', 6, AF5)>; 393 }; 394 395 /omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 { 396 pinmux = <STM32_PINMUX('B', 6, AF2)>; 397 }; 398 399 /omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 { 400 pinmux = <STM32_PINMUX('B', 8, AF2)>; 401 }; 402 403 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 404 pinmux = <STM32_PINMUX('A', 7, AF5)>; 405 }; 406 407 /omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 { 408 pinmux = <STM32_PINMUX('B', 7, AF2)>; 409 }; 410 411 /* UART_CTS / USART_CTS / LPUART_CTS */ 412 413 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 414 pinmux = <STM32_PINMUX('A', 11, AF1)>; 415 bias-pull-up; 416 drive-open-drain; 417 }; 418 419 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 420 pinmux = <STM32_PINMUX('A', 0, AF1)>; 421 bias-pull-up; 422 drive-open-drain; 423 }; 424 425 /* UART_DE / USART_DE / LPUART_DE */ 426 427 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 428 pinmux = <STM32_PINMUX('A', 12, AF1)>; 429 drive-push-pull; 430 }; 431 432 /omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 { 433 pinmux = <STM32_PINMUX('A', 1, AF1)>; 434 drive-push-pull; 435 }; 436 437 /* UART_RTS / USART_RTS / LPUART_RTS */ 438 439 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 440 pinmux = <STM32_PINMUX('A', 12, AF1)>; 441 bias-pull-up; 442 drive-open-drain; 443 }; 444 445 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 446 pinmux = <STM32_PINMUX('A', 1, AF1)>; 447 bias-pull-up; 448 drive-open-drain; 449 }; 450 451 /* UART_RX / USART_RX / LPUART_RX */ 452 453 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 454 pinmux = <STM32_PINMUX('A', 10, AF1)>; 455 }; 456 457 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 458 pinmux = <STM32_PINMUX('B', 7, AF0)>; 459 }; 460 461 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 462 pinmux = <STM32_PINMUX('A', 3, AF1)>; 463 }; 464 465 /omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 { 466 pinmux = <STM32_PINMUX('A', 15, AF1)>; 467 }; 468 469 /* UART_TX / USART_TX / LPUART_TX */ 470 471 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 472 pinmux = <STM32_PINMUX('A', 9, AF1)>; 473 bias-pull-up; 474 }; 475 476 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 477 pinmux = <STM32_PINMUX('B', 6, AF0)>; 478 bias-pull-up; 479 }; 480 481 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 482 pinmux = <STM32_PINMUX('A', 2, AF1)>; 483 bias-pull-up; 484 }; 485 486 /omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 { 487 pinmux = <STM32_PINMUX('A', 14, AF1)>; 488 bias-pull-up; 489 }; 490 491 /* USB */ 492 493 /omit-if-no-ref/ usb_noe_pa4: usb_noe_pa4 { 494 pinmux = <STM32_PINMUX('A', 4, AF2)>; 495 }; 496 497 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 498 pinmux = <STM32_PINMUX('A', 11, ANALOG)>; 499 }; 500 501 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 502 pinmux = <STM32_PINMUX('A', 12, ANALOG)>; 503 }; 504 505 /omit-if-no-ref/ usb_noe_pa13: usb_noe_pa13 { 506 pinmux = <STM32_PINMUX('A', 13, AF2)>; 507 }; 508 509 /omit-if-no-ref/ usb_noe_pa15: usb_noe_pa15 { 510 pinmux = <STM32_PINMUX('A', 15, AF5)>; 511 }; 512 513 }; 514 }; 515};