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@50000000 {
12
13			/* ADC_IN / ADC_INN / ADC_INP */
14
15			/omit-if-no-ref/ adc1_in0_pa0: adc1_in0_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			/omit-if-no-ref/ adc1_in1_pa1: adc1_in1_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			/omit-if-no-ref/ adc1_in2_pa2: adc1_in2_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			/omit-if-no-ref/ adc1_in8_pa8: adc1_in8_pa8 {
28				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
29			};
30
31			/omit-if-no-ref/ adc1_in11_pa11: adc1_in11_pa11 {
32				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
33			};
34
35			/omit-if-no-ref/ adc1_in12_pa12: adc1_in12_pa12 {
36				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
37			};
38
39			/omit-if-no-ref/ adc1_in13_pa13: adc1_in13_pa13 {
40				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
41			};
42
43			/omit-if-no-ref/ adc1_in14_pa14: adc1_in14_pa14 {
44				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
45			};
46
47			/* Analog */
48
49			/omit-if-no-ref/ analog_pa0: analog_pa0 {
50				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
51			};
52
53			/omit-if-no-ref/ analog_pa1: analog_pa1 {
54				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
55			};
56
57			/omit-if-no-ref/ analog_pa2: analog_pa2 {
58				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
59			};
60
61			/omit-if-no-ref/ analog_pa8: analog_pa8 {
62				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
63			};
64
65			/omit-if-no-ref/ analog_pa9: analog_pa9 {
66				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
67			};
68
69			/omit-if-no-ref/ analog_pa10: analog_pa10 {
70				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
71			};
72
73			/omit-if-no-ref/ analog_pa11: analog_pa11 {
74				pinmux = <STM32_PINMUX('A', 11, ANALOG)>;
75			};
76
77			/omit-if-no-ref/ analog_pa12: analog_pa12 {
78				pinmux = <STM32_PINMUX('A', 12, ANALOG)>;
79			};
80
81			/omit-if-no-ref/ analog_pa13: analog_pa13 {
82				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
83			};
84
85			/omit-if-no-ref/ analog_pa14: analog_pa14 {
86				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
87			};
88
89			/omit-if-no-ref/ analog_pb6: analog_pb6 {
90				pinmux = <STM32_PINMUX('B', 6, ANALOG)>;
91			};
92
93			/omit-if-no-ref/ analog_pb7: analog_pb7 {
94				pinmux = <STM32_PINMUX('B', 7, ANALOG)>;
95			};
96
97			/omit-if-no-ref/ analog_pc14: analog_pc14 {
98				pinmux = <STM32_PINMUX('C', 14, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pc15: analog_pc15 {
102				pinmux = <STM32_PINMUX('C', 15, ANALOG)>;
103			};
104
105			/omit-if-no-ref/ analog_pf2: analog_pf2 {
106				pinmux = <STM32_PINMUX('F', 2, ANALOG)>;
107			};
108
109			/* I2C_SCL */
110
111			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
112				pinmux = <STM32_PINMUX('A', 9, AF6)>;
113				bias-pull-up;
114				drive-open-drain;
115			};
116
117			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
118				pinmux = <STM32_PINMUX('B', 6, AF6)>;
119				bias-pull-up;
120				drive-open-drain;
121			};
122
123			/omit-if-no-ref/ i2c1_scl_pb7: i2c1_scl_pb7 {
124				pinmux = <STM32_PINMUX('B', 7, AF14)>;
125				bias-pull-up;
126				drive-open-drain;
127			};
128
129			/* I2C_SDA */
130
131			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
132				pinmux = <STM32_PINMUX('A', 10, AF6)>;
133				bias-pull-up;
134				drive-open-drain;
135			};
136
137			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
138				pinmux = <STM32_PINMUX('B', 7, AF6)>;
139				bias-pull-up;
140				drive-open-drain;
141			};
142
143			/omit-if-no-ref/ i2c1_sda_pc14: i2c1_sda_pc14 {
144				pinmux = <STM32_PINMUX('C', 14, AF14)>;
145				bias-pull-up;
146				drive-open-drain;
147			};
148
149			/* I2S_CK */
150
151			/omit-if-no-ref/ i2s1_ck_pa1: i2s1_ck_pa1 {
152				pinmux = <STM32_PINMUX('A', 1, AF0)>;
153				slew-rate = "very-high-speed";
154			};
155
156			/omit-if-no-ref/ i2s1_ck_pb6: i2s1_ck_pb6 {
157				pinmux = <STM32_PINMUX('B', 6, AF10)>;
158				slew-rate = "very-high-speed";
159			};
160
161			/* I2S_MCK */
162
163			/omit-if-no-ref/ i2s1_mck_pa11: i2s1_mck_pa11 {
164				pinmux = <STM32_PINMUX('A', 11, AF0)>;
165				slew-rate = "very-high-speed";
166			};
167
168			/omit-if-no-ref/ i2s1_mck_pb6: i2s1_mck_pb6 {
169				pinmux = <STM32_PINMUX('B', 6, AF9)>;
170				slew-rate = "very-high-speed";
171			};
172
173			/* I2S_SD */
174
175			/omit-if-no-ref/ i2s1_sd_pa2: i2s1_sd_pa2 {
176				pinmux = <STM32_PINMUX('A', 2, AF0)>;
177			};
178
179			/omit-if-no-ref/ i2s1_sd_pa12: i2s1_sd_pa12 {
180				pinmux = <STM32_PINMUX('A', 12, AF0)>;
181			};
182
183			/omit-if-no-ref/ i2s1_sd_pb6: i2s1_sd_pb6 {
184				pinmux = <STM32_PINMUX('B', 6, AF8)>;
185			};
186
187			/* I2S_WS */
188
189			/omit-if-no-ref/ i2s1_ws_pa8: i2s1_ws_pa8 {
190				pinmux = <STM32_PINMUX('A', 8, AF8)>;
191			};
192
193			/omit-if-no-ref/ i2s1_ws_pa14: i2s1_ws_pa14 {
194				pinmux = <STM32_PINMUX('A', 14, AF8)>;
195			};
196
197			/* SPI_MISO */
198
199			/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
200				pinmux = <STM32_PINMUX('A', 11, AF0)>;
201				bias-pull-down;
202			};
203
204			/omit-if-no-ref/ spi1_miso_pb6: spi1_miso_pb6 {
205				pinmux = <STM32_PINMUX('B', 6, AF9)>;
206				bias-pull-down;
207			};
208
209			/* SPI_MOSI */
210
211			/omit-if-no-ref/ spi1_mosi_pa2: spi1_mosi_pa2 {
212				pinmux = <STM32_PINMUX('A', 2, AF0)>;
213				bias-pull-down;
214			};
215
216			/omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 {
217				pinmux = <STM32_PINMUX('A', 12, AF0)>;
218				bias-pull-down;
219			};
220
221			/omit-if-no-ref/ spi1_mosi_pb6: spi1_mosi_pb6 {
222				pinmux = <STM32_PINMUX('B', 6, AF8)>;
223				bias-pull-down;
224			};
225
226			/* SPI_NSS */
227
228			/omit-if-no-ref/ spi1_nss_pa8: spi1_nss_pa8 {
229				pinmux = <STM32_PINMUX('A', 8, AF8)>;
230				bias-pull-up;
231			};
232
233			/omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 {
234				pinmux = <STM32_PINMUX('A', 14, AF8)>;
235				bias-pull-up;
236			};
237
238			/* SPI_SCK */
239
240			/omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 {
241				pinmux = <STM32_PINMUX('A', 1, AF0)>;
242				bias-pull-down;
243				slew-rate = "very-high-speed";
244			};
245
246			/omit-if-no-ref/ spi1_sck_pb6: spi1_sck_pb6 {
247				pinmux = <STM32_PINMUX('B', 6, AF10)>;
248				bias-pull-down;
249				slew-rate = "very-high-speed";
250			};
251
252			/* TIM_BKIN */
253
254			/omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 {
255				pinmux = <STM32_PINMUX('A', 11, AF5)>;
256			};
257
258			/omit-if-no-ref/ tim1_bkin2_pc14: tim1_bkin2_pc14 {
259				pinmux = <STM32_PINMUX('C', 14, AF2)>;
260			};
261
262			/omit-if-no-ref/ tim16_bkin_pb6: tim16_bkin_pb6 {
263				pinmux = <STM32_PINMUX('B', 6, AF14)>;
264			};
265
266			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
267				pinmux = <STM32_PINMUX('A', 10, AF5)>;
268			};
269
270			/omit-if-no-ref/ tim17_bkin_pb6: tim17_bkin_pb6 {
271				pinmux = <STM32_PINMUX('B', 6, AF15)>;
272			};
273
274			/* TIM_CH / TIM_CHN */
275
276			/omit-if-no-ref/ tim1_ch1_pa0: tim1_ch1_pa0 {
277				pinmux = <STM32_PINMUX('A', 0, AF5)>;
278			};
279
280			/omit-if-no-ref/ tim1_ch2_pa1: tim1_ch2_pa1 {
281				pinmux = <STM32_PINMUX('A', 1, AF5)>;
282			};
283
284			/omit-if-no-ref/ tim1_ch3_pa2: tim1_ch3_pa2 {
285				pinmux = <STM32_PINMUX('A', 2, AF5)>;
286			};
287
288			/omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 {
289				pinmux = <STM32_PINMUX('A', 8, AF2)>;
290			};
291
292			/omit-if-no-ref/ tim1_ch2n_pa8: tim1_ch2n_pa8 {
293				pinmux = <STM32_PINMUX('A', 8, AF9)>;
294			};
295
296			/omit-if-no-ref/ tim1_ch3n_pa8: tim1_ch3n_pa8 {
297				pinmux = <STM32_PINMUX('A', 8, AF10)>;
298			};
299
300			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
301				pinmux = <STM32_PINMUX('A', 9, AF2)>;
302			};
303
304			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
305				pinmux = <STM32_PINMUX('A', 10, AF2)>;
306			};
307
308			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
309				pinmux = <STM32_PINMUX('A', 11, AF2)>;
310			};
311
312			/omit-if-no-ref/ tim1_ch1_pa14: tim1_ch1_pa14 {
313				pinmux = <STM32_PINMUX('A', 14, AF10)>;
314			};
315
316			/omit-if-no-ref/ tim1_ch2_pb6: tim1_ch2_pb6 {
317				pinmux = <STM32_PINMUX('B', 6, AF11)>;
318			};
319
320			/omit-if-no-ref/ tim1_ch3_pb6: tim1_ch3_pb6 {
321				pinmux = <STM32_PINMUX('B', 6, AF1)>;
322			};
323
324			/omit-if-no-ref/ tim1_ch4_pb7: tim1_ch4_pb7 {
325				pinmux = <STM32_PINMUX('B', 7, AF1)>;
326			};
327
328			/omit-if-no-ref/ tim1_ch4_pf2: tim1_ch4_pf2 {
329				pinmux = <STM32_PINMUX('F', 2, AF1)>;
330			};
331
332			/omit-if-no-ref/ tim3_ch3_pa8: tim3_ch3_pa8 {
333				pinmux = <STM32_PINMUX('A', 8, AF11)>;
334			};
335
336			/omit-if-no-ref/ tim3_ch4_pa8: tim3_ch4_pa8 {
337				pinmux = <STM32_PINMUX('A', 8, AF12)>;
338			};
339
340			/omit-if-no-ref/ tim3_ch1_pb6: tim3_ch1_pb6 {
341				pinmux = <STM32_PINMUX('B', 6, AF12)>;
342			};
343
344			/omit-if-no-ref/ tim3_ch2_pb6: tim3_ch2_pb6 {
345				pinmux = <STM32_PINMUX('B', 6, AF13)>;
346			};
347
348			/omit-if-no-ref/ tim3_ch3_pb6: tim3_ch3_pb6 {
349				pinmux = <STM32_PINMUX('B', 6, AF3)>;
350			};
351
352			/omit-if-no-ref/ tim3_ch1_pb7: tim3_ch1_pb7 {
353				pinmux = <STM32_PINMUX('B', 7, AF11)>;
354			};
355
356			/omit-if-no-ref/ tim3_ch4_pb7: tim3_ch4_pb7 {
357				pinmux = <STM32_PINMUX('B', 7, AF3)>;
358			};
359
360			/omit-if-no-ref/ tim3_ch2_pc14: tim3_ch2_pc14 {
361				pinmux = <STM32_PINMUX('C', 14, AF11)>;
362			};
363
364			/omit-if-no-ref/ tim3_ch3_pc15: tim3_ch3_pc15 {
365				pinmux = <STM32_PINMUX('C', 15, AF3)>;
366			};
367
368			/omit-if-no-ref/ tim14_ch1_pa8: tim14_ch1_pa8 {
369				pinmux = <STM32_PINMUX('A', 8, AF13)>;
370			};
371
372			/omit-if-no-ref/ tim16_ch1_pa0: tim16_ch1_pa0 {
373				pinmux = <STM32_PINMUX('A', 0, AF2)>;
374			};
375
376			/omit-if-no-ref/ tim16_ch1n_pa2: tim16_ch1n_pa2 {
377				pinmux = <STM32_PINMUX('A', 2, AF2)>;
378			};
379
380			/omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 {
381				pinmux = <STM32_PINMUX('B', 6, AF2)>;
382			};
383
384			/omit-if-no-ref/ tim16_ch1_pb7: tim16_ch1_pb7 {
385				pinmux = <STM32_PINMUX('B', 7, AF10)>;
386			};
387
388			/omit-if-no-ref/ tim17_ch1_pa1: tim17_ch1_pa1 {
389				pinmux = <STM32_PINMUX('A', 1, AF2)>;
390			};
391
392			/omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 {
393				pinmux = <STM32_PINMUX('B', 7, AF2)>;
394			};
395
396			/omit-if-no-ref/ tim17_ch1_pc14: tim17_ch1_pc14 {
397				pinmux = <STM32_PINMUX('C', 14, AF10)>;
398			};
399
400			/* UART_CTS / USART_CTS / LPUART_CTS */
401
402			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
403				pinmux = <STM32_PINMUX('A', 11, AF1)>;
404				bias-pull-up;
405				drive-open-drain;
406			};
407
408			/omit-if-no-ref/ usart1_cts_pb6: usart1_cts_pb6 {
409				pinmux = <STM32_PINMUX('B', 6, AF5)>;
410				bias-pull-up;
411				drive-open-drain;
412			};
413
414			/omit-if-no-ref/ usart2_cts_pa0: usart2_cts_pa0 {
415				pinmux = <STM32_PINMUX('A', 0, AF1)>;
416				bias-pull-up;
417				drive-open-drain;
418			};
419
420			/omit-if-no-ref/ usart2_cts_pb7: usart2_cts_pb7 {
421				pinmux = <STM32_PINMUX('B', 7, AF9)>;
422				bias-pull-up;
423				drive-open-drain;
424			};
425
426			/* UART_DE / USART_DE / LPUART_DE */
427
428			/omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 {
429				pinmux = <STM32_PINMUX('A', 12, AF1)>;
430				drive-push-pull;
431			};
432
433			/omit-if-no-ref/ usart1_de_pa14: usart1_de_pa14 {
434				pinmux = <STM32_PINMUX('A', 14, AF12)>;
435				drive-push-pull;
436			};
437
438			/omit-if-no-ref/ usart1_de_pb6: usart1_de_pb6 {
439				pinmux = <STM32_PINMUX('B', 6, AF4)>;
440				drive-push-pull;
441			};
442
443			/omit-if-no-ref/ usart2_de_pa1: usart2_de_pa1 {
444				pinmux = <STM32_PINMUX('A', 1, AF1)>;
445				drive-push-pull;
446			};
447
448			/omit-if-no-ref/ usart2_de_pc14: usart2_de_pc14 {
449				pinmux = <STM32_PINMUX('C', 14, AF9)>;
450				drive-push-pull;
451			};
452
453			/* UART_RTS / USART_RTS / LPUART_RTS */
454
455			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
456				pinmux = <STM32_PINMUX('A', 12, AF1)>;
457				bias-pull-up;
458				drive-open-drain;
459			};
460
461			/omit-if-no-ref/ usart1_rts_pa14: usart1_rts_pa14 {
462				pinmux = <STM32_PINMUX('A', 14, AF12)>;
463				bias-pull-up;
464				drive-open-drain;
465			};
466
467			/omit-if-no-ref/ usart1_rts_pb6: usart1_rts_pb6 {
468				pinmux = <STM32_PINMUX('B', 6, AF4)>;
469				bias-pull-up;
470				drive-open-drain;
471			};
472
473			/omit-if-no-ref/ usart2_rts_pa1: usart2_rts_pa1 {
474				pinmux = <STM32_PINMUX('A', 1, AF1)>;
475				bias-pull-up;
476				drive-open-drain;
477			};
478
479			/omit-if-no-ref/ usart2_rts_pc14: usart2_rts_pc14 {
480				pinmux = <STM32_PINMUX('C', 14, AF9)>;
481				bias-pull-up;
482				drive-open-drain;
483			};
484
485			/* UART_RX / USART_RX / LPUART_RX */
486
487			/omit-if-no-ref/ usart1_rx_pa1: usart1_rx_pa1 {
488				pinmux = <STM32_PINMUX('A', 1, AF4)>;
489			};
490
491			/omit-if-no-ref/ usart1_rx_pa8: usart1_rx_pa8 {
492				pinmux = <STM32_PINMUX('A', 8, AF14)>;
493			};
494
495			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
496				pinmux = <STM32_PINMUX('A', 10, AF1)>;
497			};
498
499			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
500				pinmux = <STM32_PINMUX('B', 7, AF0)>;
501			};
502
503			/omit-if-no-ref/ usart2_rx_pa13: usart2_rx_pa13 {
504				pinmux = <STM32_PINMUX('A', 13, AF4)>;
505			};
506
507			/omit-if-no-ref/ usart2_rx_pa14: usart2_rx_pa14 {
508				pinmux = <STM32_PINMUX('A', 14, AF9)>;
509			};
510
511			/* UART_TX / USART_TX / LPUART_TX */
512
513			/omit-if-no-ref/ usart1_tx_pa0: usart1_tx_pa0 {
514				pinmux = <STM32_PINMUX('A', 0, AF4)>;
515				bias-pull-up;
516			};
517
518			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
519				pinmux = <STM32_PINMUX('A', 9, AF1)>;
520				bias-pull-up;
521			};
522
523			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
524				pinmux = <STM32_PINMUX('B', 6, AF0)>;
525				bias-pull-up;
526			};
527
528			/omit-if-no-ref/ usart1_tx_pc14: usart1_tx_pc14 {
529				pinmux = <STM32_PINMUX('C', 14, AF0)>;
530				bias-pull-up;
531			};
532
533			/omit-if-no-ref/ usart2_tx_pa2: usart2_tx_pa2 {
534				pinmux = <STM32_PINMUX('A', 2, AF1)>;
535				bias-pull-up;
536			};
537
538			/omit-if-no-ref/ usart2_tx_pa8: usart2_tx_pa8 {
539				pinmux = <STM32_PINMUX('A', 8, AF1)>;
540				bias-pull-up;
541			};
542
543			/omit-if-no-ref/ usart2_tx_pa14: usart2_tx_pa14 {
544				pinmux = <STM32_PINMUX('A', 14, AF1)>;
545				bias-pull-up;
546			};
547
548		};
549	};
550};