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