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