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