1/* 2 * NOTE: Autogenerated file using genpinctrl.py 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/pinctrl/stm32f1-pinctrl.h> 8 9/ { 10 soc { 11 pinctrl: pin-controller@40010800 { 12 13 /* ADC_IN */ 14 15 /omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 { 16 pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>; 17 }; 18 19 /omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 { 20 pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>; 21 }; 22 23 /omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 { 24 pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>; 25 }; 26 27 /omit-if-no-ref/ adc1_in3_pa3: adc1_in3_pa3 { 28 pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>; 29 }; 30 31 /omit-if-no-ref/ adc1_in4_pa4: adc1_in4_pa4 { 32 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 33 }; 34 35 /omit-if-no-ref/ adc1_in5_pa5: adc1_in5_pa5 { 36 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 37 }; 38 39 /omit-if-no-ref/ adc1_in6_pa6: adc1_in6_pa6 { 40 pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>; 41 }; 42 43 /omit-if-no-ref/ adc1_in7_pa7: adc1_in7_pa7 { 44 pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>; 45 }; 46 47 /omit-if-no-ref/ adc1_in8_pb0: adc1_in8_pb0 { 48 pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>; 49 }; 50 51 /omit-if-no-ref/ adc1_in9_pb1: adc1_in9_pb1 { 52 pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>; 53 }; 54 55 /omit-if-no-ref/ adc1_in10_pc0: adc1_in10_pc0 { 56 pinmux = <STM32F1_PINMUX('C', 0, ANALOG, NO_REMAP)>; 57 }; 58 59 /omit-if-no-ref/ adc1_in11_pc1: adc1_in11_pc1 { 60 pinmux = <STM32F1_PINMUX('C', 1, ANALOG, NO_REMAP)>; 61 }; 62 63 /omit-if-no-ref/ adc1_in12_pc2: adc1_in12_pc2 { 64 pinmux = <STM32F1_PINMUX('C', 2, ANALOG, NO_REMAP)>; 65 }; 66 67 /omit-if-no-ref/ adc1_in13_pc3: adc1_in13_pc3 { 68 pinmux = <STM32F1_PINMUX('C', 3, ANALOG, NO_REMAP)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in14_pc4: adc1_in14_pc4 { 72 pinmux = <STM32F1_PINMUX('C', 4, ANALOG, NO_REMAP)>; 73 }; 74 75 /omit-if-no-ref/ adc1_in15_pc5: adc1_in15_pc5 { 76 pinmux = <STM32F1_PINMUX('C', 5, ANALOG, NO_REMAP)>; 77 }; 78 79 /* Analog */ 80 81 /omit-if-no-ref/ analog_pa0: analog_pa0 { 82 pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa1: analog_pa1 { 86 pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa2: analog_pa2 { 90 pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa3: analog_pa3 { 94 pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa4: analog_pa4 { 98 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 99 }; 100 101 /omit-if-no-ref/ analog_pa5: analog_pa5 { 102 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 103 }; 104 105 /omit-if-no-ref/ analog_pa6: analog_pa6 { 106 pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>; 107 }; 108 109 /omit-if-no-ref/ analog_pa7: analog_pa7 { 110 pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>; 111 }; 112 113 /omit-if-no-ref/ analog_pa8: analog_pa8 { 114 pinmux = <STM32F1_PINMUX('A', 8, ANALOG, NO_REMAP)>; 115 }; 116 117 /omit-if-no-ref/ analog_pa9: analog_pa9 { 118 pinmux = <STM32F1_PINMUX('A', 9, ANALOG, NO_REMAP)>; 119 }; 120 121 /omit-if-no-ref/ analog_pa10: analog_pa10 { 122 pinmux = <STM32F1_PINMUX('A', 10, ANALOG, NO_REMAP)>; 123 }; 124 125 /omit-if-no-ref/ analog_pa11: analog_pa11 { 126 pinmux = <STM32F1_PINMUX('A', 11, ANALOG, NO_REMAP)>; 127 }; 128 129 /omit-if-no-ref/ analog_pa12: analog_pa12 { 130 pinmux = <STM32F1_PINMUX('A', 12, ANALOG, NO_REMAP)>; 131 }; 132 133 /omit-if-no-ref/ analog_pa13: analog_pa13 { 134 pinmux = <STM32F1_PINMUX('A', 13, ANALOG, NO_REMAP)>; 135 }; 136 137 /omit-if-no-ref/ analog_pa14: analog_pa14 { 138 pinmux = <STM32F1_PINMUX('A', 14, ANALOG, NO_REMAP)>; 139 }; 140 141 /omit-if-no-ref/ analog_pa15: analog_pa15 { 142 pinmux = <STM32F1_PINMUX('A', 15, ANALOG, NO_REMAP)>; 143 }; 144 145 /omit-if-no-ref/ analog_pb0: analog_pb0 { 146 pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>; 147 }; 148 149 /omit-if-no-ref/ analog_pb1: analog_pb1 { 150 pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>; 151 }; 152 153 /omit-if-no-ref/ analog_pb2: analog_pb2 { 154 pinmux = <STM32F1_PINMUX('B', 2, ANALOG, NO_REMAP)>; 155 }; 156 157 /omit-if-no-ref/ analog_pb3: analog_pb3 { 158 pinmux = <STM32F1_PINMUX('B', 3, ANALOG, NO_REMAP)>; 159 }; 160 161 /omit-if-no-ref/ analog_pb4: analog_pb4 { 162 pinmux = <STM32F1_PINMUX('B', 4, ANALOG, NO_REMAP)>; 163 }; 164 165 /omit-if-no-ref/ analog_pb5: analog_pb5 { 166 pinmux = <STM32F1_PINMUX('B', 5, ANALOG, NO_REMAP)>; 167 }; 168 169 /omit-if-no-ref/ analog_pb6: analog_pb6 { 170 pinmux = <STM32F1_PINMUX('B', 6, ANALOG, NO_REMAP)>; 171 }; 172 173 /omit-if-no-ref/ analog_pb7: analog_pb7 { 174 pinmux = <STM32F1_PINMUX('B', 7, ANALOG, NO_REMAP)>; 175 }; 176 177 /omit-if-no-ref/ analog_pb8: analog_pb8 { 178 pinmux = <STM32F1_PINMUX('B', 8, ANALOG, NO_REMAP)>; 179 }; 180 181 /omit-if-no-ref/ analog_pb9: analog_pb9 { 182 pinmux = <STM32F1_PINMUX('B', 9, ANALOG, NO_REMAP)>; 183 }; 184 185 /omit-if-no-ref/ analog_pb10: analog_pb10 { 186 pinmux = <STM32F1_PINMUX('B', 10, ANALOG, NO_REMAP)>; 187 }; 188 189 /omit-if-no-ref/ analog_pb11: analog_pb11 { 190 pinmux = <STM32F1_PINMUX('B', 11, ANALOG, NO_REMAP)>; 191 }; 192 193 /omit-if-no-ref/ analog_pb12: analog_pb12 { 194 pinmux = <STM32F1_PINMUX('B', 12, ANALOG, NO_REMAP)>; 195 }; 196 197 /omit-if-no-ref/ analog_pb13: analog_pb13 { 198 pinmux = <STM32F1_PINMUX('B', 13, ANALOG, NO_REMAP)>; 199 }; 200 201 /omit-if-no-ref/ analog_pb14: analog_pb14 { 202 pinmux = <STM32F1_PINMUX('B', 14, ANALOG, NO_REMAP)>; 203 }; 204 205 /omit-if-no-ref/ analog_pb15: analog_pb15 { 206 pinmux = <STM32F1_PINMUX('B', 15, ANALOG, NO_REMAP)>; 207 }; 208 209 /omit-if-no-ref/ analog_pc0: analog_pc0 { 210 pinmux = <STM32F1_PINMUX('C', 0, ANALOG, NO_REMAP)>; 211 }; 212 213 /omit-if-no-ref/ analog_pc1: analog_pc1 { 214 pinmux = <STM32F1_PINMUX('C', 1, ANALOG, NO_REMAP)>; 215 }; 216 217 /omit-if-no-ref/ analog_pc2: analog_pc2 { 218 pinmux = <STM32F1_PINMUX('C', 2, ANALOG, NO_REMAP)>; 219 }; 220 221 /omit-if-no-ref/ analog_pc3: analog_pc3 { 222 pinmux = <STM32F1_PINMUX('C', 3, ANALOG, NO_REMAP)>; 223 }; 224 225 /omit-if-no-ref/ analog_pc4: analog_pc4 { 226 pinmux = <STM32F1_PINMUX('C', 4, ANALOG, NO_REMAP)>; 227 }; 228 229 /omit-if-no-ref/ analog_pc5: analog_pc5 { 230 pinmux = <STM32F1_PINMUX('C', 5, ANALOG, NO_REMAP)>; 231 }; 232 233 /omit-if-no-ref/ analog_pc6: analog_pc6 { 234 pinmux = <STM32F1_PINMUX('C', 6, ANALOG, NO_REMAP)>; 235 }; 236 237 /omit-if-no-ref/ analog_pc7: analog_pc7 { 238 pinmux = <STM32F1_PINMUX('C', 7, ANALOG, NO_REMAP)>; 239 }; 240 241 /omit-if-no-ref/ analog_pc8: analog_pc8 { 242 pinmux = <STM32F1_PINMUX('C', 8, ANALOG, NO_REMAP)>; 243 }; 244 245 /omit-if-no-ref/ analog_pc9: analog_pc9 { 246 pinmux = <STM32F1_PINMUX('C', 9, ANALOG, NO_REMAP)>; 247 }; 248 249 /omit-if-no-ref/ analog_pc10: analog_pc10 { 250 pinmux = <STM32F1_PINMUX('C', 10, ANALOG, NO_REMAP)>; 251 }; 252 253 /omit-if-no-ref/ analog_pc11: analog_pc11 { 254 pinmux = <STM32F1_PINMUX('C', 11, ANALOG, NO_REMAP)>; 255 }; 256 257 /omit-if-no-ref/ analog_pc12: analog_pc12 { 258 pinmux = <STM32F1_PINMUX('C', 12, ANALOG, NO_REMAP)>; 259 }; 260 261 /omit-if-no-ref/ analog_pc13: analog_pc13 { 262 pinmux = <STM32F1_PINMUX('C', 13, ANALOG, NO_REMAP)>; 263 }; 264 265 /omit-if-no-ref/ analog_pc14: analog_pc14 { 266 pinmux = <STM32F1_PINMUX('C', 14, ANALOG, NO_REMAP)>; 267 }; 268 269 /omit-if-no-ref/ analog_pc15: analog_pc15 { 270 pinmux = <STM32F1_PINMUX('C', 15, ANALOG, NO_REMAP)>; 271 }; 272 273 /omit-if-no-ref/ analog_pd0: analog_pd0 { 274 pinmux = <STM32F1_PINMUX('D', 0, ANALOG, NO_REMAP)>; 275 }; 276 277 /omit-if-no-ref/ analog_pd1: analog_pd1 { 278 pinmux = <STM32F1_PINMUX('D', 1, ANALOG, NO_REMAP)>; 279 }; 280 281 /omit-if-no-ref/ analog_pd2: analog_pd2 { 282 pinmux = <STM32F1_PINMUX('D', 2, ANALOG, NO_REMAP)>; 283 }; 284 285 /* DAC_OUT */ 286 287 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 288 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 289 }; 290 291 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 292 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 293 }; 294 295 /* I2C_SCL */ 296 297 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 298 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>; 299 drive-open-drain; 300 }; 301 302 /omit-if-no-ref/ i2c1_scl_remap1_pb8: i2c1_scl_remap1_pb8 { 303 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, I2C1_REMAP1)>; 304 drive-open-drain; 305 }; 306 307 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 308 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, NO_REMAP)>; 309 drive-open-drain; 310 }; 311 312 /* I2C_SDA */ 313 314 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 315 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>; 316 drive-open-drain; 317 }; 318 319 /omit-if-no-ref/ i2c1_sda_remap1_pb9: i2c1_sda_remap1_pb9 { 320 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, I2C1_REMAP1)>; 321 drive-open-drain; 322 }; 323 324 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 325 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, NO_REMAP)>; 326 drive-open-drain; 327 }; 328 329 /* SPI_MASTER_MISO */ 330 331 /omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 { 332 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>; 333 bias-pull-down; 334 }; 335 336 /omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 { 337 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>; 338 bias-pull-down; 339 }; 340 341 /omit-if-no-ref/ spi2_miso_master_pb14: spi2_miso_master_pb14 { 342 pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, NO_REMAP)>; 343 bias-pull-down; 344 }; 345 346 /omit-if-no-ref/ spi3_miso_master_pb4: spi3_miso_master_pb4 { 347 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI3_REMAP0)>; 348 bias-pull-down; 349 }; 350 351 /* SPI_MASTER_MOSI */ 352 353 /omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 { 354 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>; 355 }; 356 357 /omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 { 358 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>; 359 }; 360 361 /omit-if-no-ref/ spi2_mosi_master_pb15: spi2_mosi_master_pb15 { 362 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>; 363 }; 364 365 /omit-if-no-ref/ spi3_mosi_master_pb5: spi3_mosi_master_pb5 { 366 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI3_REMAP0)>; 367 }; 368 369 /* SPI_MASTER_NSS */ 370 371 /omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 { 372 pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>; 373 }; 374 375 /omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 { 376 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>; 377 }; 378 379 /omit-if-no-ref/ spi2_nss_master_pb12: spi2_nss_master_pb12 { 380 pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>; 381 }; 382 383 /omit-if-no-ref/ spi3_nss_master_pa15: spi3_nss_master_pa15 { 384 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI3_REMAP0)>; 385 }; 386 387 /* SPI_MASTER_SCK */ 388 389 /omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 { 390 pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>; 391 }; 392 393 /omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 { 394 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>; 395 }; 396 397 /omit-if-no-ref/ spi2_sck_master_pb13: spi2_sck_master_pb13 { 398 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>; 399 }; 400 401 /omit-if-no-ref/ spi3_sck_master_pb3: spi3_sck_master_pb3 { 402 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI3_REMAP0)>; 403 }; 404 405 /* SPI_SLAVE_MISO */ 406 407 /omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 { 408 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>; 409 }; 410 411 /omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 { 412 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>; 413 }; 414 415 /omit-if-no-ref/ spi2_miso_slave_pb14: spi2_miso_slave_pb14 { 416 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, NO_REMAP)>; 417 }; 418 419 /omit-if-no-ref/ spi3_miso_slave_pb4: spi3_miso_slave_pb4 { 420 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI3_REMAP0)>; 421 }; 422 423 /* SPI_SLAVE_MOSI */ 424 425 /omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 { 426 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>; 427 }; 428 429 /omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 { 430 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>; 431 }; 432 433 /omit-if-no-ref/ spi2_mosi_slave_pb15: spi2_mosi_slave_pb15 { 434 pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, NO_REMAP)>; 435 }; 436 437 /omit-if-no-ref/ spi3_mosi_slave_pb5: spi3_mosi_slave_pb5 { 438 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI3_REMAP0)>; 439 }; 440 441 /* SPI_SLAVE_NSS */ 442 443 /omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 { 444 pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>; 445 bias-pull-up; 446 }; 447 448 /omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 { 449 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>; 450 bias-pull-up; 451 }; 452 453 /omit-if-no-ref/ spi2_nss_slave_pb12: spi2_nss_slave_pb12 { 454 pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, NO_REMAP)>; 455 bias-pull-up; 456 }; 457 458 /omit-if-no-ref/ spi3_nss_slave_pa15: spi3_nss_slave_pa15 { 459 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI3_REMAP0)>; 460 bias-pull-up; 461 }; 462 463 /* SPI_SLAVE_SCK */ 464 465 /omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 { 466 pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>; 467 }; 468 469 /omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 { 470 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>; 471 }; 472 473 /omit-if-no-ref/ spi2_sck_slave_pb13: spi2_sck_slave_pb13 { 474 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, NO_REMAP)>; 475 }; 476 477 /omit-if-no-ref/ spi3_sck_slave_pb3: spi3_sck_slave_pb3 { 478 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI3_REMAP0)>; 479 }; 480 481 /* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */ 482 483 /omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 { 484 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>; 485 }; 486 487 /omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 { 488 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>; 489 }; 490 491 /omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 { 492 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>; 493 }; 494 495 /omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 { 496 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>; 497 }; 498 499 /omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 { 500 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>; 501 }; 502 503 /omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 { 504 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>; 505 }; 506 507 /omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 { 508 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>; 509 }; 510 511 /omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 { 512 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>; 513 }; 514 515 /omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 { 516 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>; 517 }; 518 519 /omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 { 520 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>; 521 }; 522 523 /omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 { 524 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>; 525 }; 526 527 /omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 { 528 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>; 529 }; 530 531 /omit-if-no-ref/ tim2_ch3_remap2_pwm_in_pb10: tim2_ch3_remap2_pwm_in_pb10 { 532 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP2)>; 533 }; 534 535 /omit-if-no-ref/ tim2_ch3_remap3_pwm_in_pb10: tim2_ch3_remap3_pwm_in_pb10 { 536 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP3)>; 537 }; 538 539 /omit-if-no-ref/ tim2_ch4_remap2_pwm_in_pb11: tim2_ch4_remap2_pwm_in_pb11 { 540 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP2)>; 541 }; 542 543 /omit-if-no-ref/ tim2_ch4_remap3_pwm_in_pb11: tim2_ch4_remap3_pwm_in_pb11 { 544 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP3)>; 545 }; 546 547 /omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 { 548 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>; 549 }; 550 551 /omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 { 552 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>; 553 }; 554 555 /omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 { 556 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>; 557 }; 558 559 /omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 { 560 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>; 561 }; 562 563 /omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 { 564 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>; 565 }; 566 567 /omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 { 568 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>; 569 }; 570 571 /omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 { 572 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>; 573 }; 574 575 /omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 { 576 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>; 577 }; 578 579 /omit-if-no-ref/ tim3_ch1_remap2_pwm_in_pc6: tim3_ch1_remap2_pwm_in_pc6 { 580 pinmux = <STM32F1_PINMUX('C', 6, GPIO_IN, TIM3_REMAP2)>; 581 }; 582 583 /omit-if-no-ref/ tim3_ch2_remap2_pwm_in_pc7: tim3_ch2_remap2_pwm_in_pc7 { 584 pinmux = <STM32F1_PINMUX('C', 7, GPIO_IN, TIM3_REMAP2)>; 585 }; 586 587 /omit-if-no-ref/ tim3_ch3_remap2_pwm_in_pc8: tim3_ch3_remap2_pwm_in_pc8 { 588 pinmux = <STM32F1_PINMUX('C', 8, GPIO_IN, TIM3_REMAP2)>; 589 }; 590 591 /omit-if-no-ref/ tim3_ch4_remap2_pwm_in_pc9: tim3_ch4_remap2_pwm_in_pc9 { 592 pinmux = <STM32F1_PINMUX('C', 9, GPIO_IN, TIM3_REMAP2)>; 593 }; 594 595 /omit-if-no-ref/ tim4_ch1_pwm_in_pb6: tim4_ch1_pwm_in_pb6 { 596 pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, TIM4_REMAP0)>; 597 }; 598 599 /omit-if-no-ref/ tim4_ch2_pwm_in_pb7: tim4_ch2_pwm_in_pb7 { 600 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, TIM4_REMAP0)>; 601 }; 602 603 /omit-if-no-ref/ tim4_ch3_pwm_in_pb8: tim4_ch3_pwm_in_pb8 { 604 pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, TIM4_REMAP0)>; 605 }; 606 607 /omit-if-no-ref/ tim4_ch4_pwm_in_pb9: tim4_ch4_pwm_in_pb9 { 608 pinmux = <STM32F1_PINMUX('B', 9, GPIO_IN, TIM4_REMAP0)>; 609 }; 610 611 /omit-if-no-ref/ tim5_ch1_pwm_in_pa0: tim5_ch1_pwm_in_pa0 { 612 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, NO_REMAP)>; 613 }; 614 615 /omit-if-no-ref/ tim5_ch2_pwm_in_pa1: tim5_ch2_pwm_in_pa1 { 616 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, NO_REMAP)>; 617 }; 618 619 /omit-if-no-ref/ tim5_ch3_pwm_in_pa2: tim5_ch3_pwm_in_pa2 { 620 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, NO_REMAP)>; 621 }; 622 623 /omit-if-no-ref/ tim5_ch4_pwm_in_pa3: tim5_ch4_pwm_in_pa3 { 624 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, NO_REMAP)>; 625 }; 626 627 /* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */ 628 629 /omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 { 630 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>; 631 }; 632 633 /omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 { 634 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>; 635 }; 636 637 /omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 { 638 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>; 639 }; 640 641 /omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 { 642 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>; 643 }; 644 645 /omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 { 646 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>; 647 }; 648 649 /omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 { 650 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>; 651 }; 652 653 /omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 { 654 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>; 655 }; 656 657 /omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 { 658 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>; 659 }; 660 661 /omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 { 662 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>; 663 }; 664 665 /omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 { 666 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>; 667 }; 668 669 /omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 { 670 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>; 671 }; 672 673 /omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 { 674 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>; 675 }; 676 677 /omit-if-no-ref/ tim2_ch3_remap2_pwm_out_pb10: tim2_ch3_remap2_pwm_out_pb10 { 678 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP2)>; 679 }; 680 681 /omit-if-no-ref/ tim2_ch3_remap3_pwm_out_pb10: tim2_ch3_remap3_pwm_out_pb10 { 682 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP3)>; 683 }; 684 685 /omit-if-no-ref/ tim2_ch4_remap2_pwm_out_pb11: tim2_ch4_remap2_pwm_out_pb11 { 686 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP2)>; 687 }; 688 689 /omit-if-no-ref/ tim2_ch4_remap3_pwm_out_pb11: tim2_ch4_remap3_pwm_out_pb11 { 690 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP3)>; 691 }; 692 693 /omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 { 694 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>; 695 }; 696 697 /omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 { 698 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>; 699 }; 700 701 /omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 { 702 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>; 703 }; 704 705 /omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 { 706 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>; 707 }; 708 709 /omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 { 710 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>; 711 }; 712 713 /omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 { 714 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>; 715 }; 716 717 /omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 { 718 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>; 719 }; 720 721 /omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 { 722 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>; 723 }; 724 725 /omit-if-no-ref/ tim3_ch1_remap2_pwm_out_pc6: tim3_ch1_remap2_pwm_out_pc6 { 726 pinmux = <STM32F1_PINMUX('C', 6, ALTERNATE, TIM3_REMAP2)>; 727 }; 728 729 /omit-if-no-ref/ tim3_ch2_remap2_pwm_out_pc7: tim3_ch2_remap2_pwm_out_pc7 { 730 pinmux = <STM32F1_PINMUX('C', 7, ALTERNATE, TIM3_REMAP2)>; 731 }; 732 733 /omit-if-no-ref/ tim3_ch3_remap2_pwm_out_pc8: tim3_ch3_remap2_pwm_out_pc8 { 734 pinmux = <STM32F1_PINMUX('C', 8, ALTERNATE, TIM3_REMAP2)>; 735 }; 736 737 /omit-if-no-ref/ tim3_ch4_remap2_pwm_out_pc9: tim3_ch4_remap2_pwm_out_pc9 { 738 pinmux = <STM32F1_PINMUX('C', 9, ALTERNATE, TIM3_REMAP2)>; 739 }; 740 741 /omit-if-no-ref/ tim4_ch1_pwm_out_pb6: tim4_ch1_pwm_out_pb6 { 742 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, TIM4_REMAP0)>; 743 }; 744 745 /omit-if-no-ref/ tim4_ch2_pwm_out_pb7: tim4_ch2_pwm_out_pb7 { 746 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, TIM4_REMAP0)>; 747 }; 748 749 /omit-if-no-ref/ tim4_ch3_pwm_out_pb8: tim4_ch3_pwm_out_pb8 { 750 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, TIM4_REMAP0)>; 751 }; 752 753 /omit-if-no-ref/ tim4_ch4_pwm_out_pb9: tim4_ch4_pwm_out_pb9 { 754 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, TIM4_REMAP0)>; 755 }; 756 757 /omit-if-no-ref/ tim5_ch1_pwm_out_pa0: tim5_ch1_pwm_out_pa0 { 758 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, NO_REMAP)>; 759 }; 760 761 /omit-if-no-ref/ tim5_ch2_pwm_out_pa1: tim5_ch2_pwm_out_pa1 { 762 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, NO_REMAP)>; 763 }; 764 765 /omit-if-no-ref/ tim5_ch3_pwm_out_pa2: tim5_ch3_pwm_out_pa2 { 766 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, NO_REMAP)>; 767 }; 768 769 /omit-if-no-ref/ tim5_ch4_pwm_out_pa3: tim5_ch4_pwm_out_pa3 { 770 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, NO_REMAP)>; 771 }; 772 773 /* UART_CTS / USART_CTS */ 774 775 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 776 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>; 777 bias-pull-up; 778 drive-open-drain; 779 }; 780 781 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 782 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>; 783 bias-pull-up; 784 drive-open-drain; 785 }; 786 787 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 788 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP0)>; 789 bias-pull-up; 790 drive-open-drain; 791 }; 792 793 /omit-if-no-ref/ usart3_cts_remap1_pb13: usart3_cts_remap1_pb13 { 794 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP1)>; 795 bias-pull-up; 796 drive-open-drain; 797 }; 798 799 /* UART_RTS / USART_RTS */ 800 801 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 802 pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>; 803 }; 804 805 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 806 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>; 807 }; 808 809 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 810 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP0)>; 811 }; 812 813 /omit-if-no-ref/ usart3_rts_remap1_pb14: usart3_rts_remap1_pb14 { 814 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP1)>; 815 }; 816 817 /* UART_RX / USART_RX */ 818 819 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 820 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>; 821 }; 822 823 /omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 { 824 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>; 825 }; 826 827 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 828 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>; 829 }; 830 831 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 832 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, USART3_REMAP0)>; 833 }; 834 835 /omit-if-no-ref/ usart3_rx_remap1_pc11: usart3_rx_remap1_pc11 { 836 pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, USART3_REMAP1)>; 837 }; 838 839 /omit-if-no-ref/ uart4_rx_pc11: uart4_rx_pc11 { 840 pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, NO_REMAP)>; 841 }; 842 843 /omit-if-no-ref/ uart5_rx_pd2: uart5_rx_pd2 { 844 pinmux = <STM32F1_PINMUX('D', 2, GPIO_IN, NO_REMAP)>; 845 }; 846 847 /* UART_TX / USART_TX */ 848 849 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 850 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>; 851 }; 852 853 /omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 { 854 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>; 855 }; 856 857 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 858 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>; 859 }; 860 861 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 862 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, USART3_REMAP0)>; 863 }; 864 865 /omit-if-no-ref/ usart3_tx_remap1_pc10: usart3_tx_remap1_pc10 { 866 pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, USART3_REMAP1)>; 867 }; 868 869 /omit-if-no-ref/ uart4_tx_pc10: uart4_tx_pc10 { 870 pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, NO_REMAP)>; 871 }; 872 873 /omit-if-no-ref/ uart5_tx_pc12: uart5_tx_pc12 { 874 pinmux = <STM32F1_PINMUX('C', 12, ALTERNATE, NO_REMAP)>; 875 }; 876 877 }; 878 }; 879};