1/*
2 * NOTE: Autogenerated file using genpinctrl.py
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <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			adc1_in1_pa0: adc1_in1_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			adc1_in2_pa1: adc1_in2_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			adc1_in3_pa2: adc1_in3_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			adc1_in4_pa3: adc1_in4_pa3 {
28				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
29			};
30
31			adc1_in15_pb0: adc1_in15_pb0 {
32				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
33			};
34
35			adc1_in10_pf0: adc1_in10_pf0 {
36				pinmux = <STM32_PINMUX('F', 0, ANALOG)>;
37			};
38
39			adc2_in1_pa0: adc2_in1_pa0 {
40				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
41			};
42
43			adc2_in2_pa1: adc2_in2_pa1 {
44				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
45			};
46
47			adc2_in17_pa4: adc2_in17_pa4 {
48				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
49			};
50
51			adc2_in13_pa5: adc2_in13_pa5 {
52				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
53			};
54
55			adc2_in3_pa6: adc2_in3_pa6 {
56				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
57			};
58
59			adc2_in4_pa7: adc2_in4_pa7 {
60				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
61			};
62
63			adc2_in10_pf1: adc2_in10_pf1 {
64				pinmux = <STM32_PINMUX('F', 1, ANALOG)>;
65			};
66
67			adc3_in12_pb0: adc3_in12_pb0 {
68				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
69			};
70
71			/* DAC_OUT */
72
73			dac1_out1_pa4: dac1_out1_pa4 {
74				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
75			};
76
77			dac1_out2_pa5: dac1_out2_pa5 {
78				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
79			};
80
81			/* FDCAN_RX */
82
83			fdcan1_rx_pa11: fdcan1_rx_pa11 {
84				pinmux = <STM32_PINMUX('A', 11, AF9)>;
85			};
86
87			fdcan1_rx_pb8: fdcan1_rx_pb8 {
88				pinmux = <STM32_PINMUX('B', 8, AF9)>;
89			};
90
91			fdcan2_rx_pb5: fdcan2_rx_pb5 {
92				pinmux = <STM32_PINMUX('B', 5, AF9)>;
93			};
94
95			/* FDCAN_TX */
96
97			fdcan1_tx_pa12: fdcan1_tx_pa12 {
98				pinmux = <STM32_PINMUX('A', 12, AF9)>;
99			};
100
101			fdcan2_tx_pb6: fdcan2_tx_pb6 {
102				pinmux = <STM32_PINMUX('B', 6, AF9)>;
103			};
104
105			/* I2C_SCL */
106
107			i2c1_scl_pa13: i2c1_scl_pa13 {
108				pinmux = <STM32_PINMUX('A', 13, AF4)>;
109				bias-pull-up;
110				drive-open-drain;
111			};
112
113			i2c1_scl_pa15: i2c1_scl_pa15 {
114				pinmux = <STM32_PINMUX('A', 15, AF4)>;
115				bias-pull-up;
116				drive-open-drain;
117			};
118
119			i2c1_scl_pb8: i2c1_scl_pb8 {
120				pinmux = <STM32_PINMUX('B', 8, AF4)>;
121				bias-pull-up;
122				drive-open-drain;
123			};
124
125			i2c2_scl_pa9: i2c2_scl_pa9 {
126				pinmux = <STM32_PINMUX('A', 9, AF4)>;
127				bias-pull-up;
128				drive-open-drain;
129			};
130
131			i2c3_scl_pa8: i2c3_scl_pa8 {
132				pinmux = <STM32_PINMUX('A', 8, AF2)>;
133				bias-pull-up;
134				drive-open-drain;
135			};
136
137			/* I2C_SDA */
138
139			i2c1_sda_pa14: i2c1_sda_pa14 {
140				pinmux = <STM32_PINMUX('A', 14, AF4)>;
141				bias-pull-up;
142				drive-open-drain;
143			};
144
145			i2c1_sda_pb7: i2c1_sda_pb7 {
146				pinmux = <STM32_PINMUX('B', 7, AF4)>;
147				bias-pull-up;
148				drive-open-drain;
149			};
150
151			i2c2_sda_pa8: i2c2_sda_pa8 {
152				pinmux = <STM32_PINMUX('A', 8, AF4)>;
153				bias-pull-up;
154				drive-open-drain;
155			};
156
157			i2c2_sda_pf0: i2c2_sda_pf0 {
158				pinmux = <STM32_PINMUX('F', 0, AF4)>;
159				bias-pull-up;
160				drive-open-drain;
161			};
162
163			i2c3_sda_pb5: i2c3_sda_pb5 {
164				pinmux = <STM32_PINMUX('B', 5, AF8)>;
165				bias-pull-up;
166				drive-open-drain;
167			};
168
169			/* I2S_CK */
170
171			i2s2_ck_pf1: i2s2_ck_pf1 {
172				pinmux = <STM32_PINMUX('F', 1, AF5)>;
173				slew-rate = "very-high-speed";
174			};
175
176			i2s3_ck_pb3: i2s3_ck_pb3 {
177				pinmux = <STM32_PINMUX('B', 3, AF6)>;
178				slew-rate = "very-high-speed";
179			};
180
181			/* I2S_SD */
182
183			i2s2_sd_pa11: i2s2_sd_pa11 {
184				pinmux = <STM32_PINMUX('A', 11, AF5)>;
185			};
186
187			i2s3_sd_pb5: i2s3_sd_pb5 {
188				pinmux = <STM32_PINMUX('B', 5, AF6)>;
189			};
190
191			/* I2S_WS */
192
193			i2s2_ws_pf0: i2s2_ws_pf0 {
194				pinmux = <STM32_PINMUX('F', 0, AF5)>;
195			};
196
197			i2s3_ws_pa4: i2s3_ws_pa4 {
198				pinmux = <STM32_PINMUX('A', 4, AF6)>;
199			};
200
201			i2s3_ws_pa15: i2s3_ws_pa15 {
202				pinmux = <STM32_PINMUX('A', 15, AF6)>;
203			};
204
205			/* SPI_MISO */
206
207			spi1_miso_pa6: spi1_miso_pa6 {
208				pinmux = <STM32_PINMUX('A', 6, AF5)>;
209				bias-pull-down;
210			};
211
212			spi1_miso_pb4: spi1_miso_pb4 {
213				pinmux = <STM32_PINMUX('B', 4, AF5)>;
214				bias-pull-down;
215			};
216
217			spi2_miso_pa10: spi2_miso_pa10 {
218				pinmux = <STM32_PINMUX('A', 10, AF5)>;
219				bias-pull-down;
220			};
221
222			spi3_miso_pb4: spi3_miso_pb4 {
223				pinmux = <STM32_PINMUX('B', 4, AF6)>;
224				bias-pull-down;
225			};
226
227			/* SPI_MOSI */
228
229			spi1_mosi_pa7: spi1_mosi_pa7 {
230				pinmux = <STM32_PINMUX('A', 7, AF5)>;
231				bias-pull-down;
232			};
233
234			spi1_mosi_pb5: spi1_mosi_pb5 {
235				pinmux = <STM32_PINMUX('B', 5, AF5)>;
236				bias-pull-down;
237			};
238
239			spi2_mosi_pa11: spi2_mosi_pa11 {
240				pinmux = <STM32_PINMUX('A', 11, AF5)>;
241				bias-pull-down;
242			};
243
244			spi3_mosi_pb5: spi3_mosi_pb5 {
245				pinmux = <STM32_PINMUX('B', 5, AF6)>;
246				bias-pull-down;
247			};
248
249			/* SPI_NSS */
250
251			spi1_nss_pa4: spi1_nss_pa4 {
252				pinmux = <STM32_PINMUX('A', 4, AF5)>;
253				bias-pull-up;
254			};
255
256			spi1_nss_pa15: spi1_nss_pa15 {
257				pinmux = <STM32_PINMUX('A', 15, AF5)>;
258				bias-pull-up;
259			};
260
261			spi2_nss_pf0: spi2_nss_pf0 {
262				pinmux = <STM32_PINMUX('F', 0, AF5)>;
263				bias-pull-up;
264			};
265
266			spi3_nss_pa4: spi3_nss_pa4 {
267				pinmux = <STM32_PINMUX('A', 4, AF6)>;
268				bias-pull-up;
269			};
270
271			spi3_nss_pa15: spi3_nss_pa15 {
272				pinmux = <STM32_PINMUX('A', 15, AF6)>;
273				bias-pull-up;
274			};
275
276			/* SPI_SCK */
277
278			spi1_sck_pa5: spi1_sck_pa5 {
279				pinmux = <STM32_PINMUX('A', 5, AF5)>;
280				bias-pull-down;
281				slew-rate = "very-high-speed";
282			};
283
284			spi1_sck_pb3: spi1_sck_pb3 {
285				pinmux = <STM32_PINMUX('B', 3, AF5)>;
286				bias-pull-down;
287				slew-rate = "very-high-speed";
288			};
289
290			spi2_sck_pf1: spi2_sck_pf1 {
291				pinmux = <STM32_PINMUX('F', 1, AF5)>;
292				bias-pull-down;
293				slew-rate = "very-high-speed";
294			};
295
296			spi3_sck_pb3: spi3_sck_pb3 {
297				pinmux = <STM32_PINMUX('B', 3, AF6)>;
298				bias-pull-down;
299				slew-rate = "very-high-speed";
300			};
301
302			/* TIM_CH / TIM_CHN */
303
304			tim1_ch1n_pa7: tim1_ch1n_pa7 {
305				pinmux = <STM32_PINMUX('A', 7, AF6)>;
306			};
307
308			tim1_ch1_pa8: tim1_ch1_pa8 {
309				pinmux = <STM32_PINMUX('A', 8, AF6)>;
310			};
311
312			tim1_ch2_pa9: tim1_ch2_pa9 {
313				pinmux = <STM32_PINMUX('A', 9, AF6)>;
314			};
315
316			tim1_ch3_pa10: tim1_ch3_pa10 {
317				pinmux = <STM32_PINMUX('A', 10, AF6)>;
318			};
319
320			tim1_ch1n_pa11: tim1_ch1n_pa11 {
321				pinmux = <STM32_PINMUX('A', 11, AF6)>;
322			};
323
324			tim1_ch4_pa11: tim1_ch4_pa11 {
325				pinmux = <STM32_PINMUX('A', 11, AF11)>;
326			};
327
328			tim1_ch2n_pa12: tim1_ch2n_pa12 {
329				pinmux = <STM32_PINMUX('A', 12, AF6)>;
330			};
331
332			tim1_ch2n_pb0: tim1_ch2n_pb0 {
333				pinmux = <STM32_PINMUX('B', 0, AF6)>;
334			};
335
336			tim1_ch3n_pf0: tim1_ch3n_pf0 {
337				pinmux = <STM32_PINMUX('F', 0, AF6)>;
338			};
339
340			tim2_ch1_pa0: tim2_ch1_pa0 {
341				pinmux = <STM32_PINMUX('A', 0, AF1)>;
342			};
343
344			tim2_ch2_pa1: tim2_ch2_pa1 {
345				pinmux = <STM32_PINMUX('A', 1, AF1)>;
346			};
347
348			tim2_ch3_pa2: tim2_ch3_pa2 {
349				pinmux = <STM32_PINMUX('A', 2, AF1)>;
350			};
351
352			tim2_ch4_pa3: tim2_ch4_pa3 {
353				pinmux = <STM32_PINMUX('A', 3, AF1)>;
354			};
355
356			tim2_ch1_pa5: tim2_ch1_pa5 {
357				pinmux = <STM32_PINMUX('A', 5, AF1)>;
358			};
359
360			tim2_ch3_pa9: tim2_ch3_pa9 {
361				pinmux = <STM32_PINMUX('A', 9, AF10)>;
362			};
363
364			tim2_ch4_pa10: tim2_ch4_pa10 {
365				pinmux = <STM32_PINMUX('A', 10, AF10)>;
366			};
367
368			tim2_ch1_pa15: tim2_ch1_pa15 {
369				pinmux = <STM32_PINMUX('A', 15, AF1)>;
370			};
371
372			tim2_ch2_pb3: tim2_ch2_pb3 {
373				pinmux = <STM32_PINMUX('B', 3, AF1)>;
374			};
375
376			tim3_ch2_pa4: tim3_ch2_pa4 {
377				pinmux = <STM32_PINMUX('A', 4, AF2)>;
378			};
379
380			tim3_ch1_pa6: tim3_ch1_pa6 {
381				pinmux = <STM32_PINMUX('A', 6, AF2)>;
382			};
383
384			tim3_ch2_pa7: tim3_ch2_pa7 {
385				pinmux = <STM32_PINMUX('A', 7, AF2)>;
386			};
387
388			tim3_ch3_pb0: tim3_ch3_pb0 {
389				pinmux = <STM32_PINMUX('B', 0, AF2)>;
390			};
391
392			tim3_ch1_pb4: tim3_ch1_pb4 {
393				pinmux = <STM32_PINMUX('B', 4, AF2)>;
394			};
395
396			tim3_ch2_pb5: tim3_ch2_pb5 {
397				pinmux = <STM32_PINMUX('B', 5, AF2)>;
398			};
399
400			tim3_ch4_pb7: tim3_ch4_pb7 {
401				pinmux = <STM32_PINMUX('B', 7, AF10)>;
402			};
403
404			tim4_ch1_pa11: tim4_ch1_pa11 {
405				pinmux = <STM32_PINMUX('A', 11, AF10)>;
406			};
407
408			tim4_ch2_pa12: tim4_ch2_pa12 {
409				pinmux = <STM32_PINMUX('A', 12, AF10)>;
410			};
411
412			tim4_ch3_pa13: tim4_ch3_pa13 {
413				pinmux = <STM32_PINMUX('A', 13, AF10)>;
414			};
415
416			tim4_ch1_pb6: tim4_ch1_pb6 {
417				pinmux = <STM32_PINMUX('B', 6, AF2)>;
418			};
419
420			tim4_ch2_pb7: tim4_ch2_pb7 {
421				pinmux = <STM32_PINMUX('B', 7, AF2)>;
422			};
423
424			tim4_ch3_pb8: tim4_ch3_pb8 {
425				pinmux = <STM32_PINMUX('B', 8, AF2)>;
426			};
427
428			tim15_ch1n_pa1: tim15_ch1n_pa1 {
429				pinmux = <STM32_PINMUX('A', 1, AF9)>;
430			};
431
432			tim15_ch1_pa2: tim15_ch1_pa2 {
433				pinmux = <STM32_PINMUX('A', 2, AF9)>;
434			};
435
436			tim15_ch2_pa3: tim15_ch2_pa3 {
437				pinmux = <STM32_PINMUX('A', 3, AF9)>;
438			};
439
440			tim16_ch1_pa6: tim16_ch1_pa6 {
441				pinmux = <STM32_PINMUX('A', 6, AF1)>;
442			};
443
444			tim16_ch1_pa12: tim16_ch1_pa12 {
445				pinmux = <STM32_PINMUX('A', 12, AF1)>;
446			};
447
448			tim16_ch1n_pa13: tim16_ch1n_pa13 {
449				pinmux = <STM32_PINMUX('A', 13, AF1)>;
450			};
451
452			tim16_ch1_pb4: tim16_ch1_pb4 {
453				pinmux = <STM32_PINMUX('B', 4, AF1)>;
454			};
455
456			tim16_ch1n_pb6: tim16_ch1n_pb6 {
457				pinmux = <STM32_PINMUX('B', 6, AF1)>;
458			};
459
460			tim16_ch1_pb8: tim16_ch1_pb8 {
461				pinmux = <STM32_PINMUX('B', 8, AF1)>;
462			};
463
464			tim17_ch1_pa7: tim17_ch1_pa7 {
465				pinmux = <STM32_PINMUX('A', 7, AF1)>;
466			};
467
468			tim17_ch1_pb5: tim17_ch1_pb5 {
469				pinmux = <STM32_PINMUX('B', 5, AF10)>;
470			};
471
472			tim17_ch1n_pb7: tim17_ch1n_pb7 {
473				pinmux = <STM32_PINMUX('B', 7, AF1)>;
474			};
475
476			tim8_ch1n_pa7: tim8_ch1n_pa7 {
477				pinmux = <STM32_PINMUX('A', 7, AF4)>;
478			};
479
480			tim8_ch2_pa14: tim8_ch2_pa14 {
481				pinmux = <STM32_PINMUX('A', 14, AF5)>;
482			};
483
484			tim8_ch1_pa15: tim8_ch1_pa15 {
485				pinmux = <STM32_PINMUX('A', 15, AF2)>;
486			};
487
488			tim8_ch2n_pb0: tim8_ch2n_pb0 {
489				pinmux = <STM32_PINMUX('B', 0, AF4)>;
490			};
491
492			tim8_ch1n_pb3: tim8_ch1n_pb3 {
493				pinmux = <STM32_PINMUX('B', 3, AF4)>;
494			};
495
496			tim8_ch2n_pb4: tim8_ch2n_pb4 {
497				pinmux = <STM32_PINMUX('B', 4, AF4)>;
498			};
499
500			tim8_ch3n_pb5: tim8_ch3n_pb5 {
501				pinmux = <STM32_PINMUX('B', 5, AF3)>;
502			};
503
504			tim8_ch1_pb6: tim8_ch1_pb6 {
505				pinmux = <STM32_PINMUX('B', 6, AF5)>;
506			};
507
508			tim8_ch2_pb8: tim8_ch2_pb8 {
509				pinmux = <STM32_PINMUX('B', 8, AF10)>;
510			};
511
512			/* UART_CTS / USART_CTS / LPUART_CTS */
513
514			lpuart1_cts_pa6: lpuart1_cts_pa6 {
515				pinmux = <STM32_PINMUX('A', 6, AF12)>;
516				bias-pull-up;
517				drive-open-drain;
518			};
519
520			usart1_cts_pa11: usart1_cts_pa11 {
521				pinmux = <STM32_PINMUX('A', 11, AF7)>;
522				bias-pull-up;
523				drive-open-drain;
524			};
525
526			usart2_cts_pa0: usart2_cts_pa0 {
527				pinmux = <STM32_PINMUX('A', 0, AF7)>;
528				bias-pull-up;
529				drive-open-drain;
530			};
531
532			/* UART_RTS / USART_RTS / LPUART_RTS */
533
534			usart1_rts_pa12: usart1_rts_pa12 {
535				pinmux = <STM32_PINMUX('A', 12, AF7)>;
536				bias-pull-up;
537				drive-open-drain;
538			};
539
540			usart2_rts_pa1: usart2_rts_pa1 {
541				pinmux = <STM32_PINMUX('A', 1, AF7)>;
542				bias-pull-up;
543				drive-open-drain;
544			};
545
546			/* UART_RX / USART_RX / LPUART_RX */
547
548			lpuart1_rx_pa3: lpuart1_rx_pa3 {
549				pinmux = <STM32_PINMUX('A', 3, AF12)>;
550			};
551
552			usart1_rx_pa10: usart1_rx_pa10 {
553				pinmux = <STM32_PINMUX('A', 10, AF7)>;
554			};
555
556			usart1_rx_pb7: usart1_rx_pb7 {
557				pinmux = <STM32_PINMUX('B', 7, AF7)>;
558			};
559
560			usart2_rx_pa3: usart2_rx_pa3 {
561				pinmux = <STM32_PINMUX('A', 3, AF7)>;
562			};
563
564			usart2_rx_pa15: usart2_rx_pa15 {
565				pinmux = <STM32_PINMUX('A', 15, AF7)>;
566			};
567
568			usart2_rx_pb4: usart2_rx_pb4 {
569				pinmux = <STM32_PINMUX('B', 4, AF7)>;
570			};
571
572			/* UART_TX / USART_TX / LPUART_TX */
573
574			lpuart1_tx_pa2: lpuart1_tx_pa2 {
575				pinmux = <STM32_PINMUX('A', 2, AF12)>;
576				bias-pull-up;
577			};
578
579			usart1_tx_pa9: usart1_tx_pa9 {
580				pinmux = <STM32_PINMUX('A', 9, AF7)>;
581				bias-pull-up;
582			};
583
584			usart1_tx_pb6: usart1_tx_pb6 {
585				pinmux = <STM32_PINMUX('B', 6, AF7)>;
586				bias-pull-up;
587			};
588
589			usart2_tx_pa2: usart2_tx_pa2 {
590				pinmux = <STM32_PINMUX('A', 2, AF7)>;
591				bias-pull-up;
592			};
593
594			usart2_tx_pa14: usart2_tx_pa14 {
595				pinmux = <STM32_PINMUX('A', 14, AF7)>;
596				bias-pull-up;
597			};
598
599			usart2_tx_pb3: usart2_tx_pb3 {
600				pinmux = <STM32_PINMUX('B', 3, AF7)>;
601				bias-pull-up;
602			};
603
604			/* USB */
605
606			usb_dm_pa11: usb_dm_pa11 {
607				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
608			};
609
610			usb_dp_pa12: usb_dp_pa12 {
611				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
612			};
613
614		};
615	};
616};