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