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_in2_pa7: adc1_in2_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in3_pa8: adc1_in3_pa8 { 48 pinmux = <STM32_PINMUX('A', 8, ANALOG)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in4_pa9: adc1_in4_pa9 { 52 pinmux = <STM32_PINMUX('A', 9, 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_pc14: analog_pc14 { 162 pinmux = <STM32_PINMUX('C', 14, ANALOG)>; 163 }; 164 165 /omit-if-no-ref/ analog_pc15: analog_pc15 { 166 pinmux = <STM32_PINMUX('C', 15, ANALOG)>; 167 }; 168 169 /omit-if-no-ref/ analog_pe4: analog_pe4 { 170 pinmux = <STM32_PINMUX('E', 4, ANALOG)>; 171 }; 172 173 /omit-if-no-ref/ analog_ph3: analog_ph3 { 174 pinmux = <STM32_PINMUX('H', 3, ANALOG)>; 175 }; 176 177 /* I2C_SCL */ 178 179 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 180 pinmux = <STM32_PINMUX('A', 9, AF4)>; 181 bias-pull-up; 182 drive-open-drain; 183 }; 184 185 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 186 pinmux = <STM32_PINMUX('B', 6, AF4)>; 187 bias-pull-up; 188 drive-open-drain; 189 }; 190 191 /omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 { 192 pinmux = <STM32_PINMUX('B', 8, AF4)>; 193 bias-pull-up; 194 drive-open-drain; 195 }; 196 197 /* I2C_SDA */ 198 199 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 200 pinmux = <STM32_PINMUX('A', 10, AF4)>; 201 bias-pull-up; 202 drive-open-drain; 203 }; 204 205 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 206 pinmux = <STM32_PINMUX('B', 7, AF4)>; 207 bias-pull-up; 208 drive-open-drain; 209 }; 210 211 /omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 { 212 pinmux = <STM32_PINMUX('B', 9, AF4)>; 213 bias-pull-up; 214 drive-open-drain; 215 }; 216 217 /* SPI_MISO */ 218 219 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 220 pinmux = <STM32_PINMUX('A', 6, AF5)>; 221 bias-pull-down; 222 }; 223 224 /omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 { 225 pinmux = <STM32_PINMUX('A', 11, AF5)>; 226 bias-pull-down; 227 }; 228 229 /omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 { 230 pinmux = <STM32_PINMUX('B', 4, AF5)>; 231 bias-pull-down; 232 }; 233 234 /* SPI_MOSI */ 235 236 /omit-if-no-ref/ spi1_mosi_pa5: spi1_mosi_pa5 { 237 pinmux = <STM32_PINMUX('A', 5, AF4)>; 238 bias-pull-down; 239 }; 240 241 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 242 pinmux = <STM32_PINMUX('A', 7, AF5)>; 243 bias-pull-down; 244 }; 245 246 /omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 { 247 pinmux = <STM32_PINMUX('A', 12, AF5)>; 248 bias-pull-down; 249 }; 250 251 /omit-if-no-ref/ spi1_mosi_pa13: spi1_mosi_pa13 { 252 pinmux = <STM32_PINMUX('A', 13, AF5)>; 253 bias-pull-down; 254 }; 255 256 /omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 { 257 pinmux = <STM32_PINMUX('B', 5, AF5)>; 258 bias-pull-down; 259 }; 260 261 /* SPI_NSS */ 262 263 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 264 pinmux = <STM32_PINMUX('A', 4, AF5)>; 265 bias-pull-up; 266 }; 267 268 /omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 { 269 pinmux = <STM32_PINMUX('A', 14, AF5)>; 270 bias-pull-up; 271 }; 272 273 /omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 { 274 pinmux = <STM32_PINMUX('A', 15, AF5)>; 275 bias-pull-up; 276 }; 277 278 /omit-if-no-ref/ spi1_nss_pb2: spi1_nss_pb2 { 279 pinmux = <STM32_PINMUX('B', 2, AF5)>; 280 bias-pull-up; 281 }; 282 283 /omit-if-no-ref/ spi1_nss_pb6: spi1_nss_pb6 { 284 pinmux = <STM32_PINMUX('B', 6, AF5)>; 285 bias-pull-up; 286 }; 287 288 /* SPI_SCK */ 289 290 /omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 { 291 pinmux = <STM32_PINMUX('A', 1, AF5)>; 292 bias-pull-down; 293 slew-rate = "very-high-speed"; 294 }; 295 296 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 297 pinmux = <STM32_PINMUX('A', 5, AF5)>; 298 bias-pull-down; 299 slew-rate = "very-high-speed"; 300 }; 301 302 /omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 { 303 pinmux = <STM32_PINMUX('B', 3, AF5)>; 304 bias-pull-down; 305 slew-rate = "very-high-speed"; 306 }; 307 308 /* TIM_BKIN */ 309 310 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 311 pinmux = <STM32_PINMUX('A', 6, AF1)>; 312 }; 313 314 /omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 { 315 pinmux = <STM32_PINMUX('A', 11, AF2)>; 316 }; 317 318 /omit-if-no-ref/ tim1_bkin_pb7: tim1_bkin_pb7 { 319 pinmux = <STM32_PINMUX('B', 7, AF3)>; 320 }; 321 322 /* TIM_CH / TIM_CHN */ 323 324 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 325 pinmux = <STM32_PINMUX('A', 7, AF1)>; 326 }; 327 328 /omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 { 329 pinmux = <STM32_PINMUX('A', 8, AF1)>; 330 }; 331 332 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 333 pinmux = <STM32_PINMUX('A', 9, AF1)>; 334 }; 335 336 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 337 pinmux = <STM32_PINMUX('A', 10, AF1)>; 338 }; 339 340 /omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 { 341 pinmux = <STM32_PINMUX('A', 11, AF1)>; 342 }; 343 344 /omit-if-no-ref/ tim1_ch3_pb7: tim1_ch3_pb7 { 345 pinmux = <STM32_PINMUX('B', 7, AF12)>; 346 }; 347 348 /omit-if-no-ref/ tim1_ch2n_pb8: tim1_ch2n_pb8 { 349 pinmux = <STM32_PINMUX('B', 8, AF1)>; 350 }; 351 352 /omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 { 353 pinmux = <STM32_PINMUX('B', 9, AF1)>; 354 }; 355 356 /omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 { 357 pinmux = <STM32_PINMUX('A', 0, AF1)>; 358 }; 359 360 /omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 { 361 pinmux = <STM32_PINMUX('A', 1, AF1)>; 362 }; 363 364 /omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 { 365 pinmux = <STM32_PINMUX('A', 2, AF1)>; 366 }; 367 368 /omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 { 369 pinmux = <STM32_PINMUX('A', 3, AF1)>; 370 }; 371 372 /omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 { 373 pinmux = <STM32_PINMUX('A', 5, AF1)>; 374 }; 375 376 /omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 { 377 pinmux = <STM32_PINMUX('A', 15, AF1)>; 378 }; 379 380 /omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 { 381 pinmux = <STM32_PINMUX('B', 3, AF1)>; 382 }; 383 384 /* UART_CTS / USART_CTS / LPUART_CTS */ 385 386 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 387 pinmux = <STM32_PINMUX('A', 11, AF7)>; 388 bias-pull-up; 389 drive-open-drain; 390 }; 391 392 /omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 { 393 pinmux = <STM32_PINMUX('B', 4, AF7)>; 394 bias-pull-up; 395 drive-open-drain; 396 }; 397 398 /* UART_DE / USART_DE / LPUART_DE */ 399 400 /omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 { 401 pinmux = <STM32_PINMUX('A', 12, AF7)>; 402 drive-push-pull; 403 }; 404 405 /omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 { 406 pinmux = <STM32_PINMUX('B', 3, AF7)>; 407 drive-push-pull; 408 }; 409 410 /* UART_RTS / USART_RTS / LPUART_RTS */ 411 412 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 413 pinmux = <STM32_PINMUX('A', 12, AF7)>; 414 bias-pull-up; 415 drive-open-drain; 416 }; 417 418 /omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 { 419 pinmux = <STM32_PINMUX('B', 3, AF7)>; 420 bias-pull-up; 421 drive-open-drain; 422 }; 423 424 /* UART_RX / USART_RX / LPUART_RX */ 425 426 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 427 pinmux = <STM32_PINMUX('A', 10, AF7)>; 428 }; 429 430 /omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 { 431 pinmux = <STM32_PINMUX('B', 7, AF7)>; 432 }; 433 434 /* UART_TX / USART_TX / LPUART_TX */ 435 436 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 437 pinmux = <STM32_PINMUX('A', 9, AF7)>; 438 bias-pull-up; 439 }; 440 441 /omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 { 442 pinmux = <STM32_PINMUX('B', 6, AF7)>; 443 bias-pull-up; 444 }; 445 446 }; 447 }; 448};