1/*
2 * NOTE: Autogenerated file using genpinctrl.py
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <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			adc1_in5_pa0: adc1_in5_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			adc1_in6_pa1: adc1_in6_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			adc1_in7_pa2: adc1_in7_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			adc1_in8_pa3: adc1_in8_pa3 {
28				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
29			};
30
31			adc1_in9_pa4: adc1_in9_pa4 {
32				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
33			};
34
35			adc1_in10_pa5: adc1_in10_pa5 {
36				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
37			};
38
39			adc1_in11_pa6: adc1_in11_pa6 {
40				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
41			};
42
43			adc1_in12_pa7: adc1_in12_pa7 {
44				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
45			};
46
47			adc1_in15_pb0: adc1_in15_pb0 {
48				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
49			};
50
51			adc1_in16_pb1: adc1_in16_pb1 {
52				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
53			};
54
55			adc2_in7_pa2: adc2_in7_pa2 {
56				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
57			};
58
59			adc2_in8_pa3: adc2_in8_pa3 {
60				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
61			};
62
63			adc2_in9_pa4: adc2_in9_pa4 {
64				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
65			};
66
67			adc2_in10_pa5: adc2_in10_pa5 {
68				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
69			};
70
71			adc2_in11_pa6: adc2_in11_pa6 {
72				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
73			};
74
75			adc2_in12_pa7: adc2_in12_pa7 {
76				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
77			};
78
79			adc2_in15_pb0: adc2_in15_pb0 {
80				pinmux = <STM32_PINMUX('B', 0, ANALOG)>;
81			};
82
83			adc2_in16_pb1: adc2_in16_pb1 {
84				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
85			};
86
87			/* I2C_SCL */
88
89			i2c1_scl_pa9: i2c1_scl_pa9 {
90				pinmux = <STM32_PINMUX('A', 9, AF4)>;
91				bias-pull-up;
92				drive-open-drain;
93			};
94
95			i2c1_scl_pb6: i2c1_scl_pb6 {
96				pinmux = <STM32_PINMUX('B', 6, AF4)>;
97				bias-pull-up;
98				drive-open-drain;
99			};
100
101			i2c3_scl_pa7: i2c3_scl_pa7 {
102				pinmux = <STM32_PINMUX('A', 7, AF4)>;
103				bias-pull-up;
104				drive-open-drain;
105			};
106
107			/* I2C_SDA */
108
109			i2c1_sda_pa10: i2c1_sda_pa10 {
110				pinmux = <STM32_PINMUX('A', 10, AF4)>;
111				bias-pull-up;
112				drive-open-drain;
113			};
114
115			i2c1_sda_pb7: i2c1_sda_pb7 {
116				pinmux = <STM32_PINMUX('B', 7, AF4)>;
117				bias-pull-up;
118				drive-open-drain;
119			};
120
121			i2c3_sda_pb4: i2c3_sda_pb4 {
122				pinmux = <STM32_PINMUX('B', 4, AF4)>;
123				bias-pull-up;
124				drive-open-drain;
125			};
126
127			/* QUADSPI */
128
129			quadspi_bk1_ncs_pa2: quadspi_bk1_ncs_pa2 {
130				pinmux = <STM32_PINMUX('A', 2, AF10)>;
131				slew-rate = "very-high-speed";
132			};
133
134			quadspi_clk_pa3: quadspi_clk_pa3 {
135				pinmux = <STM32_PINMUX('A', 3, AF10)>;
136				slew-rate = "very-high-speed";
137			};
138
139			quadspi_bk1_io3_pa6: quadspi_bk1_io3_pa6 {
140				pinmux = <STM32_PINMUX('A', 6, AF10)>;
141				slew-rate = "very-high-speed";
142			};
143
144			quadspi_bk1_io2_pa7: quadspi_bk1_io2_pa7 {
145				pinmux = <STM32_PINMUX('A', 7, AF10)>;
146				slew-rate = "very-high-speed";
147			};
148
149			quadspi_bk1_io1_pb0: quadspi_bk1_io1_pb0 {
150				pinmux = <STM32_PINMUX('B', 0, AF10)>;
151				slew-rate = "very-high-speed";
152			};
153
154			quadspi_bk1_io0_pb1: quadspi_bk1_io0_pb1 {
155				pinmux = <STM32_PINMUX('B', 1, AF10)>;
156				slew-rate = "very-high-speed";
157			};
158
159			/* SPI_MISO */
160
161			spi1_miso_pa6: spi1_miso_pa6 {
162				pinmux = <STM32_PINMUX('A', 6, AF5)>;
163				bias-pull-down;
164			};
165
166			spi1_miso_pa11: spi1_miso_pa11 {
167				pinmux = <STM32_PINMUX('A', 11, AF5)>;
168				bias-pull-down;
169			};
170
171			spi1_miso_pb4: spi1_miso_pb4 {
172				pinmux = <STM32_PINMUX('B', 4, AF5)>;
173				bias-pull-down;
174			};
175
176			/* SPI_MOSI */
177
178			spi1_mosi_pa7: spi1_mosi_pa7 {
179				pinmux = <STM32_PINMUX('A', 7, AF5)>;
180				bias-pull-down;
181			};
182
183			spi1_mosi_pa12: spi1_mosi_pa12 {
184				pinmux = <STM32_PINMUX('A', 12, AF5)>;
185				bias-pull-down;
186			};
187
188			spi1_mosi_pb5: spi1_mosi_pb5 {
189				pinmux = <STM32_PINMUX('B', 5, AF5)>;
190				bias-pull-down;
191			};
192
193			/* SPI_NSS */
194
195			spi1_nss_pa4: spi1_nss_pa4 {
196				pinmux = <STM32_PINMUX('A', 4, AF5)>;
197				bias-pull-up;
198			};
199
200			spi1_nss_pa15: spi1_nss_pa15 {
201				pinmux = <STM32_PINMUX('A', 15, AF5)>;
202				bias-pull-up;
203			};
204
205			spi1_nss_pb0: spi1_nss_pb0 {
206				pinmux = <STM32_PINMUX('B', 0, AF5)>;
207				bias-pull-up;
208			};
209
210			/* SPI_SCK */
211
212			spi1_sck_pa1: spi1_sck_pa1 {
213				pinmux = <STM32_PINMUX('A', 1, AF5)>;
214				bias-pull-down;
215				slew-rate = "very-high-speed";
216			};
217
218			spi1_sck_pa5: spi1_sck_pa5 {
219				pinmux = <STM32_PINMUX('A', 5, AF5)>;
220				bias-pull-down;
221				slew-rate = "very-high-speed";
222			};
223
224			spi1_sck_pb3: spi1_sck_pb3 {
225				pinmux = <STM32_PINMUX('B', 3, AF5)>;
226				bias-pull-down;
227				slew-rate = "very-high-speed";
228			};
229
230			/* TIM_CH / TIM_CHN */
231
232			tim1_ch1n_pa7: tim1_ch1n_pa7 {
233				pinmux = <STM32_PINMUX('A', 7, AF1)>;
234			};
235
236			tim1_ch1_pa8: tim1_ch1_pa8 {
237				pinmux = <STM32_PINMUX('A', 8, AF1)>;
238			};
239
240			tim1_ch2_pa9: tim1_ch2_pa9 {
241				pinmux = <STM32_PINMUX('A', 9, AF1)>;
242			};
243
244			tim1_ch3_pa10: tim1_ch3_pa10 {
245				pinmux = <STM32_PINMUX('A', 10, AF1)>;
246			};
247
248			tim1_ch4_pa11: tim1_ch4_pa11 {
249				pinmux = <STM32_PINMUX('A', 11, AF1)>;
250			};
251
252			tim1_ch2n_pb0: tim1_ch2n_pb0 {
253				pinmux = <STM32_PINMUX('B', 0, AF1)>;
254			};
255
256			tim1_ch3n_pb1: tim1_ch3n_pb1 {
257				pinmux = <STM32_PINMUX('B', 1, AF1)>;
258			};
259
260			tim2_ch1_pa0: tim2_ch1_pa0 {
261				pinmux = <STM32_PINMUX('A', 0, AF1)>;
262			};
263
264			tim2_ch2_pa1: tim2_ch2_pa1 {
265				pinmux = <STM32_PINMUX('A', 1, AF1)>;
266			};
267
268			tim2_ch3_pa2: tim2_ch3_pa2 {
269				pinmux = <STM32_PINMUX('A', 2, AF1)>;
270			};
271
272			tim2_ch4_pa3: tim2_ch4_pa3 {
273				pinmux = <STM32_PINMUX('A', 3, AF1)>;
274			};
275
276			tim2_ch1_pa5: tim2_ch1_pa5 {
277				pinmux = <STM32_PINMUX('A', 5, AF1)>;
278			};
279
280			tim2_ch1_pa15: tim2_ch1_pa15 {
281				pinmux = <STM32_PINMUX('A', 15, AF1)>;
282			};
283
284			tim2_ch2_pb3: tim2_ch2_pb3 {
285				pinmux = <STM32_PINMUX('B', 3, AF1)>;
286			};
287
288			tim15_ch1n_pa1: tim15_ch1n_pa1 {
289				pinmux = <STM32_PINMUX('A', 1, AF14)>;
290			};
291
292			tim15_ch1_pa2: tim15_ch1_pa2 {
293				pinmux = <STM32_PINMUX('A', 2, AF14)>;
294			};
295
296			tim15_ch2_pa3: tim15_ch2_pa3 {
297				pinmux = <STM32_PINMUX('A', 3, AF14)>;
298			};
299
300			tim16_ch1_pa6: tim16_ch1_pa6 {
301				pinmux = <STM32_PINMUX('A', 6, AF14)>;
302			};
303
304			tim16_ch1n_pb6: tim16_ch1n_pb6 {
305				pinmux = <STM32_PINMUX('B', 6, AF14)>;
306			};
307
308			/* UART_CTS / USART_CTS / LPUART_CTS */
309
310			lpuart1_cts_pa6: lpuart1_cts_pa6 {
311				pinmux = <STM32_PINMUX('A', 6, AF8)>;
312				bias-pull-up;
313				drive-open-drain;
314			};
315
316			usart1_cts_pa11: usart1_cts_pa11 {
317				pinmux = <STM32_PINMUX('A', 11, AF7)>;
318				bias-pull-up;
319				drive-open-drain;
320			};
321
322			usart1_cts_pb4: usart1_cts_pb4 {
323				pinmux = <STM32_PINMUX('B', 4, AF7)>;
324				bias-pull-up;
325				drive-open-drain;
326			};
327
328			usart2_cts_pa0: usart2_cts_pa0 {
329				pinmux = <STM32_PINMUX('A', 0, AF7)>;
330				bias-pull-up;
331				drive-open-drain;
332			};
333
334			/* UART_RTS / USART_RTS / LPUART_RTS */
335
336			usart1_rts_pa12: usart1_rts_pa12 {
337				pinmux = <STM32_PINMUX('A', 12, AF7)>;
338				bias-pull-up;
339				drive-open-drain;
340			};
341
342			lpuart1_rts_pb1: lpuart1_rts_pb1 {
343				pinmux = <STM32_PINMUX('B', 1, AF8)>;
344				bias-pull-up;
345				drive-open-drain;
346			};
347
348			usart1_rts_pb3: usart1_rts_pb3 {
349				pinmux = <STM32_PINMUX('B', 3, AF7)>;
350				bias-pull-up;
351				drive-open-drain;
352			};
353
354			usart2_rts_pa1: usart2_rts_pa1 {
355				pinmux = <STM32_PINMUX('A', 1, AF7)>;
356				bias-pull-up;
357				drive-open-drain;
358			};
359
360			/* UART_RX / USART_RX / LPUART_RX */
361
362			lpuart1_rx_pa3: lpuart1_rx_pa3 {
363				pinmux = <STM32_PINMUX('A', 3, AF8)>;
364			};
365
366			usart1_rx_pa10: usart1_rx_pa10 {
367				pinmux = <STM32_PINMUX('A', 10, AF7)>;
368			};
369
370			usart1_rx_pb7: usart1_rx_pb7 {
371				pinmux = <STM32_PINMUX('B', 7, AF7)>;
372			};
373
374			usart2_rx_pa3: usart2_rx_pa3 {
375				pinmux = <STM32_PINMUX('A', 3, AF7)>;
376			};
377
378			usart2_rx_pa15: usart2_rx_pa15 {
379				pinmux = <STM32_PINMUX('A', 15, AF3)>;
380			};
381
382			/* UART_TX / USART_TX / LPUART_TX */
383
384			lpuart1_tx_pa2: lpuart1_tx_pa2 {
385				pinmux = <STM32_PINMUX('A', 2, AF8)>;
386				bias-pull-up;
387			};
388
389			usart1_tx_pa9: usart1_tx_pa9 {
390				pinmux = <STM32_PINMUX('A', 9, AF7)>;
391				bias-pull-up;
392			};
393
394			usart1_tx_pb6: usart1_tx_pb6 {
395				pinmux = <STM32_PINMUX('B', 6, AF7)>;
396				bias-pull-up;
397			};
398
399			usart2_tx_pa2: usart2_tx_pa2 {
400				pinmux = <STM32_PINMUX('A', 2, AF7)>;
401				bias-pull-up;
402			};
403
404			/* USB */
405
406			usb_dm_pa11: usb_dm_pa11 {
407				pinmux = <STM32_PINMUX('A', 11, AF10)>;
408			};
409
410			usb_dp_pa12: usb_dp_pa12 {
411				pinmux = <STM32_PINMUX('A', 12, AF10)>;
412			};
413
414			usb_noe_pa13: usb_noe_pa13 {
415				pinmux = <STM32_PINMUX('A', 13, AF10)>;
416			};
417
418		};
419	};
420};