1/*
2 * NOTE: Autogenerated file using genpinctrl.py
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/pinctrl/stm32-pinctrl.h>
8
9/ {
10	soc {
11		pinctrl: pin-controller@48000000 {
12
13			/* ADC_IN / ADC_INN / ADC_INP */
14
15			/omit-if-no-ref/ adc_in0_pa0: adc_in0_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			/omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			/omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			/omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 {
28				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
29			};
30
31			/omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 {
32				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
33			};
34
35			/omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 {
36				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
37			};
38
39			/omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 {
40				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
41			};
42
43			/omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 {
44				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
45			};
46
47			/omit-if-no-ref/ adc_in8_pb0: adc_in8_pb0 {
48				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
49			};
50
51			/omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 {
52				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
53			};
54
55			/omit-if-no-ref/ adc_in10_pc0: adc_in10_pc0 {
56				pinmux = <STM32_PINMUX('C', 0, ANALOG)>;
57			};
58
59			/omit-if-no-ref/ adc_in11_pc1: adc_in11_pc1 {
60				pinmux = <STM32_PINMUX('C', 1, ANALOG)>;
61			};
62
63			/omit-if-no-ref/ adc_in12_pc2: adc_in12_pc2 {
64				pinmux = <STM32_PINMUX('C', 2, ANALOG)>;
65			};
66
67			/omit-if-no-ref/ adc_in13_pc3: adc_in13_pc3 {
68				pinmux = <STM32_PINMUX('C', 3, ANALOG)>;
69			};
70
71			/omit-if-no-ref/ adc_in14_pc4: adc_in14_pc4 {
72				pinmux = <STM32_PINMUX('C', 4, ANALOG)>;
73			};
74
75			/omit-if-no-ref/ adc_in15_pc5: adc_in15_pc5 {
76				pinmux = <STM32_PINMUX('C', 5, ANALOG)>;
77			};
78
79			/* Analog */
80
81			/omit-if-no-ref/ analog_pa0: analog_pa0 {
82				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
83			};
84
85			/omit-if-no-ref/ analog_pa1: analog_pa1 {
86				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
87			};
88
89			/omit-if-no-ref/ analog_pa2: analog_pa2 {
90				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
91			};
92
93			/omit-if-no-ref/ analog_pa3: analog_pa3 {
94				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
95			};
96
97			/omit-if-no-ref/ analog_pa4: analog_pa4 {
98				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pa5: analog_pa5 {
102				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
103			};
104
105			/omit-if-no-ref/ analog_pa6: analog_pa6 {
106				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
107			};
108
109			/omit-if-no-ref/ analog_pa7: analog_pa7 {
110				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
111			};
112
113			/omit-if-no-ref/ analog_pa8: analog_pa8 {
114				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
115			};
116
117			/omit-if-no-ref/ analog_pa9: analog_pa9 {
118				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
119			};
120
121			/omit-if-no-ref/ analog_pa10: analog_pa10 {
122				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
123			};
124
125			/omit-if-no-ref/ analog_pa11: analog_pa11 {
126				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
127			};
128
129			/omit-if-no-ref/ analog_pa12: analog_pa12 {
130				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
131			};
132
133			/omit-if-no-ref/ analog_pa13: analog_pa13 {
134				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
135			};
136
137			/omit-if-no-ref/ analog_pa14: analog_pa14 {
138				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
139			};
140
141			/omit-if-no-ref/ analog_pa15: analog_pa15 {
142				pinmux = <STM32_PINMUX('A', 15, ANALOG)>;
143			};
144
145			/omit-if-no-ref/ analog_pb0: analog_pb0 {
146				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
147			};
148
149			/omit-if-no-ref/ analog_pb1: analog_pb1 {
150				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
151			};
152
153			/omit-if-no-ref/ analog_pb2: analog_pb2 {
154				pinmux = <STM32_PINMUX('B', 2, ANALOG)>;
155			};
156
157			/omit-if-no-ref/ analog_pb3: analog_pb3 {
158				pinmux = <STM32_PINMUX('B', 3, ANALOG)>;
159			};
160
161			/omit-if-no-ref/ analog_pb4: analog_pb4 {
162				pinmux = <STM32_PINMUX('B', 4, ANALOG)>;
163			};
164
165			/omit-if-no-ref/ analog_pb5: analog_pb5 {
166				pinmux = <STM32_PINMUX('B', 5, ANALOG)>;
167			};
168
169			/omit-if-no-ref/ analog_pb6: analog_pb6 {
170				pinmux = <STM32_PINMUX('B', 6, ANALOG)>;
171			};
172
173			/omit-if-no-ref/ analog_pb7: analog_pb7 {
174				pinmux = <STM32_PINMUX('B', 7, ANALOG)>;
175			};
176
177			/omit-if-no-ref/ analog_pb8: analog_pb8 {
178				pinmux = <STM32_PINMUX('B', 8, ANALOG)>;
179			};
180
181			/omit-if-no-ref/ analog_pb9: analog_pb9 {
182				pinmux = <STM32_PINMUX('B', 9, ANALOG)>;
183			};
184
185			/omit-if-no-ref/ analog_pb10: analog_pb10 {
186				pinmux = <STM32_PINMUX('B', 10, ANALOG)>;
187			};
188
189			/omit-if-no-ref/ analog_pb11: analog_pb11 {
190				pinmux = <STM32_PINMUX('B', 11, ANALOG)>;
191			};
192
193			/omit-if-no-ref/ analog_pb12: analog_pb12 {
194				pinmux = <STM32_PINMUX('B', 12, ANALOG)>;
195			};
196
197			/omit-if-no-ref/ analog_pb13: analog_pb13 {
198				pinmux = <STM32_PINMUX('B', 13, ANALOG)>;
199			};
200
201			/omit-if-no-ref/ analog_pb14: analog_pb14 {
202				pinmux = <STM32_PINMUX('B', 14, ANALOG)>;
203			};
204
205			/omit-if-no-ref/ analog_pb15: analog_pb15 {
206				pinmux = <STM32_PINMUX('B', 15, ANALOG)>;
207			};
208
209			/omit-if-no-ref/ analog_pc0: analog_pc0 {
210				pinmux = <STM32_PINMUX('C', 0, ANALOG)>;
211			};
212
213			/omit-if-no-ref/ analog_pc1: analog_pc1 {
214				pinmux = <STM32_PINMUX('C', 1, ANALOG)>;
215			};
216
217			/omit-if-no-ref/ analog_pc2: analog_pc2 {
218				pinmux = <STM32_PINMUX('C', 2, ANALOG)>;
219			};
220
221			/omit-if-no-ref/ analog_pc3: analog_pc3 {
222				pinmux = <STM32_PINMUX('C', 3, ANALOG)>;
223			};
224
225			/omit-if-no-ref/ analog_pc4: analog_pc4 {
226				pinmux = <STM32_PINMUX('C', 4, ANALOG)>;
227			};
228
229			/omit-if-no-ref/ analog_pc5: analog_pc5 {
230				pinmux = <STM32_PINMUX('C', 5, ANALOG)>;
231			};
232
233			/omit-if-no-ref/ analog_pc6: analog_pc6 {
234				pinmux = <STM32_PINMUX('C', 6, ANALOG)>;
235			};
236
237			/omit-if-no-ref/ analog_pc7: analog_pc7 {
238				pinmux = <STM32_PINMUX('C', 7, ANALOG)>;
239			};
240
241			/omit-if-no-ref/ analog_pc8: analog_pc8 {
242				pinmux = <STM32_PINMUX('C', 8, ANALOG)>;
243			};
244
245			/omit-if-no-ref/ analog_pc9: analog_pc9 {
246				pinmux = <STM32_PINMUX('C', 9, ANALOG)>;
247			};
248
249			/omit-if-no-ref/ analog_pc10: analog_pc10 {
250				pinmux = <STM32_PINMUX('C', 10, ANALOG)>;
251			};
252
253			/omit-if-no-ref/ analog_pc11: analog_pc11 {
254				pinmux = <STM32_PINMUX('C', 11, ANALOG)>;
255			};
256
257			/omit-if-no-ref/ analog_pc12: analog_pc12 {
258				pinmux = <STM32_PINMUX('C', 12, ANALOG)>;
259			};
260
261			/omit-if-no-ref/ analog_pc13: analog_pc13 {
262				pinmux = <STM32_PINMUX('C', 13, ANALOG)>;
263			};
264
265			/omit-if-no-ref/ analog_pc14: analog_pc14 {
266				pinmux = <STM32_PINMUX('C', 14, ANALOG)>;
267			};
268
269			/omit-if-no-ref/ analog_pc15: analog_pc15 {
270				pinmux = <STM32_PINMUX('C', 15, ANALOG)>;
271			};
272
273			/omit-if-no-ref/ analog_pd2: analog_pd2 {
274				pinmux = <STM32_PINMUX('D', 2, ANALOG)>;
275			};
276
277			/omit-if-no-ref/ analog_pf0: analog_pf0 {
278				pinmux = <STM32_PINMUX('F', 0, ANALOG)>;
279			};
280
281			/omit-if-no-ref/ analog_pf1: analog_pf1 {
282				pinmux = <STM32_PINMUX('F', 1, ANALOG)>;
283			};
284
285			/omit-if-no-ref/ analog_pf11: analog_pf11 {
286				pinmux = <STM32_PINMUX('F', 11, ANALOG)>;
287			};
288
289			/* CAN_RX */
290
291			/omit-if-no-ref/ can_rx_pa11: can_rx_pa11 {
292				pinmux = <STM32_PINMUX('A', 11, AF4)>;
293				bias-pull-up;
294			};
295
296			/omit-if-no-ref/ can_rx_pb8: can_rx_pb8 {
297				pinmux = <STM32_PINMUX('B', 8, AF4)>;
298				bias-pull-up;
299			};
300
301			/* CAN_TX */
302
303			/omit-if-no-ref/ can_tx_pa12: can_tx_pa12 {
304				pinmux = <STM32_PINMUX('A', 12, AF4)>;
305			};
306
307			/omit-if-no-ref/ can_tx_pb9: can_tx_pb9 {
308				pinmux = <STM32_PINMUX('B', 9, AF4)>;
309			};
310
311			/* DAC_OUT */
312
313			/omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 {
314				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
315			};
316
317			/omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 {
318				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
319			};
320
321			/* I2C_SCL */
322
323			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
324				pinmux = <STM32_PINMUX('A', 9, AF4)>;
325				bias-pull-up;
326				drive-open-drain;
327			};
328
329			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
330				pinmux = <STM32_PINMUX('B', 6, AF1)>;
331				bias-pull-up;
332				drive-open-drain;
333			};
334
335			/omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 {
336				pinmux = <STM32_PINMUX('B', 8, AF1)>;
337				bias-pull-up;
338				drive-open-drain;
339			};
340
341			/omit-if-no-ref/ i2c1_scl_pf1: i2c1_scl_pf1 {
342				pinmux = <STM32_PINMUX('F', 1, AF1)>;
343				bias-pull-up;
344				drive-open-drain;
345			};
346
347			/omit-if-no-ref/ i2c2_scl_pa11: i2c2_scl_pa11 {
348				pinmux = <STM32_PINMUX('A', 11, AF5)>;
349				bias-pull-up;
350				drive-open-drain;
351			};
352
353			/omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 {
354				pinmux = <STM32_PINMUX('B', 10, AF1)>;
355				bias-pull-up;
356				drive-open-drain;
357			};
358
359			/omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 {
360				pinmux = <STM32_PINMUX('B', 13, AF5)>;
361				bias-pull-up;
362				drive-open-drain;
363			};
364
365			/* I2C_SDA */
366
367			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
368				pinmux = <STM32_PINMUX('A', 10, AF4)>;
369				bias-pull-up;
370				drive-open-drain;
371			};
372
373			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
374				pinmux = <STM32_PINMUX('B', 7, AF1)>;
375				bias-pull-up;
376				drive-open-drain;
377			};
378
379			/omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 {
380				pinmux = <STM32_PINMUX('B', 9, AF1)>;
381				bias-pull-up;
382				drive-open-drain;
383			};
384
385			/omit-if-no-ref/ i2c1_sda_pf0: i2c1_sda_pf0 {
386				pinmux = <STM32_PINMUX('F', 0, AF1)>;
387				bias-pull-up;
388				drive-open-drain;
389			};
390
391			/omit-if-no-ref/ i2c2_sda_pa12: i2c2_sda_pa12 {
392				pinmux = <STM32_PINMUX('A', 12, AF5)>;
393				bias-pull-up;
394				drive-open-drain;
395			};
396
397			/omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 {
398				pinmux = <STM32_PINMUX('B', 11, AF1)>;
399				bias-pull-up;
400				drive-open-drain;
401			};
402
403			/omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 {
404				pinmux = <STM32_PINMUX('B', 14, AF5)>;
405				bias-pull-up;
406				drive-open-drain;
407			};
408
409			/* I2C_SMBA */
410
411			/omit-if-no-ref/ i2c1_smba_pb5: i2c1_smba_pb5 {
412				pinmux = <STM32_PINMUX('B', 5, AF3)>;
413				bias-pull-up;
414			};
415
416			/* I2S_CK */
417
418			/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
419				pinmux = <STM32_PINMUX('A', 5, AF0)>;
420				slew-rate = "very-high-speed";
421			};
422
423			/omit-if-no-ref/ i2s1_ck_pb3: i2s1_ck_pb3 {
424				pinmux = <STM32_PINMUX('B', 3, AF0)>;
425				slew-rate = "very-high-speed";
426			};
427
428			/omit-if-no-ref/ i2s2_ck_pb10: i2s2_ck_pb10 {
429				pinmux = <STM32_PINMUX('B', 10, AF5)>;
430				slew-rate = "very-high-speed";
431			};
432
433			/omit-if-no-ref/ i2s2_ck_pb13: i2s2_ck_pb13 {
434				pinmux = <STM32_PINMUX('B', 13, AF0)>;
435				slew-rate = "very-high-speed";
436			};
437
438			/* I2S_MCK */
439
440			/omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 {
441				pinmux = <STM32_PINMUX('A', 6, AF0)>;
442				slew-rate = "very-high-speed";
443			};
444
445			/omit-if-no-ref/ i2s1_mck_pb4: i2s1_mck_pb4 {
446				pinmux = <STM32_PINMUX('B', 4, AF0)>;
447				slew-rate = "very-high-speed";
448			};
449
450			/omit-if-no-ref/ i2s2_mck_pb14: i2s2_mck_pb14 {
451				pinmux = <STM32_PINMUX('B', 14, AF0)>;
452				slew-rate = "very-high-speed";
453			};
454
455			/omit-if-no-ref/ i2s2_mck_pc2: i2s2_mck_pc2 {
456				pinmux = <STM32_PINMUX('C', 2, AF1)>;
457				slew-rate = "very-high-speed";
458			};
459
460			/* I2S_SD */
461
462			/omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 {
463				pinmux = <STM32_PINMUX('A', 7, AF0)>;
464			};
465
466			/omit-if-no-ref/ i2s1_sd_pb5: i2s1_sd_pb5 {
467				pinmux = <STM32_PINMUX('B', 5, AF0)>;
468			};
469
470			/omit-if-no-ref/ i2s2_sd_pb15: i2s2_sd_pb15 {
471				pinmux = <STM32_PINMUX('B', 15, AF0)>;
472			};
473
474			/omit-if-no-ref/ i2s2_sd_pc3: i2s2_sd_pc3 {
475				pinmux = <STM32_PINMUX('C', 3, AF1)>;
476			};
477
478			/* I2S_WS */
479
480			/omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 {
481				pinmux = <STM32_PINMUX('A', 4, AF0)>;
482			};
483
484			/omit-if-no-ref/ i2s1_ws_pa15: i2s1_ws_pa15 {
485				pinmux = <STM32_PINMUX('A', 15, AF0)>;
486			};
487
488			/omit-if-no-ref/ i2s2_ws_pb9: i2s2_ws_pb9 {
489				pinmux = <STM32_PINMUX('B', 9, AF5)>;
490			};
491
492			/omit-if-no-ref/ i2s2_ws_pb12: i2s2_ws_pb12 {
493				pinmux = <STM32_PINMUX('B', 12, AF0)>;
494			};
495
496			/* JTAG PORT */
497
498			/omit-if-no-ref/ sys_swdio_pa13: sys_swdio_pa13 {
499				pinmux = <STM32_PINMUX('A', 13, AF0)>;
500			};
501
502			/omit-if-no-ref/ sys_swclk_pa14: sys_swclk_pa14 {
503				pinmux = <STM32_PINMUX('A', 14, AF0)>;
504			};
505
506			/* RCC_MCO */
507
508			/omit-if-no-ref/ rcc_mco_pa8: rcc_mco_pa8 {
509				pinmux = <STM32_PINMUX('A', 8, AF0)>;
510			};
511
512			/omit-if-no-ref/ rcc_mco_pa9: rcc_mco_pa9 {
513				pinmux = <STM32_PINMUX('A', 9, AF5)>;
514			};
515
516			/* SPI_MISO */
517
518			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
519				pinmux = <STM32_PINMUX('A', 6, AF0)>;
520				bias-pull-down;
521			};
522
523			/omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 {
524				pinmux = <STM32_PINMUX('B', 4, AF0)>;
525				bias-pull-down;
526			};
527
528			/omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 {
529				pinmux = <STM32_PINMUX('B', 14, AF0)>;
530				bias-pull-down;
531			};
532
533			/omit-if-no-ref/ spi2_miso_pc2: spi2_miso_pc2 {
534				pinmux = <STM32_PINMUX('C', 2, AF1)>;
535				bias-pull-down;
536			};
537
538			/* SPI_MOSI */
539
540			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
541				pinmux = <STM32_PINMUX('A', 7, AF0)>;
542				bias-pull-down;
543			};
544
545			/omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 {
546				pinmux = <STM32_PINMUX('B', 5, AF0)>;
547				bias-pull-down;
548			};
549
550			/omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 {
551				pinmux = <STM32_PINMUX('B', 15, AF0)>;
552				bias-pull-down;
553			};
554
555			/omit-if-no-ref/ spi2_mosi_pc3: spi2_mosi_pc3 {
556				pinmux = <STM32_PINMUX('C', 3, AF1)>;
557				bias-pull-down;
558			};
559
560			/* SPI_NSS */
561
562			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
563				pinmux = <STM32_PINMUX('A', 4, AF0)>;
564				bias-pull-up;
565			};
566
567			/omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 {
568				pinmux = <STM32_PINMUX('A', 15, AF0)>;
569				bias-pull-up;
570			};
571
572			/omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 {
573				pinmux = <STM32_PINMUX('B', 9, AF5)>;
574				bias-pull-up;
575			};
576
577			/omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 {
578				pinmux = <STM32_PINMUX('B', 12, AF0)>;
579				bias-pull-up;
580			};
581
582			/* SPI_SCK */
583
584			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
585				pinmux = <STM32_PINMUX('A', 5, AF0)>;
586				bias-pull-down;
587				slew-rate = "very-high-speed";
588			};
589
590			/omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 {
591				pinmux = <STM32_PINMUX('B', 3, AF0)>;
592				bias-pull-down;
593				slew-rate = "very-high-speed";
594			};
595
596			/omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 {
597				pinmux = <STM32_PINMUX('B', 10, AF5)>;
598				bias-pull-down;
599				slew-rate = "very-high-speed";
600			};
601
602			/omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 {
603				pinmux = <STM32_PINMUX('B', 13, AF0)>;
604				bias-pull-down;
605				slew-rate = "very-high-speed";
606			};
607
608			/* TIM_BKIN */
609
610			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
611				pinmux = <STM32_PINMUX('A', 6, AF2)>;
612			};
613
614			/omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 {
615				pinmux = <STM32_PINMUX('B', 12, AF2)>;
616			};
617
618			/omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 {
619				pinmux = <STM32_PINMUX('A', 9, AF0)>;
620			};
621
622			/omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 {
623				pinmux = <STM32_PINMUX('B', 12, AF5)>;
624			};
625
626			/omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 {
627				pinmux = <STM32_PINMUX('B', 5, AF2)>;
628			};
629
630			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
631				pinmux = <STM32_PINMUX('A', 10, AF0)>;
632			};
633
634			/omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 {
635				pinmux = <STM32_PINMUX('B', 4, AF5)>;
636			};
637
638			/* TIM_CH / TIM_CHN */
639
640			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
641				pinmux = <STM32_PINMUX('A', 7, AF2)>;
642			};
643
644			/omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 {
645				pinmux = <STM32_PINMUX('A', 8, AF2)>;
646			};
647
648			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
649				pinmux = <STM32_PINMUX('A', 9, AF2)>;
650			};
651
652			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
653				pinmux = <STM32_PINMUX('A', 10, AF2)>;
654			};
655
656			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
657				pinmux = <STM32_PINMUX('A', 11, AF2)>;
658			};
659
660			/omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 {
661				pinmux = <STM32_PINMUX('B', 0, AF2)>;
662			};
663
664			/omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 {
665				pinmux = <STM32_PINMUX('B', 1, AF2)>;
666			};
667
668			/omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 {
669				pinmux = <STM32_PINMUX('B', 13, AF2)>;
670			};
671
672			/omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 {
673				pinmux = <STM32_PINMUX('B', 14, AF2)>;
674			};
675
676			/omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 {
677				pinmux = <STM32_PINMUX('B', 15, AF2)>;
678			};
679
680			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
681				pinmux = <STM32_PINMUX('A', 0, AF2)>;
682			};
683
684			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
685				pinmux = <STM32_PINMUX('A', 1, AF2)>;
686			};
687
688			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
689				pinmux = <STM32_PINMUX('A', 2, AF2)>;
690			};
691
692			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
693				pinmux = <STM32_PINMUX('A', 3, AF2)>;
694			};
695
696			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
697				pinmux = <STM32_PINMUX('A', 5, AF2)>;
698			};
699
700			/omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 {
701				pinmux = <STM32_PINMUX('A', 15, AF2)>;
702			};
703
704			/omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 {
705				pinmux = <STM32_PINMUX('B', 3, AF2)>;
706			};
707
708			/omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 {
709				pinmux = <STM32_PINMUX('B', 10, AF2)>;
710			};
711
712			/omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 {
713				pinmux = <STM32_PINMUX('B', 11, AF2)>;
714			};
715
716			/omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 {
717				pinmux = <STM32_PINMUX('A', 6, AF1)>;
718			};
719
720			/omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 {
721				pinmux = <STM32_PINMUX('A', 7, AF1)>;
722			};
723
724			/omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 {
725				pinmux = <STM32_PINMUX('B', 0, AF1)>;
726			};
727
728			/omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 {
729				pinmux = <STM32_PINMUX('B', 1, AF1)>;
730			};
731
732			/omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 {
733				pinmux = <STM32_PINMUX('B', 4, AF1)>;
734			};
735
736			/omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 {
737				pinmux = <STM32_PINMUX('B', 5, AF1)>;
738			};
739
740			/omit-if-no-ref/ tim3_ch1_pc6: tim3_ch1_pc6 {
741				pinmux = <STM32_PINMUX('C', 6, AF0)>;
742			};
743
744			/omit-if-no-ref/ tim3_ch2_pc7: tim3_ch2_pc7 {
745				pinmux = <STM32_PINMUX('C', 7, AF0)>;
746			};
747
748			/omit-if-no-ref/ tim3_ch3_pc8: tim3_ch3_pc8 {
749				pinmux = <STM32_PINMUX('C', 8, AF0)>;
750			};
751
752			/omit-if-no-ref/ tim3_ch4_pc9: tim3_ch4_pc9 {
753				pinmux = <STM32_PINMUX('C', 9, AF0)>;
754			};
755
756			/omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 {
757				pinmux = <STM32_PINMUX('A', 4, AF4)>;
758			};
759
760			/omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 {
761				pinmux = <STM32_PINMUX('A', 7, AF4)>;
762			};
763
764			/omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 {
765				pinmux = <STM32_PINMUX('B', 1, AF0)>;
766			};
767
768			/omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 {
769				pinmux = <STM32_PINMUX('A', 1, AF5)>;
770			};
771
772			/omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 {
773				pinmux = <STM32_PINMUX('A', 2, AF0)>;
774			};
775
776			/omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 {
777				pinmux = <STM32_PINMUX('A', 3, AF0)>;
778			};
779
780			/omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 {
781				pinmux = <STM32_PINMUX('B', 14, AF1)>;
782			};
783
784			/omit-if-no-ref/ tim15_ch1n_pb15: tim15_ch1n_pb15 {
785				pinmux = <STM32_PINMUX('B', 15, AF3)>;
786			};
787
788			/omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 {
789				pinmux = <STM32_PINMUX('B', 15, AF1)>;
790			};
791
792			/omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 {
793				pinmux = <STM32_PINMUX('A', 6, AF5)>;
794			};
795
796			/omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 {
797				pinmux = <STM32_PINMUX('B', 6, AF2)>;
798			};
799
800			/omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 {
801				pinmux = <STM32_PINMUX('B', 8, AF2)>;
802			};
803
804			/omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 {
805				pinmux = <STM32_PINMUX('A', 7, AF5)>;
806			};
807
808			/omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 {
809				pinmux = <STM32_PINMUX('B', 7, AF2)>;
810			};
811
812			/omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 {
813				pinmux = <STM32_PINMUX('B', 9, AF2)>;
814			};
815
816			/* UART_CTS / USART_CTS / LPUART_CTS */
817
818			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
819				pinmux = <STM32_PINMUX('A', 11, AF1)>;
820				bias-pull-up;
821				drive-open-drain;
822			};
823
824			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
825				pinmux = <STM32_PINMUX('A', 0, AF1)>;
826				bias-pull-up;
827				drive-open-drain;
828			};
829
830			/omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 {
831				pinmux = <STM32_PINMUX('A', 6, AF4)>;
832				bias-pull-up;
833				drive-open-drain;
834			};
835
836			/omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 {
837				pinmux = <STM32_PINMUX('B', 13, AF4)>;
838				bias-pull-up;
839				drive-open-drain;
840			};
841
842			/omit-if-no-ref/ usart4_cts_pb7: usart4_cts_pb7 {
843				pinmux = <STM32_PINMUX('B', 7, AF4)>;
844				bias-pull-up;
845				drive-open-drain;
846			};
847
848			/* UART_DE / USART_DE / LPUART_DE */
849
850			/omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 {
851				pinmux = <STM32_PINMUX('A', 12, AF1)>;
852				drive-push-pull;
853			};
854
855			/omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 {
856				pinmux = <STM32_PINMUX('A', 1, AF1)>;
857				drive-push-pull;
858			};
859
860			/omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 {
861				pinmux = <STM32_PINMUX('B', 1, AF4)>;
862				drive-push-pull;
863			};
864
865			/omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 {
866				pinmux = <STM32_PINMUX('B', 14, AF4)>;
867				drive-push-pull;
868			};
869
870			/omit-if-no-ref/ usart3_de_pd2: usart3_de_pd2 {
871				pinmux = <STM32_PINMUX('D', 2, AF1)>;
872				drive-push-pull;
873			};
874
875			/omit-if-no-ref/ usart4_de_pa15: usart4_de_pa15 {
876				pinmux = <STM32_PINMUX('A', 15, AF4)>;
877				drive-push-pull;
878			};
879
880			/omit-if-no-ref/ usart5_de_pb5: usart5_de_pb5 {
881				pinmux = <STM32_PINMUX('B', 5, AF4)>;
882				drive-push-pull;
883			};
884
885			/* UART_RTS / USART_RTS / LPUART_RTS */
886
887			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
888				pinmux = <STM32_PINMUX('A', 12, AF1)>;
889				bias-pull-up;
890				drive-open-drain;
891			};
892
893			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
894				pinmux = <STM32_PINMUX('A', 1, AF1)>;
895				bias-pull-up;
896				drive-open-drain;
897			};
898
899			/omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 {
900				pinmux = <STM32_PINMUX('B', 1, AF4)>;
901				bias-pull-up;
902				drive-open-drain;
903			};
904
905			/omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 {
906				pinmux = <STM32_PINMUX('B', 14, AF4)>;
907				bias-pull-up;
908				drive-open-drain;
909			};
910
911			/omit-if-no-ref/ usart3_rts_pd2: usart3_rts_pd2 {
912				pinmux = <STM32_PINMUX('D', 2, AF1)>;
913				bias-pull-up;
914				drive-open-drain;
915			};
916
917			/omit-if-no-ref/ usart4_rts_pa15: usart4_rts_pa15 {
918				pinmux = <STM32_PINMUX('A', 15, AF4)>;
919				bias-pull-up;
920				drive-open-drain;
921			};
922
923			/omit-if-no-ref/ usart5_rts_pb5: usart5_rts_pb5 {
924				pinmux = <STM32_PINMUX('B', 5, AF4)>;
925				bias-pull-up;
926				drive-open-drain;
927			};
928
929			/* UART_RX / USART_RX / LPUART_RX */
930
931			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
932				pinmux = <STM32_PINMUX('A', 10, AF1)>;
933			};
934
935			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
936				pinmux = <STM32_PINMUX('B', 7, AF0)>;
937			};
938
939			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
940				pinmux = <STM32_PINMUX('A', 3, AF1)>;
941			};
942
943			/omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 {
944				pinmux = <STM32_PINMUX('A', 15, AF1)>;
945			};
946
947			/omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 {
948				pinmux = <STM32_PINMUX('B', 11, AF4)>;
949			};
950
951			/omit-if-no-ref/ usart3_rx_pc5: usart3_rx_pc5 {
952				pinmux = <STM32_PINMUX('C', 5, AF1)>;
953			};
954
955			/omit-if-no-ref/ usart3_rx_pc11: usart3_rx_pc11 {
956				pinmux = <STM32_PINMUX('C', 11, AF1)>;
957			};
958
959			/omit-if-no-ref/ usart4_rx_pa1: usart4_rx_pa1 {
960				pinmux = <STM32_PINMUX('A', 1, AF4)>;
961			};
962
963			/omit-if-no-ref/ usart4_rx_pc11: usart4_rx_pc11 {
964				pinmux = <STM32_PINMUX('C', 11, AF0)>;
965			};
966
967			/omit-if-no-ref/ usart5_rx_pb4: usart5_rx_pb4 {
968				pinmux = <STM32_PINMUX('B', 4, AF4)>;
969			};
970
971			/omit-if-no-ref/ usart5_rx_pd2: usart5_rx_pd2 {
972				pinmux = <STM32_PINMUX('D', 2, AF2)>;
973			};
974
975			/omit-if-no-ref/ usart6_rx_pa5: usart6_rx_pa5 {
976				pinmux = <STM32_PINMUX('A', 5, AF5)>;
977			};
978
979			/omit-if-no-ref/ usart6_rx_pc1: usart6_rx_pc1 {
980				pinmux = <STM32_PINMUX('C', 1, AF2)>;
981			};
982
983			/omit-if-no-ref/ usart7_rx_pc1: usart7_rx_pc1 {
984				pinmux = <STM32_PINMUX('C', 1, AF1)>;
985			};
986
987			/omit-if-no-ref/ usart7_rx_pc7: usart7_rx_pc7 {
988				pinmux = <STM32_PINMUX('C', 7, AF1)>;
989			};
990
991			/omit-if-no-ref/ usart8_rx_pc3: usart8_rx_pc3 {
992				pinmux = <STM32_PINMUX('C', 3, AF2)>;
993			};
994
995			/omit-if-no-ref/ usart8_rx_pc9: usart8_rx_pc9 {
996				pinmux = <STM32_PINMUX('C', 9, AF1)>;
997			};
998
999			/* UART_TX / USART_TX / LPUART_TX */
1000
1001			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
1002				pinmux = <STM32_PINMUX('A', 9, AF1)>;
1003				bias-pull-up;
1004			};
1005
1006			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
1007				pinmux = <STM32_PINMUX('B', 6, AF0)>;
1008				bias-pull-up;
1009			};
1010
1011			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
1012				pinmux = <STM32_PINMUX('A', 2, AF1)>;
1013				bias-pull-up;
1014			};
1015
1016			/omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 {
1017				pinmux = <STM32_PINMUX('A', 14, AF1)>;
1018				bias-pull-up;
1019			};
1020
1021			/omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 {
1022				pinmux = <STM32_PINMUX('B', 10, AF4)>;
1023				bias-pull-up;
1024			};
1025
1026			/omit-if-no-ref/ usart3_tx_pc4: usart3_tx_pc4 {
1027				pinmux = <STM32_PINMUX('C', 4, AF1)>;
1028				bias-pull-up;
1029			};
1030
1031			/omit-if-no-ref/ usart3_tx_pc10: usart3_tx_pc10 {
1032				pinmux = <STM32_PINMUX('C', 10, AF1)>;
1033				bias-pull-up;
1034			};
1035
1036			/omit-if-no-ref/ usart4_tx_pa0: usart4_tx_pa0 {
1037				pinmux = <STM32_PINMUX('A', 0, AF4)>;
1038				bias-pull-up;
1039			};
1040
1041			/omit-if-no-ref/ usart4_tx_pc10: usart4_tx_pc10 {
1042				pinmux = <STM32_PINMUX('C', 10, AF0)>;
1043				bias-pull-up;
1044			};
1045
1046			/omit-if-no-ref/ usart5_tx_pb3: usart5_tx_pb3 {
1047				pinmux = <STM32_PINMUX('B', 3, AF4)>;
1048				bias-pull-up;
1049			};
1050
1051			/omit-if-no-ref/ usart5_tx_pc12: usart5_tx_pc12 {
1052				pinmux = <STM32_PINMUX('C', 12, AF2)>;
1053				bias-pull-up;
1054			};
1055
1056			/omit-if-no-ref/ usart6_tx_pa4: usart6_tx_pa4 {
1057				pinmux = <STM32_PINMUX('A', 4, AF5)>;
1058				bias-pull-up;
1059			};
1060
1061			/omit-if-no-ref/ usart6_tx_pc0: usart6_tx_pc0 {
1062				pinmux = <STM32_PINMUX('C', 0, AF2)>;
1063				bias-pull-up;
1064			};
1065
1066			/omit-if-no-ref/ usart7_tx_pc0: usart7_tx_pc0 {
1067				pinmux = <STM32_PINMUX('C', 0, AF1)>;
1068				bias-pull-up;
1069			};
1070
1071			/omit-if-no-ref/ usart7_tx_pc6: usart7_tx_pc6 {
1072				pinmux = <STM32_PINMUX('C', 6, AF1)>;
1073				bias-pull-up;
1074			};
1075
1076			/omit-if-no-ref/ usart8_tx_pc2: usart8_tx_pc2 {
1077				pinmux = <STM32_PINMUX('C', 2, AF2)>;
1078				bias-pull-up;
1079			};
1080
1081			/omit-if-no-ref/ usart8_tx_pc8: usart8_tx_pc8 {
1082				pinmux = <STM32_PINMUX('C', 8, AF1)>;
1083				bias-pull-up;
1084			};
1085
1086		};
1087	};
1088};