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			/* ETH_COL */
396
397			/omit-if-no-ref/ eth_col_pa3: eth_col_pa3 {
398				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, NO_REMAP)>;
399			};
400
401			/* ETH_CRS */
402
403			/omit-if-no-ref/ eth_crs_pa0: eth_crs_pa0 {
404				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, NO_REMAP)>;
405			};
406
407			/* ETH_CRS_DV */
408
409			/omit-if-no-ref/ eth_crs_dv_pa7: eth_crs_dv_pa7 {
410				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, ETH_REMAP0)>;
411			};
412
413			/* ETH_MDC */
414
415			/omit-if-no-ref/ eth_mdc_pc1: eth_mdc_pc1 {
416				pinmux = <STM32F1_PINMUX('C', 1, ALTERNATE, NO_REMAP)>;
417				slew-rate = "max-speed-50mhz";
418			};
419
420			/* ETH_MDIO */
421
422			/omit-if-no-ref/ eth_mdio_pa2: eth_mdio_pa2 {
423				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, NO_REMAP)>;
424				slew-rate = "max-speed-50mhz";
425			};
426
427			/* ETH_PPS_OUT */
428
429			/omit-if-no-ref/ eth_pps_out_pb5: eth_pps_out_pb5 {
430				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, NO_REMAP)>;
431				slew-rate = "max-speed-50mhz";
432			};
433
434			/* ETH_REF_CLK */
435
436			/omit-if-no-ref/ eth_ref_clk_pa1: eth_ref_clk_pa1 {
437				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, NO_REMAP)>;
438			};
439
440			/* ETH_RXD0 */
441
442			/omit-if-no-ref/ eth_rxd0_pc4: eth_rxd0_pc4 {
443				pinmux = <STM32F1_PINMUX('C', 4, GPIO_IN, ETH_REMAP0)>;
444			};
445
446			/* ETH_RXD1 */
447
448			/omit-if-no-ref/ eth_rxd1_pc5: eth_rxd1_pc5 {
449				pinmux = <STM32F1_PINMUX('C', 5, GPIO_IN, ETH_REMAP0)>;
450			};
451
452			/* ETH_RXD2 */
453
454			/omit-if-no-ref/ eth_rxd2_pb0: eth_rxd2_pb0 {
455				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, ETH_REMAP0)>;
456			};
457
458			/* ETH_RXD3 */
459
460			/omit-if-no-ref/ eth_rxd3_pb1: eth_rxd3_pb1 {
461				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, ETH_REMAP0)>;
462			};
463
464			/* ETH_RX_CLK */
465
466			/omit-if-no-ref/ eth_rx_clk_pa1: eth_rx_clk_pa1 {
467				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, NO_REMAP)>;
468			};
469
470			/* ETH_RX_DV */
471
472			/omit-if-no-ref/ eth_rx_dv_pa7: eth_rx_dv_pa7 {
473				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, ETH_REMAP0)>;
474			};
475
476			/* ETH_RX_ER */
477
478			/omit-if-no-ref/ eth_rx_er_pb10: eth_rx_er_pb10 {
479				pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, NO_REMAP)>;
480			};
481
482			/* ETH_TXD0 */
483
484			/omit-if-no-ref/ eth_txd0_pb12: eth_txd0_pb12 {
485				pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>;
486				slew-rate = "max-speed-50mhz";
487			};
488
489			/* ETH_TXD1 */
490
491			/omit-if-no-ref/ eth_txd1_pb13: eth_txd1_pb13 {
492				pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>;
493				slew-rate = "max-speed-50mhz";
494			};
495
496			/* ETH_TXD2 */
497
498			/omit-if-no-ref/ eth_txd2_pc2: eth_txd2_pc2 {
499				pinmux = <STM32F1_PINMUX('C', 2, ALTERNATE, NO_REMAP)>;
500				slew-rate = "max-speed-50mhz";
501			};
502
503			/* ETH_TXD3 */
504
505			/omit-if-no-ref/ eth_txd3_pb8: eth_txd3_pb8 {
506				pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, NO_REMAP)>;
507				slew-rate = "max-speed-50mhz";
508			};
509
510			/* ETH_TX_CLK */
511
512			/omit-if-no-ref/ eth_tx_clk_pc3: eth_tx_clk_pc3 {
513				pinmux = <STM32F1_PINMUX('C', 3, GPIO_IN, NO_REMAP)>;
514			};
515
516			/* ETH_TX_EN */
517
518			/omit-if-no-ref/ eth_tx_en_pb11: eth_tx_en_pb11 {
519				pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, NO_REMAP)>;
520				slew-rate = "max-speed-50mhz";
521			};
522
523			/* I2C_SCL */
524
525			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
526				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>;
527				drive-open-drain;
528			};
529
530			/omit-if-no-ref/ i2c1_scl_remap1_pb8: i2c1_scl_remap1_pb8 {
531				pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, I2C1_REMAP1)>;
532				drive-open-drain;
533			};
534
535			/* I2C_SDA */
536
537			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
538				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>;
539				drive-open-drain;
540			};
541
542			/omit-if-no-ref/ i2c1_sda_remap1_pb9: i2c1_sda_remap1_pb9 {
543				pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, I2C1_REMAP1)>;
544				drive-open-drain;
545			};
546
547			/* I2S_CK */
548
549			/omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 {
550				pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>;
551			};
552
553			/omit-if-no-ref/ i2s3_ck_pb3: i2s3_ck_pb3 {
554				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, I2S3_REMAP0)>;
555			};
556
557			/omit-if-no-ref/ i2s3_ck_remap1_pc10: i2s3_ck_remap1_pc10 {
558				pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, I2S3_REMAP1)>;
559			};
560
561			/* I2S_SD */
562
563			/omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 {
564				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>;
565			};
566
567			/omit-if-no-ref/ i2s3_sd_pb5: i2s3_sd_pb5 {
568				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, I2S3_REMAP0)>;
569			};
570
571			/omit-if-no-ref/ i2s3_sd_remap1_pc12: i2s3_sd_remap1_pc12 {
572				pinmux = <STM32F1_PINMUX('C', 12, ALTERNATE, I2S3_REMAP1)>;
573			};
574
575			/* I2S_WS */
576
577			/omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 {
578				pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>;
579			};
580
581			/omit-if-no-ref/ i2s3_ws_remap1_pa4: i2s3_ws_remap1_pa4 {
582				pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, I2S3_REMAP1)>;
583			};
584
585			/omit-if-no-ref/ i2s3_ws_pa15: i2s3_ws_pa15 {
586				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, I2S3_REMAP0)>;
587			};
588
589			/* SPI_MASTER_MISO */
590
591			/omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 {
592				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>;
593				bias-pull-down;
594			};
595
596			/omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 {
597				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>;
598				bias-pull-down;
599			};
600
601			/omit-if-no-ref/ spi2_miso_master_pb14: spi2_miso_master_pb14 {
602				pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, NO_REMAP)>;
603				bias-pull-down;
604			};
605
606			/omit-if-no-ref/ spi3_miso_master_pb4: spi3_miso_master_pb4 {
607				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI3_REMAP0)>;
608				bias-pull-down;
609			};
610
611			/omit-if-no-ref/ spi3_miso_remap1_master_pc11: spi3_miso_remap1_master_pc11 {
612				pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, SPI3_REMAP1)>;
613				bias-pull-down;
614			};
615
616			/* SPI_MASTER_MOSI */
617
618			/omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 {
619				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>;
620			};
621
622			/omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 {
623				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>;
624			};
625
626			/omit-if-no-ref/ spi2_mosi_master_pb15: spi2_mosi_master_pb15 {
627				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>;
628			};
629
630			/omit-if-no-ref/ spi3_mosi_master_pb5: spi3_mosi_master_pb5 {
631				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI3_REMAP0)>;
632			};
633
634			/omit-if-no-ref/ spi3_mosi_remap1_master_pc12: spi3_mosi_remap1_master_pc12 {
635				pinmux = <STM32F1_PINMUX('C', 12, ALTERNATE, SPI3_REMAP1)>;
636			};
637
638			/* SPI_MASTER_NSS */
639
640			/omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 {
641				pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>;
642			};
643
644			/omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 {
645				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>;
646			};
647
648			/omit-if-no-ref/ spi2_nss_master_pb12: spi2_nss_master_pb12 {
649				pinmux = <STM32F1_PINMUX('B', 12, ALTERNATE, NO_REMAP)>;
650			};
651
652			/omit-if-no-ref/ spi3_nss_remap1_master_pa4: spi3_nss_remap1_master_pa4 {
653				pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI3_REMAP1)>;
654			};
655
656			/omit-if-no-ref/ spi3_nss_master_pa15: spi3_nss_master_pa15 {
657				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI3_REMAP0)>;
658			};
659
660			/* SPI_MASTER_SCK */
661
662			/omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 {
663				pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>;
664			};
665
666			/omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 {
667				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>;
668			};
669
670			/omit-if-no-ref/ spi2_sck_master_pb13: spi2_sck_master_pb13 {
671				pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, NO_REMAP)>;
672			};
673
674			/omit-if-no-ref/ spi3_sck_master_pb3: spi3_sck_master_pb3 {
675				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI3_REMAP0)>;
676			};
677
678			/omit-if-no-ref/ spi3_sck_remap1_master_pc10: spi3_sck_remap1_master_pc10 {
679				pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, SPI3_REMAP1)>;
680			};
681
682			/* SPI_SLAVE_MISO */
683
684			/omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 {
685				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>;
686			};
687
688			/omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 {
689				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>;
690			};
691
692			/omit-if-no-ref/ spi2_miso_slave_pb14: spi2_miso_slave_pb14 {
693				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, NO_REMAP)>;
694			};
695
696			/omit-if-no-ref/ spi3_miso_slave_pb4: spi3_miso_slave_pb4 {
697				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI3_REMAP0)>;
698			};
699
700			/omit-if-no-ref/ spi3_miso_remap1_slave_pc11: spi3_miso_remap1_slave_pc11 {
701				pinmux = <STM32F1_PINMUX('C', 11, ALTERNATE, SPI3_REMAP1)>;
702			};
703
704			/* SPI_SLAVE_MOSI */
705
706			/omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 {
707				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>;
708			};
709
710			/omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 {
711				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>;
712			};
713
714			/omit-if-no-ref/ spi2_mosi_slave_pb15: spi2_mosi_slave_pb15 {
715				pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, NO_REMAP)>;
716			};
717
718			/omit-if-no-ref/ spi3_mosi_slave_pb5: spi3_mosi_slave_pb5 {
719				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI3_REMAP0)>;
720			};
721
722			/omit-if-no-ref/ spi3_mosi_remap1_slave_pc12: spi3_mosi_remap1_slave_pc12 {
723				pinmux = <STM32F1_PINMUX('C', 12, GPIO_IN, SPI3_REMAP1)>;
724			};
725
726			/* SPI_SLAVE_NSS */
727
728			/omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 {
729				pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>;
730				bias-pull-up;
731			};
732
733			/omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 {
734				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>;
735				bias-pull-up;
736			};
737
738			/omit-if-no-ref/ spi2_nss_slave_pb12: spi2_nss_slave_pb12 {
739				pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, NO_REMAP)>;
740				bias-pull-up;
741			};
742
743			/omit-if-no-ref/ spi3_nss_remap1_slave_pa4: spi3_nss_remap1_slave_pa4 {
744				pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI3_REMAP1)>;
745				bias-pull-up;
746			};
747
748			/omit-if-no-ref/ spi3_nss_slave_pa15: spi3_nss_slave_pa15 {
749				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI3_REMAP0)>;
750				bias-pull-up;
751			};
752
753			/* SPI_SLAVE_SCK */
754
755			/omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 {
756				pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>;
757			};
758
759			/omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 {
760				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>;
761			};
762
763			/omit-if-no-ref/ spi2_sck_slave_pb13: spi2_sck_slave_pb13 {
764				pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, NO_REMAP)>;
765			};
766
767			/omit-if-no-ref/ spi3_sck_slave_pb3: spi3_sck_slave_pb3 {
768				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI3_REMAP0)>;
769			};
770
771			/omit-if-no-ref/ spi3_sck_remap1_slave_pc10: spi3_sck_remap1_slave_pc10 {
772				pinmux = <STM32F1_PINMUX('C', 10, GPIO_IN, SPI3_REMAP1)>;
773			};
774
775			/* TIM_BKIN */
776
777			/omit-if-no-ref/ tim1_bkin_remap1_pa6: tim1_bkin_remap1_pa6 {
778				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM1_REMAP1)>;
779			};
780
781			/omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 {
782				pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, TIM1_REMAP0)>;
783			};
784
785			/* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */
786
787			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_in_pa7: tim1_ch1n_remap1_pwm_in_pa7 {
788				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM1_REMAP1)>;
789			};
790
791			/omit-if-no-ref/ tim1_ch1_pwm_in_pa8: tim1_ch1_pwm_in_pa8 {
792				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP0)>;
793			};
794
795			/omit-if-no-ref/ tim1_ch1_remap1_pwm_in_pa8: tim1_ch1_remap1_pwm_in_pa8 {
796				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP1)>;
797			};
798
799			/omit-if-no-ref/ tim1_ch2_pwm_in_pa9: tim1_ch2_pwm_in_pa9 {
800				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP0)>;
801			};
802
803			/omit-if-no-ref/ tim1_ch2_remap1_pwm_in_pa9: tim1_ch2_remap1_pwm_in_pa9 {
804				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP1)>;
805			};
806
807			/omit-if-no-ref/ tim1_ch3_pwm_in_pa10: tim1_ch3_pwm_in_pa10 {
808				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP0)>;
809			};
810
811			/omit-if-no-ref/ tim1_ch3_remap1_pwm_in_pa10: tim1_ch3_remap1_pwm_in_pa10 {
812				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP1)>;
813			};
814
815			/omit-if-no-ref/ tim1_ch4_pwm_in_pa11: tim1_ch4_pwm_in_pa11 {
816				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP0)>;
817			};
818
819			/omit-if-no-ref/ tim1_ch4_remap1_pwm_in_pa11: tim1_ch4_remap1_pwm_in_pa11 {
820				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP1)>;
821			};
822
823			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_in_pb0: tim1_ch2n_remap1_pwm_in_pb0 {
824				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM1_REMAP1)>;
825			};
826
827			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_in_pb1: tim1_ch3n_remap1_pwm_in_pb1 {
828				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM1_REMAP1)>;
829			};
830
831			/omit-if-no-ref/ tim1_ch1n_pwm_in_pb13: tim1_ch1n_pwm_in_pb13 {
832				pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, TIM1_REMAP0)>;
833			};
834
835			/omit-if-no-ref/ tim1_ch2n_pwm_in_pb14: tim1_ch2n_pwm_in_pb14 {
836				pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, TIM1_REMAP0)>;
837			};
838
839			/omit-if-no-ref/ tim1_ch3n_pwm_in_pb15: tim1_ch3n_pwm_in_pb15 {
840				pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, TIM1_REMAP0)>;
841			};
842
843			/omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 {
844				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>;
845			};
846
847			/omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 {
848				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>;
849			};
850
851			/omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 {
852				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>;
853			};
854
855			/omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 {
856				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>;
857			};
858
859			/omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 {
860				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>;
861			};
862
863			/omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 {
864				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>;
865			};
866
867			/omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 {
868				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>;
869			};
870
871			/omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 {
872				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>;
873			};
874
875			/omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 {
876				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>;
877			};
878
879			/omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 {
880				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>;
881			};
882
883			/omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 {
884				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>;
885			};
886
887			/omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 {
888				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>;
889			};
890
891			/omit-if-no-ref/ tim2_ch3_remap2_pwm_in_pb10: tim2_ch3_remap2_pwm_in_pb10 {
892				pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP2)>;
893			};
894
895			/omit-if-no-ref/ tim2_ch3_remap3_pwm_in_pb10: tim2_ch3_remap3_pwm_in_pb10 {
896				pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP3)>;
897			};
898
899			/omit-if-no-ref/ tim2_ch4_remap2_pwm_in_pb11: tim2_ch4_remap2_pwm_in_pb11 {
900				pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP2)>;
901			};
902
903			/omit-if-no-ref/ tim2_ch4_remap3_pwm_in_pb11: tim2_ch4_remap3_pwm_in_pb11 {
904				pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP3)>;
905			};
906
907			/omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 {
908				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>;
909			};
910
911			/omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 {
912				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>;
913			};
914
915			/omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 {
916				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>;
917			};
918
919			/omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 {
920				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>;
921			};
922
923			/omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 {
924				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>;
925			};
926
927			/omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 {
928				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>;
929			};
930
931			/omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 {
932				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>;
933			};
934
935			/omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 {
936				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>;
937			};
938
939			/omit-if-no-ref/ tim3_ch1_remap2_pwm_in_pc6: tim3_ch1_remap2_pwm_in_pc6 {
940				pinmux = <STM32F1_PINMUX('C', 6, GPIO_IN, TIM3_REMAP2)>;
941			};
942
943			/omit-if-no-ref/ tim3_ch2_remap2_pwm_in_pc7: tim3_ch2_remap2_pwm_in_pc7 {
944				pinmux = <STM32F1_PINMUX('C', 7, GPIO_IN, TIM3_REMAP2)>;
945			};
946
947			/omit-if-no-ref/ tim3_ch3_remap2_pwm_in_pc8: tim3_ch3_remap2_pwm_in_pc8 {
948				pinmux = <STM32F1_PINMUX('C', 8, GPIO_IN, TIM3_REMAP2)>;
949			};
950
951			/omit-if-no-ref/ tim3_ch4_remap2_pwm_in_pc9: tim3_ch4_remap2_pwm_in_pc9 {
952				pinmux = <STM32F1_PINMUX('C', 9, GPIO_IN, TIM3_REMAP2)>;
953			};
954
955			/omit-if-no-ref/ tim4_ch1_pwm_in_pb6: tim4_ch1_pwm_in_pb6 {
956				pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, TIM4_REMAP0)>;
957			};
958
959			/omit-if-no-ref/ tim4_ch2_pwm_in_pb7: tim4_ch2_pwm_in_pb7 {
960				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, TIM4_REMAP0)>;
961			};
962
963			/omit-if-no-ref/ tim4_ch3_pwm_in_pb8: tim4_ch3_pwm_in_pb8 {
964				pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, TIM4_REMAP0)>;
965			};
966
967			/omit-if-no-ref/ tim4_ch4_pwm_in_pb9: tim4_ch4_pwm_in_pb9 {
968				pinmux = <STM32F1_PINMUX('B', 9, GPIO_IN, TIM4_REMAP0)>;
969			};
970
971			/omit-if-no-ref/ tim5_ch1_pwm_in_pa0: tim5_ch1_pwm_in_pa0 {
972				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, NO_REMAP)>;
973			};
974
975			/omit-if-no-ref/ tim5_ch2_pwm_in_pa1: tim5_ch2_pwm_in_pa1 {
976				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, NO_REMAP)>;
977			};
978
979			/omit-if-no-ref/ tim5_ch3_pwm_in_pa2: tim5_ch3_pwm_in_pa2 {
980				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, NO_REMAP)>;
981			};
982
983			/omit-if-no-ref/ tim5_ch4_pwm_in_pa3: tim5_ch4_pwm_in_pa3 {
984				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, NO_REMAP)>;
985			};
986
987			/* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */
988
989			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_out_pa7: tim1_ch1n_remap1_pwm_out_pa7 {
990				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM1_REMAP1)>;
991			};
992
993			/omit-if-no-ref/ tim1_ch1_pwm_out_pa8: tim1_ch1_pwm_out_pa8 {
994				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP0)>;
995			};
996
997			/omit-if-no-ref/ tim1_ch1_remap1_pwm_out_pa8: tim1_ch1_remap1_pwm_out_pa8 {
998				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP1)>;
999			};
1000
1001			/omit-if-no-ref/ tim1_ch2_pwm_out_pa9: tim1_ch2_pwm_out_pa9 {
1002				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP0)>;
1003			};
1004
1005			/omit-if-no-ref/ tim1_ch2_remap1_pwm_out_pa9: tim1_ch2_remap1_pwm_out_pa9 {
1006				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP1)>;
1007			};
1008
1009			/omit-if-no-ref/ tim1_ch3_pwm_out_pa10: tim1_ch3_pwm_out_pa10 {
1010				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP0)>;
1011			};
1012
1013			/omit-if-no-ref/ tim1_ch3_remap1_pwm_out_pa10: tim1_ch3_remap1_pwm_out_pa10 {
1014				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP1)>;
1015			};
1016
1017			/omit-if-no-ref/ tim1_ch4_pwm_out_pa11: tim1_ch4_pwm_out_pa11 {
1018				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP0)>;
1019			};
1020
1021			/omit-if-no-ref/ tim1_ch4_remap1_pwm_out_pa11: tim1_ch4_remap1_pwm_out_pa11 {
1022				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP1)>;
1023			};
1024
1025			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_out_pb0: tim1_ch2n_remap1_pwm_out_pb0 {
1026				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM1_REMAP1)>;
1027			};
1028
1029			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_out_pb1: tim1_ch3n_remap1_pwm_out_pb1 {
1030				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM1_REMAP1)>;
1031			};
1032
1033			/omit-if-no-ref/ tim1_ch1n_pwm_out_pb13: tim1_ch1n_pwm_out_pb13 {
1034				pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, TIM1_REMAP0)>;
1035			};
1036
1037			/omit-if-no-ref/ tim1_ch2n_pwm_out_pb14: tim1_ch2n_pwm_out_pb14 {
1038				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, TIM1_REMAP0)>;
1039			};
1040
1041			/omit-if-no-ref/ tim1_ch3n_pwm_out_pb15: tim1_ch3n_pwm_out_pb15 {
1042				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, TIM1_REMAP0)>;
1043			};
1044
1045			/omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 {
1046				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>;
1047			};
1048
1049			/omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 {
1050				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>;
1051			};
1052
1053			/omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 {
1054				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>;
1055			};
1056
1057			/omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 {
1058				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>;
1059			};
1060
1061			/omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 {
1062				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>;
1063			};
1064
1065			/omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 {
1066				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>;
1067			};
1068
1069			/omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 {
1070				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>;
1071			};
1072
1073			/omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 {
1074				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>;
1075			};
1076
1077			/omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 {
1078				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>;
1079			};
1080
1081			/omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 {
1082				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>;
1083			};
1084
1085			/omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 {
1086				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>;
1087			};
1088
1089			/omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 {
1090				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>;
1091			};
1092
1093			/omit-if-no-ref/ tim2_ch3_remap2_pwm_out_pb10: tim2_ch3_remap2_pwm_out_pb10 {
1094				pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP2)>;
1095			};
1096
1097			/omit-if-no-ref/ tim2_ch3_remap3_pwm_out_pb10: tim2_ch3_remap3_pwm_out_pb10 {
1098				pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP3)>;
1099			};
1100
1101			/omit-if-no-ref/ tim2_ch4_remap2_pwm_out_pb11: tim2_ch4_remap2_pwm_out_pb11 {
1102				pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP2)>;
1103			};
1104
1105			/omit-if-no-ref/ tim2_ch4_remap3_pwm_out_pb11: tim2_ch4_remap3_pwm_out_pb11 {
1106				pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP3)>;
1107			};
1108
1109			/omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 {
1110				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>;
1111			};
1112
1113			/omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 {
1114				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>;
1115			};
1116
1117			/omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 {
1118				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>;
1119			};
1120
1121			/omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 {
1122				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>;
1123			};
1124
1125			/omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 {
1126				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>;
1127			};
1128
1129			/omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 {
1130				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>;
1131			};
1132
1133			/omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 {
1134				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>;
1135			};
1136
1137			/omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 {
1138				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>;
1139			};
1140
1141			/omit-if-no-ref/ tim3_ch1_remap2_pwm_out_pc6: tim3_ch1_remap2_pwm_out_pc6 {
1142				pinmux = <STM32F1_PINMUX('C', 6, ALTERNATE, TIM3_REMAP2)>;
1143			};
1144
1145			/omit-if-no-ref/ tim3_ch2_remap2_pwm_out_pc7: tim3_ch2_remap2_pwm_out_pc7 {
1146				pinmux = <STM32F1_PINMUX('C', 7, ALTERNATE, TIM3_REMAP2)>;
1147			};
1148
1149			/omit-if-no-ref/ tim3_ch3_remap2_pwm_out_pc8: tim3_ch3_remap2_pwm_out_pc8 {
1150				pinmux = <STM32F1_PINMUX('C', 8, ALTERNATE, TIM3_REMAP2)>;
1151			};
1152
1153			/omit-if-no-ref/ tim3_ch4_remap2_pwm_out_pc9: tim3_ch4_remap2_pwm_out_pc9 {
1154				pinmux = <STM32F1_PINMUX('C', 9, ALTERNATE, TIM3_REMAP2)>;
1155			};
1156
1157			/omit-if-no-ref/ tim4_ch1_pwm_out_pb6: tim4_ch1_pwm_out_pb6 {
1158				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, TIM4_REMAP0)>;
1159			};
1160
1161			/omit-if-no-ref/ tim4_ch2_pwm_out_pb7: tim4_ch2_pwm_out_pb7 {
1162				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, TIM4_REMAP0)>;
1163			};
1164
1165			/omit-if-no-ref/ tim4_ch3_pwm_out_pb8: tim4_ch3_pwm_out_pb8 {
1166				pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, TIM4_REMAP0)>;
1167			};
1168
1169			/omit-if-no-ref/ tim4_ch4_pwm_out_pb9: tim4_ch4_pwm_out_pb9 {
1170				pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, TIM4_REMAP0)>;
1171			};
1172
1173			/omit-if-no-ref/ tim5_ch1_pwm_out_pa0: tim5_ch1_pwm_out_pa0 {
1174				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, NO_REMAP)>;
1175			};
1176
1177			/omit-if-no-ref/ tim5_ch2_pwm_out_pa1: tim5_ch2_pwm_out_pa1 {
1178				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, NO_REMAP)>;
1179			};
1180
1181			/omit-if-no-ref/ tim5_ch3_pwm_out_pa2: tim5_ch3_pwm_out_pa2 {
1182				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, NO_REMAP)>;
1183			};
1184
1185			/omit-if-no-ref/ tim5_ch4_pwm_out_pa3: tim5_ch4_pwm_out_pa3 {
1186				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, NO_REMAP)>;
1187			};
1188
1189			/* UART_CTS / USART_CTS */
1190
1191			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
1192				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>;
1193				bias-pull-up;
1194				drive-open-drain;
1195			};
1196
1197			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
1198				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>;
1199				bias-pull-up;
1200				drive-open-drain;
1201			};
1202
1203			/omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 {
1204				pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP0)>;
1205				bias-pull-up;
1206				drive-open-drain;
1207			};
1208
1209			/omit-if-no-ref/ usart3_cts_remap1_pb13: usart3_cts_remap1_pb13 {
1210				pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, USART3_REMAP1)>;
1211				bias-pull-up;
1212				drive-open-drain;
1213			};
1214
1215			/* UART_RTS / USART_RTS */
1216
1217			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
1218				pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>;
1219			};
1220
1221			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
1222				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>;
1223			};
1224
1225			/omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 {
1226				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP0)>;
1227			};
1228
1229			/omit-if-no-ref/ usart3_rts_remap1_pb14: usart3_rts_remap1_pb14 {
1230				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, USART3_REMAP1)>;
1231			};
1232
1233			/* UART_RX / USART_RX */
1234
1235			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
1236				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>;
1237			};
1238
1239			/omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 {
1240				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>;
1241			};
1242
1243			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
1244				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>;
1245			};
1246
1247			/omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 {
1248				pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, USART3_REMAP0)>;
1249			};
1250
1251			/omit-if-no-ref/ usart3_rx_remap1_pc11: usart3_rx_remap1_pc11 {
1252				pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, USART3_REMAP1)>;
1253			};
1254
1255			/omit-if-no-ref/ uart4_rx_pc11: uart4_rx_pc11 {
1256				pinmux = <STM32F1_PINMUX('C', 11, GPIO_IN, NO_REMAP)>;
1257			};
1258
1259			/omit-if-no-ref/ uart5_rx_pd2: uart5_rx_pd2 {
1260				pinmux = <STM32F1_PINMUX('D', 2, GPIO_IN, NO_REMAP)>;
1261			};
1262
1263			/* UART_TX / USART_TX */
1264
1265			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
1266				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>;
1267			};
1268
1269			/omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 {
1270				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>;
1271			};
1272
1273			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
1274				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>;
1275			};
1276
1277			/omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 {
1278				pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, USART3_REMAP0)>;
1279			};
1280
1281			/omit-if-no-ref/ usart3_tx_remap1_pc10: usart3_tx_remap1_pc10 {
1282				pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, USART3_REMAP1)>;
1283			};
1284
1285			/omit-if-no-ref/ uart4_tx_pc10: uart4_tx_pc10 {
1286				pinmux = <STM32F1_PINMUX('C', 10, ALTERNATE, NO_REMAP)>;
1287			};
1288
1289			/omit-if-no-ref/ uart5_tx_pc12: uart5_tx_pc12 {
1290				pinmux = <STM32F1_PINMUX('C', 12, ALTERNATE, NO_REMAP)>;
1291			};
1292
1293			/* USB_OTG_FS */
1294
1295			/omit-if-no-ref/ usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 {
1296				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, NO_REMAP)>;
1297			};
1298
1299			/omit-if-no-ref/ usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 {
1300				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, NO_REMAP)>;
1301			};
1302
1303			/omit-if-no-ref/ usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 {
1304				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, NO_REMAP)>;
1305			};
1306
1307			/omit-if-no-ref/ usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 {
1308				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>;
1309			};
1310
1311			/omit-if-no-ref/ usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 {
1312				pinmux = <STM32F1_PINMUX('A', 12, GPIO_IN, NO_REMAP)>;
1313			};
1314
1315		};
1316	};
1317};