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_in2_pa7: adc1_in2_pa7 {
44				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
45			};
46
47			/omit-if-no-ref/ adc1_in3_pa8: adc1_in3_pa8 {
48				pinmux = <STM32_PINMUX('A', 8, ANALOG)>;
49			};
50
51			/omit-if-no-ref/ adc1_in4_pa9: adc1_in4_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_pb0: analog_pb0 {
118				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
119			};
120
121			/omit-if-no-ref/ analog_pb1: analog_pb1 {
122				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
123			};
124
125			/omit-if-no-ref/ analog_pb2: analog_pb2 {
126				pinmux = <STM32_PINMUX('B', 2, 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_ph3: analog_ph3 {
150				pinmux = <STM32_PINMUX('H', 3, ANALOG)>;
151			};
152
153			/* I2C_SCL */
154
155			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
156				pinmux = <STM32_PINMUX('A', 9, AF4)>;
157				bias-pull-up;
158				drive-open-drain;
159			};
160
161			/omit-if-no-ref/ i2c1_scl_pb6: i2c1_scl_pb6 {
162				pinmux = <STM32_PINMUX('B', 6, AF4)>;
163				bias-pull-up;
164				drive-open-drain;
165			};
166
167			/omit-if-no-ref/ i2c1_scl_pb8: i2c1_scl_pb8 {
168				pinmux = <STM32_PINMUX('B', 8, AF4)>;
169				bias-pull-up;
170				drive-open-drain;
171			};
172
173			/* I2C_SDA */
174
175			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
176				pinmux = <STM32_PINMUX('A', 10, AF4)>;
177				bias-pull-up;
178				drive-open-drain;
179			};
180
181			/omit-if-no-ref/ i2c1_sda_pb7: i2c1_sda_pb7 {
182				pinmux = <STM32_PINMUX('B', 7, AF4)>;
183				bias-pull-up;
184				drive-open-drain;
185			};
186
187			/* SPI_MISO */
188
189			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
190				pinmux = <STM32_PINMUX('A', 6, AF5)>;
191				bias-pull-down;
192			};
193
194			/omit-if-no-ref/ spi1_miso_pa11: spi1_miso_pa11 {
195				pinmux = <STM32_PINMUX('A', 11, AF5)>;
196				bias-pull-down;
197			};
198
199			/omit-if-no-ref/ spi1_miso_pb4: spi1_miso_pb4 {
200				pinmux = <STM32_PINMUX('B', 4, AF5)>;
201				bias-pull-down;
202			};
203
204			/* SPI_MOSI */
205
206			/omit-if-no-ref/ spi1_mosi_pa5: spi1_mosi_pa5 {
207				pinmux = <STM32_PINMUX('A', 5, AF4)>;
208				bias-pull-down;
209			};
210
211			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
212				pinmux = <STM32_PINMUX('A', 7, AF5)>;
213				bias-pull-down;
214			};
215
216			/omit-if-no-ref/ spi1_mosi_pa12: spi1_mosi_pa12 {
217				pinmux = <STM32_PINMUX('A', 12, AF5)>;
218				bias-pull-down;
219			};
220
221			/omit-if-no-ref/ spi1_mosi_pa13: spi1_mosi_pa13 {
222				pinmux = <STM32_PINMUX('A', 13, AF5)>;
223				bias-pull-down;
224			};
225
226			/omit-if-no-ref/ spi1_mosi_pb5: spi1_mosi_pb5 {
227				pinmux = <STM32_PINMUX('B', 5, AF5)>;
228				bias-pull-down;
229			};
230
231			/* SPI_NSS */
232
233			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
234				pinmux = <STM32_PINMUX('A', 4, AF5)>;
235				bias-pull-up;
236			};
237
238			/omit-if-no-ref/ spi1_nss_pa14: spi1_nss_pa14 {
239				pinmux = <STM32_PINMUX('A', 14, AF5)>;
240				bias-pull-up;
241			};
242
243			/omit-if-no-ref/ spi1_nss_pb2: spi1_nss_pb2 {
244				pinmux = <STM32_PINMUX('B', 2, AF5)>;
245				bias-pull-up;
246			};
247
248			/omit-if-no-ref/ spi1_nss_pb6: spi1_nss_pb6 {
249				pinmux = <STM32_PINMUX('B', 6, AF5)>;
250				bias-pull-up;
251			};
252
253			/* SPI_SCK */
254
255			/omit-if-no-ref/ spi1_sck_pa1: spi1_sck_pa1 {
256				pinmux = <STM32_PINMUX('A', 1, AF5)>;
257				bias-pull-down;
258				slew-rate = "very-high-speed";
259			};
260
261			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
262				pinmux = <STM32_PINMUX('A', 5, AF5)>;
263				bias-pull-down;
264				slew-rate = "very-high-speed";
265			};
266
267			/* TIM_BKIN */
268
269			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
270				pinmux = <STM32_PINMUX('A', 6, AF1)>;
271			};
272
273			/omit-if-no-ref/ tim1_bkin2_pa11: tim1_bkin2_pa11 {
274				pinmux = <STM32_PINMUX('A', 11, AF2)>;
275			};
276
277			/omit-if-no-ref/ tim1_bkin_pb7: tim1_bkin_pb7 {
278				pinmux = <STM32_PINMUX('B', 7, AF3)>;
279			};
280
281			/* TIM_CH / TIM_CHN */
282
283			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
284				pinmux = <STM32_PINMUX('A', 7, AF1)>;
285			};
286
287			/omit-if-no-ref/ tim1_ch1_pa8: tim1_ch1_pa8 {
288				pinmux = <STM32_PINMUX('A', 8, AF1)>;
289			};
290
291			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
292				pinmux = <STM32_PINMUX('A', 9, AF1)>;
293			};
294
295			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
296				pinmux = <STM32_PINMUX('A', 10, AF1)>;
297			};
298
299			/omit-if-no-ref/ tim1_ch4_pa11: tim1_ch4_pa11 {
300				pinmux = <STM32_PINMUX('A', 11, AF1)>;
301			};
302
303			/omit-if-no-ref/ tim1_ch3_pb7: tim1_ch3_pb7 {
304				pinmux = <STM32_PINMUX('B', 7, AF12)>;
305			};
306
307			/omit-if-no-ref/ tim1_ch2n_pb8: tim1_ch2n_pb8 {
308				pinmux = <STM32_PINMUX('B', 8, AF1)>;
309			};
310
311			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
312				pinmux = <STM32_PINMUX('A', 0, AF1)>;
313			};
314
315			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
316				pinmux = <STM32_PINMUX('A', 1, AF1)>;
317			};
318
319			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
320				pinmux = <STM32_PINMUX('A', 2, AF1)>;
321			};
322
323			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
324				pinmux = <STM32_PINMUX('A', 3, AF1)>;
325			};
326
327			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
328				pinmux = <STM32_PINMUX('A', 5, AF1)>;
329			};
330
331			/* UART_CTS / USART_CTS / LPUART_CTS */
332
333			/omit-if-no-ref/ lpuart1_cts_pa6: lpuart1_cts_pa6 {
334				pinmux = <STM32_PINMUX('A', 6, AF8)>;
335				bias-pull-up;
336				drive-open-drain;
337			};
338
339			/omit-if-no-ref/ usart1_cts_pa11: usart1_cts_pa11 {
340				pinmux = <STM32_PINMUX('A', 11, AF7)>;
341				bias-pull-up;
342				drive-open-drain;
343			};
344
345			/omit-if-no-ref/ usart1_cts_pb4: usart1_cts_pb4 {
346				pinmux = <STM32_PINMUX('B', 4, AF7)>;
347				bias-pull-up;
348				drive-open-drain;
349			};
350
351			/* UART_DE / USART_DE / LPUART_DE */
352
353			/omit-if-no-ref/ usart1_de_pa12: usart1_de_pa12 {
354				pinmux = <STM32_PINMUX('A', 12, AF7)>;
355				drive-push-pull;
356			};
357
358			/omit-if-no-ref/ lpuart1_de_pb1: lpuart1_de_pb1 {
359				pinmux = <STM32_PINMUX('B', 1, AF8)>;
360				drive-push-pull;
361			};
362
363			/* UART_RTS / USART_RTS / LPUART_RTS */
364
365			/omit-if-no-ref/ usart1_rts_pa12: usart1_rts_pa12 {
366				pinmux = <STM32_PINMUX('A', 12, AF7)>;
367				bias-pull-up;
368				drive-open-drain;
369			};
370
371			/omit-if-no-ref/ lpuart1_rts_pb1: lpuart1_rts_pb1 {
372				pinmux = <STM32_PINMUX('B', 1, AF8)>;
373				bias-pull-up;
374				drive-open-drain;
375			};
376
377			/* UART_RX / USART_RX / LPUART_RX */
378
379			/omit-if-no-ref/ lpuart1_rx_pa3: lpuart1_rx_pa3 {
380				pinmux = <STM32_PINMUX('A', 3, AF8)>;
381			};
382
383			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
384				pinmux = <STM32_PINMUX('A', 10, AF7)>;
385			};
386
387			/omit-if-no-ref/ lpuart1_rx_pa12: lpuart1_rx_pa12 {
388				pinmux = <STM32_PINMUX('A', 12, AF8)>;
389			};
390
391			/omit-if-no-ref/ usart1_rx_pb7: usart1_rx_pb7 {
392				pinmux = <STM32_PINMUX('B', 7, AF7)>;
393			};
394
395			/* UART_TX / USART_TX / LPUART_TX */
396
397			/omit-if-no-ref/ lpuart1_tx_pa2: lpuart1_tx_pa2 {
398				pinmux = <STM32_PINMUX('A', 2, AF8)>;
399				bias-pull-up;
400			};
401
402			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
403				pinmux = <STM32_PINMUX('A', 9, AF7)>;
404				bias-pull-up;
405			};
406
407			/omit-if-no-ref/ lpuart1_tx_pb5: lpuart1_tx_pb5 {
408				pinmux = <STM32_PINMUX('B', 5, AF8)>;
409				bias-pull-up;
410			};
411
412			/omit-if-no-ref/ usart1_tx_pb6: usart1_tx_pb6 {
413				pinmux = <STM32_PINMUX('B', 6, AF7)>;
414				bias-pull-up;
415			};
416
417		};
418	};
419};