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			/* Analog */
48
49			/omit-if-no-ref/ analog_pa0: analog_pa0 {
50				pinmux = <STM32_PINMUX('A', 0, ANALOG)>;
51			};
52
53			/omit-if-no-ref/ analog_pa1: analog_pa1 {
54				pinmux = <STM32_PINMUX('A', 1, ANALOG)>;
55			};
56
57			/omit-if-no-ref/ analog_pa2: analog_pa2 {
58				pinmux = <STM32_PINMUX('A', 2, ANALOG)>;
59			};
60
61			/omit-if-no-ref/ analog_pa3: analog_pa3 {
62				pinmux = <STM32_PINMUX('A', 3, ANALOG)>;
63			};
64
65			/omit-if-no-ref/ analog_pa4: analog_pa4 {
66				pinmux = <STM32_PINMUX('A', 4, ANALOG)>;
67			};
68
69			/omit-if-no-ref/ analog_pa5: analog_pa5 {
70				pinmux = <STM32_PINMUX('A', 5, ANALOG)>;
71			};
72
73			/omit-if-no-ref/ analog_pa6: analog_pa6 {
74				pinmux = <STM32_PINMUX('A', 6, ANALOG)>;
75			};
76
77			/omit-if-no-ref/ analog_pa7: analog_pa7 {
78				pinmux = <STM32_PINMUX('A', 7, ANALOG)>;
79			};
80
81			/omit-if-no-ref/ analog_pa9: analog_pa9 {
82				pinmux = <STM32_PINMUX('A', 9, ANALOG)>;
83			};
84
85			/omit-if-no-ref/ analog_pa10: analog_pa10 {
86				pinmux = <STM32_PINMUX('A', 10, ANALOG)>;
87			};
88
89			/omit-if-no-ref/ analog_pa13: analog_pa13 {
90				pinmux = <STM32_PINMUX('A', 13, ANALOG)>;
91			};
92
93			/omit-if-no-ref/ analog_pa14: analog_pa14 {
94				pinmux = <STM32_PINMUX('A', 14, ANALOG)>;
95			};
96
97			/omit-if-no-ref/ analog_pf0: analog_pf0 {
98				pinmux = <STM32_PINMUX('F', 0, ANALOG)>;
99			};
100
101			/omit-if-no-ref/ analog_pf1: analog_pf1 {
102				pinmux = <STM32_PINMUX('F', 1, ANALOG)>;
103			};
104
105			/* I2C_SCL */
106
107			/omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 {
108				pinmux = <STM32_PINMUX('A', 9, AF4)>;
109				bias-pull-up;
110				drive-open-drain;
111			};
112
113			/* I2C_SDA */
114
115			/omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 {
116				pinmux = <STM32_PINMUX('A', 10, AF4)>;
117				bias-pull-up;
118				drive-open-drain;
119			};
120
121			/* I2S_CK */
122
123			/omit-if-no-ref/ i2s1_ck_pa5: i2s1_ck_pa5 {
124				pinmux = <STM32_PINMUX('A', 5, AF0)>;
125				slew-rate = "very-high-speed";
126			};
127
128			/* I2S_MCK */
129
130			/omit-if-no-ref/ i2s1_mck_pa6: i2s1_mck_pa6 {
131				pinmux = <STM32_PINMUX('A', 6, AF0)>;
132				slew-rate = "very-high-speed";
133			};
134
135			/* I2S_SD */
136
137			/omit-if-no-ref/ i2s1_sd_pa7: i2s1_sd_pa7 {
138				pinmux = <STM32_PINMUX('A', 7, AF0)>;
139			};
140
141			/* I2S_WS */
142
143			/omit-if-no-ref/ i2s1_ws_pa4: i2s1_ws_pa4 {
144				pinmux = <STM32_PINMUX('A', 4, AF0)>;
145			};
146
147			/* SPI_MISO */
148
149			/omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 {
150				pinmux = <STM32_PINMUX('A', 6, AF0)>;
151				bias-pull-down;
152			};
153
154			/* SPI_MOSI */
155
156			/omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 {
157				pinmux = <STM32_PINMUX('A', 7, AF0)>;
158				bias-pull-down;
159			};
160
161			/* SPI_NSS */
162
163			/omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 {
164				pinmux = <STM32_PINMUX('A', 4, AF0)>;
165				bias-pull-up;
166			};
167
168			/* SPI_SCK */
169
170			/omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 {
171				pinmux = <STM32_PINMUX('A', 5, AF0)>;
172				bias-pull-down;
173				slew-rate = "very-high-speed";
174			};
175
176			/* TIM_BKIN */
177
178			/omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 {
179				pinmux = <STM32_PINMUX('A', 6, AF2)>;
180			};
181
182			/omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 {
183				pinmux = <STM32_PINMUX('A', 10, AF0)>;
184			};
185
186			/* TIM_CH / TIM_CHN */
187
188			/omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 {
189				pinmux = <STM32_PINMUX('A', 7, AF2)>;
190			};
191
192			/omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 {
193				pinmux = <STM32_PINMUX('A', 9, AF2)>;
194			};
195
196			/omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 {
197				pinmux = <STM32_PINMUX('A', 10, AF2)>;
198			};
199
200			/omit-if-no-ref/ tim2_ch1_pa0: tim2_ch1_pa0 {
201				pinmux = <STM32_PINMUX('A', 0, AF2)>;
202			};
203
204			/omit-if-no-ref/ tim2_ch2_pa1: tim2_ch2_pa1 {
205				pinmux = <STM32_PINMUX('A', 1, AF2)>;
206			};
207
208			/omit-if-no-ref/ tim2_ch3_pa2: tim2_ch3_pa2 {
209				pinmux = <STM32_PINMUX('A', 2, AF2)>;
210			};
211
212			/omit-if-no-ref/ tim2_ch4_pa3: tim2_ch4_pa3 {
213				pinmux = <STM32_PINMUX('A', 3, AF2)>;
214			};
215
216			/omit-if-no-ref/ tim2_ch1_pa5: tim2_ch1_pa5 {
217				pinmux = <STM32_PINMUX('A', 5, AF2)>;
218			};
219
220			/omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 {
221				pinmux = <STM32_PINMUX('A', 6, AF1)>;
222			};
223
224			/omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 {
225				pinmux = <STM32_PINMUX('A', 7, AF1)>;
226			};
227
228			/omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 {
229				pinmux = <STM32_PINMUX('A', 4, AF4)>;
230			};
231
232			/omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 {
233				pinmux = <STM32_PINMUX('A', 7, AF4)>;
234			};
235
236			/omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 {
237				pinmux = <STM32_PINMUX('A', 6, AF5)>;
238			};
239
240			/omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 {
241				pinmux = <STM32_PINMUX('A', 7, AF5)>;
242			};
243
244			/* UART_CTS / USART_CTS / LPUART_CTS */
245
246			/omit-if-no-ref/ usart1_cts_pa0: usart1_cts_pa0 {
247				pinmux = <STM32_PINMUX('A', 0, AF1)>;
248				bias-pull-up;
249				drive-open-drain;
250			};
251
252			/* UART_DE / USART_DE / LPUART_DE */
253
254			/omit-if-no-ref/ usart1_de_pa1: usart1_de_pa1 {
255				pinmux = <STM32_PINMUX('A', 1, AF1)>;
256				drive-push-pull;
257			};
258
259			/* UART_RTS / USART_RTS / LPUART_RTS */
260
261			/omit-if-no-ref/ usart1_rts_pa1: usart1_rts_pa1 {
262				pinmux = <STM32_PINMUX('A', 1, AF1)>;
263				bias-pull-up;
264				drive-open-drain;
265			};
266
267			/* UART_RX / USART_RX / LPUART_RX */
268
269			/omit-if-no-ref/ usart1_rx_pa3: usart1_rx_pa3 {
270				pinmux = <STM32_PINMUX('A', 3, AF1)>;
271			};
272
273			/omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 {
274				pinmux = <STM32_PINMUX('A', 10, AF1)>;
275			};
276
277			/* UART_TX / USART_TX / LPUART_TX */
278
279			/omit-if-no-ref/ usart1_tx_pa2: usart1_tx_pa2 {
280				pinmux = <STM32_PINMUX('A', 2, AF1)>;
281				bias-pull-up;
282			};
283
284			/omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 {
285				pinmux = <STM32_PINMUX('A', 9, AF1)>;
286				bias-pull-up;
287			};
288
289			/omit-if-no-ref/ usart1_tx_pa14: usart1_tx_pa14 {
290				pinmux = <STM32_PINMUX('A', 14, AF1)>;
291				bias-pull-up;
292			};
293
294		};
295	};
296};