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_in0_pa0: adc_in0_pa0 {
16				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
17			};
18
19			/omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 {
20				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
21			};
22
23			/omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 {
24				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
25			};
26
27			/omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 {
28				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
29			};
30
31			/omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 {
32				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
33			};
34
35			/omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 {
36				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
37			};
38
39			/omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 {
40				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
41			};
42
43			/omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 {
44				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
45			};
46
47			/omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 {
48				pinmux = <STM32_PINMUX('B', 1, 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_pa9: analog_pa9 {
86				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
87			};
88
89			/omit-if-no-ref/ analog_pa10: analog_pa10 {
90				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
91			};
92
93			/omit-if-no-ref/ analog_pa13: analog_pa13 {
94				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
95			};
96
97			/omit-if-no-ref/ analog_pa14: analog_pa14 {
98				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pb1: analog_pb1 {
102				pinmux = <STM32_PINMUX('B', 1, ANALOG)>;
103			};
104
105			/omit-if-no-ref/ analog_pf0: analog_pf0 {
106				pinmux = <STM32_PINMUX('F', 0, ANALOG)>;
107			};
108
109			/omit-if-no-ref/ analog_pf1: analog_pf1 {
110				pinmux = <STM32_PINMUX('F', 1, ANALOG)>;
111			};
112
113			/* I2C_SCL */
114
115			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
116				pinmux = <STM32_PINMUX('A', 9, AF4)>;
117				bias-pull-up;
118				drive-open-drain;
119			};
120
121			/* I2C_SDA */
122
123			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
124				pinmux = <STM32_PINMUX('A', 10, AF4)>;
125				bias-pull-up;
126				drive-open-drain;
127			};
128
129			/* I2S_CK */
130
131			/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
132				pinmux = <STM32_PINMUX('A', 5, AF0)>;
133				slew-rate = "very-high-speed";
134			};
135
136			/* I2S_MCK */
137
138			/omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 {
139				pinmux = <STM32_PINMUX('A', 6, AF0)>;
140				slew-rate = "very-high-speed";
141			};
142
143			/* I2S_SD */
144
145			/omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 {
146				pinmux = <STM32_PINMUX('A', 7, AF0)>;
147			};
148
149			/* I2S_WS */
150
151			/omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 {
152				pinmux = <STM32_PINMUX('A', 4, AF0)>;
153			};
154
155			/* SPI_MISO */
156
157			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
158				pinmux = <STM32_PINMUX('A', 6, AF0)>;
159				bias-pull-down;
160			};
161
162			/* SPI_MOSI */
163
164			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
165				pinmux = <STM32_PINMUX('A', 7, AF0)>;
166				bias-pull-down;
167			};
168
169			/* SPI_NSS */
170
171			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
172				pinmux = <STM32_PINMUX('A', 4, AF0)>;
173				bias-pull-up;
174			};
175
176			/* SPI_SCK */
177
178			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
179				pinmux = <STM32_PINMUX('A', 5, AF0)>;
180				bias-pull-down;
181				slew-rate = "very-high-speed";
182			};
183
184			/* TIM_BKIN */
185
186			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
187				pinmux = <STM32_PINMUX('A', 6, AF2)>;
188			};
189
190			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
191				pinmux = <STM32_PINMUX('A', 10, AF0)>;
192			};
193
194			/* TIM_CH / TIM_CHN */
195
196			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
197				pinmux = <STM32_PINMUX('A', 7, AF2)>;
198			};
199
200			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
201				pinmux = <STM32_PINMUX('A', 9, AF2)>;
202			};
203
204			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
205				pinmux = <STM32_PINMUX('A', 10, AF2)>;
206			};
207
208			/omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 {
209				pinmux = <STM32_PINMUX('B', 1, AF2)>;
210			};
211
212			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
213				pinmux = <STM32_PINMUX('A', 0, AF2)>;
214			};
215
216			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
217				pinmux = <STM32_PINMUX('A', 1, AF2)>;
218			};
219
220			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
221				pinmux = <STM32_PINMUX('A', 2, AF2)>;
222			};
223
224			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
225				pinmux = <STM32_PINMUX('A', 3, AF2)>;
226			};
227
228			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
229				pinmux = <STM32_PINMUX('A', 5, AF2)>;
230			};
231
232			/omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 {
233				pinmux = <STM32_PINMUX('A', 6, AF1)>;
234			};
235
236			/omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 {
237				pinmux = <STM32_PINMUX('A', 7, AF1)>;
238			};
239
240			/omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 {
241				pinmux = <STM32_PINMUX('B', 1, AF1)>;
242			};
243
244			/omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 {
245				pinmux = <STM32_PINMUX('A', 4, AF4)>;
246			};
247
248			/omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 {
249				pinmux = <STM32_PINMUX('A', 7, AF4)>;
250			};
251
252			/omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 {
253				pinmux = <STM32_PINMUX('B', 1, AF0)>;
254			};
255
256			/omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 {
257				pinmux = <STM32_PINMUX('A', 6, AF5)>;
258			};
259
260			/omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 {
261				pinmux = <STM32_PINMUX('A', 7, AF5)>;
262			};
263
264			/* UART_CTS / USART_CTS / LPUART_CTS */
265
266			/omit-if-no-ref/ usart1_cts_pa0: usart1_cts_pa0 {
267				pinmux = <STM32_PINMUX('A', 0, AF1)>;
268				bias-pull-up;
269				drive-open-drain;
270			};
271
272			/* UART_DE / USART_DE / LPUART_DE */
273
274			/omit-if-no-ref/ usart1_de_pa1: usart1_de_pa1 {
275				pinmux = <STM32_PINMUX('A', 1, AF1)>;
276				drive-push-pull;
277			};
278
279			/* UART_RTS / USART_RTS / LPUART_RTS */
280
281			/omit-if-no-ref/ usart1_rts_pa1: usart1_rts_pa1 {
282				pinmux = <STM32_PINMUX('A', 1, AF1)>;
283				bias-pull-up;
284				drive-open-drain;
285			};
286
287			/* UART_RX / USART_RX / LPUART_RX */
288
289			/omit-if-no-ref/ usart1_rx_pa3: usart1_rx_pa3 {
290				pinmux = <STM32_PINMUX('A', 3, AF1)>;
291			};
292
293			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
294				pinmux = <STM32_PINMUX('A', 10, AF1)>;
295			};
296
297			/* UART_TX / USART_TX / LPUART_TX */
298
299			/omit-if-no-ref/ usart1_tx_pa2: usart1_tx_pa2 {
300				pinmux = <STM32_PINMUX('A', 2, AF1)>;
301				bias-pull-up;
302			};
303
304			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
305				pinmux = <STM32_PINMUX('A', 9, AF1)>;
306				bias-pull-up;
307			};
308
309			/omit-if-no-ref/ usart1_tx_pa14: usart1_tx_pa14 {
310				pinmux = <STM32_PINMUX('A', 14, AF1)>;
311				bias-pull-up;
312			};
313
314		};
315	};
316};