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_in14_pc4: adc1_in14_pc4 { 68 pinmux = <STM32F1_PINMUX('C', 4, ANALOG, NO_REMAP)>; 69 }; 70 71 /omit-if-no-ref/ adc1_in15_pc5: adc1_in15_pc5 { 72 pinmux = <STM32F1_PINMUX('C', 5, ANALOG, NO_REMAP)>; 73 }; 74 75 /omit-if-no-ref/ adc2_in0_pa0: adc2_in0_pa0 { 76 pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>; 77 }; 78 79 /omit-if-no-ref/ adc2_in1_pa1: adc2_in1_pa1 { 80 pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>; 81 }; 82 83 /omit-if-no-ref/ adc2_in2_pa2: adc2_in2_pa2 { 84 pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>; 85 }; 86 87 /omit-if-no-ref/ adc2_in3_pa3: adc2_in3_pa3 { 88 pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>; 89 }; 90 91 /omit-if-no-ref/ adc2_in4_pa4: adc2_in4_pa4 { 92 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 93 }; 94 95 /omit-if-no-ref/ adc2_in5_pa5: adc2_in5_pa5 { 96 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 97 }; 98 99 /omit-if-no-ref/ adc2_in6_pa6: adc2_in6_pa6 { 100 pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>; 101 }; 102 103 /omit-if-no-ref/ adc2_in7_pa7: adc2_in7_pa7 { 104 pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>; 105 }; 106 107 /omit-if-no-ref/ adc2_in8_pb0: adc2_in8_pb0 { 108 pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>; 109 }; 110 111 /omit-if-no-ref/ adc2_in9_pb1: adc2_in9_pb1 { 112 pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>; 113 }; 114 115 /omit-if-no-ref/ adc2_in10_pc0: adc2_in10_pc0 { 116 pinmux = <STM32F1_PINMUX('C', 0, ANALOG, NO_REMAP)>; 117 }; 118 119 /omit-if-no-ref/ adc2_in11_pc1: adc2_in11_pc1 { 120 pinmux = <STM32F1_PINMUX('C', 1, ANALOG, NO_REMAP)>; 121 }; 122 123 /omit-if-no-ref/ adc2_in12_pc2: adc2_in12_pc2 { 124 pinmux = <STM32F1_PINMUX('C', 2, ANALOG, NO_REMAP)>; 125 }; 126 127 /omit-if-no-ref/ adc2_in14_pc4: adc2_in14_pc4 { 128 pinmux = <STM32F1_PINMUX('C', 4, ANALOG, NO_REMAP)>; 129 }; 130 131 /omit-if-no-ref/ adc2_in15_pc5: adc2_in15_pc5 { 132 pinmux = <STM32F1_PINMUX('C', 5, ANALOG, NO_REMAP)>; 133 }; 134 135 /omit-if-no-ref/ adc3_in0_pa0: adc3_in0_pa0 { 136 pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>; 137 }; 138 139 /omit-if-no-ref/ adc3_in1_pa1: adc3_in1_pa1 { 140 pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>; 141 }; 142 143 /omit-if-no-ref/ adc3_in2_pa2: adc3_in2_pa2 { 144 pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>; 145 }; 146 147 /omit-if-no-ref/ adc3_in3_pa3: adc3_in3_pa3 { 148 pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>; 149 }; 150 151 /omit-if-no-ref/ adc3_in10_pc0: adc3_in10_pc0 { 152 pinmux = <STM32F1_PINMUX('C', 0, ANALOG, NO_REMAP)>; 153 }; 154 155 /omit-if-no-ref/ adc3_in11_pc1: adc3_in11_pc1 { 156 pinmux = <STM32F1_PINMUX('C', 1, ANALOG, NO_REMAP)>; 157 }; 158 159 /omit-if-no-ref/ adc3_in12_pc2: adc3_in12_pc2 { 160 pinmux = <STM32F1_PINMUX('C', 2, ANALOG, NO_REMAP)>; 161 }; 162 163 /* Analog */ 164 165 /omit-if-no-ref/ analog_pa0: analog_pa0 { 166 pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>; 167 }; 168 169 /omit-if-no-ref/ analog_pa1: analog_pa1 { 170 pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>; 171 }; 172 173 /omit-if-no-ref/ analog_pa2: analog_pa2 { 174 pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>; 175 }; 176 177 /omit-if-no-ref/ analog_pa3: analog_pa3 { 178 pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>; 179 }; 180 181 /omit-if-no-ref/ analog_pa4: analog_pa4 { 182 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 183 }; 184 185 /omit-if-no-ref/ analog_pa5: analog_pa5 { 186 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 187 }; 188 189 /omit-if-no-ref/ analog_pa6: analog_pa6 { 190 pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>; 191 }; 192 193 /omit-if-no-ref/ analog_pa7: analog_pa7 { 194 pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>; 195 }; 196 197 /omit-if-no-ref/ analog_pa8: analog_pa8 { 198 pinmux = <STM32F1_PINMUX('A', 8, ANALOG, NO_REMAP)>; 199 }; 200 201 /omit-if-no-ref/ analog_pa9: analog_pa9 { 202 pinmux = <STM32F1_PINMUX('A', 9, ANALOG, NO_REMAP)>; 203 }; 204 205 /omit-if-no-ref/ analog_pa10: analog_pa10 { 206 pinmux = <STM32F1_PINMUX('A', 10, ANALOG, NO_REMAP)>; 207 }; 208 209 /omit-if-no-ref/ analog_pa11: analog_pa11 { 210 pinmux = <STM32F1_PINMUX('A', 11, ANALOG, NO_REMAP)>; 211 }; 212 213 /omit-if-no-ref/ analog_pa12: analog_pa12 { 214 pinmux = <STM32F1_PINMUX('A', 12, ANALOG, NO_REMAP)>; 215 }; 216 217 /omit-if-no-ref/ analog_pa13: analog_pa13 { 218 pinmux = <STM32F1_PINMUX('A', 13, ANALOG, NO_REMAP)>; 219 }; 220 221 /omit-if-no-ref/ analog_pa14: analog_pa14 { 222 pinmux = <STM32F1_PINMUX('A', 14, ANALOG, NO_REMAP)>; 223 }; 224 225 /omit-if-no-ref/ analog_pa15: analog_pa15 { 226 pinmux = <STM32F1_PINMUX('A', 15, ANALOG, NO_REMAP)>; 227 }; 228 229 /omit-if-no-ref/ analog_pb0: analog_pb0 { 230 pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>; 231 }; 232 233 /omit-if-no-ref/ analog_pb1: analog_pb1 { 234 pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>; 235 }; 236 237 /omit-if-no-ref/ analog_pb2: analog_pb2 { 238 pinmux = <STM32F1_PINMUX('B', 2, ANALOG, NO_REMAP)>; 239 }; 240 241 /omit-if-no-ref/ analog_pb3: analog_pb3 { 242 pinmux = <STM32F1_PINMUX('B', 3, ANALOG, NO_REMAP)>; 243 }; 244 245 /omit-if-no-ref/ analog_pb4: analog_pb4 { 246 pinmux = <STM32F1_PINMUX('B', 4, ANALOG, NO_REMAP)>; 247 }; 248 249 /omit-if-no-ref/ analog_pb5: analog_pb5 { 250 pinmux = <STM32F1_PINMUX('B', 5, ANALOG, NO_REMAP)>; 251 }; 252 253 /omit-if-no-ref/ analog_pb6: analog_pb6 { 254 pinmux = <STM32F1_PINMUX('B', 6, ANALOG, NO_REMAP)>; 255 }; 256 257 /omit-if-no-ref/ analog_pb7: analog_pb7 { 258 pinmux = <STM32F1_PINMUX('B', 7, ANALOG, NO_REMAP)>; 259 }; 260 261 /omit-if-no-ref/ analog_pb8: analog_pb8 { 262 pinmux = <STM32F1_PINMUX('B', 8, ANALOG, NO_REMAP)>; 263 }; 264 265 /omit-if-no-ref/ analog_pb9: analog_pb9 { 266 pinmux = <STM32F1_PINMUX('B', 9, ANALOG, NO_REMAP)>; 267 }; 268 269 /omit-if-no-ref/ analog_pb10: analog_pb10 { 270 pinmux = <STM32F1_PINMUX('B', 10, ANALOG, NO_REMAP)>; 271 }; 272 273 /omit-if-no-ref/ analog_pb11: analog_pb11 { 274 pinmux = <STM32F1_PINMUX('B', 11, ANALOG, NO_REMAP)>; 275 }; 276 277 /omit-if-no-ref/ analog_pb12: analog_pb12 { 278 pinmux = <STM32F1_PINMUX('B', 12, ANALOG, NO_REMAP)>; 279 }; 280 281 /omit-if-no-ref/ analog_pb13: analog_pb13 { 282 pinmux = <STM32F1_PINMUX('B', 13, ANALOG, NO_REMAP)>; 283 }; 284 285 /omit-if-no-ref/ analog_pb14: analog_pb14 { 286 pinmux = <STM32F1_PINMUX('B', 14, ANALOG, NO_REMAP)>; 287 }; 288 289 /omit-if-no-ref/ analog_pb15: analog_pb15 { 290 pinmux = <STM32F1_PINMUX('B', 15, ANALOG, NO_REMAP)>; 291 }; 292 293 /omit-if-no-ref/ analog_pc0: analog_pc0 { 294 pinmux = <STM32F1_PINMUX('C', 0, ANALOG, NO_REMAP)>; 295 }; 296 297 /omit-if-no-ref/ analog_pc1: analog_pc1 { 298 pinmux = <STM32F1_PINMUX('C', 1, ANALOG, NO_REMAP)>; 299 }; 300 301 /omit-if-no-ref/ analog_pc2: analog_pc2 { 302 pinmux = <STM32F1_PINMUX('C', 2, ANALOG, NO_REMAP)>; 303 }; 304 305 /omit-if-no-ref/ analog_pc4: analog_pc4 { 306 pinmux = <STM32F1_PINMUX('C', 4, ANALOG, NO_REMAP)>; 307 }; 308 309 /omit-if-no-ref/ analog_pc5: analog_pc5 { 310 pinmux = <STM32F1_PINMUX('C', 5, ANALOG, NO_REMAP)>; 311 }; 312 313 /omit-if-no-ref/ analog_pc6: analog_pc6 { 314 pinmux = <STM32F1_PINMUX('C', 6, ANALOG, NO_REMAP)>; 315 }; 316 317 /omit-if-no-ref/ analog_pc7: analog_pc7 { 318 pinmux = <STM32F1_PINMUX('C', 7, ANALOG, NO_REMAP)>; 319 }; 320 321 /omit-if-no-ref/ analog_pc8: analog_pc8 { 322 pinmux = <STM32F1_PINMUX('C', 8, ANALOG, NO_REMAP)>; 323 }; 324 325 /omit-if-no-ref/ analog_pc9: analog_pc9 { 326 pinmux = <STM32F1_PINMUX('C', 9, ANALOG, NO_REMAP)>; 327 }; 328 329 /omit-if-no-ref/ analog_pc10: analog_pc10 { 330 pinmux = <STM32F1_PINMUX('C', 10, ANALOG, NO_REMAP)>; 331 }; 332 333 /omit-if-no-ref/ analog_pc11: analog_pc11 { 334 pinmux = <STM32F1_PINMUX('C', 11, ANALOG, NO_REMAP)>; 335 }; 336 337 /omit-if-no-ref/ analog_pc12: analog_pc12 { 338 pinmux = <STM32F1_PINMUX('C', 12, ANALOG, NO_REMAP)>; 339 }; 340 341 /omit-if-no-ref/ analog_pc13: analog_pc13 { 342 pinmux = <STM32F1_PINMUX('C', 13, ANALOG, NO_REMAP)>; 343 }; 344 345 /omit-if-no-ref/ analog_pc14: analog_pc14 { 346 pinmux = <STM32F1_PINMUX('C', 14, ANALOG, NO_REMAP)>; 347 }; 348 349 /omit-if-no-ref/ analog_pc15: analog_pc15 { 350 pinmux = <STM32F1_PINMUX('C', 15, ANALOG, NO_REMAP)>; 351 }; 352 353 /omit-if-no-ref/ analog_pd0: analog_pd0 { 354 pinmux = <STM32F1_PINMUX('D', 0, ANALOG, NO_REMAP)>; 355 }; 356 357 /omit-if-no-ref/ analog_pd1: analog_pd1 { 358 pinmux = <STM32F1_PINMUX('D', 1, ANALOG, NO_REMAP)>; 359 }; 360 361 /omit-if-no-ref/ analog_pd2: analog_pd2 { 362 pinmux = <STM32F1_PINMUX('D', 2, ANALOG, NO_REMAP)>; 363 }; 364 365 /* CAN_RX */ 366 367 /omit-if-no-ref/ can_rx_pa11: can_rx_pa11 { 368 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, CAN_REMAP0)>; 369 }; 370 371 /omit-if-no-ref/ can_rx_remap1_pb8: can_rx_remap1_pb8 { 372 pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, CAN_REMAP1)>; 373 }; 374 375 /* CAN_TX */ 376 377 /omit-if-no-ref/ can_tx_pa12: can_tx_pa12 { 378 pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, CAN_REMAP0)>; 379 }; 380 381 /omit-if-no-ref/ can_tx_remap1_pb9: can_tx_remap1_pb9 { 382 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, CAN_REMAP1)>; 383 }; 384 385 /* DAC_OUT */ 386 387 /omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 { 388 pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>; 389 }; 390 391 /omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 { 392 pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>; 393 }; 394 395 /* I2C_SCL */ 396 397 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 398 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>; 399 drive-open-drain; 400 }; 401 402 /omit-if-no-ref/ i2c1_scl_remap1_pb8: i2c1_scl_remap1_pb8 { 403 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, I2C1_REMAP1)>; 404 drive-open-drain; 405 }; 406 407 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 408 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, NO_REMAP)>; 409 drive-open-drain; 410 }; 411 412 /* I2C_SDA */ 413 414 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 415 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>; 416 drive-open-drain; 417 }; 418 419 /omit-if-no-ref/ i2c1_sda_remap1_pb9: i2c1_sda_remap1_pb9 { 420 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, I2C1_REMAP1)>; 421 drive-open-drain; 422 }; 423 424 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 425 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, NO_REMAP)>; 426 drive-open-drain; 427 }; 428 429 /* I2S_CK */ 430 431 /omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 { 432 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>; 433 }; 434 435 /omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 { 436 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, I2S3_REMAP0)>; 437 }; 438 439 /* I2S_SD */ 440 441 /omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 { 442 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>; 443 }; 444 445 /omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 { 446 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, I2S3_REMAP0)>; 447 }; 448 449 /* I2S_WS */ 450 451 /omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 { 452 pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>; 453 }; 454 455 /omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 { 456 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, I2S3_REMAP0)>; 457 }; 458 459 /* SPI_MASTER_MISO */ 460 461 /omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 { 462 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>; 463 bias-pull-down; 464 }; 465 466 /omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 { 467 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>; 468 bias-pull-down; 469 }; 470 471 /omit-if-no-ref/ spi2_miso_master_pb14: spi2_miso_master_pb14 { 472 pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, NO_REMAP)>; 473 bias-pull-down; 474 }; 475 476 /omit-if-no-ref/ spi3_miso_master_pb4: spi3_miso_master_pb4 { 477 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI3_REMAP0)>; 478 bias-pull-down; 479 }; 480 481 /* SPI_MASTER_MOSI */ 482 483 /omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 { 484 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>; 485 }; 486 487 /omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 { 488 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>; 489 }; 490 491 /omit-if-no-ref/ spi2_mosi_master_pb15: spi2_mosi_master_pb15 { 492 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>; 493 }; 494 495 /omit-if-no-ref/ spi3_mosi_master_pb5: spi3_mosi_master_pb5 { 496 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI3_REMAP0)>; 497 }; 498 499 /* SPI_MASTER_NSS */ 500 501 /omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 { 502 pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>; 503 }; 504 505 /omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 { 506 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>; 507 }; 508 509 /omit-if-no-ref/ spi2_nss_master_pb12: spi2_nss_master_pb12 { 510 pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>; 511 }; 512 513 /omit-if-no-ref/ spi3_nss_master_pa15: spi3_nss_master_pa15 { 514 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI3_REMAP0)>; 515 }; 516 517 /* SPI_MASTER_SCK */ 518 519 /omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 { 520 pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>; 521 }; 522 523 /omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 { 524 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>; 525 }; 526 527 /omit-if-no-ref/ spi2_sck_master_pb13: spi2_sck_master_pb13 { 528 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>; 529 }; 530 531 /omit-if-no-ref/ spi3_sck_master_pb3: spi3_sck_master_pb3 { 532 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI3_REMAP0)>; 533 }; 534 535 /* SPI_SLAVE_MISO */ 536 537 /omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 { 538 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>; 539 }; 540 541 /omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 { 542 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>; 543 }; 544 545 /omit-if-no-ref/ spi2_miso_slave_pb14: spi2_miso_slave_pb14 { 546 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, NO_REMAP)>; 547 }; 548 549 /omit-if-no-ref/ spi3_miso_slave_pb4: spi3_miso_slave_pb4 { 550 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI3_REMAP0)>; 551 }; 552 553 /* SPI_SLAVE_MOSI */ 554 555 /omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 { 556 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>; 557 }; 558 559 /omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 { 560 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>; 561 }; 562 563 /omit-if-no-ref/ spi2_mosi_slave_pb15: spi2_mosi_slave_pb15 { 564 pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, NO_REMAP)>; 565 }; 566 567 /omit-if-no-ref/ spi3_mosi_slave_pb5: spi3_mosi_slave_pb5 { 568 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI3_REMAP0)>; 569 }; 570 571 /* SPI_SLAVE_NSS */ 572 573 /omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 { 574 pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>; 575 bias-pull-up; 576 }; 577 578 /omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 { 579 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>; 580 bias-pull-up; 581 }; 582 583 /omit-if-no-ref/ spi2_nss_slave_pb12: spi2_nss_slave_pb12 { 584 pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, NO_REMAP)>; 585 bias-pull-up; 586 }; 587 588 /omit-if-no-ref/ spi3_nss_slave_pa15: spi3_nss_slave_pa15 { 589 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI3_REMAP0)>; 590 bias-pull-up; 591 }; 592 593 /* SPI_SLAVE_SCK */ 594 595 /omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 { 596 pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>; 597 }; 598 599 /omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 { 600 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>; 601 }; 602 603 /omit-if-no-ref/ spi2_sck_slave_pb13: spi2_sck_slave_pb13 { 604 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, NO_REMAP)>; 605 }; 606 607 /omit-if-no-ref/ spi3_sck_slave_pb3: spi3_sck_slave_pb3 { 608 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI3_REMAP0)>; 609 }; 610 611 /* TIM_BKIN */ 612 613 /omit-if-no-ref/ tim1_bkin_remap1_pa6: tim1_bkin_remap1_pa6 { 614 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM1_REMAP1)>; 615 }; 616 617 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 618 pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, TIM1_REMAP0)>; 619 }; 620 621 /omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 { 622 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, NO_REMAP)>; 623 }; 624 625 /* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */ 626 627 /omit-if-no-ref/ tim1_ch1n_remap1_pwm_in_pa7: tim1_ch1n_remap1_pwm_in_pa7 { 628 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM1_REMAP1)>; 629 }; 630 631 /omit-if-no-ref/ tim1_ch1_pwm_in_pa8: tim1_ch1_pwm_in_pa8 { 632 pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP0)>; 633 }; 634 635 /omit-if-no-ref/ tim1_ch1_remap1_pwm_in_pa8: tim1_ch1_remap1_pwm_in_pa8 { 636 pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP1)>; 637 }; 638 639 /omit-if-no-ref/ tim1_ch2_pwm_in_pa9: tim1_ch2_pwm_in_pa9 { 640 pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP0)>; 641 }; 642 643 /omit-if-no-ref/ tim1_ch2_remap1_pwm_in_pa9: tim1_ch2_remap1_pwm_in_pa9 { 644 pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP1)>; 645 }; 646 647 /omit-if-no-ref/ tim1_ch3_pwm_in_pa10: tim1_ch3_pwm_in_pa10 { 648 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP0)>; 649 }; 650 651 /omit-if-no-ref/ tim1_ch3_remap1_pwm_in_pa10: tim1_ch3_remap1_pwm_in_pa10 { 652 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP1)>; 653 }; 654 655 /omit-if-no-ref/ tim1_ch4_pwm_in_pa11: tim1_ch4_pwm_in_pa11 { 656 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP0)>; 657 }; 658 659 /omit-if-no-ref/ tim1_ch4_remap1_pwm_in_pa11: tim1_ch4_remap1_pwm_in_pa11 { 660 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP1)>; 661 }; 662 663 /omit-if-no-ref/ tim1_ch2n_remap1_pwm_in_pb0: tim1_ch2n_remap1_pwm_in_pb0 { 664 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM1_REMAP1)>; 665 }; 666 667 /omit-if-no-ref/ tim1_ch3n_remap1_pwm_in_pb1: tim1_ch3n_remap1_pwm_in_pb1 { 668 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM1_REMAP1)>; 669 }; 670 671 /omit-if-no-ref/ tim1_ch1n_pwm_in_pb13: tim1_ch1n_pwm_in_pb13 { 672 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, TIM1_REMAP0)>; 673 }; 674 675 /omit-if-no-ref/ tim1_ch2n_pwm_in_pb14: tim1_ch2n_pwm_in_pb14 { 676 pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, TIM1_REMAP0)>; 677 }; 678 679 /omit-if-no-ref/ tim1_ch3n_pwm_in_pb15: tim1_ch3n_pwm_in_pb15 { 680 pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, TIM1_REMAP0)>; 681 }; 682 683 /omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 { 684 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>; 685 }; 686 687 /omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 { 688 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>; 689 }; 690 691 /omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 { 692 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>; 693 }; 694 695 /omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 { 696 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>; 697 }; 698 699 /omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 { 700 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>; 701 }; 702 703 /omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 { 704 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>; 705 }; 706 707 /omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 { 708 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>; 709 }; 710 711 /omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 { 712 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>; 713 }; 714 715 /omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 { 716 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>; 717 }; 718 719 /omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 { 720 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>; 721 }; 722 723 /omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 { 724 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>; 725 }; 726 727 /omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 { 728 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>; 729 }; 730 731 /omit-if-no-ref/ tim2_ch3_remap2_pwm_in_pb10: tim2_ch3_remap2_pwm_in_pb10 { 732 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP2)>; 733 }; 734 735 /omit-if-no-ref/ tim2_ch3_remap3_pwm_in_pb10: tim2_ch3_remap3_pwm_in_pb10 { 736 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP3)>; 737 }; 738 739 /omit-if-no-ref/ tim2_ch4_remap2_pwm_in_pb11: tim2_ch4_remap2_pwm_in_pb11 { 740 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP2)>; 741 }; 742 743 /omit-if-no-ref/ tim2_ch4_remap3_pwm_in_pb11: tim2_ch4_remap3_pwm_in_pb11 { 744 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP3)>; 745 }; 746 747 /omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 { 748 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>; 749 }; 750 751 /omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 { 752 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>; 753 }; 754 755 /omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 { 756 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>; 757 }; 758 759 /omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 { 760 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>; 761 }; 762 763 /omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 { 764 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>; 765 }; 766 767 /omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 { 768 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>; 769 }; 770 771 /omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 { 772 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>; 773 }; 774 775 /omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 { 776 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>; 777 }; 778 779 /omit-if-no-ref/ tim3_ch1_remap2_pwm_in_pc6: tim3_ch1_remap2_pwm_in_pc6 { 780 pinmux = <STM32F1_PINMUX('C', 6, GPIO_IN, TIM3_REMAP2)>; 781 }; 782 783 /omit-if-no-ref/ tim3_ch2_remap2_pwm_in_pc7: tim3_ch2_remap2_pwm_in_pc7 { 784 pinmux = <STM32F1_PINMUX('C', 7, GPIO_IN, TIM3_REMAP2)>; 785 }; 786 787 /omit-if-no-ref/ tim3_ch3_remap2_pwm_in_pc8: tim3_ch3_remap2_pwm_in_pc8 { 788 pinmux = <STM32F1_PINMUX('C', 8, GPIO_IN, TIM3_REMAP2)>; 789 }; 790 791 /omit-if-no-ref/ tim3_ch4_remap2_pwm_in_pc9: tim3_ch4_remap2_pwm_in_pc9 { 792 pinmux = <STM32F1_PINMUX('C', 9, GPIO_IN, TIM3_REMAP2)>; 793 }; 794 795 /omit-if-no-ref/ tim4_ch1_pwm_in_pb6: tim4_ch1_pwm_in_pb6 { 796 pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, TIM4_REMAP0)>; 797 }; 798 799 /omit-if-no-ref/ tim4_ch2_pwm_in_pb7: tim4_ch2_pwm_in_pb7 { 800 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, TIM4_REMAP0)>; 801 }; 802 803 /omit-if-no-ref/ tim4_ch3_pwm_in_pb8: tim4_ch3_pwm_in_pb8 { 804 pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, TIM4_REMAP0)>; 805 }; 806 807 /omit-if-no-ref/ tim4_ch4_pwm_in_pb9: tim4_ch4_pwm_in_pb9 { 808 pinmux = <STM32F1_PINMUX('B', 9, GPIO_IN, TIM4_REMAP0)>; 809 }; 810 811 /omit-if-no-ref/ tim5_ch1_pwm_in_pa0: tim5_ch1_pwm_in_pa0 { 812 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, NO_REMAP)>; 813 }; 814 815 /omit-if-no-ref/ tim5_ch2_pwm_in_pa1: tim5_ch2_pwm_in_pa1 { 816 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, NO_REMAP)>; 817 }; 818 819 /omit-if-no-ref/ tim5_ch3_pwm_in_pa2: tim5_ch3_pwm_in_pa2 { 820 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, NO_REMAP)>; 821 }; 822 823 /omit-if-no-ref/ tim5_ch4_pwm_in_pa3: tim5_ch4_pwm_in_pa3 { 824 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, NO_REMAP)>; 825 }; 826 827 /omit-if-no-ref/ tim8_ch1n_pwm_in_pa7: tim8_ch1n_pwm_in_pa7 { 828 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, NO_REMAP)>; 829 }; 830 831 /omit-if-no-ref/ tim8_ch2n_pwm_in_pb0: tim8_ch2n_pwm_in_pb0 { 832 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, NO_REMAP)>; 833 }; 834 835 /omit-if-no-ref/ tim8_ch3n_pwm_in_pb1: tim8_ch3n_pwm_in_pb1 { 836 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, NO_REMAP)>; 837 }; 838 839 /omit-if-no-ref/ tim8_ch1_pwm_in_pc6: tim8_ch1_pwm_in_pc6 { 840 pinmux = <STM32F1_PINMUX('C', 6, GPIO_IN, NO_REMAP)>; 841 }; 842 843 /omit-if-no-ref/ tim8_ch2_pwm_in_pc7: tim8_ch2_pwm_in_pc7 { 844 pinmux = <STM32F1_PINMUX('C', 7, GPIO_IN, NO_REMAP)>; 845 }; 846 847 /omit-if-no-ref/ tim8_ch3_pwm_in_pc8: tim8_ch3_pwm_in_pc8 { 848 pinmux = <STM32F1_PINMUX('C', 8, GPIO_IN, NO_REMAP)>; 849 }; 850 851 /omit-if-no-ref/ tim8_ch4_pwm_in_pc9: tim8_ch4_pwm_in_pc9 { 852 pinmux = <STM32F1_PINMUX('C', 9, GPIO_IN, NO_REMAP)>; 853 }; 854 855 /* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */ 856 857 /omit-if-no-ref/ tim1_ch1n_remap1_pwm_out_pa7: tim1_ch1n_remap1_pwm_out_pa7 { 858 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM1_REMAP1)>; 859 }; 860 861 /omit-if-no-ref/ tim1_ch1_pwm_out_pa8: tim1_ch1_pwm_out_pa8 { 862 pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP0)>; 863 }; 864 865 /omit-if-no-ref/ tim1_ch1_remap1_pwm_out_pa8: tim1_ch1_remap1_pwm_out_pa8 { 866 pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP1)>; 867 }; 868 869 /omit-if-no-ref/ tim1_ch2_pwm_out_pa9: tim1_ch2_pwm_out_pa9 { 870 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP0)>; 871 }; 872 873 /omit-if-no-ref/ tim1_ch2_remap1_pwm_out_pa9: tim1_ch2_remap1_pwm_out_pa9 { 874 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP1)>; 875 }; 876 877 /omit-if-no-ref/ tim1_ch3_pwm_out_pa10: tim1_ch3_pwm_out_pa10 { 878 pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP0)>; 879 }; 880 881 /omit-if-no-ref/ tim1_ch3_remap1_pwm_out_pa10: tim1_ch3_remap1_pwm_out_pa10 { 882 pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP1)>; 883 }; 884 885 /omit-if-no-ref/ tim1_ch4_pwm_out_pa11: tim1_ch4_pwm_out_pa11 { 886 pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP0)>; 887 }; 888 889 /omit-if-no-ref/ tim1_ch4_remap1_pwm_out_pa11: tim1_ch4_remap1_pwm_out_pa11 { 890 pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP1)>; 891 }; 892 893 /omit-if-no-ref/ tim1_ch2n_remap1_pwm_out_pb0: tim1_ch2n_remap1_pwm_out_pb0 { 894 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM1_REMAP1)>; 895 }; 896 897 /omit-if-no-ref/ tim1_ch3n_remap1_pwm_out_pb1: tim1_ch3n_remap1_pwm_out_pb1 { 898 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM1_REMAP1)>; 899 }; 900 901 /omit-if-no-ref/ tim1_ch1n_pwm_out_pb13: tim1_ch1n_pwm_out_pb13 { 902 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, TIM1_REMAP0)>; 903 }; 904 905 /omit-if-no-ref/ tim1_ch2n_pwm_out_pb14: tim1_ch2n_pwm_out_pb14 { 906 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, TIM1_REMAP0)>; 907 }; 908 909 /omit-if-no-ref/ tim1_ch3n_pwm_out_pb15: tim1_ch3n_pwm_out_pb15 { 910 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, TIM1_REMAP0)>; 911 }; 912 913 /omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 { 914 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>; 915 }; 916 917 /omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 { 918 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>; 919 }; 920 921 /omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 { 922 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>; 923 }; 924 925 /omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 { 926 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>; 927 }; 928 929 /omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 { 930 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>; 931 }; 932 933 /omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 { 934 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>; 935 }; 936 937 /omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 { 938 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>; 939 }; 940 941 /omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 { 942 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>; 943 }; 944 945 /omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 { 946 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>; 947 }; 948 949 /omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 { 950 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>; 951 }; 952 953 /omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 { 954 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>; 955 }; 956 957 /omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 { 958 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>; 959 }; 960 961 /omit-if-no-ref/ tim2_ch3_remap2_pwm_out_pb10: tim2_ch3_remap2_pwm_out_pb10 { 962 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP2)>; 963 }; 964 965 /omit-if-no-ref/ tim2_ch3_remap3_pwm_out_pb10: tim2_ch3_remap3_pwm_out_pb10 { 966 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP3)>; 967 }; 968 969 /omit-if-no-ref/ tim2_ch4_remap2_pwm_out_pb11: tim2_ch4_remap2_pwm_out_pb11 { 970 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP2)>; 971 }; 972 973 /omit-if-no-ref/ tim2_ch4_remap3_pwm_out_pb11: tim2_ch4_remap3_pwm_out_pb11 { 974 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP3)>; 975 }; 976 977 /omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 { 978 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>; 979 }; 980 981 /omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 { 982 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>; 983 }; 984 985 /omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 { 986 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>; 987 }; 988 989 /omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 { 990 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>; 991 }; 992 993 /omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 { 994 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>; 995 }; 996 997 /omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 { 998 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>; 999 }; 1000 1001 /omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 { 1002 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>; 1003 }; 1004 1005 /omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 { 1006 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>; 1007 }; 1008 1009 /omit-if-no-ref/ tim3_ch1_remap2_pwm_out_pc6: tim3_ch1_remap2_pwm_out_pc6 { 1010 pinmux = <STM32F1_PINMUX('C', 6, ALTERNATE, TIM3_REMAP2)>; 1011 }; 1012 1013 /omit-if-no-ref/ tim3_ch2_remap2_pwm_out_pc7: tim3_ch2_remap2_pwm_out_pc7 { 1014 pinmux = <STM32F1_PINMUX('C', 7, ALTERNATE, TIM3_REMAP2)>; 1015 }; 1016 1017 /omit-if-no-ref/ tim3_ch3_remap2_pwm_out_pc8: tim3_ch3_remap2_pwm_out_pc8 { 1018 pinmux = <STM32F1_PINMUX('C', 8, ALTERNATE, TIM3_REMAP2)>; 1019 }; 1020 1021 /omit-if-no-ref/ tim3_ch4_remap2_pwm_out_pc9: tim3_ch4_remap2_pwm_out_pc9 { 1022 pinmux = <STM32F1_PINMUX('C', 9, ALTERNATE, TIM3_REMAP2)>; 1023 }; 1024 1025 /omit-if-no-ref/ tim4_ch1_pwm_out_pb6: tim4_ch1_pwm_out_pb6 { 1026 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, TIM4_REMAP0)>; 1027 }; 1028 1029 /omit-if-no-ref/ tim4_ch2_pwm_out_pb7: tim4_ch2_pwm_out_pb7 { 1030 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, TIM4_REMAP0)>; 1031 }; 1032 1033 /omit-if-no-ref/ tim4_ch3_pwm_out_pb8: tim4_ch3_pwm_out_pb8 { 1034 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, TIM4_REMAP0)>; 1035 }; 1036 1037 /omit-if-no-ref/ tim4_ch4_pwm_out_pb9: tim4_ch4_pwm_out_pb9 { 1038 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, TIM4_REMAP0)>; 1039 }; 1040 1041 /omit-if-no-ref/ tim5_ch1_pwm_out_pa0: tim5_ch1_pwm_out_pa0 { 1042 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, NO_REMAP)>; 1043 }; 1044 1045 /omit-if-no-ref/ tim5_ch2_pwm_out_pa1: tim5_ch2_pwm_out_pa1 { 1046 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, NO_REMAP)>; 1047 }; 1048 1049 /omit-if-no-ref/ tim5_ch3_pwm_out_pa2: tim5_ch3_pwm_out_pa2 { 1050 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, NO_REMAP)>; 1051 }; 1052 1053 /omit-if-no-ref/ tim5_ch4_pwm_out_pa3: tim5_ch4_pwm_out_pa3 { 1054 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, NO_REMAP)>; 1055 }; 1056 1057 /omit-if-no-ref/ tim8_ch1n_pwm_out_pa7: tim8_ch1n_pwm_out_pa7 { 1058 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, NO_REMAP)>; 1059 }; 1060 1061 /omit-if-no-ref/ tim8_ch2n_pwm_out_pb0: tim8_ch2n_pwm_out_pb0 { 1062 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, NO_REMAP)>; 1063 }; 1064 1065 /omit-if-no-ref/ tim8_ch3n_pwm_out_pb1: tim8_ch3n_pwm_out_pb1 { 1066 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, NO_REMAP)>; 1067 }; 1068 1069 /omit-if-no-ref/ tim8_ch1_pwm_out_pc6: tim8_ch1_pwm_out_pc6 { 1070 pinmux = <STM32F1_PINMUX('C', 6, ALTERNATE, NO_REMAP)>; 1071 }; 1072 1073 /omit-if-no-ref/ tim8_ch2_pwm_out_pc7: tim8_ch2_pwm_out_pc7 { 1074 pinmux = <STM32F1_PINMUX('C', 7, ALTERNATE, NO_REMAP)>; 1075 }; 1076 1077 /omit-if-no-ref/ tim8_ch3_pwm_out_pc8: tim8_ch3_pwm_out_pc8 { 1078 pinmux = <STM32F1_PINMUX('C', 8, ALTERNATE, NO_REMAP)>; 1079 }; 1080 1081 /omit-if-no-ref/ tim8_ch4_pwm_out_pc9: tim8_ch4_pwm_out_pc9 { 1082 pinmux = <STM32F1_PINMUX('C', 9, ALTERNATE, NO_REMAP)>; 1083 }; 1084 1085 /* UART_CTS / USART_CTS */ 1086 1087 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 1088 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>; 1089 bias-pull-up; 1090 drive-open-drain; 1091 }; 1092 1093 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 1094 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>; 1095 bias-pull-up; 1096 drive-open-drain; 1097 }; 1098 1099 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 1100 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP0)>; 1101 bias-pull-up; 1102 drive-open-drain; 1103 }; 1104 1105 /omit-if-no-ref/ usart3_cts_remap1_pb13: usart3_cts_remap1_pb13 { 1106 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP1)>; 1107 bias-pull-up; 1108 drive-open-drain; 1109 }; 1110 1111 /* UART_RTS / USART_RTS */ 1112 1113 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 1114 pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>; 1115 }; 1116 1117 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 1118 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>; 1119 }; 1120 1121 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 1122 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP0)>; 1123 }; 1124 1125 /omit-if-no-ref/ usart3_rts_remap1_pb14: usart3_rts_remap1_pb14 { 1126 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP1)>; 1127 }; 1128 1129 /* UART_RX / USART_RX */ 1130 1131 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 1132 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>; 1133 }; 1134 1135 /omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 { 1136 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>; 1137 }; 1138 1139 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 1140 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>; 1141 }; 1142 1143 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1144 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, USART3_REMAP0)>; 1145 }; 1146 1147 /omit-if-no-ref/ usart3_rx_remap1_pc11: usart3_rx_remap1_pc11 { 1148 pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, USART3_REMAP1)>; 1149 }; 1150 1151 /omit-if-no-ref/ uart4_rx_pc11: uart4_rx_pc11 { 1152 pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, NO_REMAP)>; 1153 }; 1154 1155 /omit-if-no-ref/ uart5_rx_pd2: uart5_rx_pd2 { 1156 pinmux = <STM32F1_PINMUX('D', 2, GPIO_IN, NO_REMAP)>; 1157 }; 1158 1159 /* UART_TX / USART_TX */ 1160 1161 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1162 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>; 1163 }; 1164 1165 /omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 { 1166 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>; 1167 }; 1168 1169 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1170 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>; 1171 }; 1172 1173 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1174 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, USART3_REMAP0)>; 1175 }; 1176 1177 /omit-if-no-ref/ usart3_tx_remap1_pc10: usart3_tx_remap1_pc10 { 1178 pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, USART3_REMAP1)>; 1179 }; 1180 1181 /omit-if-no-ref/ uart4_tx_pc10: uart4_tx_pc10 { 1182 pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, NO_REMAP)>; 1183 }; 1184 1185 /omit-if-no-ref/ uart5_tx_pc12: uart5_tx_pc12 { 1186 pinmux = <STM32F1_PINMUX('C', 12, ALTERNATE, NO_REMAP)>; 1187 }; 1188 1189 /* USB */ 1190 1191 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1192 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>; 1193 }; 1194 1195 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1196 pinmux = <STM32F1_PINMUX('A', 12, GPIO_IN, NO_REMAP)>; 1197 }; 1198 1199 }; 1200 }; 1201};