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/ adc2_in0_pa0: adc2_in0_pa0 {
56				pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>;
57			};
58
59			/omit-if-no-ref/ adc2_in1_pa1: adc2_in1_pa1 {
60				pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>;
61			};
62
63			/omit-if-no-ref/ adc2_in2_pa2: adc2_in2_pa2 {
64				pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>;
65			};
66
67			/omit-if-no-ref/ adc2_in3_pa3: adc2_in3_pa3 {
68				pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>;
69			};
70
71			/omit-if-no-ref/ adc2_in4_pa4: adc2_in4_pa4 {
72				pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>;
73			};
74
75			/omit-if-no-ref/ adc2_in5_pa5: adc2_in5_pa5 {
76				pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>;
77			};
78
79			/omit-if-no-ref/ adc2_in6_pa6: adc2_in6_pa6 {
80				pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>;
81			};
82
83			/omit-if-no-ref/ adc2_in7_pa7: adc2_in7_pa7 {
84				pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>;
85			};
86
87			/omit-if-no-ref/ adc2_in8_pb0: adc2_in8_pb0 {
88				pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>;
89			};
90
91			/omit-if-no-ref/ adc2_in9_pb1: adc2_in9_pb1 {
92				pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>;
93			};
94
95			/* Analog */
96
97			/omit-if-no-ref/ analog_pa0: analog_pa0 {
98				pinmux = <STM32F1_PINMUX('A', 0, ANALOG, NO_REMAP)>;
99			};
100
101			/omit-if-no-ref/ analog_pa1: analog_pa1 {
102				pinmux = <STM32F1_PINMUX('A', 1, ANALOG, NO_REMAP)>;
103			};
104
105			/omit-if-no-ref/ analog_pa2: analog_pa2 {
106				pinmux = <STM32F1_PINMUX('A', 2, ANALOG, NO_REMAP)>;
107			};
108
109			/omit-if-no-ref/ analog_pa3: analog_pa3 {
110				pinmux = <STM32F1_PINMUX('A', 3, ANALOG, NO_REMAP)>;
111			};
112
113			/omit-if-no-ref/ analog_pa4: analog_pa4 {
114				pinmux = <STM32F1_PINMUX('A', 4, ANALOG, NO_REMAP)>;
115			};
116
117			/omit-if-no-ref/ analog_pa5: analog_pa5 {
118				pinmux = <STM32F1_PINMUX('A', 5, ANALOG, NO_REMAP)>;
119			};
120
121			/omit-if-no-ref/ analog_pa6: analog_pa6 {
122				pinmux = <STM32F1_PINMUX('A', 6, ANALOG, NO_REMAP)>;
123			};
124
125			/omit-if-no-ref/ analog_pa7: analog_pa7 {
126				pinmux = <STM32F1_PINMUX('A', 7, ANALOG, NO_REMAP)>;
127			};
128
129			/omit-if-no-ref/ analog_pa8: analog_pa8 {
130				pinmux = <STM32F1_PINMUX('A', 8, ANALOG, NO_REMAP)>;
131			};
132
133			/omit-if-no-ref/ analog_pa9: analog_pa9 {
134				pinmux = <STM32F1_PINMUX('A', 9, ANALOG, NO_REMAP)>;
135			};
136
137			/omit-if-no-ref/ analog_pa10: analog_pa10 {
138				pinmux = <STM32F1_PINMUX('A', 10, ANALOG, NO_REMAP)>;
139			};
140
141			/omit-if-no-ref/ analog_pa11: analog_pa11 {
142				pinmux = <STM32F1_PINMUX('A', 11, ANALOG, NO_REMAP)>;
143			};
144
145			/omit-if-no-ref/ analog_pa12: analog_pa12 {
146				pinmux = <STM32F1_PINMUX('A', 12, ANALOG, NO_REMAP)>;
147			};
148
149			/omit-if-no-ref/ analog_pa13: analog_pa13 {
150				pinmux = <STM32F1_PINMUX('A', 13, ANALOG, NO_REMAP)>;
151			};
152
153			/omit-if-no-ref/ analog_pa14: analog_pa14 {
154				pinmux = <STM32F1_PINMUX('A', 14, ANALOG, NO_REMAP)>;
155			};
156
157			/omit-if-no-ref/ analog_pa15: analog_pa15 {
158				pinmux = <STM32F1_PINMUX('A', 15, ANALOG, NO_REMAP)>;
159			};
160
161			/omit-if-no-ref/ analog_pb0: analog_pb0 {
162				pinmux = <STM32F1_PINMUX('B', 0, ANALOG, NO_REMAP)>;
163			};
164
165			/omit-if-no-ref/ analog_pb1: analog_pb1 {
166				pinmux = <STM32F1_PINMUX('B', 1, ANALOG, NO_REMAP)>;
167			};
168
169			/omit-if-no-ref/ analog_pb2: analog_pb2 {
170				pinmux = <STM32F1_PINMUX('B', 2, ANALOG, NO_REMAP)>;
171			};
172
173			/omit-if-no-ref/ analog_pb3: analog_pb3 {
174				pinmux = <STM32F1_PINMUX('B', 3, ANALOG, NO_REMAP)>;
175			};
176
177			/omit-if-no-ref/ analog_pb4: analog_pb4 {
178				pinmux = <STM32F1_PINMUX('B', 4, ANALOG, NO_REMAP)>;
179			};
180
181			/omit-if-no-ref/ analog_pb5: analog_pb5 {
182				pinmux = <STM32F1_PINMUX('B', 5, ANALOG, NO_REMAP)>;
183			};
184
185			/omit-if-no-ref/ analog_pb6: analog_pb6 {
186				pinmux = <STM32F1_PINMUX('B', 6, ANALOG, NO_REMAP)>;
187			};
188
189			/omit-if-no-ref/ analog_pb7: analog_pb7 {
190				pinmux = <STM32F1_PINMUX('B', 7, ANALOG, NO_REMAP)>;
191			};
192
193			/omit-if-no-ref/ analog_pd0: analog_pd0 {
194				pinmux = <STM32F1_PINMUX('D', 0, ANALOG, NO_REMAP)>;
195			};
196
197			/omit-if-no-ref/ analog_pd1: analog_pd1 {
198				pinmux = <STM32F1_PINMUX('D', 1, ANALOG, NO_REMAP)>;
199			};
200
201			/* CAN_RX */
202
203			/omit-if-no-ref/ can_rx_pa11: can_rx_pa11 {
204				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, CAN_REMAP0)>;
205			};
206
207			/* CAN_TX */
208
209			/omit-if-no-ref/ can_tx_pa12: can_tx_pa12 {
210				pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, CAN_REMAP0)>;
211			};
212
213			/* I2C_SCL */
214
215			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
216				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, I2C1_REMAP0)>;
217				drive-open-drain;
218			};
219
220			/* I2C_SDA */
221
222			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
223				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, I2C1_REMAP0)>;
224				drive-open-drain;
225			};
226
227			/* SPI_MASTER_MISO */
228
229			/omit-if-no-ref/ spi1_miso_master_pa6: spi1_miso_master_pa6 {
230				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, SPI1_REMAP0)>;
231				bias-pull-down;
232			};
233
234			/omit-if-no-ref/ spi1_miso_remap1_master_pb4: spi1_miso_remap1_master_pb4 {
235				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, SPI1_REMAP1)>;
236				bias-pull-down;
237			};
238
239			/* SPI_MASTER_MOSI */
240
241			/omit-if-no-ref/ spi1_mosi_master_pa7: spi1_mosi_master_pa7 {
242				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, SPI1_REMAP0)>;
243			};
244
245			/omit-if-no-ref/ spi1_mosi_remap1_master_pb5: spi1_mosi_remap1_master_pb5 {
246				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, SPI1_REMAP1)>;
247			};
248
249			/* SPI_MASTER_NSS */
250
251			/omit-if-no-ref/ spi1_nss_master_pa4: spi1_nss_master_pa4 {
252				pinmux = <STM32F1_PINMUX('A', 4, ALTERNATE, SPI1_REMAP0)>;
253			};
254
255			/omit-if-no-ref/ spi1_nss_remap1_master_pa15: spi1_nss_remap1_master_pa15 {
256				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, SPI1_REMAP1)>;
257			};
258
259			/* SPI_MASTER_SCK */
260
261			/omit-if-no-ref/ spi1_sck_master_pa5: spi1_sck_master_pa5 {
262				pinmux = <STM32F1_PINMUX('A', 5, ALTERNATE, SPI1_REMAP0)>;
263			};
264
265			/omit-if-no-ref/ spi1_sck_remap1_master_pb3: spi1_sck_remap1_master_pb3 {
266				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, SPI1_REMAP1)>;
267			};
268
269			/* SPI_SLAVE_MISO */
270
271			/omit-if-no-ref/ spi1_miso_slave_pa6: spi1_miso_slave_pa6 {
272				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, SPI1_REMAP0)>;
273			};
274
275			/omit-if-no-ref/ spi1_miso_remap1_slave_pb4: spi1_miso_remap1_slave_pb4 {
276				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, SPI1_REMAP1)>;
277			};
278
279			/* SPI_SLAVE_MOSI */
280
281			/omit-if-no-ref/ spi1_mosi_slave_pa7: spi1_mosi_slave_pa7 {
282				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, SPI1_REMAP0)>;
283			};
284
285			/omit-if-no-ref/ spi1_mosi_remap1_slave_pb5: spi1_mosi_remap1_slave_pb5 {
286				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, SPI1_REMAP1)>;
287			};
288
289			/* SPI_SLAVE_NSS */
290
291			/omit-if-no-ref/ spi1_nss_slave_pa4: spi1_nss_slave_pa4 {
292				pinmux = <STM32F1_PINMUX('A', 4, GPIO_IN, SPI1_REMAP0)>;
293				bias-pull-up;
294			};
295
296			/omit-if-no-ref/ spi1_nss_remap1_slave_pa15: spi1_nss_remap1_slave_pa15 {
297				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, SPI1_REMAP1)>;
298				bias-pull-up;
299			};
300
301			/* SPI_SLAVE_SCK */
302
303			/omit-if-no-ref/ spi1_sck_slave_pa5: spi1_sck_slave_pa5 {
304				pinmux = <STM32F1_PINMUX('A', 5, GPIO_IN, SPI1_REMAP0)>;
305			};
306
307			/omit-if-no-ref/ spi1_sck_remap1_slave_pb3: spi1_sck_remap1_slave_pb3 {
308				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, SPI1_REMAP1)>;
309			};
310
311			/* TIM_BKIN */
312
313			/omit-if-no-ref/ tim1_bkin_remap1_pa6: tim1_bkin_remap1_pa6 {
314				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM1_REMAP1)>;
315			};
316
317			/* TIM_CH_PWM_IN / TIM_CHN_PWM_IN */
318
319			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_in_pa7: tim1_ch1n_remap1_pwm_in_pa7 {
320				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM1_REMAP1)>;
321			};
322
323			/omit-if-no-ref/ tim1_ch1_pwm_in_pa8: tim1_ch1_pwm_in_pa8 {
324				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP0)>;
325			};
326
327			/omit-if-no-ref/ tim1_ch1_remap1_pwm_in_pa8: tim1_ch1_remap1_pwm_in_pa8 {
328				pinmux = <STM32F1_PINMUX('A', 8, GPIO_IN, TIM1_REMAP1)>;
329			};
330
331			/omit-if-no-ref/ tim1_ch2_pwm_in_pa9: tim1_ch2_pwm_in_pa9 {
332				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP0)>;
333			};
334
335			/omit-if-no-ref/ tim1_ch2_remap1_pwm_in_pa9: tim1_ch2_remap1_pwm_in_pa9 {
336				pinmux = <STM32F1_PINMUX('A', 9, GPIO_IN, TIM1_REMAP1)>;
337			};
338
339			/omit-if-no-ref/ tim1_ch3_pwm_in_pa10: tim1_ch3_pwm_in_pa10 {
340				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP0)>;
341			};
342
343			/omit-if-no-ref/ tim1_ch3_remap1_pwm_in_pa10: tim1_ch3_remap1_pwm_in_pa10 {
344				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, TIM1_REMAP1)>;
345			};
346
347			/omit-if-no-ref/ tim1_ch4_pwm_in_pa11: tim1_ch4_pwm_in_pa11 {
348				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP0)>;
349			};
350
351			/omit-if-no-ref/ tim1_ch4_remap1_pwm_in_pa11: tim1_ch4_remap1_pwm_in_pa11 {
352				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, TIM1_REMAP1)>;
353			};
354
355			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_in_pb0: tim1_ch2n_remap1_pwm_in_pb0 {
356				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM1_REMAP1)>;
357			};
358
359			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_in_pb1: tim1_ch3n_remap1_pwm_in_pb1 {
360				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM1_REMAP1)>;
361			};
362
363			/omit-if-no-ref/ tim2_ch1_pwm_in_pa0: tim2_ch1_pwm_in_pa0 {
364				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP0)>;
365			};
366
367			/omit-if-no-ref/ tim2_ch1_remap2_pwm_in_pa0: tim2_ch1_remap2_pwm_in_pa0 {
368				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, TIM2_REMAP2)>;
369			};
370
371			/omit-if-no-ref/ tim2_ch2_pwm_in_pa1: tim2_ch2_pwm_in_pa1 {
372				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP0)>;
373			};
374
375			/omit-if-no-ref/ tim2_ch2_remap2_pwm_in_pa1: tim2_ch2_remap2_pwm_in_pa1 {
376				pinmux = <STM32F1_PINMUX('A', 1, GPIO_IN, TIM2_REMAP2)>;
377			};
378
379			/omit-if-no-ref/ tim2_ch3_pwm_in_pa2: tim2_ch3_pwm_in_pa2 {
380				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP0)>;
381			};
382
383			/omit-if-no-ref/ tim2_ch3_remap1_pwm_in_pa2: tim2_ch3_remap1_pwm_in_pa2 {
384				pinmux = <STM32F1_PINMUX('A', 2, GPIO_IN, TIM2_REMAP1)>;
385			};
386
387			/omit-if-no-ref/ tim2_ch4_pwm_in_pa3: tim2_ch4_pwm_in_pa3 {
388				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP0)>;
389			};
390
391			/omit-if-no-ref/ tim2_ch4_remap1_pwm_in_pa3: tim2_ch4_remap1_pwm_in_pa3 {
392				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, TIM2_REMAP1)>;
393			};
394
395			/omit-if-no-ref/ tim2_ch1_remap1_pwm_in_pa15: tim2_ch1_remap1_pwm_in_pa15 {
396				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP1)>;
397			};
398
399			/omit-if-no-ref/ tim2_ch1_remap3_pwm_in_pa15: tim2_ch1_remap3_pwm_in_pa15 {
400				pinmux = <STM32F1_PINMUX('A', 15, GPIO_IN, TIM2_REMAP3)>;
401			};
402
403			/omit-if-no-ref/ tim2_ch2_remap1_pwm_in_pb3: tim2_ch2_remap1_pwm_in_pb3 {
404				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP1)>;
405			};
406
407			/omit-if-no-ref/ tim2_ch2_remap3_pwm_in_pb3: tim2_ch2_remap3_pwm_in_pb3 {
408				pinmux = <STM32F1_PINMUX('B', 3, GPIO_IN, TIM2_REMAP3)>;
409			};
410
411			/omit-if-no-ref/ tim3_ch1_pwm_in_pa6: tim3_ch1_pwm_in_pa6 {
412				pinmux = <STM32F1_PINMUX('A', 6, GPIO_IN, TIM3_REMAP0)>;
413			};
414
415			/omit-if-no-ref/ tim3_ch2_pwm_in_pa7: tim3_ch2_pwm_in_pa7 {
416				pinmux = <STM32F1_PINMUX('A', 7, GPIO_IN, TIM3_REMAP0)>;
417			};
418
419			/omit-if-no-ref/ tim3_ch3_pwm_in_pb0: tim3_ch3_pwm_in_pb0 {
420				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP0)>;
421			};
422
423			/omit-if-no-ref/ tim3_ch3_remap1_pwm_in_pb0: tim3_ch3_remap1_pwm_in_pb0 {
424				pinmux = <STM32F1_PINMUX('B', 0, GPIO_IN, TIM3_REMAP1)>;
425			};
426
427			/omit-if-no-ref/ tim3_ch4_pwm_in_pb1: tim3_ch4_pwm_in_pb1 {
428				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP0)>;
429			};
430
431			/omit-if-no-ref/ tim3_ch4_remap1_pwm_in_pb1: tim3_ch4_remap1_pwm_in_pb1 {
432				pinmux = <STM32F1_PINMUX('B', 1, GPIO_IN, TIM3_REMAP1)>;
433			};
434
435			/omit-if-no-ref/ tim3_ch1_remap1_pwm_in_pb4: tim3_ch1_remap1_pwm_in_pb4 {
436				pinmux = <STM32F1_PINMUX('B', 4, GPIO_IN, TIM3_REMAP1)>;
437			};
438
439			/omit-if-no-ref/ tim3_ch2_remap1_pwm_in_pb5: tim3_ch2_remap1_pwm_in_pb5 {
440				pinmux = <STM32F1_PINMUX('B', 5, GPIO_IN, TIM3_REMAP1)>;
441			};
442
443			/omit-if-no-ref/ tim4_ch1_pwm_in_pb6: tim4_ch1_pwm_in_pb6 {
444				pinmux = <STM32F1_PINMUX('B', 6, GPIO_IN, TIM4_REMAP0)>;
445			};
446
447			/omit-if-no-ref/ tim4_ch2_pwm_in_pb7: tim4_ch2_pwm_in_pb7 {
448				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, TIM4_REMAP0)>;
449			};
450
451			/* TIM_CH_PWM_OUT / TIM_CHN_PWM_OUT */
452
453			/omit-if-no-ref/ tim1_ch1n_remap1_pwm_out_pa7: tim1_ch1n_remap1_pwm_out_pa7 {
454				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM1_REMAP1)>;
455			};
456
457			/omit-if-no-ref/ tim1_ch1_pwm_out_pa8: tim1_ch1_pwm_out_pa8 {
458				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP0)>;
459			};
460
461			/omit-if-no-ref/ tim1_ch1_remap1_pwm_out_pa8: tim1_ch1_remap1_pwm_out_pa8 {
462				pinmux = <STM32F1_PINMUX('A', 8, ALTERNATE, TIM1_REMAP1)>;
463			};
464
465			/omit-if-no-ref/ tim1_ch2_pwm_out_pa9: tim1_ch2_pwm_out_pa9 {
466				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP0)>;
467			};
468
469			/omit-if-no-ref/ tim1_ch2_remap1_pwm_out_pa9: tim1_ch2_remap1_pwm_out_pa9 {
470				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, TIM1_REMAP1)>;
471			};
472
473			/omit-if-no-ref/ tim1_ch3_pwm_out_pa10: tim1_ch3_pwm_out_pa10 {
474				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP0)>;
475			};
476
477			/omit-if-no-ref/ tim1_ch3_remap1_pwm_out_pa10: tim1_ch3_remap1_pwm_out_pa10 {
478				pinmux = <STM32F1_PINMUX('A', 10, ALTERNATE, TIM1_REMAP1)>;
479			};
480
481			/omit-if-no-ref/ tim1_ch4_pwm_out_pa11: tim1_ch4_pwm_out_pa11 {
482				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP0)>;
483			};
484
485			/omit-if-no-ref/ tim1_ch4_remap1_pwm_out_pa11: tim1_ch4_remap1_pwm_out_pa11 {
486				pinmux = <STM32F1_PINMUX('A', 11, ALTERNATE, TIM1_REMAP1)>;
487			};
488
489			/omit-if-no-ref/ tim1_ch2n_remap1_pwm_out_pb0: tim1_ch2n_remap1_pwm_out_pb0 {
490				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM1_REMAP1)>;
491			};
492
493			/omit-if-no-ref/ tim1_ch3n_remap1_pwm_out_pb1: tim1_ch3n_remap1_pwm_out_pb1 {
494				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM1_REMAP1)>;
495			};
496
497			/omit-if-no-ref/ tim2_ch1_pwm_out_pa0: tim2_ch1_pwm_out_pa0 {
498				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP0)>;
499			};
500
501			/omit-if-no-ref/ tim2_ch1_remap2_pwm_out_pa0: tim2_ch1_remap2_pwm_out_pa0 {
502				pinmux = <STM32F1_PINMUX('A', 0, ALTERNATE, TIM2_REMAP2)>;
503			};
504
505			/omit-if-no-ref/ tim2_ch2_pwm_out_pa1: tim2_ch2_pwm_out_pa1 {
506				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP0)>;
507			};
508
509			/omit-if-no-ref/ tim2_ch2_remap2_pwm_out_pa1: tim2_ch2_remap2_pwm_out_pa1 {
510				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, TIM2_REMAP2)>;
511			};
512
513			/omit-if-no-ref/ tim2_ch3_pwm_out_pa2: tim2_ch3_pwm_out_pa2 {
514				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP0)>;
515			};
516
517			/omit-if-no-ref/ tim2_ch3_remap1_pwm_out_pa2: tim2_ch3_remap1_pwm_out_pa2 {
518				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, TIM2_REMAP1)>;
519			};
520
521			/omit-if-no-ref/ tim2_ch4_pwm_out_pa3: tim2_ch4_pwm_out_pa3 {
522				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP0)>;
523			};
524
525			/omit-if-no-ref/ tim2_ch4_remap1_pwm_out_pa3: tim2_ch4_remap1_pwm_out_pa3 {
526				pinmux = <STM32F1_PINMUX('A', 3, ALTERNATE, TIM2_REMAP1)>;
527			};
528
529			/omit-if-no-ref/ tim2_ch1_remap1_pwm_out_pa15: tim2_ch1_remap1_pwm_out_pa15 {
530				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP1)>;
531			};
532
533			/omit-if-no-ref/ tim2_ch1_remap3_pwm_out_pa15: tim2_ch1_remap3_pwm_out_pa15 {
534				pinmux = <STM32F1_PINMUX('A', 15, ALTERNATE, TIM2_REMAP3)>;
535			};
536
537			/omit-if-no-ref/ tim2_ch2_remap1_pwm_out_pb3: tim2_ch2_remap1_pwm_out_pb3 {
538				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP1)>;
539			};
540
541			/omit-if-no-ref/ tim2_ch2_remap3_pwm_out_pb3: tim2_ch2_remap3_pwm_out_pb3 {
542				pinmux = <STM32F1_PINMUX('B', 3, ALTERNATE, TIM2_REMAP3)>;
543			};
544
545			/omit-if-no-ref/ tim3_ch1_pwm_out_pa6: tim3_ch1_pwm_out_pa6 {
546				pinmux = <STM32F1_PINMUX('A', 6, ALTERNATE, TIM3_REMAP0)>;
547			};
548
549			/omit-if-no-ref/ tim3_ch2_pwm_out_pa7: tim3_ch2_pwm_out_pa7 {
550				pinmux = <STM32F1_PINMUX('A', 7, ALTERNATE, TIM3_REMAP0)>;
551			};
552
553			/omit-if-no-ref/ tim3_ch3_pwm_out_pb0: tim3_ch3_pwm_out_pb0 {
554				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP0)>;
555			};
556
557			/omit-if-no-ref/ tim3_ch3_remap1_pwm_out_pb0: tim3_ch3_remap1_pwm_out_pb0 {
558				pinmux = <STM32F1_PINMUX('B', 0, ALTERNATE, TIM3_REMAP1)>;
559			};
560
561			/omit-if-no-ref/ tim3_ch4_pwm_out_pb1: tim3_ch4_pwm_out_pb1 {
562				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP0)>;
563			};
564
565			/omit-if-no-ref/ tim3_ch4_remap1_pwm_out_pb1: tim3_ch4_remap1_pwm_out_pb1 {
566				pinmux = <STM32F1_PINMUX('B', 1, ALTERNATE, TIM3_REMAP1)>;
567			};
568
569			/omit-if-no-ref/ tim3_ch1_remap1_pwm_out_pb4: tim3_ch1_remap1_pwm_out_pb4 {
570				pinmux = <STM32F1_PINMUX('B', 4, ALTERNATE, TIM3_REMAP1)>;
571			};
572
573			/omit-if-no-ref/ tim3_ch2_remap1_pwm_out_pb5: tim3_ch2_remap1_pwm_out_pb5 {
574				pinmux = <STM32F1_PINMUX('B', 5, ALTERNATE, TIM3_REMAP1)>;
575			};
576
577			/omit-if-no-ref/ tim4_ch1_pwm_out_pb6: tim4_ch1_pwm_out_pb6 {
578				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, TIM4_REMAP0)>;
579			};
580
581			/omit-if-no-ref/ tim4_ch2_pwm_out_pb7: tim4_ch2_pwm_out_pb7 {
582				pinmux = <STM32F1_PINMUX('B', 7, ALTERNATE, TIM4_REMAP0)>;
583			};
584
585			/* UART_CTS / USART_CTS */
586
587			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
588				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>;
589				bias-pull-up;
590				drive-open-drain;
591			};
592
593			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
594				pinmux = <STM32F1_PINMUX('A', 0, GPIO_IN, USART2_REMAP0)>;
595				bias-pull-up;
596				drive-open-drain;
597			};
598
599			/* UART_RTS / USART_RTS */
600
601			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
602				pinmux = <STM32F1_PINMUX('A', 12, ALTERNATE, NO_REMAP)>;
603			};
604
605			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
606				pinmux = <STM32F1_PINMUX('A', 1, ALTERNATE, USART2_REMAP0)>;
607			};
608
609			/* UART_RX / USART_RX */
610
611			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
612				pinmux = <STM32F1_PINMUX('A', 10, GPIO_IN, USART1_REMAP0)>;
613			};
614
615			/omit-if-no-ref/ usart1_rx_remap1_pb7: usart1_rx_remap1_pb7 {
616				pinmux = <STM32F1_PINMUX('B', 7, GPIO_IN, USART1_REMAP1)>;
617			};
618
619			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
620				pinmux = <STM32F1_PINMUX('A', 3, GPIO_IN, USART2_REMAP0)>;
621			};
622
623			/* UART_TX / USART_TX */
624
625			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
626				pinmux = <STM32F1_PINMUX('A', 9, ALTERNATE, USART1_REMAP0)>;
627			};
628
629			/omit-if-no-ref/ usart1_tx_remap1_pb6: usart1_tx_remap1_pb6 {
630				pinmux = <STM32F1_PINMUX('B', 6, ALTERNATE, USART1_REMAP1)>;
631			};
632
633			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
634				pinmux = <STM32F1_PINMUX('A', 2, ALTERNATE, USART2_REMAP0)>;
635			};
636
637			/* USB */
638
639			/omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 {
640				pinmux = <STM32F1_PINMUX('A', 11, GPIO_IN, NO_REMAP)>;
641			};
642
643			/omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 {
644				pinmux = <STM32F1_PINMUX('A', 12, GPIO_IN, NO_REMAP)>;
645			};
646
647		};
648	};
649};