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@40020000 {
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_in18_pb12: adc_in18_pb12 {
56				pinmux = <STM32_PINMUX('B', 12, ANALOG)>;
57			};
58
59			/omit-if-no-ref/ adc_in19_pb13: adc_in19_pb13 {
60				pinmux = <STM32_PINMUX('B', 13, ANALOG)>;
61			};
62
63			/omit-if-no-ref/ adc_in20_pb14: adc_in20_pb14 {
64				pinmux = <STM32_PINMUX('B', 14, ANALOG)>;
65			};
66
67			/omit-if-no-ref/ adc_in21_pb15: adc_in21_pb15 {
68				pinmux = <STM32_PINMUX('B', 15, ANALOG)>;
69			};
70
71			/* Analog */
72
73			/omit-if-no-ref/ analog_pa0: analog_pa0 {
74				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
75			};
76
77			/omit-if-no-ref/ analog_pa1: analog_pa1 {
78				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
79			};
80
81			/omit-if-no-ref/ analog_pa2: analog_pa2 {
82				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
83			};
84
85			/omit-if-no-ref/ analog_pa3: analog_pa3 {
86				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
87			};
88
89			/omit-if-no-ref/ analog_pa4: analog_pa4 {
90				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
91			};
92
93			/omit-if-no-ref/ analog_pa5: analog_pa5 {
94				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
95			};
96
97			/omit-if-no-ref/ analog_pa6: analog_pa6 {
98				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pa7: analog_pa7 {
102				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
103			};
104
105			/omit-if-no-ref/ analog_pa8: analog_pa8 {
106				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
107			};
108
109			/omit-if-no-ref/ analog_pa9: analog_pa9 {
110				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
111			};
112
113			/omit-if-no-ref/ analog_pa10: analog_pa10 {
114				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
115			};
116
117			/omit-if-no-ref/ analog_pa11: analog_pa11 {
118				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
119			};
120
121			/omit-if-no-ref/ analog_pa12: analog_pa12 {
122				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
123			};
124
125			/omit-if-no-ref/ analog_pa13: analog_pa13 {
126				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
127			};
128
129			/omit-if-no-ref/ analog_pa14: analog_pa14 {
130				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
131			};
132
133			/omit-if-no-ref/ analog_pa15: analog_pa15 {
134				pinmux = <STM32_PINMUX('A', 15, ANALOG)>;
135			};
136
137			/omit-if-no-ref/ analog_pb0: analog_pb0 {
138				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
139			};
140
141			/omit-if-no-ref/ analog_pb1: analog_pb1 {
142				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
143			};
144
145			/omit-if-no-ref/ analog_pb2: analog_pb2 {
146				pinmux = <STM32_PINMUX('B', 2, ANALOG)>;
147			};
148
149			/omit-if-no-ref/ analog_pb3: analog_pb3 {
150				pinmux = <STM32_PINMUX('B', 3, ANALOG)>;
151			};
152
153			/omit-if-no-ref/ analog_pb4: analog_pb4 {
154				pinmux = <STM32_PINMUX('B', 4, ANALOG)>;
155			};
156
157			/omit-if-no-ref/ analog_pb5: analog_pb5 {
158				pinmux = <STM32_PINMUX('B', 5, ANALOG)>;
159			};
160
161			/omit-if-no-ref/ analog_pb6: analog_pb6 {
162				pinmux = <STM32_PINMUX('B', 6, ANALOG)>;
163			};
164
165			/omit-if-no-ref/ analog_pb7: analog_pb7 {
166				pinmux = <STM32_PINMUX('B', 7, ANALOG)>;
167			};
168
169			/omit-if-no-ref/ analog_pb8: analog_pb8 {
170				pinmux = <STM32_PINMUX('B', 8, ANALOG)>;
171			};
172
173			/omit-if-no-ref/ analog_pb9: analog_pb9 {
174				pinmux = <STM32_PINMUX('B', 9, ANALOG)>;
175			};
176
177			/omit-if-no-ref/ analog_pb10: analog_pb10 {
178				pinmux = <STM32_PINMUX('B', 10, ANALOG)>;
179			};
180
181			/omit-if-no-ref/ analog_pb11: analog_pb11 {
182				pinmux = <STM32_PINMUX('B', 11, ANALOG)>;
183			};
184
185			/omit-if-no-ref/ analog_pb12: analog_pb12 {
186				pinmux = <STM32_PINMUX('B', 12, ANALOG)>;
187			};
188
189			/omit-if-no-ref/ analog_pb13: analog_pb13 {
190				pinmux = <STM32_PINMUX('B', 13, ANALOG)>;
191			};
192
193			/omit-if-no-ref/ analog_pb14: analog_pb14 {
194				pinmux = <STM32_PINMUX('B', 14, ANALOG)>;
195			};
196
197			/omit-if-no-ref/ analog_pb15: analog_pb15 {
198				pinmux = <STM32_PINMUX('B', 15, ANALOG)>;
199			};
200
201			/omit-if-no-ref/ analog_pc13: analog_pc13 {
202				pinmux = <STM32_PINMUX('C', 13, ANALOG)>;
203			};
204
205			/omit-if-no-ref/ analog_pc14: analog_pc14 {
206				pinmux = <STM32_PINMUX('C', 14, ANALOG)>;
207			};
208
209			/omit-if-no-ref/ analog_pc15: analog_pc15 {
210				pinmux = <STM32_PINMUX('C', 15, ANALOG)>;
211			};
212
213			/omit-if-no-ref/ analog_ph0: analog_ph0 {
214				pinmux = <STM32_PINMUX('H', 0, ANALOG)>;
215			};
216
217			/omit-if-no-ref/ analog_ph1: analog_ph1 {
218				pinmux = <STM32_PINMUX('H', 1, ANALOG)>;
219			};
220
221			/* DAC_OUT */
222
223			/omit-if-no-ref/ dac_out1_pa4: dac_out1_pa4 {
224				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
225			};
226
227			/omit-if-no-ref/ dac_out2_pa5: dac_out2_pa5 {
228				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
229			};
230
231			/* I2C_SCL */
232
233			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
234				pinmux = <STM32_PINMUX('B', 6, AF4)>;
235				bias-pull-up;
236				drive-open-drain;
237			};
238
239			/omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 {
240				pinmux = <STM32_PINMUX('B', 8, AF4)>;
241				bias-pull-up;
242				drive-open-drain;
243			};
244
245			/omit-if-no-ref/ i2c2_scl_pb10: i2c2_scl_pb10 {
246				pinmux = <STM32_PINMUX('B', 10, AF4)>;
247				bias-pull-up;
248				drive-open-drain;
249			};
250
251			/* I2C_SDA */
252
253			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
254				pinmux = <STM32_PINMUX('B', 7, AF4)>;
255				bias-pull-up;
256				drive-open-drain;
257			};
258
259			/omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 {
260				pinmux = <STM32_PINMUX('B', 9, AF4)>;
261				bias-pull-up;
262				drive-open-drain;
263			};
264
265			/omit-if-no-ref/ i2c2_sda_pb11: i2c2_sda_pb11 {
266				pinmux = <STM32_PINMUX('B', 11, AF4)>;
267				bias-pull-up;
268				drive-open-drain;
269			};
270
271			/* SPI_MISO */
272
273			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
274				pinmux = <STM32_PINMUX('A', 6, AF5)>;
275				bias-pull-down;
276			};
277
278			/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
279				pinmux = <STM32_PINMUX('A', 11, AF5)>;
280				bias-pull-down;
281			};
282
283			/omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 {
284				pinmux = <STM32_PINMUX('B', 4, AF5)>;
285				bias-pull-down;
286			};
287
288			/omit-if-no-ref/ spi2_miso_pb14: spi2_miso_pb14 {
289				pinmux = <STM32_PINMUX('B', 14, AF5)>;
290				bias-pull-down;
291			};
292
293			/* SPI_MOSI */
294
295			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
296				pinmux = <STM32_PINMUX('A', 7, AF5)>;
297				bias-pull-down;
298			};
299
300			/omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 {
301				pinmux = <STM32_PINMUX('A', 12, AF5)>;
302				bias-pull-down;
303			};
304
305			/omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 {
306				pinmux = <STM32_PINMUX('B', 5, AF5)>;
307				bias-pull-down;
308			};
309
310			/omit-if-no-ref/ spi2_mosi_pb15: spi2_mosi_pb15 {
311				pinmux = <STM32_PINMUX('B', 15, AF5)>;
312				bias-pull-down;
313			};
314
315			/* SPI_NSS */
316
317			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
318				pinmux = <STM32_PINMUX('A', 4, AF5)>;
319				bias-pull-up;
320			};
321
322			/omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 {
323				pinmux = <STM32_PINMUX('A', 15, AF5)>;
324				bias-pull-up;
325			};
326
327			/omit-if-no-ref/ spi2_nss_pb12: spi2_nss_pb12 {
328				pinmux = <STM32_PINMUX('B', 12, AF5)>;
329				bias-pull-up;
330			};
331
332			/* SPI_SCK */
333
334			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
335				pinmux = <STM32_PINMUX('A', 5, AF5)>;
336				bias-pull-down;
337				slew-rate = "very-high-speed";
338			};
339
340			/omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 {
341				pinmux = <STM32_PINMUX('B', 3, AF5)>;
342				bias-pull-down;
343				slew-rate = "very-high-speed";
344			};
345
346			/omit-if-no-ref/ spi2_sck_pb13: spi2_sck_pb13 {
347				pinmux = <STM32_PINMUX('B', 13, AF5)>;
348				bias-pull-down;
349				slew-rate = "very-high-speed";
350			};
351
352			/* TIM_CH / TIM_CHN */
353
354			/omit-if-no-ref/ tim10_ch1_pa6: tim10_ch1_pa6 {
355				pinmux = <STM32_PINMUX('A', 6, AF3)>;
356			};
357
358			/omit-if-no-ref/ tim10_ch1_pb8: tim10_ch1_pb8 {
359				pinmux = <STM32_PINMUX('B', 8, AF3)>;
360			};
361
362			/omit-if-no-ref/ tim10_ch1_pb12: tim10_ch1_pb12 {
363				pinmux = <STM32_PINMUX('B', 12, AF3)>;
364			};
365
366			/omit-if-no-ref/ tim11_ch1_pa7: tim11_ch1_pa7 {
367				pinmux = <STM32_PINMUX('A', 7, AF3)>;
368			};
369
370			/omit-if-no-ref/ tim11_ch1_pb9: tim11_ch1_pb9 {
371				pinmux = <STM32_PINMUX('B', 9, AF3)>;
372			};
373
374			/omit-if-no-ref/ tim11_ch1_pb15: tim11_ch1_pb15 {
375				pinmux = <STM32_PINMUX('B', 15, AF3)>;
376			};
377
378			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
379				pinmux = <STM32_PINMUX('A', 0, AF1)>;
380			};
381
382			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
383				pinmux = <STM32_PINMUX('A', 1, AF1)>;
384			};
385
386			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
387				pinmux = <STM32_PINMUX('A', 2, AF1)>;
388			};
389
390			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
391				pinmux = <STM32_PINMUX('A', 3, AF1)>;
392			};
393
394			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
395				pinmux = <STM32_PINMUX('A', 5, AF1)>;
396			};
397
398			/omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 {
399				pinmux = <STM32_PINMUX('A', 15, AF1)>;
400			};
401
402			/omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 {
403				pinmux = <STM32_PINMUX('B', 3, AF1)>;
404			};
405
406			/omit-if-no-ref/ tim2_ch3_pb10: tim2_ch3_pb10 {
407				pinmux = <STM32_PINMUX('B', 10, AF1)>;
408			};
409
410			/omit-if-no-ref/ tim2_ch4_pb11: tim2_ch4_pb11 {
411				pinmux = <STM32_PINMUX('B', 11, AF1)>;
412			};
413
414			/omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 {
415				pinmux = <STM32_PINMUX('A', 6, AF2)>;
416			};
417
418			/omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 {
419				pinmux = <STM32_PINMUX('A', 7, AF2)>;
420			};
421
422			/omit-if-no-ref/ tim3_ch3_pb0: tim3_ch3_pb0 {
423				pinmux = <STM32_PINMUX('B', 0, AF2)>;
424			};
425
426			/omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 {
427				pinmux = <STM32_PINMUX('B', 1, AF2)>;
428			};
429
430			/omit-if-no-ref/ tim3_ch1_pb4: tim3_ch1_pb4 {
431				pinmux = <STM32_PINMUX('B', 4, AF2)>;
432			};
433
434			/omit-if-no-ref/ tim3_ch2_pb5: tim3_ch2_pb5 {
435				pinmux = <STM32_PINMUX('B', 5, AF2)>;
436			};
437
438			/omit-if-no-ref/ tim4_ch1_pb6: tim4_ch1_pb6 {
439				pinmux = <STM32_PINMUX('B', 6, AF2)>;
440			};
441
442			/omit-if-no-ref/ tim4_ch2_pb7: tim4_ch2_pb7 {
443				pinmux = <STM32_PINMUX('B', 7, AF2)>;
444			};
445
446			/omit-if-no-ref/ tim4_ch3_pb8: tim4_ch3_pb8 {
447				pinmux = <STM32_PINMUX('B', 8, AF2)>;
448			};
449
450			/omit-if-no-ref/ tim4_ch4_pb9: tim4_ch4_pb9 {
451				pinmux = <STM32_PINMUX('B', 9, AF2)>;
452			};
453
454			/omit-if-no-ref/ tim9_ch1_pa2: tim9_ch1_pa2 {
455				pinmux = <STM32_PINMUX('A', 2, AF3)>;
456			};
457
458			/omit-if-no-ref/ tim9_ch2_pa3: tim9_ch2_pa3 {
459				pinmux = <STM32_PINMUX('A', 3, AF3)>;
460			};
461
462			/omit-if-no-ref/ tim9_ch1_pb13: tim9_ch1_pb13 {
463				pinmux = <STM32_PINMUX('B', 13, AF3)>;
464			};
465
466			/omit-if-no-ref/ tim9_ch2_pb14: tim9_ch2_pb14 {
467				pinmux = <STM32_PINMUX('B', 14, AF3)>;
468			};
469
470			/* UART_CTS / USART_CTS / LPUART_CTS */
471
472			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
473				pinmux = <STM32_PINMUX('A', 11, AF7)>;
474				bias-pull-up;
475				drive-open-drain;
476			};
477
478			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
479				pinmux = <STM32_PINMUX('A', 0, AF7)>;
480				bias-pull-up;
481				drive-open-drain;
482			};
483
484			/omit-if-no-ref/ usart3_cts_pb13: usart3_cts_pb13 {
485				pinmux = <STM32_PINMUX('B', 13, AF7)>;
486				bias-pull-up;
487				drive-open-drain;
488			};
489
490			/* UART_RTS / USART_RTS / LPUART_RTS */
491
492			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
493				pinmux = <STM32_PINMUX('A', 12, AF7)>;
494				bias-pull-up;
495				drive-open-drain;
496			};
497
498			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
499				pinmux = <STM32_PINMUX('A', 1, AF7)>;
500				bias-pull-up;
501				drive-open-drain;
502			};
503
504			/omit-if-no-ref/ usart3_rts_pb14: usart3_rts_pb14 {
505				pinmux = <STM32_PINMUX('B', 14, AF7)>;
506				bias-pull-up;
507				drive-open-drain;
508			};
509
510			/* UART_RX / USART_RX / LPUART_RX */
511
512			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
513				pinmux = <STM32_PINMUX('A', 10, AF7)>;
514			};
515
516			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
517				pinmux = <STM32_PINMUX('B', 7, AF7)>;
518			};
519
520			/omit-if-no-ref/ usart2_rx_pa3: usart2_rx_pa3 {
521				pinmux = <STM32_PINMUX('A', 3, AF7)>;
522			};
523
524			/omit-if-no-ref/ usart3_rx_pb11: usart3_rx_pb11 {
525				pinmux = <STM32_PINMUX('B', 11, AF7)>;
526			};
527
528			/* UART_TX / USART_TX / LPUART_TX */
529
530			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
531				pinmux = <STM32_PINMUX('A', 9, AF7)>;
532				bias-pull-up;
533			};
534
535			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
536				pinmux = <STM32_PINMUX('B', 6, AF7)>;
537				bias-pull-up;
538			};
539
540			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
541				pinmux = <STM32_PINMUX('A', 2, AF7)>;
542				bias-pull-up;
543			};
544
545			/omit-if-no-ref/ usart3_tx_pb10: usart3_tx_pb10 {
546				pinmux = <STM32_PINMUX('B', 10, AF7)>;
547				bias-pull-up;
548			};
549
550			/* USB */
551
552			/omit-if-no-ref/ usb_dm_pa11: usb_dm_pa11 {
553				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
554			};
555
556			/omit-if-no-ref/ usb_dp_pa12: usb_dp_pa12 {
557				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
558			};
559
560		};
561	};
562};