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 /omit-if-no-ref/ analog_pd3: analog_pd3 { 350 pinmux = <STM32F1_PINMUX('D', 3, ANALOG, NO_REMAP)>; 351 }; 352 353 /omit-if-no-ref/ analog_pd4: analog_pd4 { 354 pinmux = <STM32F1_PINMUX('D', 4, ANALOG, NO_REMAP)>; 355 }; 356 357 /omit-if-no-ref/ analog_pd5: analog_pd5 { 358 pinmux = <STM32F1_PINMUX('D', 5, ANALOG, NO_REMAP)>; 359 }; 360 361 /omit-if-no-ref/ analog_pd6: analog_pd6 { 362 pinmux = <STM32F1_PINMUX('D', 6, ANALOG, NO_REMAP)>; 363 }; 364 365 /omit-if-no-ref/ analog_pd7: analog_pd7 { 366 pinmux = <STM32F1_PINMUX('D', 7, ANALOG, NO_REMAP)>; 367 }; 368 369 /omit-if-no-ref/ analog_pd8: analog_pd8 { 370 pinmux = <STM32F1_PINMUX('D', 8, ANALOG, NO_REMAP)>; 371 }; 372 373 /omit-if-no-ref/ analog_pd9: analog_pd9 { 374 pinmux = <STM32F1_PINMUX('D', 9, ANALOG, NO_REMAP)>; 375 }; 376 377 /omit-if-no-ref/ analog_pd10: analog_pd10 { 378 pinmux = <STM32F1_PINMUX('D', 10, ANALOG, NO_REMAP)>; 379 }; 380 381 /omit-if-no-ref/ analog_pd11: analog_pd11 { 382 pinmux = <STM32F1_PINMUX('D', 11, ANALOG, NO_REMAP)>; 383 }; 384 385 /omit-if-no-ref/ analog_pd12: analog_pd12 { 386 pinmux = <STM32F1_PINMUX('D', 12, ANALOG, NO_REMAP)>; 387 }; 388 389 /omit-if-no-ref/ analog_pd13: analog_pd13 { 390 pinmux = <STM32F1_PINMUX('D', 13, ANALOG, NO_REMAP)>; 391 }; 392 393 /omit-if-no-ref/ analog_pd14: analog_pd14 { 394 pinmux = <STM32F1_PINMUX('D', 14, ANALOG, NO_REMAP)>; 395 }; 396 397 /omit-if-no-ref/ analog_pd15: analog_pd15 { 398 pinmux = <STM32F1_PINMUX('D', 15, ANALOG, NO_REMAP)>; 399 }; 400 401 /omit-if-no-ref/ analog_pe0: analog_pe0 { 402 pinmux = <STM32F1_PINMUX('E', 0, ANALOG, NO_REMAP)>; 403 }; 404 405 /omit-if-no-ref/ analog_pe1: analog_pe1 { 406 pinmux = <STM32F1_PINMUX('E', 1, ANALOG, NO_REMAP)>; 407 }; 408 409 /omit-if-no-ref/ analog_pe2: analog_pe2 { 410 pinmux = <STM32F1_PINMUX('E', 2, ANALOG, NO_REMAP)>; 411 }; 412 413 /omit-if-no-ref/ analog_pe3: analog_pe3 { 414 pinmux = <STM32F1_PINMUX('E', 3, ANALOG, NO_REMAP)>; 415 }; 416 417 /omit-if-no-ref/ analog_pe4: analog_pe4 { 418 pinmux = <STM32F1_PINMUX('E', 4, ANALOG, NO_REMAP)>; 419 }; 420 421 /omit-if-no-ref/ analog_pe5: analog_pe5 { 422 pinmux = <STM32F1_PINMUX('E', 5, ANALOG, NO_REMAP)>; 423 }; 424 425 /omit-if-no-ref/ analog_pe6: analog_pe6 { 426 pinmux = <STM32F1_PINMUX('E', 6, ANALOG, NO_REMAP)>; 427 }; 428 429 /omit-if-no-ref/ analog_pe7: analog_pe7 { 430 pinmux = <STM32F1_PINMUX('E', 7, ANALOG, NO_REMAP)>; 431 }; 432 433 /omit-if-no-ref/ analog_pe8: analog_pe8 { 434 pinmux = <STM32F1_PINMUX('E', 8, ANALOG, NO_REMAP)>; 435 }; 436 437 /omit-if-no-ref/ analog_pe9: analog_pe9 { 438 pinmux = <STM32F1_PINMUX('E', 9, ANALOG, NO_REMAP)>; 439 }; 440 441 /omit-if-no-ref/ analog_pe10: analog_pe10 { 442 pinmux = <STM32F1_PINMUX('E', 10, ANALOG, NO_REMAP)>; 443 }; 444 445 /omit-if-no-ref/ analog_pe11: analog_pe11 { 446 pinmux = <STM32F1_PINMUX('E', 11, ANALOG, NO_REMAP)>; 447 }; 448 449 /omit-if-no-ref/ analog_pe12: analog_pe12 { 450 pinmux = <STM32F1_PINMUX('E', 12, ANALOG, NO_REMAP)>; 451 }; 452 453 /omit-if-no-ref/ analog_pe13: analog_pe13 { 454 pinmux = <STM32F1_PINMUX('E', 13, ANALOG, NO_REMAP)>; 455 }; 456 457 /omit-if-no-ref/ analog_pe14: analog_pe14 { 458 pinmux = <STM32F1_PINMUX('E', 14, ANALOG, NO_REMAP)>; 459 }; 460 461 /omit-if-no-ref/ analog_pe15: analog_pe15 { 462 pinmux = <STM32F1_PINMUX('E', 15, ANALOG, NO_REMAP)>; 463 }; 464 465 /* CAN_RX */ 466 467 /omit-if-no-ref/ can_rx_pa11: can_rx_pa11 { 468 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, CAN_REMAP0)>; 469 }; 470 471 /omit-if-no-ref/ can_rx_remap1_pb8: can_rx_remap1_pb8 { 472 pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, CAN_REMAP1)>; 473 }; 474 475 /omit-if-no-ref/ can_rx_remap2_pd0: can_rx_remap2_pd0 { 476 pinmux = <STM32F1_PINMUX('D', 0, GPIO_IN, CAN_REMAP2)>; 477 }; 478 479 /* CAN_TX */ 480 481 /omit-if-no-ref/ can_tx_pa12: can_tx_pa12 { 482 pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, CAN_REMAP0)>; 483 }; 484 485 /omit-if-no-ref/ can_tx_remap1_pb9: can_tx_remap1_pb9 { 486 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, CAN_REMAP1)>; 487 }; 488 489 /omit-if-no-ref/ can_tx_remap2_pd1: can_tx_remap2_pd1 { 490 pinmux = <STM32F1_PINMUX('D', 1, ALTERNATE, CAN_REMAP2)>; 491 }; 492 493 /* I2C_SCL */ 494 495 /omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 { 496 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>; 497 drive-open-drain; 498 }; 499 500 /omit-if-no-ref/ i2c1_scl_remap1_pb8: i2c1_scl_remap1_pb8 { 501 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, I2C1_REMAP1)>; 502 drive-open-drain; 503 }; 504 505 /omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 { 506 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, NO_REMAP)>; 507 drive-open-drain; 508 }; 509 510 /* I2C_SDA */ 511 512 /omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 { 513 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>; 514 drive-open-drain; 515 }; 516 517 /omit-if-no-ref/ i2c1_sda_remap1_pb9: i2c1_sda_remap1_pb9 { 518 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, I2C1_REMAP1)>; 519 drive-open-drain; 520 }; 521 522 /omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 { 523 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, NO_REMAP)>; 524 drive-open-drain; 525 }; 526 527 /* SPI_MASTER_MISO */ 528 529 /omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 { 530 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>; 531 bias-pull-down; 532 }; 533 534 /omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 { 535 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>; 536 bias-pull-down; 537 }; 538 539 /omit-if-no-ref/ spi2_miso_master_pb14: spi2_miso_master_pb14 { 540 pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, NO_REMAP)>; 541 bias-pull-down; 542 }; 543 544 /* SPI_MASTER_MOSI */ 545 546 /omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 { 547 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>; 548 }; 549 550 /omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 { 551 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>; 552 }; 553 554 /omit-if-no-ref/ spi2_mosi_master_pb15: spi2_mosi_master_pb15 { 555 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>; 556 }; 557 558 /* SPI_MASTER_NSS */ 559 560 /omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 { 561 pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>; 562 }; 563 564 /omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 { 565 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>; 566 }; 567 568 /omit-if-no-ref/ spi2_nss_master_pb12: spi2_nss_master_pb12 { 569 pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>; 570 }; 571 572 /* SPI_MASTER_SCK */ 573 574 /omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 { 575 pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>; 576 }; 577 578 /omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 { 579 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>; 580 }; 581 582 /omit-if-no-ref/ spi2_sck_master_pb13: spi2_sck_master_pb13 { 583 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>; 584 }; 585 586 /* SPI_SLAVE_MISO */ 587 588 /omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 { 589 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>; 590 }; 591 592 /omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 { 593 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>; 594 }; 595 596 /omit-if-no-ref/ spi2_miso_slave_pb14: spi2_miso_slave_pb14 { 597 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, NO_REMAP)>; 598 }; 599 600 /* SPI_SLAVE_MOSI */ 601 602 /omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 { 603 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>; 604 }; 605 606 /omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 { 607 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>; 608 }; 609 610 /omit-if-no-ref/ spi2_mosi_slave_pb15: spi2_mosi_slave_pb15 { 611 pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, NO_REMAP)>; 612 }; 613 614 /* SPI_SLAVE_NSS */ 615 616 /omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 { 617 pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>; 618 bias-pull-up; 619 }; 620 621 /omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 { 622 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>; 623 bias-pull-up; 624 }; 625 626 /omit-if-no-ref/ spi2_nss_slave_pb12: spi2_nss_slave_pb12 { 627 pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, NO_REMAP)>; 628 bias-pull-up; 629 }; 630 631 /* SPI_SLAVE_SCK */ 632 633 /omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 { 634 pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>; 635 }; 636 637 /omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 { 638 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>; 639 }; 640 641 /omit-if-no-ref/ spi2_sck_slave_pb13: spi2_sck_slave_pb13 { 642 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, NO_REMAP)>; 643 }; 644 645 /* TIM_BKIN */ 646 647 /omit-if-no-ref/ tim1_bkin_remap1_pa6: tim1_bkin_remap1_pa6 { 648 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM1_REMAP1)>; 649 }; 650 651 /omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 { 652 pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, TIM1_REMAP0)>; 653 }; 654 655 /omit-if-no-ref/ tim1_bkin_remap2_pe15: tim1_bkin_remap2_pe15 { 656 pinmux = <STM32F1_PINMUX('E', 15, GPIO_IN, TIM1_REMAP2)>; 657 }; 658 659 /* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */ 660 661 /omit-if-no-ref/ tim1_ch1n_remap1_pwm_in_pa7: tim1_ch1n_remap1_pwm_in_pa7 { 662 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM1_REMAP1)>; 663 }; 664 665 /omit-if-no-ref/ tim1_ch1_pwm_in_pa8: tim1_ch1_pwm_in_pa8 { 666 pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP0)>; 667 }; 668 669 /omit-if-no-ref/ tim1_ch1_remap1_pwm_in_pa8: tim1_ch1_remap1_pwm_in_pa8 { 670 pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP1)>; 671 }; 672 673 /omit-if-no-ref/ tim1_ch2_pwm_in_pa9: tim1_ch2_pwm_in_pa9 { 674 pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP0)>; 675 }; 676 677 /omit-if-no-ref/ tim1_ch2_remap1_pwm_in_pa9: tim1_ch2_remap1_pwm_in_pa9 { 678 pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP1)>; 679 }; 680 681 /omit-if-no-ref/ tim1_ch3_pwm_in_pa10: tim1_ch3_pwm_in_pa10 { 682 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP0)>; 683 }; 684 685 /omit-if-no-ref/ tim1_ch3_remap1_pwm_in_pa10: tim1_ch3_remap1_pwm_in_pa10 { 686 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP1)>; 687 }; 688 689 /omit-if-no-ref/ tim1_ch4_pwm_in_pa11: tim1_ch4_pwm_in_pa11 { 690 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP0)>; 691 }; 692 693 /omit-if-no-ref/ tim1_ch4_remap1_pwm_in_pa11: tim1_ch4_remap1_pwm_in_pa11 { 694 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP1)>; 695 }; 696 697 /omit-if-no-ref/ tim1_ch2n_remap1_pwm_in_pb0: tim1_ch2n_remap1_pwm_in_pb0 { 698 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM1_REMAP1)>; 699 }; 700 701 /omit-if-no-ref/ tim1_ch3n_remap1_pwm_in_pb1: tim1_ch3n_remap1_pwm_in_pb1 { 702 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM1_REMAP1)>; 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/ tim1_ch1n_remap2_pwm_in_pe8: tim1_ch1n_remap2_pwm_in_pe8 { 718 pinmux = <STM32F1_PINMUX('E', 8, GPIO_IN, TIM1_REMAP2)>; 719 }; 720 721 /omit-if-no-ref/ tim1_ch1_remap2_pwm_in_pe9: tim1_ch1_remap2_pwm_in_pe9 { 722 pinmux = <STM32F1_PINMUX('E', 9, GPIO_IN, TIM1_REMAP2)>; 723 }; 724 725 /omit-if-no-ref/ tim1_ch2n_remap2_pwm_in_pe10: tim1_ch2n_remap2_pwm_in_pe10 { 726 pinmux = <STM32F1_PINMUX('E', 10, GPIO_IN, TIM1_REMAP2)>; 727 }; 728 729 /omit-if-no-ref/ tim1_ch2_remap2_pwm_in_pe11: tim1_ch2_remap2_pwm_in_pe11 { 730 pinmux = <STM32F1_PINMUX('E', 11, GPIO_IN, TIM1_REMAP2)>; 731 }; 732 733 /omit-if-no-ref/ tim1_ch3n_remap2_pwm_in_pe12: tim1_ch3n_remap2_pwm_in_pe12 { 734 pinmux = <STM32F1_PINMUX('E', 12, GPIO_IN, TIM1_REMAP2)>; 735 }; 736 737 /omit-if-no-ref/ tim1_ch3_remap2_pwm_in_pe13: tim1_ch3_remap2_pwm_in_pe13 { 738 pinmux = <STM32F1_PINMUX('E', 13, GPIO_IN, TIM1_REMAP2)>; 739 }; 740 741 /omit-if-no-ref/ tim1_ch4_remap2_pwm_in_pe14: tim1_ch4_remap2_pwm_in_pe14 { 742 pinmux = <STM32F1_PINMUX('E', 14, GPIO_IN, TIM1_REMAP2)>; 743 }; 744 745 /omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 { 746 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>; 747 }; 748 749 /omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 { 750 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>; 751 }; 752 753 /omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 { 754 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>; 755 }; 756 757 /omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 { 758 pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>; 759 }; 760 761 /omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 { 762 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>; 763 }; 764 765 /omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 { 766 pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>; 767 }; 768 769 /omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 { 770 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>; 771 }; 772 773 /omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 { 774 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>; 775 }; 776 777 /omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 { 778 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>; 779 }; 780 781 /omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 { 782 pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>; 783 }; 784 785 /omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 { 786 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>; 787 }; 788 789 /omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 { 790 pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>; 791 }; 792 793 /omit-if-no-ref/ tim2_ch3_remap2_pwm_in_pb10: tim2_ch3_remap2_pwm_in_pb10 { 794 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP2)>; 795 }; 796 797 /omit-if-no-ref/ tim2_ch3_remap3_pwm_in_pb10: tim2_ch3_remap3_pwm_in_pb10 { 798 pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP3)>; 799 }; 800 801 /omit-if-no-ref/ tim2_ch4_remap2_pwm_in_pb11: tim2_ch4_remap2_pwm_in_pb11 { 802 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP2)>; 803 }; 804 805 /omit-if-no-ref/ tim2_ch4_remap3_pwm_in_pb11: tim2_ch4_remap3_pwm_in_pb11 { 806 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP3)>; 807 }; 808 809 /omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 { 810 pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>; 811 }; 812 813 /omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 { 814 pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>; 815 }; 816 817 /omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 { 818 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>; 819 }; 820 821 /omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 { 822 pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>; 823 }; 824 825 /omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 { 826 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>; 827 }; 828 829 /omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 { 830 pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>; 831 }; 832 833 /omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 { 834 pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>; 835 }; 836 837 /omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 { 838 pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>; 839 }; 840 841 /omit-if-no-ref/ tim3_ch1_remap2_pwm_in_pc6: tim3_ch1_remap2_pwm_in_pc6 { 842 pinmux = <STM32F1_PINMUX('C', 6, GPIO_IN, TIM3_REMAP2)>; 843 }; 844 845 /omit-if-no-ref/ tim3_ch2_remap2_pwm_in_pc7: tim3_ch2_remap2_pwm_in_pc7 { 846 pinmux = <STM32F1_PINMUX('C', 7, GPIO_IN, TIM3_REMAP2)>; 847 }; 848 849 /omit-if-no-ref/ tim3_ch3_remap2_pwm_in_pc8: tim3_ch3_remap2_pwm_in_pc8 { 850 pinmux = <STM32F1_PINMUX('C', 8, GPIO_IN, TIM3_REMAP2)>; 851 }; 852 853 /omit-if-no-ref/ tim3_ch4_remap2_pwm_in_pc9: tim3_ch4_remap2_pwm_in_pc9 { 854 pinmux = <STM32F1_PINMUX('C', 9, GPIO_IN, TIM3_REMAP2)>; 855 }; 856 857 /omit-if-no-ref/ tim4_ch1_pwm_in_pb6: tim4_ch1_pwm_in_pb6 { 858 pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, TIM4_REMAP0)>; 859 }; 860 861 /omit-if-no-ref/ tim4_ch2_pwm_in_pb7: tim4_ch2_pwm_in_pb7 { 862 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, TIM4_REMAP0)>; 863 }; 864 865 /omit-if-no-ref/ tim4_ch3_pwm_in_pb8: tim4_ch3_pwm_in_pb8 { 866 pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, TIM4_REMAP0)>; 867 }; 868 869 /omit-if-no-ref/ tim4_ch4_pwm_in_pb9: tim4_ch4_pwm_in_pb9 { 870 pinmux = <STM32F1_PINMUX('B', 9, GPIO_IN, TIM4_REMAP0)>; 871 }; 872 873 /omit-if-no-ref/ tim4_ch1_remap1_pwm_in_pd12: tim4_ch1_remap1_pwm_in_pd12 { 874 pinmux = <STM32F1_PINMUX('D', 12, GPIO_IN, TIM4_REMAP1)>; 875 }; 876 877 /omit-if-no-ref/ tim4_ch2_remap1_pwm_in_pd13: tim4_ch2_remap1_pwm_in_pd13 { 878 pinmux = <STM32F1_PINMUX('D', 13, GPIO_IN, TIM4_REMAP1)>; 879 }; 880 881 /omit-if-no-ref/ tim4_ch3_remap1_pwm_in_pd14: tim4_ch3_remap1_pwm_in_pd14 { 882 pinmux = <STM32F1_PINMUX('D', 14, GPIO_IN, TIM4_REMAP1)>; 883 }; 884 885 /omit-if-no-ref/ tim4_ch4_remap1_pwm_in_pd15: tim4_ch4_remap1_pwm_in_pd15 { 886 pinmux = <STM32F1_PINMUX('D', 15, GPIO_IN, TIM4_REMAP1)>; 887 }; 888 889 /* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */ 890 891 /omit-if-no-ref/ tim1_ch1n_remap1_pwm_out_pa7: tim1_ch1n_remap1_pwm_out_pa7 { 892 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM1_REMAP1)>; 893 }; 894 895 /omit-if-no-ref/ tim1_ch1_pwm_out_pa8: tim1_ch1_pwm_out_pa8 { 896 pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP0)>; 897 }; 898 899 /omit-if-no-ref/ tim1_ch1_remap1_pwm_out_pa8: tim1_ch1_remap1_pwm_out_pa8 { 900 pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP1)>; 901 }; 902 903 /omit-if-no-ref/ tim1_ch2_pwm_out_pa9: tim1_ch2_pwm_out_pa9 { 904 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP0)>; 905 }; 906 907 /omit-if-no-ref/ tim1_ch2_remap1_pwm_out_pa9: tim1_ch2_remap1_pwm_out_pa9 { 908 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP1)>; 909 }; 910 911 /omit-if-no-ref/ tim1_ch3_pwm_out_pa10: tim1_ch3_pwm_out_pa10 { 912 pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP0)>; 913 }; 914 915 /omit-if-no-ref/ tim1_ch3_remap1_pwm_out_pa10: tim1_ch3_remap1_pwm_out_pa10 { 916 pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP1)>; 917 }; 918 919 /omit-if-no-ref/ tim1_ch4_pwm_out_pa11: tim1_ch4_pwm_out_pa11 { 920 pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP0)>; 921 }; 922 923 /omit-if-no-ref/ tim1_ch4_remap1_pwm_out_pa11: tim1_ch4_remap1_pwm_out_pa11 { 924 pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP1)>; 925 }; 926 927 /omit-if-no-ref/ tim1_ch2n_remap1_pwm_out_pb0: tim1_ch2n_remap1_pwm_out_pb0 { 928 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM1_REMAP1)>; 929 }; 930 931 /omit-if-no-ref/ tim1_ch3n_remap1_pwm_out_pb1: tim1_ch3n_remap1_pwm_out_pb1 { 932 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM1_REMAP1)>; 933 }; 934 935 /omit-if-no-ref/ tim1_ch1n_pwm_out_pb13: tim1_ch1n_pwm_out_pb13 { 936 pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, TIM1_REMAP0)>; 937 }; 938 939 /omit-if-no-ref/ tim1_ch2n_pwm_out_pb14: tim1_ch2n_pwm_out_pb14 { 940 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, TIM1_REMAP0)>; 941 }; 942 943 /omit-if-no-ref/ tim1_ch3n_pwm_out_pb15: tim1_ch3n_pwm_out_pb15 { 944 pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, TIM1_REMAP0)>; 945 }; 946 947 /omit-if-no-ref/ tim1_ch1n_remap2_pwm_out_pe8: tim1_ch1n_remap2_pwm_out_pe8 { 948 pinmux = <STM32F1_PINMUX('E', 8, ALTERNATE, TIM1_REMAP2)>; 949 }; 950 951 /omit-if-no-ref/ tim1_ch1_remap2_pwm_out_pe9: tim1_ch1_remap2_pwm_out_pe9 { 952 pinmux = <STM32F1_PINMUX('E', 9, ALTERNATE, TIM1_REMAP2)>; 953 }; 954 955 /omit-if-no-ref/ tim1_ch2n_remap2_pwm_out_pe10: tim1_ch2n_remap2_pwm_out_pe10 { 956 pinmux = <STM32F1_PINMUX('E', 10, ALTERNATE, TIM1_REMAP2)>; 957 }; 958 959 /omit-if-no-ref/ tim1_ch2_remap2_pwm_out_pe11: tim1_ch2_remap2_pwm_out_pe11 { 960 pinmux = <STM32F1_PINMUX('E', 11, ALTERNATE, TIM1_REMAP2)>; 961 }; 962 963 /omit-if-no-ref/ tim1_ch3n_remap2_pwm_out_pe12: tim1_ch3n_remap2_pwm_out_pe12 { 964 pinmux = <STM32F1_PINMUX('E', 12, ALTERNATE, TIM1_REMAP2)>; 965 }; 966 967 /omit-if-no-ref/ tim1_ch3_remap2_pwm_out_pe13: tim1_ch3_remap2_pwm_out_pe13 { 968 pinmux = <STM32F1_PINMUX('E', 13, ALTERNATE, TIM1_REMAP2)>; 969 }; 970 971 /omit-if-no-ref/ tim1_ch4_remap2_pwm_out_pe14: tim1_ch4_remap2_pwm_out_pe14 { 972 pinmux = <STM32F1_PINMUX('E', 14, ALTERNATE, TIM1_REMAP2)>; 973 }; 974 975 /omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 { 976 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>; 977 }; 978 979 /omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 { 980 pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>; 981 }; 982 983 /omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 { 984 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>; 985 }; 986 987 /omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 { 988 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>; 989 }; 990 991 /omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 { 992 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>; 993 }; 994 995 /omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 { 996 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>; 997 }; 998 999 /omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 { 1000 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>; 1001 }; 1002 1003 /omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 { 1004 pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>; 1005 }; 1006 1007 /omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 { 1008 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>; 1009 }; 1010 1011 /omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 { 1012 pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>; 1013 }; 1014 1015 /omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 { 1016 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>; 1017 }; 1018 1019 /omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 { 1020 pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>; 1021 }; 1022 1023 /omit-if-no-ref/ tim2_ch3_remap2_pwm_out_pb10: tim2_ch3_remap2_pwm_out_pb10 { 1024 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP2)>; 1025 }; 1026 1027 /omit-if-no-ref/ tim2_ch3_remap3_pwm_out_pb10: tim2_ch3_remap3_pwm_out_pb10 { 1028 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP3)>; 1029 }; 1030 1031 /omit-if-no-ref/ tim2_ch4_remap2_pwm_out_pb11: tim2_ch4_remap2_pwm_out_pb11 { 1032 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP2)>; 1033 }; 1034 1035 /omit-if-no-ref/ tim2_ch4_remap3_pwm_out_pb11: tim2_ch4_remap3_pwm_out_pb11 { 1036 pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP3)>; 1037 }; 1038 1039 /omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 { 1040 pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>; 1041 }; 1042 1043 /omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 { 1044 pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>; 1045 }; 1046 1047 /omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 { 1048 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>; 1049 }; 1050 1051 /omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 { 1052 pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>; 1053 }; 1054 1055 /omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 { 1056 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>; 1057 }; 1058 1059 /omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 { 1060 pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>; 1061 }; 1062 1063 /omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 { 1064 pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>; 1065 }; 1066 1067 /omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 { 1068 pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>; 1069 }; 1070 1071 /omit-if-no-ref/ tim3_ch1_remap2_pwm_out_pc6: tim3_ch1_remap2_pwm_out_pc6 { 1072 pinmux = <STM32F1_PINMUX('C', 6, ALTERNATE, TIM3_REMAP2)>; 1073 }; 1074 1075 /omit-if-no-ref/ tim3_ch2_remap2_pwm_out_pc7: tim3_ch2_remap2_pwm_out_pc7 { 1076 pinmux = <STM32F1_PINMUX('C', 7, ALTERNATE, TIM3_REMAP2)>; 1077 }; 1078 1079 /omit-if-no-ref/ tim3_ch3_remap2_pwm_out_pc8: tim3_ch3_remap2_pwm_out_pc8 { 1080 pinmux = <STM32F1_PINMUX('C', 8, ALTERNATE, TIM3_REMAP2)>; 1081 }; 1082 1083 /omit-if-no-ref/ tim3_ch4_remap2_pwm_out_pc9: tim3_ch4_remap2_pwm_out_pc9 { 1084 pinmux = <STM32F1_PINMUX('C', 9, ALTERNATE, TIM3_REMAP2)>; 1085 }; 1086 1087 /omit-if-no-ref/ tim4_ch1_pwm_out_pb6: tim4_ch1_pwm_out_pb6 { 1088 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, TIM4_REMAP0)>; 1089 }; 1090 1091 /omit-if-no-ref/ tim4_ch2_pwm_out_pb7: tim4_ch2_pwm_out_pb7 { 1092 pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, TIM4_REMAP0)>; 1093 }; 1094 1095 /omit-if-no-ref/ tim4_ch3_pwm_out_pb8: tim4_ch3_pwm_out_pb8 { 1096 pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, TIM4_REMAP0)>; 1097 }; 1098 1099 /omit-if-no-ref/ tim4_ch4_pwm_out_pb9: tim4_ch4_pwm_out_pb9 { 1100 pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, TIM4_REMAP0)>; 1101 }; 1102 1103 /omit-if-no-ref/ tim4_ch1_remap1_pwm_out_pd12: tim4_ch1_remap1_pwm_out_pd12 { 1104 pinmux = <STM32F1_PINMUX('D', 12, ALTERNATE, TIM4_REMAP1)>; 1105 }; 1106 1107 /omit-if-no-ref/ tim4_ch2_remap1_pwm_out_pd13: tim4_ch2_remap1_pwm_out_pd13 { 1108 pinmux = <STM32F1_PINMUX('D', 13, ALTERNATE, TIM4_REMAP1)>; 1109 }; 1110 1111 /omit-if-no-ref/ tim4_ch3_remap1_pwm_out_pd14: tim4_ch3_remap1_pwm_out_pd14 { 1112 pinmux = <STM32F1_PINMUX('D', 14, ALTERNATE, TIM4_REMAP1)>; 1113 }; 1114 1115 /omit-if-no-ref/ tim4_ch4_remap1_pwm_out_pd15: tim4_ch4_remap1_pwm_out_pd15 { 1116 pinmux = <STM32F1_PINMUX('D', 15, ALTERNATE, TIM4_REMAP1)>; 1117 }; 1118 1119 /* UART_CTS / USART_CTS */ 1120 1121 /omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 { 1122 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>; 1123 bias-pull-up; 1124 drive-open-drain; 1125 }; 1126 1127 /omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 { 1128 pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>; 1129 bias-pull-up; 1130 drive-open-drain; 1131 }; 1132 1133 /omit-if-no-ref/ usart2_cts_remap1_pd3: usart2_cts_remap1_pd3 { 1134 pinmux = <STM32F1_PINMUX('D', 3, GPIO_IN, USART2_REMAP1)>; 1135 bias-pull-up; 1136 drive-open-drain; 1137 }; 1138 1139 /omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 { 1140 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP0)>; 1141 bias-pull-up; 1142 drive-open-drain; 1143 }; 1144 1145 /omit-if-no-ref/ usart3_cts_remap1_pb13: usart3_cts_remap1_pb13 { 1146 pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP1)>; 1147 bias-pull-up; 1148 drive-open-drain; 1149 }; 1150 1151 /omit-if-no-ref/ usart3_cts_remap2_pd11: usart3_cts_remap2_pd11 { 1152 pinmux = <STM32F1_PINMUX('D', 11, GPIO_IN, USART3_REMAP2)>; 1153 bias-pull-up; 1154 drive-open-drain; 1155 }; 1156 1157 /* UART_RTS / USART_RTS */ 1158 1159 /omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 { 1160 pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>; 1161 }; 1162 1163 /omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 { 1164 pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>; 1165 }; 1166 1167 /omit-if-no-ref/ usart2_rts_remap1_pd4: usart2_rts_remap1_pd4 { 1168 pinmux = <STM32F1_PINMUX('D', 4, ALTERNATE, USART2_REMAP1)>; 1169 }; 1170 1171 /omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 { 1172 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP0)>; 1173 }; 1174 1175 /omit-if-no-ref/ usart3_rts_remap1_pb14: usart3_rts_remap1_pb14 { 1176 pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP1)>; 1177 }; 1178 1179 /omit-if-no-ref/ usart3_rts_remap2_pd12: usart3_rts_remap2_pd12 { 1180 pinmux = <STM32F1_PINMUX('D', 12, ALTERNATE, USART3_REMAP2)>; 1181 }; 1182 1183 /* UART_RX / USART_RX */ 1184 1185 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 1186 pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>; 1187 }; 1188 1189 /omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 { 1190 pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>; 1191 }; 1192 1193 /omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 { 1194 pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>; 1195 }; 1196 1197 /omit-if-no-ref/ usart2_rx_remap1_pd6: usart2_rx_remap1_pd6 { 1198 pinmux = <STM32F1_PINMUX('D', 6, GPIO_IN, USART2_REMAP1)>; 1199 }; 1200 1201 /omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 { 1202 pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, USART3_REMAP0)>; 1203 }; 1204 1205 /omit-if-no-ref/ usart3_rx_remap1_pc11: usart3_rx_remap1_pc11 { 1206 pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, USART3_REMAP1)>; 1207 }; 1208 1209 /omit-if-no-ref/ usart3_rx_remap2_pd9: usart3_rx_remap2_pd9 { 1210 pinmux = <STM32F1_PINMUX('D', 9, GPIO_IN, USART3_REMAP2)>; 1211 }; 1212 1213 /* UART_TX / USART_TX */ 1214 1215 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 1216 pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>; 1217 }; 1218 1219 /omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 { 1220 pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>; 1221 }; 1222 1223 /omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 { 1224 pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>; 1225 }; 1226 1227 /omit-if-no-ref/ usart2_tx_remap1_pd5: usart2_tx_remap1_pd5 { 1228 pinmux = <STM32F1_PINMUX('D', 5, ALTERNATE, USART2_REMAP1)>; 1229 }; 1230 1231 /omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 { 1232 pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, USART3_REMAP0)>; 1233 }; 1234 1235 /omit-if-no-ref/ usart3_tx_remap1_pc10: usart3_tx_remap1_pc10 { 1236 pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, USART3_REMAP1)>; 1237 }; 1238 1239 /omit-if-no-ref/ usart3_tx_remap2_pd8: usart3_tx_remap2_pd8 { 1240 pinmux = <STM32F1_PINMUX('D', 8, ALTERNATE, USART3_REMAP2)>; 1241 }; 1242 1243 /* USB */ 1244 1245 /omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 { 1246 pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>; 1247 }; 1248 1249 /omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 { 1250 pinmux = <STM32F1_PINMUX('A', 12, GPIO_IN, NO_REMAP)>; 1251 }; 1252 1253 }; 1254 }; 1255};