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/ adc1_in5_pa0: adc1_in5_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			/omit-if-no-ref/ adc1_in6_pa1: adc1_in6_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			/omit-if-no-ref/ adc1_in7_pa2: adc1_in7_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			/omit-if-no-ref/ adc1_in8_pa3: adc1_in8_pa3 {
28				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
29			};
30
31			/omit-if-no-ref/ adc1_in9_pa4: adc1_in9_pa4 {
32				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
33			};
34
35			/omit-if-no-ref/ adc1_in10_pa5: adc1_in10_pa5 {
36				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
37			};
38
39			/omit-if-no-ref/ adc1_in11_pa6: adc1_in11_pa6 {
40				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
41			};
42
43			/omit-if-no-ref/ adc1_in12_pa7: adc1_in12_pa7 {
44				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
45			};
46
47			/omit-if-no-ref/ adc1_in15_pb0: adc1_in15_pb0 {
48				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
49			};
50
51			/omit-if-no-ref/ adc1_in16_pb1: adc1_in16_pb1 {
52				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
53			};
54
55			/omit-if-no-ref/ adc2_in5_pa0: adc2_in5_pa0 {
56				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
57			};
58
59			/omit-if-no-ref/ adc2_in6_pa1: adc2_in6_pa1 {
60				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
61			};
62
63			/omit-if-no-ref/ adc2_in7_pa2: adc2_in7_pa2 {
64				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
65			};
66
67			/omit-if-no-ref/ adc2_in8_pa3: adc2_in8_pa3 {
68				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
69			};
70
71			/omit-if-no-ref/ adc2_in9_pa4: adc2_in9_pa4 {
72				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
73			};
74
75			/omit-if-no-ref/ adc2_in10_pa5: adc2_in10_pa5 {
76				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
77			};
78
79			/omit-if-no-ref/ adc2_in11_pa6: adc2_in11_pa6 {
80				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
81			};
82
83			/omit-if-no-ref/ adc2_in12_pa7: adc2_in12_pa7 {
84				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
85			};
86
87			/omit-if-no-ref/ adc2_in15_pb0: adc2_in15_pb0 {
88				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
89			};
90
91			/omit-if-no-ref/ adc2_in16_pb1: adc2_in16_pb1 {
92				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
93			};
94
95			/* Analog */
96
97			/omit-if-no-ref/ analog_pa0: analog_pa0 {
98				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pa1: analog_pa1 {
102				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
103			};
104
105			/omit-if-no-ref/ analog_pa2: analog_pa2 {
106				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
107			};
108
109			/omit-if-no-ref/ analog_pa3: analog_pa3 {
110				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
111			};
112
113			/omit-if-no-ref/ analog_pa4: analog_pa4 {
114				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
115			};
116
117			/omit-if-no-ref/ analog_pa5: analog_pa5 {
118				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
119			};
120
121			/omit-if-no-ref/ analog_pa6: analog_pa6 {
122				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
123			};
124
125			/omit-if-no-ref/ analog_pa7: analog_pa7 {
126				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
127			};
128
129			/omit-if-no-ref/ analog_pa8: analog_pa8 {
130				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
131			};
132
133			/omit-if-no-ref/ analog_pa9: analog_pa9 {
134				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
135			};
136
137			/omit-if-no-ref/ analog_pa10: analog_pa10 {
138				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
139			};
140
141			/omit-if-no-ref/ analog_pa11: analog_pa11 {
142				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
143			};
144
145			/omit-if-no-ref/ analog_pa12: analog_pa12 {
146				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
147			};
148
149			/omit-if-no-ref/ analog_pa13: analog_pa13 {
150				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
151			};
152
153			/omit-if-no-ref/ analog_pa14: analog_pa14 {
154				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
155			};
156
157			/omit-if-no-ref/ analog_pa15: analog_pa15 {
158				pinmux = <STM32_PINMUX('A', 15, ANALOG)>;
159			};
160
161			/omit-if-no-ref/ analog_pb0: analog_pb0 {
162				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
163			};
164
165			/omit-if-no-ref/ analog_pb1: analog_pb1 {
166				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
167			};
168
169			/omit-if-no-ref/ analog_pb2: analog_pb2 {
170				pinmux = <STM32_PINMUX('B', 2, ANALOG)>;
171			};
172
173			/omit-if-no-ref/ analog_pb3: analog_pb3 {
174				pinmux = <STM32_PINMUX('B', 3, ANALOG)>;
175			};
176
177			/omit-if-no-ref/ analog_pb4: analog_pb4 {
178				pinmux = <STM32_PINMUX('B', 4, ANALOG)>;
179			};
180
181			/omit-if-no-ref/ analog_pb5: analog_pb5 {
182				pinmux = <STM32_PINMUX('B', 5, ANALOG)>;
183			};
184
185			/omit-if-no-ref/ analog_pb6: analog_pb6 {
186				pinmux = <STM32_PINMUX('B', 6, ANALOG)>;
187			};
188
189			/omit-if-no-ref/ analog_pb7: analog_pb7 {
190				pinmux = <STM32_PINMUX('B', 7, ANALOG)>;
191			};
192
193			/omit-if-no-ref/ analog_pb9: analog_pb9 {
194				pinmux = <STM32_PINMUX('B', 9, ANALOG)>;
195			};
196
197			/omit-if-no-ref/ analog_pb10: analog_pb10 {
198				pinmux = <STM32_PINMUX('B', 10, ANALOG)>;
199			};
200
201			/omit-if-no-ref/ analog_pb12: analog_pb12 {
202				pinmux = <STM32_PINMUX('B', 12, ANALOG)>;
203			};
204
205			/omit-if-no-ref/ analog_pb13: analog_pb13 {
206				pinmux = <STM32_PINMUX('B', 13, ANALOG)>;
207			};
208
209			/omit-if-no-ref/ analog_pb14: analog_pb14 {
210				pinmux = <STM32_PINMUX('B', 14, ANALOG)>;
211			};
212
213			/omit-if-no-ref/ analog_pb15: analog_pb15 {
214				pinmux = <STM32_PINMUX('B', 15, ANALOG)>;
215			};
216
217			/omit-if-no-ref/ analog_pc13: analog_pc13 {
218				pinmux = <STM32_PINMUX('C', 13, ANALOG)>;
219			};
220
221			/omit-if-no-ref/ analog_pc14: analog_pc14 {
222				pinmux = <STM32_PINMUX('C', 14, ANALOG)>;
223			};
224
225			/omit-if-no-ref/ analog_pc15: analog_pc15 {
226				pinmux = <STM32_PINMUX('C', 15, ANALOG)>;
227			};
228
229			/omit-if-no-ref/ analog_ph0: analog_ph0 {
230				pinmux = <STM32_PINMUX('H', 0, ANALOG)>;
231			};
232
233			/omit-if-no-ref/ analog_ph1: analog_ph1 {
234				pinmux = <STM32_PINMUX('H', 1, ANALOG)>;
235			};
236
237			/omit-if-no-ref/ analog_ph3: analog_ph3 {
238				pinmux = <STM32_PINMUX('H', 3, ANALOG)>;
239			};
240
241			/* CAN_RX */
242
243			/omit-if-no-ref/ can1_rx_pa11: can1_rx_pa11 {
244				pinmux = <STM32_PINMUX('A', 11, AF9)>;
245				bias-pull-up;
246			};
247
248			/* CAN_TX */
249
250			/omit-if-no-ref/ can1_tx_pa12: can1_tx_pa12 {
251				pinmux = <STM32_PINMUX('A', 12, AF9)>;
252			};
253
254			/omit-if-no-ref/ can1_tx_pb9: can1_tx_pb9 {
255				pinmux = <STM32_PINMUX('B', 9, AF9)>;
256			};
257
258			/* DAC_OUT */
259
260			/omit-if-no-ref/ dac1_out1_pa4: dac1_out1_pa4 {
261				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
262			};
263
264			/omit-if-no-ref/ dac1_out2_pa5: dac1_out2_pa5 {
265				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
266			};
267
268			/* I2C_SCL */
269
270			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
271				pinmux = <STM32_PINMUX('B', 6, AF4)>;
272				bias-pull-up;
273				drive-open-drain;
274			};
275
276			/omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 {
277				pinmux = <STM32_PINMUX('B', 10, AF4)>;
278				bias-pull-up;
279				drive-open-drain;
280			};
281
282			/omit-if-no-ref/ i2c2_scl_pb13: i2c2_scl_pb13 {
283				pinmux = <STM32_PINMUX('B', 13, AF4)>;
284				bias-pull-up;
285				drive-open-drain;
286			};
287
288			/omit-if-no-ref/ i2c3_scl_pa7: i2c3_scl_pa7 {
289				pinmux = <STM32_PINMUX('A', 7, AF4)>;
290				bias-pull-up;
291				drive-open-drain;
292			};
293
294			/omit-if-no-ref/ i2c4_scl_pb6: i2c4_scl_pb6 {
295				pinmux = <STM32_PINMUX('B', 6, AF5)>;
296				bias-pull-up;
297				drive-open-drain;
298			};
299
300			/omit-if-no-ref/ i2c4_scl_pb10: i2c4_scl_pb10 {
301				pinmux = <STM32_PINMUX('B', 10, AF3)>;
302				bias-pull-up;
303				drive-open-drain;
304			};
305
306			/* I2C_SDA */
307
308			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
309				pinmux = <STM32_PINMUX('B', 7, AF4)>;
310				bias-pull-up;
311				drive-open-drain;
312			};
313
314			/omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 {
315				pinmux = <STM32_PINMUX('B', 9, AF4)>;
316				bias-pull-up;
317				drive-open-drain;
318			};
319
320			/omit-if-no-ref/ i2c2_sda_pb14: i2c2_sda_pb14 {
321				pinmux = <STM32_PINMUX('B', 14, AF4)>;
322				bias-pull-up;
323				drive-open-drain;
324			};
325
326			/omit-if-no-ref/ i2c3_sda_pb4: i2c3_sda_pb4 {
327				pinmux = <STM32_PINMUX('B', 4, AF4)>;
328				bias-pull-up;
329				drive-open-drain;
330			};
331
332			/omit-if-no-ref/ i2c4_sda_pb7: i2c4_sda_pb7 {
333				pinmux = <STM32_PINMUX('B', 7, AF5)>;
334				bias-pull-up;
335				drive-open-drain;
336			};
337
338			/* LTDC */
339
340			/omit-if-no-ref/ ltdc_clk_pa4: ltdc_clk_pa4 {
341				pinmux = <STM32_PINMUX('A', 4, AF11)>;
342			};
343
344			/omit-if-no-ref/ ltdc_r7_pa5: ltdc_r7_pa5 {
345				pinmux = <STM32_PINMUX('A', 5, AF11)>;
346			};
347
348			/omit-if-no-ref/ ltdc_b7_pa8: ltdc_b7_pa8 {
349				pinmux = <STM32_PINMUX('A', 8, AF11)>;
350			};
351
352			/omit-if-no-ref/ ltdc_g7_pa9: ltdc_g7_pa9 {
353				pinmux = <STM32_PINMUX('A', 9, AF11)>;
354			};
355
356			/omit-if-no-ref/ ltdc_g6_pa10: ltdc_g6_pa10 {
357				pinmux = <STM32_PINMUX('A', 10, AF11)>;
358			};
359
360			/omit-if-no-ref/ ltdc_de_pa11: ltdc_de_pa11 {
361				pinmux = <STM32_PINMUX('A', 11, AF11)>;
362			};
363
364			/omit-if-no-ref/ ltdc_vsync_pa12: ltdc_vsync_pa12 {
365				pinmux = <STM32_PINMUX('A', 12, AF11)>;
366			};
367
368			/omit-if-no-ref/ ltdc_hsync_pa15: ltdc_hsync_pa15 {
369				pinmux = <STM32_PINMUX('A', 15, AF11)>;
370			};
371
372			/omit-if-no-ref/ ltdc_b6_pb0: ltdc_b6_pb0 {
373				pinmux = <STM32_PINMUX('B', 0, AF11)>;
374			};
375
376			/omit-if-no-ref/ ltdc_g6_pb1: ltdc_g6_pb1 {
377				pinmux = <STM32_PINMUX('B', 1, AF11)>;
378			};
379
380			/omit-if-no-ref/ ltdc_r6_pb6: ltdc_r6_pb6 {
381				pinmux = <STM32_PINMUX('B', 6, AF11)>;
382			};
383
384			/omit-if-no-ref/ ltdc_vsync_pb7: ltdc_vsync_pb7 {
385				pinmux = <STM32_PINMUX('B', 7, AF11)>;
386			};
387
388			/* OCTOSPI */
389
390			/omit-if-no-ref/ octospim_p1_dqs_pa1: octospim_p1_dqs_pa1 {
391				pinmux = <STM32_PINMUX('A', 1, AF10)>;
392				slew-rate = "very-high-speed";
393			};
394
395			/omit-if-no-ref/ octospim_p1_ncs_pa2: octospim_p1_ncs_pa2 {
396				pinmux = <STM32_PINMUX('A', 2, AF10)>;
397				slew-rate = "very-high-speed";
398			};
399
400			/omit-if-no-ref/ octospim_p1_clk_pa3: octospim_p1_clk_pa3 {
401				pinmux = <STM32_PINMUX('A', 3, AF10)>;
402				slew-rate = "very-high-speed";
403			};
404
405			/omit-if-no-ref/ octospim_p1_ncs_pa4: octospim_p1_ncs_pa4 {
406				pinmux = <STM32_PINMUX('A', 4, AF3)>;
407				slew-rate = "very-high-speed";
408			};
409
410			/omit-if-no-ref/ octospim_p1_io3_pa6: octospim_p1_io3_pa6 {
411				pinmux = <STM32_PINMUX('A', 6, AF10)>;
412				slew-rate = "very-high-speed";
413			};
414
415			/omit-if-no-ref/ octospim_p1_io2_pa7: octospim_p1_io2_pa7 {
416				pinmux = <STM32_PINMUX('A', 7, AF10)>;
417				slew-rate = "very-high-speed";
418			};
419
420			/omit-if-no-ref/ octospim_p2_ncs_pa12: octospim_p2_ncs_pa12 {
421				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
422				slew-rate = "very-high-speed";
423			};
424
425			/omit-if-no-ref/ octospim_p1_io1_pb0: octospim_p1_io1_pb0 {
426				pinmux = <STM32_PINMUX('B', 0, AF10)>;
427				slew-rate = "very-high-speed";
428			};
429
430			/omit-if-no-ref/ octospim_p1_io0_pb1: octospim_p1_io0_pb1 {
431				pinmux = <STM32_PINMUX('B', 1, AF10)>;
432				slew-rate = "very-high-speed";
433			};
434
435			/omit-if-no-ref/ octospim_p1_dqs_pb2: octospim_p1_dqs_pb2 {
436				pinmux = <STM32_PINMUX('B', 2, AF10)>;
437				slew-rate = "very-high-speed";
438			};
439
440			/omit-if-no-ref/ octospim_p1_io4_pb3: octospim_p1_io4_pb3 {
441				pinmux = <STM32_PINMUX('B', 3, AF3)>;
442				slew-rate = "very-high-speed";
443			};
444
445			/omit-if-no-ref/ octospim_p1_io5_pb4: octospim_p1_io5_pb4 {
446				pinmux = <STM32_PINMUX('B', 4, AF3)>;
447				slew-rate = "very-high-speed";
448			};
449
450			/omit-if-no-ref/ octospim_p1_io0_pb5: octospim_p1_io0_pb5 {
451				pinmux = <STM32_PINMUX('B', 5, AF3)>;
452				slew-rate = "very-high-speed";
453			};
454
455			/omit-if-no-ref/ octospim_p1_clk_pb10: octospim_p1_clk_pb10 {
456				pinmux = <STM32_PINMUX('B', 10, AF10)>;
457				slew-rate = "very-high-speed";
458			};
459
460			/omit-if-no-ref/ octospim_p1_io3_pb10: octospim_p1_io3_pb10 {
461				pinmux = <STM32_PINMUX('B', 10, AF6)>;
462				slew-rate = "very-high-speed";
463			};
464
465			/omit-if-no-ref/ octospim_p1_nclk_pb12: octospim_p1_nclk_pb12 {
466				pinmux = <STM32_PINMUX('B', 12, AF10)>;
467				slew-rate = "very-high-speed";
468			};
469
470			/omit-if-no-ref/ octospim_p1_io1_pb13: octospim_p1_io1_pb13 {
471				pinmux = <STM32_PINMUX('B', 13, AF10)>;
472				slew-rate = "very-high-speed";
473			};
474
475			/omit-if-no-ref/ octospim_p1_io6_pb14: octospim_p1_io6_pb14 {
476				pinmux = <STM32_PINMUX('B', 14, AF10)>;
477				slew-rate = "very-high-speed";
478			};
479
480			/omit-if-no-ref/ octospim_p1_io7_pb15: octospim_p1_io7_pb15 {
481				pinmux = <STM32_PINMUX('B', 15, AF10)>;
482				slew-rate = "very-high-speed";
483			};
484
485			/* SDMMC */
486
487			/omit-if-no-ref/ sdmmc2_cmd_pa1: sdmmc2_cmd_pa1 {
488				pinmux = <STM32_PINMUX('A', 1, AF12)>;
489				bias-pull-up;
490				slew-rate = "very-high-speed";
491			};
492
493			/omit-if-no-ref/ sdmmc2_d2_pb3: sdmmc2_d2_pb3 {
494				pinmux = <STM32_PINMUX('B', 3, AF12)>;
495				bias-pull-up;
496				slew-rate = "very-high-speed";
497			};
498
499			/omit-if-no-ref/ sdmmc2_d3_pb4: sdmmc2_d3_pb4 {
500				pinmux = <STM32_PINMUX('B', 4, AF12)>;
501				bias-pull-up;
502				slew-rate = "very-high-speed";
503			};
504
505			/omit-if-no-ref/ sdmmc2_d5_pb9: sdmmc2_d5_pb9 {
506				pinmux = <STM32_PINMUX('B', 9, AF7)>;
507				bias-pull-up;
508				slew-rate = "very-high-speed";
509			};
510
511			/omit-if-no-ref/ sdmmc2_ck_pb12: sdmmc2_ck_pb12 {
512				pinmux = <STM32_PINMUX('B', 12, AF12)>;
513				bias-pull-up;
514				slew-rate = "very-high-speed";
515			};
516
517			/omit-if-no-ref/ sdmmc2_d0_pb14: sdmmc2_d0_pb14 {
518				pinmux = <STM32_PINMUX('B', 14, AF11)>;
519				bias-pull-up;
520				slew-rate = "very-high-speed";
521			};
522
523			/omit-if-no-ref/ sdmmc2_d1_pb15: sdmmc2_d1_pb15 {
524				pinmux = <STM32_PINMUX('B', 15, AF11)>;
525				bias-pull-up;
526				slew-rate = "very-high-speed";
527			};
528
529			/* SPI_MISO */
530
531			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
532				pinmux = <STM32_PINMUX('A', 6, AF5)>;
533				bias-pull-down;
534			};
535
536			/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
537				pinmux = <STM32_PINMUX('A', 11, AF5)>;
538				bias-pull-down;
539			};
540
541			/omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 {
542				pinmux = <STM32_PINMUX('B', 4, AF5)>;
543				bias-pull-down;
544			};
545
546			/omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 {
547				pinmux = <STM32_PINMUX('B', 14, AF5)>;
548				bias-pull-down;
549			};
550
551			/omit-if-no-ref/ spi3_miso_pb4: spi3_miso_pb4 {
552				pinmux = <STM32_PINMUX('B', 4, AF6)>;
553				bias-pull-down;
554			};
555
556			/* SPI_MOSI */
557
558			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
559				pinmux = <STM32_PINMUX('A', 7, AF5)>;
560				bias-pull-down;
561			};
562
563			/omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 {
564				pinmux = <STM32_PINMUX('A', 12, AF5)>;
565				bias-pull-down;
566			};
567
568			/omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 {
569				pinmux = <STM32_PINMUX('B', 5, AF5)>;
570				bias-pull-down;
571			};
572
573			/omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 {
574				pinmux = <STM32_PINMUX('B', 15, AF5)>;
575				bias-pull-down;
576			};
577
578			/omit-if-no-ref/ spi3_mosi_pb5: spi3_mosi_pb5 {
579				pinmux = <STM32_PINMUX('B', 5, AF6)>;
580				bias-pull-down;
581			};
582
583			/* SPI_NSS */
584
585			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
586				pinmux = <STM32_PINMUX('A', 4, AF5)>;
587				bias-pull-up;
588			};
589
590			/omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 {
591				pinmux = <STM32_PINMUX('A', 15, AF5)>;
592				bias-pull-up;
593			};
594
595			/omit-if-no-ref/ spi1_nss_pb0: spi1_nss_pb0 {
596				pinmux = <STM32_PINMUX('B', 0, AF5)>;
597				bias-pull-up;
598			};
599
600			/omit-if-no-ref/ spi2_nss_pb9: spi2_nss_pb9 {
601				pinmux = <STM32_PINMUX('B', 9, AF5)>;
602				bias-pull-up;
603			};
604
605			/omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 {
606				pinmux = <STM32_PINMUX('B', 12, AF5)>;
607				bias-pull-up;
608			};
609
610			/omit-if-no-ref/ spi3_nss_pa4: spi3_nss_pa4 {
611				pinmux = <STM32_PINMUX('A', 4, AF6)>;
612				bias-pull-up;
613			};
614
615			/omit-if-no-ref/ spi3_nss_pa15: spi3_nss_pa15 {
616				pinmux = <STM32_PINMUX('A', 15, AF6)>;
617				bias-pull-up;
618			};
619
620			/* SPI_SCK */
621
622			/omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 {
623				pinmux = <STM32_PINMUX('A', 1, AF5)>;
624				bias-pull-down;
625				slew-rate = "very-high-speed";
626			};
627
628			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
629				pinmux = <STM32_PINMUX('A', 5, AF5)>;
630				bias-pull-down;
631				slew-rate = "very-high-speed";
632			};
633
634			/omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 {
635				pinmux = <STM32_PINMUX('B', 3, AF5)>;
636				bias-pull-down;
637				slew-rate = "very-high-speed";
638			};
639
640			/omit-if-no-ref/ spi2_sck_pa9: spi2_sck_pa9 {
641				pinmux = <STM32_PINMUX('A', 9, AF3)>;
642				bias-pull-down;
643				slew-rate = "very-high-speed";
644			};
645
646			/omit-if-no-ref/ spi2_sck_pb10: spi2_sck_pb10 {
647				pinmux = <STM32_PINMUX('B', 10, AF5)>;
648				bias-pull-down;
649				slew-rate = "very-high-speed";
650			};
651
652			/omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 {
653				pinmux = <STM32_PINMUX('B', 13, AF5)>;
654				bias-pull-down;
655				slew-rate = "very-high-speed";
656			};
657
658			/omit-if-no-ref/ spi3_sck_pb3: spi3_sck_pb3 {
659				pinmux = <STM32_PINMUX('B', 3, AF6)>;
660				bias-pull-down;
661				slew-rate = "very-high-speed";
662			};
663
664			/* TIM_BKIN */
665
666			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
667				pinmux = <STM32_PINMUX('A', 6, AF12)>;
668			};
669
670			/omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 {
671				pinmux = <STM32_PINMUX('A', 11, AF12)>;
672			};
673
674			/omit-if-no-ref/ tim1_bkin_pb12: tim1_bkin_pb12 {
675				pinmux = <STM32_PINMUX('B', 12, AF3)>;
676			};
677
678			/omit-if-no-ref/ tim15_bkin_pa9: tim15_bkin_pa9 {
679				pinmux = <STM32_PINMUX('A', 9, AF14)>;
680			};
681
682			/omit-if-no-ref/ tim15_bkin_pb12: tim15_bkin_pb12 {
683				pinmux = <STM32_PINMUX('B', 12, AF14)>;
684			};
685
686			/omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 {
687				pinmux = <STM32_PINMUX('B', 5, AF14)>;
688			};
689
690			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
691				pinmux = <STM32_PINMUX('A', 10, AF14)>;
692			};
693
694			/omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 {
695				pinmux = <STM32_PINMUX('B', 4, AF14)>;
696			};
697
698			/omit-if-no-ref/ tim8_bkin_pa6: tim8_bkin_pa6 {
699				pinmux = <STM32_PINMUX('A', 6, AF13)>;
700			};
701
702			/omit-if-no-ref/ tim8_bkin2_pb6: tim8_bkin2_pb6 {
703				pinmux = <STM32_PINMUX('B', 6, AF12)>;
704			};
705
706			/omit-if-no-ref/ tim8_bkin_pb7: tim8_bkin_pb7 {
707				pinmux = <STM32_PINMUX('B', 7, AF13)>;
708			};
709
710			/* TIM_CH / TIM_CHN */
711
712			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
713				pinmux = <STM32_PINMUX('A', 7, AF1)>;
714			};
715
716			/omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 {
717				pinmux = <STM32_PINMUX('A', 8, AF1)>;
718			};
719
720			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
721				pinmux = <STM32_PINMUX('A', 9, AF1)>;
722			};
723
724			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
725				pinmux = <STM32_PINMUX('A', 10, AF1)>;
726			};
727
728			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
729				pinmux = <STM32_PINMUX('A', 11, AF1)>;
730			};
731
732			/omit-if-no-ref/ tim1_ch2n_pb0: tim1_ch2n_pb0 {
733				pinmux = <STM32_PINMUX('B', 0, AF1)>;
734			};
735
736			/omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 {
737				pinmux = <STM32_PINMUX('B', 1, AF1)>;
738			};
739
740			/omit-if-no-ref/ tim1_ch1n_pb13: tim1_ch1n_pb13 {
741				pinmux = <STM32_PINMUX('B', 13, AF1)>;
742			};
743
744			/omit-if-no-ref/ tim1_ch2n_pb14: tim1_ch2n_pb14 {
745				pinmux = <STM32_PINMUX('B', 14, AF1)>;
746			};
747
748			/omit-if-no-ref/ tim1_ch3n_pb15: tim1_ch3n_pb15 {
749				pinmux = <STM32_PINMUX('B', 15, AF1)>;
750			};
751
752			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
753				pinmux = <STM32_PINMUX('A', 0, AF1)>;
754			};
755
756			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
757				pinmux = <STM32_PINMUX('A', 1, AF1)>;
758			};
759
760			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
761				pinmux = <STM32_PINMUX('A', 2, AF1)>;
762			};
763
764			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
765				pinmux = <STM32_PINMUX('A', 3, AF1)>;
766			};
767
768			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
769				pinmux = <STM32_PINMUX('A', 5, AF1)>;
770			};
771
772			/omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 {
773				pinmux = <STM32_PINMUX('A', 15, AF1)>;
774			};
775
776			/omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 {
777				pinmux = <STM32_PINMUX('B', 3, AF1)>;
778			};
779
780			/omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 {
781				pinmux = <STM32_PINMUX('B', 10, AF1)>;
782			};
783
784			/omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 {
785				pinmux = <STM32_PINMUX('A', 6, AF2)>;
786			};
787
788			/omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 {
789				pinmux = <STM32_PINMUX('A', 7, AF2)>;
790			};
791
792			/omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 {
793				pinmux = <STM32_PINMUX('B', 0, AF2)>;
794			};
795
796			/omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 {
797				pinmux = <STM32_PINMUX('B', 1, AF2)>;
798			};
799
800			/omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 {
801				pinmux = <STM32_PINMUX('B', 4, AF2)>;
802			};
803
804			/omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 {
805				pinmux = <STM32_PINMUX('B', 5, AF2)>;
806			};
807
808			/omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 {
809				pinmux = <STM32_PINMUX('B', 6, AF2)>;
810			};
811
812			/omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 {
813				pinmux = <STM32_PINMUX('B', 7, AF2)>;
814			};
815
816			/omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 {
817				pinmux = <STM32_PINMUX('B', 9, AF2)>;
818			};
819
820			/omit-if-no-ref/ tim5_ch1_pa0: tim5_ch1_pa0 {
821				pinmux = <STM32_PINMUX('A', 0, AF2)>;
822			};
823
824			/omit-if-no-ref/ tim15_ch1n_pa1: tim15_ch1n_pa1 {
825				pinmux = <STM32_PINMUX('A', 1, AF14)>;
826			};
827
828			/omit-if-no-ref/ tim5_ch2_pa1: tim5_ch2_pa1 {
829				pinmux = <STM32_PINMUX('A', 1, AF2)>;
830			};
831
832			/omit-if-no-ref/ tim15_ch1_pa2: tim15_ch1_pa2 {
833				pinmux = <STM32_PINMUX('A', 2, AF14)>;
834			};
835
836			/omit-if-no-ref/ tim5_ch3_pa2: tim5_ch3_pa2 {
837				pinmux = <STM32_PINMUX('A', 2, AF2)>;
838			};
839
840			/omit-if-no-ref/ tim15_ch2_pa3: tim15_ch2_pa3 {
841				pinmux = <STM32_PINMUX('A', 3, AF14)>;
842			};
843
844			/omit-if-no-ref/ tim5_ch4_pa3: tim5_ch4_pa3 {
845				pinmux = <STM32_PINMUX('A', 3, AF2)>;
846			};
847
848			/omit-if-no-ref/ tim15_ch1n_pb13: tim15_ch1n_pb13 {
849				pinmux = <STM32_PINMUX('B', 13, AF14)>;
850			};
851
852			/omit-if-no-ref/ tim15_ch1_pb14: tim15_ch1_pb14 {
853				pinmux = <STM32_PINMUX('B', 14, AF14)>;
854			};
855
856			/omit-if-no-ref/ tim15_ch2_pb15: tim15_ch2_pb15 {
857				pinmux = <STM32_PINMUX('B', 15, AF14)>;
858			};
859
860			/omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 {
861				pinmux = <STM32_PINMUX('A', 6, AF14)>;
862			};
863
864			/omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 {
865				pinmux = <STM32_PINMUX('B', 6, AF14)>;
866			};
867
868			/omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 {
869				pinmux = <STM32_PINMUX('A', 7, AF14)>;
870			};
871
872			/omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 {
873				pinmux = <STM32_PINMUX('B', 7, AF14)>;
874			};
875
876			/omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 {
877				pinmux = <STM32_PINMUX('B', 9, AF14)>;
878			};
879
880			/omit-if-no-ref/ tim8_ch1n_pa5: tim8_ch1n_pa5 {
881				pinmux = <STM32_PINMUX('A', 5, AF3)>;
882			};
883
884			/omit-if-no-ref/ tim8_ch1n_pa7: tim8_ch1n_pa7 {
885				pinmux = <STM32_PINMUX('A', 7, AF3)>;
886			};
887
888			/omit-if-no-ref/ tim8_ch2n_pb0: tim8_ch2n_pb0 {
889				pinmux = <STM32_PINMUX('B', 0, AF3)>;
890			};
891
892			/omit-if-no-ref/ tim8_ch3n_pb1: tim8_ch3n_pb1 {
893				pinmux = <STM32_PINMUX('B', 1, AF3)>;
894			};
895
896			/omit-if-no-ref/ tim8_ch2n_pb14: tim8_ch2n_pb14 {
897				pinmux = <STM32_PINMUX('B', 14, AF3)>;
898			};
899
900			/omit-if-no-ref/ tim8_ch3n_pb15: tim8_ch3n_pb15 {
901				pinmux = <STM32_PINMUX('B', 15, AF3)>;
902			};
903
904			/* UART_CTS / USART_CTS / LPUART_CTS */
905
906			/omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 {
907				pinmux = <STM32_PINMUX('A', 6, AF8)>;
908				bias-pull-up;
909				drive-open-drain;
910			};
911
912			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
913				pinmux = <STM32_PINMUX('A', 11, AF7)>;
914				bias-pull-up;
915				drive-open-drain;
916			};
917
918			/omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 {
919				pinmux = <STM32_PINMUX('B', 4, AF7)>;
920				bias-pull-up;
921				drive-open-drain;
922			};
923
924			/omit-if-no-ref/ lpuart1_cts_pb13: lpuart1_cts_pb13 {
925				pinmux = <STM32_PINMUX('B', 13, AF8)>;
926				bias-pull-up;
927				drive-open-drain;
928			};
929
930			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
931				pinmux = <STM32_PINMUX('A', 0, AF7)>;
932				bias-pull-up;
933				drive-open-drain;
934			};
935
936			/omit-if-no-ref/ usart3_cts_pa6: usart3_cts_pa6 {
937				pinmux = <STM32_PINMUX('A', 6, AF7)>;
938				bias-pull-up;
939				drive-open-drain;
940			};
941
942			/omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 {
943				pinmux = <STM32_PINMUX('B', 13, AF7)>;
944				bias-pull-up;
945				drive-open-drain;
946			};
947
948			/omit-if-no-ref/ uart4_cts_pb7: uart4_cts_pb7 {
949				pinmux = <STM32_PINMUX('B', 7, AF8)>;
950				bias-pull-up;
951				drive-open-drain;
952			};
953
954			/* UART_DE / USART_DE / LPUART_DE */
955
956			/omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 {
957				pinmux = <STM32_PINMUX('A', 12, AF7)>;
958				drive-push-pull;
959			};
960
961			/omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 {
962				pinmux = <STM32_PINMUX('B', 1, AF8)>;
963				drive-push-pull;
964			};
965
966			/omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 {
967				pinmux = <STM32_PINMUX('B', 3, AF7)>;
968				drive-push-pull;
969			};
970
971			/omit-if-no-ref/ lpuart1_de_pb12: lpuart1_de_pb12 {
972				pinmux = <STM32_PINMUX('B', 12, AF8)>;
973				drive-push-pull;
974			};
975
976			/omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 {
977				pinmux = <STM32_PINMUX('A', 1, AF7)>;
978				drive-push-pull;
979			};
980
981			/omit-if-no-ref/ usart3_de_pa15: usart3_de_pa15 {
982				pinmux = <STM32_PINMUX('A', 15, AF7)>;
983				drive-push-pull;
984			};
985
986			/omit-if-no-ref/ usart3_de_pb1: usart3_de_pb1 {
987				pinmux = <STM32_PINMUX('B', 1, AF7)>;
988				drive-push-pull;
989			};
990
991			/omit-if-no-ref/ usart3_de_pb14: usart3_de_pb14 {
992				pinmux = <STM32_PINMUX('B', 14, AF7)>;
993				drive-push-pull;
994			};
995
996			/omit-if-no-ref/ uart4_de_pa15: uart4_de_pa15 {
997				pinmux = <STM32_PINMUX('A', 15, AF8)>;
998				drive-push-pull;
999			};
1000
1001			/* UART_RTS / USART_RTS / LPUART_RTS */
1002
1003			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
1004				pinmux = <STM32_PINMUX('A', 12, AF7)>;
1005				bias-pull-up;
1006				drive-open-drain;
1007			};
1008
1009			/omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 {
1010				pinmux = <STM32_PINMUX('B', 1, AF8)>;
1011				bias-pull-up;
1012				drive-open-drain;
1013			};
1014
1015			/omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 {
1016				pinmux = <STM32_PINMUX('B', 3, AF7)>;
1017				bias-pull-up;
1018				drive-open-drain;
1019			};
1020
1021			/omit-if-no-ref/ lpuart1_rts_pb12: lpuart1_rts_pb12 {
1022				pinmux = <STM32_PINMUX('B', 12, AF8)>;
1023				bias-pull-up;
1024				drive-open-drain;
1025			};
1026
1027			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
1028				pinmux = <STM32_PINMUX('A', 1, AF7)>;
1029				bias-pull-up;
1030				drive-open-drain;
1031			};
1032
1033			/omit-if-no-ref/ usart3_rts_pa15: usart3_rts_pa15 {
1034				pinmux = <STM32_PINMUX('A', 15, AF7)>;
1035				bias-pull-up;
1036				drive-open-drain;
1037			};
1038
1039			/omit-if-no-ref/ usart3_rts_pb1: usart3_rts_pb1 {
1040				pinmux = <STM32_PINMUX('B', 1, AF7)>;
1041				bias-pull-up;
1042				drive-open-drain;
1043			};
1044
1045			/omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 {
1046				pinmux = <STM32_PINMUX('B', 14, AF7)>;
1047				bias-pull-up;
1048				drive-open-drain;
1049			};
1050
1051			/omit-if-no-ref/ uart4_rts_pa15: uart4_rts_pa15 {
1052				pinmux = <STM32_PINMUX('A', 15, AF8)>;
1053				bias-pull-up;
1054				drive-open-drain;
1055			};
1056
1057			/* UART_RX / USART_RX / LPUART_RX */
1058
1059			/omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 {
1060				pinmux = <STM32_PINMUX('A', 3, AF8)>;
1061			};
1062
1063			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
1064				pinmux = <STM32_PINMUX('A', 10, AF7)>;
1065			};
1066
1067			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
1068				pinmux = <STM32_PINMUX('B', 7, AF7)>;
1069			};
1070
1071			/omit-if-no-ref/ lpuart1_rx_pb10: lpuart1_rx_pb10 {
1072				pinmux = <STM32_PINMUX('B', 10, AF8)>;
1073			};
1074
1075			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
1076				pinmux = <STM32_PINMUX('A', 3, AF7)>;
1077			};
1078
1079			/omit-if-no-ref/ usart2_rx_pa15: usart2_rx_pa15 {
1080				pinmux = <STM32_PINMUX('A', 15, AF3)>;
1081			};
1082
1083			/omit-if-no-ref/ uart4_rx_pa1: uart4_rx_pa1 {
1084				pinmux = <STM32_PINMUX('A', 1, AF8)>;
1085			};
1086
1087			/* UART_TX / USART_TX / LPUART_TX */
1088
1089			/omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 {
1090				pinmux = <STM32_PINMUX('A', 2, AF8)>;
1091				bias-pull-up;
1092			};
1093
1094			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
1095				pinmux = <STM32_PINMUX('A', 9, AF7)>;
1096				bias-pull-up;
1097			};
1098
1099			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
1100				pinmux = <STM32_PINMUX('B', 6, AF7)>;
1101				bias-pull-up;
1102			};
1103
1104			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
1105				pinmux = <STM32_PINMUX('A', 2, AF7)>;
1106				bias-pull-up;
1107			};
1108
1109			/omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 {
1110				pinmux = <STM32_PINMUX('B', 10, AF7)>;
1111				bias-pull-up;
1112			};
1113
1114			/omit-if-no-ref/ uart4_tx_pa0: uart4_tx_pa0 {
1115				pinmux = <STM32_PINMUX('A', 0, AF8)>;
1116				bias-pull-up;
1117			};
1118
1119			/* USB_OTG_FS */
1120
1121			/omit-if-no-ref/ usb_otg_fs_sof_pa8: usb_otg_fs_sof_pa8 {
1122				pinmux = <STM32_PINMUX('A', 8, AF10)>;
1123			};
1124
1125			/omit-if-no-ref/ usb_otg_fs_vbus_pa9: usb_otg_fs_vbus_pa9 {
1126				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
1127			};
1128
1129			/omit-if-no-ref/ usb_otg_fs_id_pa10: usb_otg_fs_id_pa10 {
1130				pinmux = <STM32_PINMUX('A', 10, AF10)>;
1131			};
1132
1133			/omit-if-no-ref/ usb_otg_fs_dm_pa11: usb_otg_fs_dm_pa11 {
1134				pinmux = <STM32_PINMUX('A', 11, AF10)>;
1135			};
1136
1137			/omit-if-no-ref/ usb_otg_fs_dp_pa12: usb_otg_fs_dp_pa12 {
1138				pinmux = <STM32_PINMUX('A', 12, AF10)>;
1139			};
1140
1141			/omit-if-no-ref/ usb_otg_fs_sof_pa14: usb_otg_fs_sof_pa14 {
1142				pinmux = <STM32_PINMUX('A', 14, AF10)>;
1143			};
1144
1145		};
1146	};
1147};