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_pa8: adc1_in15_pa8 {
48				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
49			};
50
51			/omit-if-no-ref/ adc1_in16_pa9: adc1_in16_pa9 {
52				pinmux = <STM32_PINMUX('A', 9, 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_pb2: analog_pb2 {
130				pinmux = <STM32_PINMUX('B', 2, ANALOG)>;
131			};
132
133			/omit-if-no-ref/ analog_pb3: analog_pb3 {
134				pinmux = <STM32_PINMUX('B', 3, ANALOG)>;
135			};
136
137			/omit-if-no-ref/ analog_pb4: analog_pb4 {
138				pinmux = <STM32_PINMUX('B', 4, ANALOG)>;
139			};
140
141			/omit-if-no-ref/ analog_pb5: analog_pb5 {
142				pinmux = <STM32_PINMUX('B', 5, ANALOG)>;
143			};
144
145			/omit-if-no-ref/ analog_pb6: analog_pb6 {
146				pinmux = <STM32_PINMUX('B', 6, ANALOG)>;
147			};
148
149			/omit-if-no-ref/ analog_pb7: analog_pb7 {
150				pinmux = <STM32_PINMUX('B', 7, ANALOG)>;
151			};
152
153			/omit-if-no-ref/ analog_pb8: analog_pb8 {
154				pinmux = <STM32_PINMUX('B', 8, ANALOG)>;
155			};
156
157			/omit-if-no-ref/ analog_pb9: analog_pb9 {
158				pinmux = <STM32_PINMUX('B', 9, ANALOG)>;
159			};
160
161			/omit-if-no-ref/ analog_pc14: analog_pc14 {
162				pinmux = <STM32_PINMUX('C', 14, ANALOG)>;
163			};
164
165			/omit-if-no-ref/ analog_pc15: analog_pc15 {
166				pinmux = <STM32_PINMUX('C', 15, ANALOG)>;
167			};
168
169			/omit-if-no-ref/ analog_pe4: analog_pe4 {
170				pinmux = <STM32_PINMUX('E', 4, ANALOG)>;
171			};
172
173			/omit-if-no-ref/ analog_ph3: analog_ph3 {
174				pinmux = <STM32_PINMUX('H', 3, ANALOG)>;
175			};
176
177			/* I2C_SCL */
178
179			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
180				pinmux = <STM32_PINMUX('A', 9, AF4)>;
181				bias-pull-up;
182				drive-open-drain;
183			};
184
185			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
186				pinmux = <STM32_PINMUX('B', 6, AF4)>;
187				bias-pull-up;
188				drive-open-drain;
189			};
190
191			/omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 {
192				pinmux = <STM32_PINMUX('B', 8, AF4)>;
193				bias-pull-up;
194				drive-open-drain;
195			};
196
197			/* I2C_SDA */
198
199			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
200				pinmux = <STM32_PINMUX('A', 10, AF4)>;
201				bias-pull-up;
202				drive-open-drain;
203			};
204
205			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
206				pinmux = <STM32_PINMUX('B', 7, AF4)>;
207				bias-pull-up;
208				drive-open-drain;
209			};
210
211			/omit-if-no-ref/ i2c1_sda_pb9: i2c1_sda_pb9 {
212				pinmux = <STM32_PINMUX('B', 9, AF4)>;
213				bias-pull-up;
214				drive-open-drain;
215			};
216
217			/* SPI_MISO */
218
219			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
220				pinmux = <STM32_PINMUX('A', 6, AF5)>;
221				bias-pull-down;
222			};
223
224			/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
225				pinmux = <STM32_PINMUX('A', 11, AF5)>;
226				bias-pull-down;
227			};
228
229			/omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 {
230				pinmux = <STM32_PINMUX('B', 4, AF5)>;
231				bias-pull-down;
232			};
233
234			/* SPI_MOSI */
235
236			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
237				pinmux = <STM32_PINMUX('A', 7, AF5)>;
238				bias-pull-down;
239			};
240
241			/omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 {
242				pinmux = <STM32_PINMUX('A', 12, AF5)>;
243				bias-pull-down;
244			};
245
246			/omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 {
247				pinmux = <STM32_PINMUX('B', 5, AF5)>;
248				bias-pull-down;
249			};
250
251			/* SPI_NSS */
252
253			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
254				pinmux = <STM32_PINMUX('A', 4, AF5)>;
255				bias-pull-up;
256			};
257
258			/omit-if-no-ref/ spi1_nss_pa15: spi1_nss_pa15 {
259				pinmux = <STM32_PINMUX('A', 15, AF5)>;
260				bias-pull-up;
261			};
262
263			/omit-if-no-ref/ spi1_nss_pb2: spi1_nss_pb2 {
264				pinmux = <STM32_PINMUX('B', 2, AF5)>;
265				bias-pull-up;
266			};
267
268			/* SPI_SCK */
269
270			/omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 {
271				pinmux = <STM32_PINMUX('A', 1, AF5)>;
272				bias-pull-down;
273				slew-rate = "very-high-speed";
274			};
275
276			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
277				pinmux = <STM32_PINMUX('A', 5, AF5)>;
278				bias-pull-down;
279				slew-rate = "very-high-speed";
280			};
281
282			/omit-if-no-ref/ spi1_sck_pb3: spi1_sck_pb3 {
283				pinmux = <STM32_PINMUX('B', 3, AF5)>;
284				bias-pull-down;
285				slew-rate = "very-high-speed";
286			};
287
288			/* TIM_BKIN */
289
290			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
291				pinmux = <STM32_PINMUX('A', 6, AF12)>;
292			};
293
294			/omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 {
295				pinmux = <STM32_PINMUX('A', 11, AF12)>;
296			};
297
298			/omit-if-no-ref/ tim1_bkin_pb7: tim1_bkin_pb7 {
299				pinmux = <STM32_PINMUX('B', 7, AF3)>;
300			};
301
302			/omit-if-no-ref/ tim16_bkin_pb5: tim16_bkin_pb5 {
303				pinmux = <STM32_PINMUX('B', 5, AF14)>;
304			};
305
306			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
307				pinmux = <STM32_PINMUX('A', 10, AF14)>;
308			};
309
310			/omit-if-no-ref/ tim17_bkin_pb4: tim17_bkin_pb4 {
311				pinmux = <STM32_PINMUX('B', 4, AF14)>;
312			};
313
314			/* TIM_CH / TIM_CHN */
315
316			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
317				pinmux = <STM32_PINMUX('A', 7, AF1)>;
318			};
319
320			/omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 {
321				pinmux = <STM32_PINMUX('A', 8, AF1)>;
322			};
323
324			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
325				pinmux = <STM32_PINMUX('A', 9, AF1)>;
326			};
327
328			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
329				pinmux = <STM32_PINMUX('A', 10, AF1)>;
330			};
331
332			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
333				pinmux = <STM32_PINMUX('A', 11, AF1)>;
334			};
335
336			/omit-if-no-ref/ tim1_ch2n_pb8: tim1_ch2n_pb8 {
337				pinmux = <STM32_PINMUX('B', 8, AF1)>;
338			};
339
340			/omit-if-no-ref/ tim1_ch3n_pb9: tim1_ch3n_pb9 {
341				pinmux = <STM32_PINMUX('B', 9, AF1)>;
342			};
343
344			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
345				pinmux = <STM32_PINMUX('A', 0, AF1)>;
346			};
347
348			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
349				pinmux = <STM32_PINMUX('A', 1, AF1)>;
350			};
351
352			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
353				pinmux = <STM32_PINMUX('A', 2, AF1)>;
354			};
355
356			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
357				pinmux = <STM32_PINMUX('A', 3, AF1)>;
358			};
359
360			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
361				pinmux = <STM32_PINMUX('A', 5, AF1)>;
362			};
363
364			/omit-if-no-ref/ tim2_ch1_pa15: tim2_ch1_pa15 {
365				pinmux = <STM32_PINMUX('A', 15, AF1)>;
366			};
367
368			/omit-if-no-ref/ tim2_ch2_pb3: tim2_ch2_pb3 {
369				pinmux = <STM32_PINMUX('B', 3, AF1)>;
370			};
371
372			/omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 {
373				pinmux = <STM32_PINMUX('A', 6, AF14)>;
374			};
375
376			/omit-if-no-ref/ tim16_ch1n_pb6: tim16_ch1n_pb6 {
377				pinmux = <STM32_PINMUX('B', 6, AF14)>;
378			};
379
380			/omit-if-no-ref/ tim16_ch1_pb8: tim16_ch1_pb8 {
381				pinmux = <STM32_PINMUX('B', 8, AF14)>;
382			};
383
384			/omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 {
385				pinmux = <STM32_PINMUX('A', 7, AF14)>;
386			};
387
388			/omit-if-no-ref/ tim17_ch1n_pb7: tim17_ch1n_pb7 {
389				pinmux = <STM32_PINMUX('B', 7, AF14)>;
390			};
391
392			/omit-if-no-ref/ tim17_ch1_pb9: tim17_ch1_pb9 {
393				pinmux = <STM32_PINMUX('B', 9, AF14)>;
394			};
395
396			/* UART_CTS / USART_CTS / LPUART_CTS */
397
398			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
399				pinmux = <STM32_PINMUX('A', 11, AF7)>;
400				bias-pull-up;
401				drive-open-drain;
402			};
403
404			/omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 {
405				pinmux = <STM32_PINMUX('B', 4, AF7)>;
406				bias-pull-up;
407				drive-open-drain;
408			};
409
410			/* UART_DE / USART_DE / LPUART_DE */
411
412			/omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 {
413				pinmux = <STM32_PINMUX('A', 12, AF7)>;
414				drive-push-pull;
415			};
416
417			/omit-if-no-ref/ usart1_de_pb3: usart1_de_pb3 {
418				pinmux = <STM32_PINMUX('B', 3, AF7)>;
419				drive-push-pull;
420			};
421
422			/* UART_RTS / USART_RTS / LPUART_RTS */
423
424			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
425				pinmux = <STM32_PINMUX('A', 12, AF7)>;
426				bias-pull-up;
427				drive-open-drain;
428			};
429
430			/omit-if-no-ref/ usart1_rts_pb3: usart1_rts_pb3 {
431				pinmux = <STM32_PINMUX('B', 3, AF7)>;
432				bias-pull-up;
433				drive-open-drain;
434			};
435
436			/* UART_RX / USART_RX / LPUART_RX */
437
438			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
439				pinmux = <STM32_PINMUX('A', 10, AF7)>;
440			};
441
442			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
443				pinmux = <STM32_PINMUX('B', 7, AF7)>;
444			};
445
446			/* UART_TX / USART_TX / LPUART_TX */
447
448			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
449				pinmux = <STM32_PINMUX('A', 9, AF7)>;
450				bias-pull-up;
451			};
452
453			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
454				pinmux = <STM32_PINMUX('B', 6, AF7)>;
455				bias-pull-up;
456			};
457
458		};
459	};
460};