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			/* Analog */
56
57			/omit-if-no-ref/ analog_pa0: analog_pa0 {
58				pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>;
59			};
60
61			/omit-if-no-ref/ analog_pa1: analog_pa1 {
62				pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>;
63			};
64
65			/omit-if-no-ref/ analog_pa2: analog_pa2 {
66				pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>;
67			};
68
69			/omit-if-no-ref/ analog_pa3: analog_pa3 {
70				pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>;
71			};
72
73			/omit-if-no-ref/ analog_pa4: analog_pa4 {
74				pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>;
75			};
76
77			/omit-if-no-ref/ analog_pa5: analog_pa5 {
78				pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>;
79			};
80
81			/omit-if-no-ref/ analog_pa6: analog_pa6 {
82				pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>;
83			};
84
85			/omit-if-no-ref/ analog_pa7: analog_pa7 {
86				pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>;
87			};
88
89			/omit-if-no-ref/ analog_pa8: analog_pa8 {
90				pinmux = <STM32F1_PINMUX('A', 8, ANALOG, NO_REMAP)>;
91			};
92
93			/omit-if-no-ref/ analog_pa9: analog_pa9 {
94				pinmux = <STM32F1_PINMUX('A', 9, ANALOG, NO_REMAP)>;
95			};
96
97			/omit-if-no-ref/ analog_pa10: analog_pa10 {
98				pinmux = <STM32F1_PINMUX('A', 10, ANALOG, NO_REMAP)>;
99			};
100
101			/omit-if-no-ref/ analog_pa11: analog_pa11 {
102				pinmux = <STM32F1_PINMUX('A', 11, ANALOG, NO_REMAP)>;
103			};
104
105			/omit-if-no-ref/ analog_pa12: analog_pa12 {
106				pinmux = <STM32F1_PINMUX('A', 12, ANALOG, NO_REMAP)>;
107			};
108
109			/omit-if-no-ref/ analog_pa13: analog_pa13 {
110				pinmux = <STM32F1_PINMUX('A', 13, ANALOG, NO_REMAP)>;
111			};
112
113			/omit-if-no-ref/ analog_pa14: analog_pa14 {
114				pinmux = <STM32F1_PINMUX('A', 14, ANALOG, NO_REMAP)>;
115			};
116
117			/omit-if-no-ref/ analog_pa15: analog_pa15 {
118				pinmux = <STM32F1_PINMUX('A', 15, ANALOG, NO_REMAP)>;
119			};
120
121			/omit-if-no-ref/ analog_pb0: analog_pb0 {
122				pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>;
123			};
124
125			/omit-if-no-ref/ analog_pb1: analog_pb1 {
126				pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>;
127			};
128
129			/omit-if-no-ref/ analog_pb2: analog_pb2 {
130				pinmux = <STM32F1_PINMUX('B', 2, ANALOG, NO_REMAP)>;
131			};
132
133			/omit-if-no-ref/ analog_pb3: analog_pb3 {
134				pinmux = <STM32F1_PINMUX('B', 3, ANALOG, NO_REMAP)>;
135			};
136
137			/omit-if-no-ref/ analog_pb4: analog_pb4 {
138				pinmux = <STM32F1_PINMUX('B', 4, ANALOG, NO_REMAP)>;
139			};
140
141			/omit-if-no-ref/ analog_pb5: analog_pb5 {
142				pinmux = <STM32F1_PINMUX('B', 5, ANALOG, NO_REMAP)>;
143			};
144
145			/omit-if-no-ref/ analog_pb6: analog_pb6 {
146				pinmux = <STM32F1_PINMUX('B', 6, ANALOG, NO_REMAP)>;
147			};
148
149			/omit-if-no-ref/ analog_pb7: analog_pb7 {
150				pinmux = <STM32F1_PINMUX('B', 7, ANALOG, NO_REMAP)>;
151			};
152
153			/omit-if-no-ref/ analog_pb8: analog_pb8 {
154				pinmux = <STM32F1_PINMUX('B', 8, ANALOG, NO_REMAP)>;
155			};
156
157			/omit-if-no-ref/ analog_pb9: analog_pb9 {
158				pinmux = <STM32F1_PINMUX('B', 9, ANALOG, NO_REMAP)>;
159			};
160
161			/omit-if-no-ref/ analog_pb10: analog_pb10 {
162				pinmux = <STM32F1_PINMUX('B', 10, ANALOG, NO_REMAP)>;
163			};
164
165			/omit-if-no-ref/ analog_pb11: analog_pb11 {
166				pinmux = <STM32F1_PINMUX('B', 11, ANALOG, NO_REMAP)>;
167			};
168
169			/omit-if-no-ref/ analog_pb12: analog_pb12 {
170				pinmux = <STM32F1_PINMUX('B', 12, ANALOG, NO_REMAP)>;
171			};
172
173			/omit-if-no-ref/ analog_pb13: analog_pb13 {
174				pinmux = <STM32F1_PINMUX('B', 13, ANALOG, NO_REMAP)>;
175			};
176
177			/omit-if-no-ref/ analog_pb14: analog_pb14 {
178				pinmux = <STM32F1_PINMUX('B', 14, ANALOG, NO_REMAP)>;
179			};
180
181			/omit-if-no-ref/ analog_pb15: analog_pb15 {
182				pinmux = <STM32F1_PINMUX('B', 15, ANALOG, NO_REMAP)>;
183			};
184
185			/omit-if-no-ref/ analog_pc13: analog_pc13 {
186				pinmux = <STM32F1_PINMUX('C', 13, ANALOG, NO_REMAP)>;
187			};
188
189			/omit-if-no-ref/ analog_pc14: analog_pc14 {
190				pinmux = <STM32F1_PINMUX('C', 14, ANALOG, NO_REMAP)>;
191			};
192
193			/omit-if-no-ref/ analog_pc15: analog_pc15 {
194				pinmux = <STM32F1_PINMUX('C', 15, ANALOG, NO_REMAP)>;
195			};
196
197			/omit-if-no-ref/ analog_pd0: analog_pd0 {
198				pinmux = <STM32F1_PINMUX('D', 0, ANALOG, NO_REMAP)>;
199			};
200
201			/omit-if-no-ref/ analog_pd1: analog_pd1 {
202				pinmux = <STM32F1_PINMUX('D', 1, ANALOG, NO_REMAP)>;
203			};
204
205			/* DAC_OUT */
206
207			/omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 {
208				pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>;
209			};
210
211			/omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 {
212				pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>;
213			};
214
215			/* I2C_SCL */
216
217			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
218				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>;
219				drive-open-drain;
220			};
221
222			/omit-if-no-ref/ i2c1_scl_remap1_pb8: i2c1_scl_remap1_pb8 {
223				pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, I2C1_REMAP1)>;
224				drive-open-drain;
225			};
226
227			/* I2C_SDA */
228
229			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
230				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>;
231				drive-open-drain;
232			};
233
234			/omit-if-no-ref/ i2c1_sda_remap1_pb9: i2c1_sda_remap1_pb9 {
235				pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, I2C1_REMAP1)>;
236				drive-open-drain;
237			};
238
239			/* SPI_MASTER_MISO */
240
241			/omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 {
242				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>;
243				bias-pull-down;
244			};
245
246			/omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 {
247				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>;
248				bias-pull-down;
249			};
250
251			/* SPI_MASTER_MOSI */
252
253			/omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 {
254				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>;
255			};
256
257			/omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 {
258				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>;
259			};
260
261			/* SPI_MASTER_NSS */
262
263			/omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 {
264				pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>;
265			};
266
267			/omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 {
268				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>;
269			};
270
271			/* SPI_MASTER_SCK */
272
273			/omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 {
274				pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>;
275			};
276
277			/omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 {
278				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>;
279			};
280
281			/* SPI_SLAVE_MISO */
282
283			/omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 {
284				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>;
285			};
286
287			/omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 {
288				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>;
289			};
290
291			/* SPI_SLAVE_MOSI */
292
293			/omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 {
294				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>;
295			};
296
297			/omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 {
298				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>;
299			};
300
301			/* SPI_SLAVE_NSS */
302
303			/omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 {
304				pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>;
305				bias-pull-up;
306			};
307
308			/omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 {
309				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>;
310				bias-pull-up;
311			};
312
313			/* SPI_SLAVE_SCK */
314
315			/omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 {
316				pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>;
317			};
318
319			/omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 {
320				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>;
321			};
322
323			/* TIM_BKIN */
324
325			/omit-if-no-ref/ tim1_bkin_remap1_pa6: tim1_bkin_remap1_pa6 {
326				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM1_REMAP1)>;
327			};
328
329			/omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 {
330				pinmux = <STM32F1_PINMUX('B', 12, GPIO_IN, TIM1_REMAP0)>;
331			};
332
333			/omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 {
334				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, NO_REMAP)>;
335			};
336
337			/omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 {
338				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, NO_REMAP)>;
339			};
340
341			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
342				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, NO_REMAP)>;
343			};
344
345			/* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */
346
347			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_in_pa7: tim1_ch1n_remap1_pwm_in_pa7 {
348				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM1_REMAP1)>;
349			};
350
351			/omit-if-no-ref/ tim1_ch1_pwm_in_pa8: tim1_ch1_pwm_in_pa8 {
352				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP0)>;
353			};
354
355			/omit-if-no-ref/ tim1_ch1_remap1_pwm_in_pa8: tim1_ch1_remap1_pwm_in_pa8 {
356				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP1)>;
357			};
358
359			/omit-if-no-ref/ tim1_ch2_pwm_in_pa9: tim1_ch2_pwm_in_pa9 {
360				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP0)>;
361			};
362
363			/omit-if-no-ref/ tim1_ch2_remap1_pwm_in_pa9: tim1_ch2_remap1_pwm_in_pa9 {
364				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP1)>;
365			};
366
367			/omit-if-no-ref/ tim1_ch3_pwm_in_pa10: tim1_ch3_pwm_in_pa10 {
368				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP0)>;
369			};
370
371			/omit-if-no-ref/ tim1_ch3_remap1_pwm_in_pa10: tim1_ch3_remap1_pwm_in_pa10 {
372				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP1)>;
373			};
374
375			/omit-if-no-ref/ tim1_ch4_pwm_in_pa11: tim1_ch4_pwm_in_pa11 {
376				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP0)>;
377			};
378
379			/omit-if-no-ref/ tim1_ch4_remap1_pwm_in_pa11: tim1_ch4_remap1_pwm_in_pa11 {
380				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP1)>;
381			};
382
383			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_in_pb0: tim1_ch2n_remap1_pwm_in_pb0 {
384				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM1_REMAP1)>;
385			};
386
387			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_in_pb1: tim1_ch3n_remap1_pwm_in_pb1 {
388				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM1_REMAP1)>;
389			};
390
391			/omit-if-no-ref/ tim1_ch1n_pwm_in_pb13: tim1_ch1n_pwm_in_pb13 {
392				pinmux = <STM32F1_PINMUX('B', 13, GPIO_IN, TIM1_REMAP0)>;
393			};
394
395			/omit-if-no-ref/ tim1_ch2n_pwm_in_pb14: tim1_ch2n_pwm_in_pb14 {
396				pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, TIM1_REMAP0)>;
397			};
398
399			/omit-if-no-ref/ tim1_ch3n_pwm_in_pb15: tim1_ch3n_pwm_in_pb15 {
400				pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, TIM1_REMAP0)>;
401			};
402
403			/omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 {
404				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>;
405			};
406
407			/omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 {
408				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>;
409			};
410
411			/omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 {
412				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>;
413			};
414
415			/omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 {
416				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>;
417			};
418
419			/omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 {
420				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>;
421			};
422
423			/omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 {
424				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>;
425			};
426
427			/omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 {
428				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>;
429			};
430
431			/omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 {
432				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>;
433			};
434
435			/omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 {
436				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>;
437			};
438
439			/omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 {
440				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>;
441			};
442
443			/omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 {
444				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>;
445			};
446
447			/omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 {
448				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>;
449			};
450
451			/omit-if-no-ref/ tim2_ch3_remap2_pwm_in_pb10: tim2_ch3_remap2_pwm_in_pb10 {
452				pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP2)>;
453			};
454
455			/omit-if-no-ref/ tim2_ch3_remap3_pwm_in_pb10: tim2_ch3_remap3_pwm_in_pb10 {
456				pinmux = <STM32F1_PINMUX('B', 10, GPIO_IN, TIM2_REMAP3)>;
457			};
458
459			/omit-if-no-ref/ tim2_ch4_remap2_pwm_in_pb11: tim2_ch4_remap2_pwm_in_pb11 {
460				pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP2)>;
461			};
462
463			/omit-if-no-ref/ tim2_ch4_remap3_pwm_in_pb11: tim2_ch4_remap3_pwm_in_pb11 {
464				pinmux = <STM32F1_PINMUX('B', 11, GPIO_IN, TIM2_REMAP3)>;
465			};
466
467			/omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 {
468				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>;
469			};
470
471			/omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 {
472				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>;
473			};
474
475			/omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 {
476				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>;
477			};
478
479			/omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 {
480				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>;
481			};
482
483			/omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 {
484				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>;
485			};
486
487			/omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 {
488				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>;
489			};
490
491			/omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 {
492				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>;
493			};
494
495			/omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 {
496				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>;
497			};
498
499			/omit-if-no-ref/ tim15_ch1_pwm_in_pa2: tim15_ch1_pwm_in_pa2 {
500				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM15_REMAP0)>;
501			};
502
503			/omit-if-no-ref/ tim15_ch2_pwm_in_pa3: tim15_ch2_pwm_in_pa3 {
504				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM15_REMAP0)>;
505			};
506
507			/omit-if-no-ref/ tim15_ch1_remap1_pwm_in_pb14: tim15_ch1_remap1_pwm_in_pb14 {
508				pinmux = <STM32F1_PINMUX('B', 14, GPIO_IN, TIM15_REMAP1)>;
509			};
510
511			/omit-if-no-ref/ tim15_ch1n_pwm_in_pb15: tim15_ch1n_pwm_in_pb15 {
512				pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, NO_REMAP)>;
513			};
514
515			/omit-if-no-ref/ tim15_ch2_remap1_pwm_in_pb15: tim15_ch2_remap1_pwm_in_pb15 {
516				pinmux = <STM32F1_PINMUX('B', 15, GPIO_IN, TIM15_REMAP1)>;
517			};
518
519			/omit-if-no-ref/ tim16_ch1_remap1_pwm_in_pa6: tim16_ch1_remap1_pwm_in_pa6 {
520				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM16_REMAP1)>;
521			};
522
523			/omit-if-no-ref/ tim16_ch1n_pwm_in_pb6: tim16_ch1n_pwm_in_pb6 {
524				pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, NO_REMAP)>;
525			};
526
527			/omit-if-no-ref/ tim16_ch1_pwm_in_pb8: tim16_ch1_pwm_in_pb8 {
528				pinmux = <STM32F1_PINMUX('B', 8, GPIO_IN, TIM16_REMAP0)>;
529			};
530
531			/omit-if-no-ref/ tim17_ch1_remap1_pwm_in_pa7: tim17_ch1_remap1_pwm_in_pa7 {
532				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM17_REMAP1)>;
533			};
534
535			/omit-if-no-ref/ tim17_ch1n_pwm_in_pb7: tim17_ch1n_pwm_in_pb7 {
536				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, NO_REMAP)>;
537			};
538
539			/omit-if-no-ref/ tim17_ch1_pwm_in_pb9: tim17_ch1_pwm_in_pb9 {
540				pinmux = <STM32F1_PINMUX('B', 9, GPIO_IN, TIM17_REMAP0)>;
541			};
542
543			/* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */
544
545			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_out_pa7: tim1_ch1n_remap1_pwm_out_pa7 {
546				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM1_REMAP1)>;
547			};
548
549			/omit-if-no-ref/ tim1_ch1_pwm_out_pa8: tim1_ch1_pwm_out_pa8 {
550				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP0)>;
551			};
552
553			/omit-if-no-ref/ tim1_ch1_remap1_pwm_out_pa8: tim1_ch1_remap1_pwm_out_pa8 {
554				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP1)>;
555			};
556
557			/omit-if-no-ref/ tim1_ch2_pwm_out_pa9: tim1_ch2_pwm_out_pa9 {
558				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP0)>;
559			};
560
561			/omit-if-no-ref/ tim1_ch2_remap1_pwm_out_pa9: tim1_ch2_remap1_pwm_out_pa9 {
562				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP1)>;
563			};
564
565			/omit-if-no-ref/ tim1_ch3_pwm_out_pa10: tim1_ch3_pwm_out_pa10 {
566				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP0)>;
567			};
568
569			/omit-if-no-ref/ tim1_ch3_remap1_pwm_out_pa10: tim1_ch3_remap1_pwm_out_pa10 {
570				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP1)>;
571			};
572
573			/omit-if-no-ref/ tim1_ch4_pwm_out_pa11: tim1_ch4_pwm_out_pa11 {
574				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP0)>;
575			};
576
577			/omit-if-no-ref/ tim1_ch4_remap1_pwm_out_pa11: tim1_ch4_remap1_pwm_out_pa11 {
578				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP1)>;
579			};
580
581			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_out_pb0: tim1_ch2n_remap1_pwm_out_pb0 {
582				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM1_REMAP1)>;
583			};
584
585			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_out_pb1: tim1_ch3n_remap1_pwm_out_pb1 {
586				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM1_REMAP1)>;
587			};
588
589			/omit-if-no-ref/ tim1_ch1n_pwm_out_pb13: tim1_ch1n_pwm_out_pb13 {
590				pinmux = <STM32F1_PINMUX('B', 13, ALTERNATE, TIM1_REMAP0)>;
591			};
592
593			/omit-if-no-ref/ tim1_ch2n_pwm_out_pb14: tim1_ch2n_pwm_out_pb14 {
594				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, TIM1_REMAP0)>;
595			};
596
597			/omit-if-no-ref/ tim1_ch3n_pwm_out_pb15: tim1_ch3n_pwm_out_pb15 {
598				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, TIM1_REMAP0)>;
599			};
600
601			/omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 {
602				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>;
603			};
604
605			/omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 {
606				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>;
607			};
608
609			/omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 {
610				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>;
611			};
612
613			/omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 {
614				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>;
615			};
616
617			/omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 {
618				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>;
619			};
620
621			/omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 {
622				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>;
623			};
624
625			/omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 {
626				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>;
627			};
628
629			/omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 {
630				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>;
631			};
632
633			/omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 {
634				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>;
635			};
636
637			/omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 {
638				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>;
639			};
640
641			/omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 {
642				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>;
643			};
644
645			/omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 {
646				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>;
647			};
648
649			/omit-if-no-ref/ tim2_ch3_remap2_pwm_out_pb10: tim2_ch3_remap2_pwm_out_pb10 {
650				pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP2)>;
651			};
652
653			/omit-if-no-ref/ tim2_ch3_remap3_pwm_out_pb10: tim2_ch3_remap3_pwm_out_pb10 {
654				pinmux = <STM32F1_PINMUX('B', 10, ALTERNATE, TIM2_REMAP3)>;
655			};
656
657			/omit-if-no-ref/ tim2_ch4_remap2_pwm_out_pb11: tim2_ch4_remap2_pwm_out_pb11 {
658				pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP2)>;
659			};
660
661			/omit-if-no-ref/ tim2_ch4_remap3_pwm_out_pb11: tim2_ch4_remap3_pwm_out_pb11 {
662				pinmux = <STM32F1_PINMUX('B', 11, ALTERNATE, TIM2_REMAP3)>;
663			};
664
665			/omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 {
666				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>;
667			};
668
669			/omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 {
670				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>;
671			};
672
673			/omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 {
674				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>;
675			};
676
677			/omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 {
678				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>;
679			};
680
681			/omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 {
682				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>;
683			};
684
685			/omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 {
686				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>;
687			};
688
689			/omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 {
690				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>;
691			};
692
693			/omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 {
694				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>;
695			};
696
697			/omit-if-no-ref/ tim15_ch1_pwm_out_pa2: tim15_ch1_pwm_out_pa2 {
698				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM15_REMAP0)>;
699			};
700
701			/omit-if-no-ref/ tim15_ch2_pwm_out_pa3: tim15_ch2_pwm_out_pa3 {
702				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM15_REMAP0)>;
703			};
704
705			/omit-if-no-ref/ tim15_ch1_remap1_pwm_out_pb14: tim15_ch1_remap1_pwm_out_pb14 {
706				pinmux = <STM32F1_PINMUX('B', 14, ALTERNATE, TIM15_REMAP1)>;
707			};
708
709			/omit-if-no-ref/ tim15_ch1n_pwm_out_pb15: tim15_ch1n_pwm_out_pb15 {
710				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, NO_REMAP)>;
711			};
712
713			/omit-if-no-ref/ tim15_ch2_remap1_pwm_out_pb15: tim15_ch2_remap1_pwm_out_pb15 {
714				pinmux = <STM32F1_PINMUX('B', 15, ALTERNATE, TIM15_REMAP1)>;
715			};
716
717			/omit-if-no-ref/ tim16_ch1_remap1_pwm_out_pa6: tim16_ch1_remap1_pwm_out_pa6 {
718				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM16_REMAP1)>;
719			};
720
721			/omit-if-no-ref/ tim16_ch1n_pwm_out_pb6: tim16_ch1n_pwm_out_pb6 {
722				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, NO_REMAP)>;
723			};
724
725			/omit-if-no-ref/ tim16_ch1_pwm_out_pb8: tim16_ch1_pwm_out_pb8 {
726				pinmux = <STM32F1_PINMUX('B', 8, ALTERNATE, TIM16_REMAP0)>;
727			};
728
729			/omit-if-no-ref/ tim17_ch1_remap1_pwm_out_pa7: tim17_ch1_remap1_pwm_out_pa7 {
730				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM17_REMAP1)>;
731			};
732
733			/omit-if-no-ref/ tim17_ch1n_pwm_out_pb7: tim17_ch1n_pwm_out_pb7 {
734				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, NO_REMAP)>;
735			};
736
737			/omit-if-no-ref/ tim17_ch1_pwm_out_pb9: tim17_ch1_pwm_out_pb9 {
738				pinmux = <STM32F1_PINMUX('B', 9, ALTERNATE, TIM17_REMAP0)>;
739			};
740
741			/* UART_CTS / USART_CTS */
742
743			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
744				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>;
745				bias-pull-up;
746				drive-open-drain;
747			};
748
749			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
750				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>;
751				bias-pull-up;
752				drive-open-drain;
753			};
754
755			/* UART_RTS / USART_RTS */
756
757			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
758				pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>;
759			};
760
761			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
762				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>;
763			};
764
765			/* UART_RX / USART_RX */
766
767			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
768				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>;
769			};
770
771			/omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 {
772				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>;
773			};
774
775			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
776				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>;
777			};
778
779			/* UART_TX / USART_TX */
780
781			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
782				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>;
783			};
784
785			/omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 {
786				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>;
787			};
788
789			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
790				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>;
791			};
792
793		};
794	};
795};