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