Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ambiq-apollo2-pinctrl.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) 2025 Linumiz GmbH
5 * Author: Sri Surya <srisurya@linumiz.com>
6 */
7
13
14#ifndef AMBIQ_APOLLO2_PINCTRL_H
15#define AMBIQ_APOLLO2_PINCTRL_H
16
21
51
53
54#define APOLLO2_ALT_FUNC_POS 0
55#define APOLLO2_ALT_FUNC_MASK 0x7
56
57#define APOLLO2_PIN_NUM_POS 3
58#define APOLLO2_PIN_NUM_MASK 0x3f
59
60#define APOLLO2_PINMUX(pin_num, alt_func) \
61 (((pin_num) << APOLLO2_PIN_NUM_POS) | ((alt_func) << APOLLO2_ALT_FUNC_POS))
62
63#define SLSCL_P0 APOLLO2_PINMUX(0, 0)
64#define SLSCK_P0 APOLLO2_PINMUX(0, 1)
65#define CLKOUT_P0 APOLLO2_PINMUX(0, 2)
66#define GPIO0_P0 APOLLO2_PINMUX(0, 3)
67#define MXSCKLB_P0 APOLLO2_PINMUX(0, 4)
68#define M2SCK_P0 APOLLO2_PINMUX(0, 5)
69#define MXSCLLB_P0 APOLLO2_PINMUX(0, 6)
70#define M2SCL_P0 APOLLO2_PINMUX(0, 7)
71
72#define SLSDA_P1 APOLLO2_PINMUX(1, 0)
73#define SLMISO_P1 APOLLO2_PINMUX(1, 1)
74#define UART0TX_P1 APOLLO2_PINMUX(1, 2)
75#define GPIO1_P1 APOLLO2_PINMUX(1, 3)
76#define MXMISOLB_P1 APOLLO2_PINMUX(1, 4)
77#define M2MISO_P1 APOLLO2_PINMUX(1, 5)
78#define MXSDALB_P1 APOLLO2_PINMUX(1, 6)
79#define M2SDA_P1 APOLLO2_PINMUX(1, 7)
80
81#define SLWIR3_P2 APOLLO2_PINMUX(2, 0)
82#define SLMOSI_P2 APOLLO2_PINMUX(2, 1)
83#define UART0RX_P2 APOLLO2_PINMUX(2, 2)
84#define GPIO2_P2 APOLLO2_PINMUX(2, 3)
85#define MXMOSILB_P2 APOLLO2_PINMUX(2, 4)
86#define M2MOSI_P2 APOLLO2_PINMUX(2, 5)
87#define MXWIR3LB_P2 APOLLO2_PINMUX(2, 6)
88#define M2WIR3_P2 APOLLO2_PINMUX(2, 7)
89
90#define UART0RTS_P3 APOLLO2_PINMUX(3, 0)
91#define SLNCE_P3 APOLLO2_PINMUX(3, 1)
92#define M1NCE4_P3 APOLLO2_PINMUX(3, 2)
93#define GPIO3_P3 APOLLO2_PINMUX(3, 3)
94#define MXNCELB_P3 APOLLO2_PINMUX(3, 4)
95#define M2NCE0_P3 APOLLO2_PINMUX(3, 5)
96#define TRIG1_P3 APOLLO2_PINMUX(3, 6)
97#define I2S_WCLK_P3 APOLLO2_PINMUX(3, 7)
98
99#define UART0CTS_P4 APOLLO2_PINMUX(4, 0)
100#define SLINT_P4 APOLLO2_PINMUX(4, 1)
101#define M0NCE5_P4 APOLLO2_PINMUX(4, 2)
102#define GPIO4_P4 APOLLO2_PINMUX(4, 3)
103#define SLINTGP_P4 APOLLO2_PINMUX(4, 4)
104#define M2NCE5_P4 APOLLO2_PINMUX(4, 5)
105#define CLKOUT_P4 APOLLO2_PINMUX(4, 6)
106#define _32KHZ_XT_P4 APOLLO2_PINMUX(4, 7)
107
108#define M0SCL_P5 APOLLO2_PINMUX(5, 0)
109#define M0SCK_P5 APOLLO2_PINMUX(5, 1)
110#define UART0RTS_P5 APOLLO2_PINMUX(5, 2)
111#define GPIO5_P5 APOLLO2_PINMUX(5, 3)
112#define M0SCKLB_P5 APOLLO2_PINMUX(5, 4)
113#define M0SCLLB_P5 APOLLO2_PINMUX(5, 6)
114#define M1NCE2_P5 APOLLO2_PINMUX(5, 7)
115
116#define M0SDA_P6 APOLLO2_PINMUX(6, 0)
117#define M0MISO_P6 APOLLO2_PINMUX(6, 1)
118#define UART0CTS_P6 APOLLO2_PINMUX(6, 2)
119#define GPIO6_P6 APOLLO2_PINMUX(6, 3)
120#define SLMISOLB_P6 APOLLO2_PINMUX(6, 4)
121#define M1NCE0_P6 APOLLO2_PINMUX(6, 5)
122#define SLSDALB_P6 APOLLO2_PINMUX(6, 6)
123#define I2S_DAT_P6 APOLLO2_PINMUX(6, 7)
124
125#define M0WIR3_P7 APOLLO2_PINMUX(7, 0)
126#define M0MOSI_P7 APOLLO2_PINMUX(7, 1)
127#define CLKOUT_P7 APOLLO2_PINMUX(7, 2)
128#define GPIO7_P7 APOLLO2_PINMUX(7, 3)
129#define TRIG0_P7 APOLLO2_PINMUX(7, 4)
130#define UART0TX_P7 APOLLO2_PINMUX(7, 5)
131#define SLWIR3LB_P7 APOLLO2_PINMUX(7, 6)
132#define M1NCE1_P7 APOLLO2_PINMUX(7, 7)
133
134#define M1SCL_P8 APOLLO2_PINMUX(8, 0)
135#define M1SCK_P8 APOLLO2_PINMUX(8, 1)
136#define M0NCE4_P8 APOLLO2_PINMUX(8, 2)
137#define GPIO8_P8 APOLLO2_PINMUX(8, 3)
138#define M2NCE4_P8 APOLLO2_PINMUX(8, 4)
139#define M1SCKLB_P8 APOLLO2_PINMUX(8, 5)
140#define UART1TX_P8 APOLLO2_PINMUX(8, 6)
141#define M1SCLLB_P8 APOLLO2_PINMUX(8, 7)
142
143#define M1SDA_P9 APOLLO2_PINMUX(9, 0)
144#define M1MISO_P9 APOLLO2_PINMUX(9, 1)
145#define M0NCE5_P9 APOLLO2_PINMUX(9, 2)
146#define GPIO9_P9 APOLLO2_PINMUX(9, 3)
147#define M4NCE5_P9 APOLLO2_PINMUX(9, 4)
148#define SLMISOLB_P9 APOLLO2_PINMUX(9, 5)
149#define UART1RX_P9 APOLLO2_PINMUX(9, 6)
150#define SLSDALB_P9 APOLLO2_PINMUX(9, 7)
151
152#define M1WIR3_P10 APOLLO2_PINMUX(10, 0)
153#define M1MOSI_P10 APOLLO2_PINMUX(10, 1)
154#define M0NCE6_P10 APOLLO2_PINMUX(10, 2)
155#define GPIO10_P10 APOLLO2_PINMUX(10, 3)
156#define M2NCE6_P10 APOLLO2_PINMUX(10, 4)
157#define UART1RTS_P10 APOLLO2_PINMUX(10, 5)
158#define M4NCE4_P10 APOLLO2_PINMUX(10, 6)
159#define SLWIR3LB_P10 APOLLO2_PINMUX(10, 7)
160
161#define ADCSE2_P11 APOLLO2_PINMUX(11, 0)
162#define M0NCE0_P11 APOLLO2_PINMUX(11, 1)
163#define CLKOUT_P11 APOLLO2_PINMUX(11, 2)
164#define GPIO11_P11 APOLLO2_PINMUX(11, 3)
165#define M2NCE7_P11 APOLLO2_PINMUX(11, 4)
166#define UART1CTS_P11 APOLLO2_PINMUX(11, 5)
167#define UART0RX_P11 APOLLO2_PINMUX(11, 6)
168#define PDM_DATA_P11 APOLLO2_PINMUX(11, 7)
169
170#define ADCD0NSE9_P12 APOLLO2_PINMUX(12, 0)
171#define M1NCE0_P12 APOLLO2_PINMUX(12, 1)
172#define TCTA0_P12 APOLLO2_PINMUX(12, 2)
173#define GPIO12_P12 APOLLO2_PINMUX(12, 3)
174#define CLKOUT_P12 APOLLO2_PINMUX(12, 4)
175#define PDM_CLK_P12 APOLLO2_PINMUX(12, 5)
176#define UART0CTS_P12 APOLLO2_PINMUX(12, 6)
177#define UART1TX_P12 APOLLO2_PINMUX(12, 7)
178
179#define ADCD0PSE8_P13 APOLLO2_PINMUX(13, 0)
180#define M1NCE1_P13 APOLLO2_PINMUX(13, 1)
181#define TCTB0_P13 APOLLO2_PINMUX(13, 2)
182#define GPIO13_P13 APOLLO2_PINMUX(13, 3)
183#define M2NCE3_P13 APOLLO2_PINMUX(13, 4)
184#define UART0RTS_P13 APOLLO2_PINMUX(13, 6)
185#define UART1RX_P13 APOLLO2_PINMUX(13, 7)
186
187#define ADCD1P_P14 APOLLO2_PINMUX(14, 0)
188#define M1NCE2_P14 APOLLO2_PINMUX(14, 1)
189#define UART1TX_P14 APOLLO2_PINMUX(14, 2)
190#define GPIO14_P14 APOLLO2_PINMUX(14, 3)
191#define M2NCE1_P14 APOLLO2_PINMUX(14, 4)
192#define SWDCK_P14 APOLLO2_PINMUX(14, 6)
193#define _32KHZ_XT_P14 APOLLO2_PINMUX(14, 7)
194
195#define ADCD1N_P15 APOLLO2_PINMUX(15, 0)
196#define M1NCE3_P15 APOLLO2_PINMUX(15, 1)
197#define UART1RX_P15 APOLLO2_PINMUX(15, 2)
198#define GPIO15_P15 APOLLO2_PINMUX(15, 3)
199#define M2NCE2_P15 APOLLO2_PINMUX(15, 4)
200#define SWDIO_P15 APOLLO2_PINMUX(15, 6)
201#define SWO_P15 APOLLO2_PINMUX(15, 7)
202
203#define ADCSE0_P16 APOLLO2_PINMUX(16, 0)
204#define M0NCE4_P16 APOLLO2_PINMUX(16, 1)
205#define TRIG0_P16 APOLLO2_PINMUX(16, 2)
206#define GPIO16_P16 APOLLO2_PINMUX(16, 3)
207#define M2NCE3_P16 APOLLO2_PINMUX(16, 4)
208#define CMPIN0_P16 APOLLO2_PINMUX(16, 5)
209#define UART0TX_P16 APOLLO2_PINMUX(16, 6)
210#define UART1RTS_P16 APOLLO2_PINMUX(16, 7)
211
212#define CMPRF1_P17 APOLLO2_PINMUX(17, 0)
213#define M0NCE1_P17 APOLLO2_PINMUX(17, 1)
214#define TRIG1_P17 APOLLO2_PINMUX(17, 2)
215#define GPIO17_P17 APOLLO2_PINMUX(17, 3)
216#define M4NCE3_P17 APOLLO2_PINMUX(17, 4)
217#define UART0RX_P17 APOLLO2_PINMUX(17, 6)
218#define UART1CTS_P17 APOLLO2_PINMUX(17, 7)
219
220#define CMPIN1_P18 APOLLO2_PINMUX(18, 0)
221#define M0NCE2_P18 APOLLO2_PINMUX(18, 1)
222#define TCTA1_P18 APOLLO2_PINMUX(18, 2)
223#define GPIO18_P18 APOLLO2_PINMUX(18, 3)
224#define M4NCE1_P18 APOLLO2_PINMUX(18, 4)
225#define UART1TX_P18 APOLLO2_PINMUX(18, 6)
226#define _32KHZ_XT_P18 APOLLO2_PINMUX(18, 7)
227
228#define CMPRF0_P19 APOLLO2_PINMUX(19, 0)
229#define M0NCE3_P19 APOLLO2_PINMUX(19, 1)
230#define TCTB1_P19 APOLLO2_PINMUX(19, 2)
231#define GPIO19_P19 APOLLO2_PINMUX(19, 3)
232#define TCTA1_P19 APOLLO2_PINMUX(19, 4)
233#define UART1RX_P19 APOLLO2_PINMUX(19, 6)
234#define I2S_BCLK_P19 APOLLO2_PINMUX(19, 7)
235
236#define SWDCK_P20 APOLLO2_PINMUX(20, 0)
237#define M1NCE5_P20 APOLLO2_PINMUX(20, 1)
238#define TCTA2_P20 APOLLO2_PINMUX(20, 2)
239#define GPIO20_P20 APOLLO2_PINMUX(20, 3)
240#define UART0TX_P20 APOLLO2_PINMUX(20, 4)
241#define UART1TX_P20 APOLLO2_PINMUX(20, 5)
242
243#define SWDIO_P21 APOLLO2_PINMUX(21, 0)
244#define M1NCE6_P21 APOLLO2_PINMUX(21, 1)
245#define TCTB2_P21 APOLLO2_PINMUX(21, 2)
246#define GPIO21_P21 APOLLO2_PINMUX(21, 3)
247#define UART0RX_P21 APOLLO2_PINMUX(21, 4)
248#define UART1RX_P21 APOLLO2_PINMUX(21, 5)
249
250#define UART0TX_P22 APOLLO2_PINMUX(22, 0)
251#define M1NCE7_P22 APOLLO2_PINMUX(22, 1)
252#define TCTA3_P22 APOLLO2_PINMUX(22, 2)
253#define GPIO22_P22 APOLLO2_PINMUX(22, 3)
254#define PDM_CLK_P22 APOLLO2_PINMUX(22, 4)
255#define TCTB1_P22 APOLLO2_PINMUX(22, 6)
256#define SWO_P22 APOLLO2_PINMUX(22, 7)
257
258#define UART0RX_P23 APOLLO2_PINMUX(23, 0)
259#define M0NCE0_P23 APOLLO2_PINMUX(23, 1)
260#define TCTB3_P23 APOLLO2_PINMUX(23, 2)
261#define GPIO23_P23 APOLLO2_PINMUX(23, 3)
262#define PDM_DATA_P23 APOLLO2_PINMUX(23, 4)
263#define CMPOUT_P23 APOLLO2_PINMUX(23, 5)
264#define TCTB1_P23 APOLLO2_PINMUX(23, 6)
265
266#define M2NCE1_P24 APOLLO2_PINMUX(24, 0)
267#define M0NCE1_P24 APOLLO2_PINMUX(24, 1)
268#define CLKOUT_P24 APOLLO2_PINMUX(24, 2)
269#define GPIO24_P24 APOLLO2_PINMUX(24, 3)
270#define M5NCE0_P24 APOLLO2_PINMUX(24, 4)
271#define TCTA1_P24 APOLLO2_PINMUX(24, 5)
272#define I2S_BCLK_P24 APOLLO2_PINMUX(24, 6)
273#define SWO_P24 APOLLO2_PINMUX(24, 7)
274
275#define M0NCE2_P25 APOLLO2_PINMUX(25, 1)
276#define TCTA0_P25 APOLLO2_PINMUX(25, 2)
277#define GPIO25_P25 APOLLO2_PINMUX(25, 3)
278#define M2SDA_P25 APOLLO2_PINMUX(25, 4)
279#define M2MISO_P25 APOLLO2_PINMUX(25, 5)
280#define SLMISOLB_P25 APOLLO2_PINMUX(25, 6)
281#define SLSDALB_P25 APOLLO2_PINMUX(25, 7)
282
283#define M0NCE3_P26 APOLLO2_PINMUX(26, 1)
284#define TCTB0_P26 APOLLO2_PINMUX(26, 2)
285#define GPIO26_P26 APOLLO2_PINMUX(26, 3)
286#define M2NCE0_P26 APOLLO2_PINMUX(26, 4)
287#define TCTA1_P26 APOLLO2_PINMUX(26, 5)
288#define M5NCE1_P26 APOLLO2_PINMUX(26, 6)
289#define M3NCE0_P26 APOLLO2_PINMUX(26, 7)
290
291#define M1NCE4_P27 APOLLO2_PINMUX(27, 1)
292#define TCTA1_P27 APOLLO2_PINMUX(27, 2)
293#define GPIO27_P27 APOLLO2_PINMUX(27, 3)
294#define M2SCL_P27 APOLLO2_PINMUX(27, 4)
295#define M2SCK_P27 APOLLO2_PINMUX(27, 5)
296#define M2SCKLB_P27 APOLLO2_PINMUX(27, 6)
297#define M2SCLLB_P27 APOLLO2_PINMUX(27, 7)
298
299#define I2S_WCLK_P28 APOLLO2_PINMUX(28, 0)
300#define M1NCE5_P28 APOLLO2_PINMUX(28, 1)
301#define TCTB1_P28 APOLLO2_PINMUX(28, 2)
302#define GPIO28_P28 APOLLO2_PINMUX(28, 3)
303#define M2WIR3_P28 APOLLO2_PINMUX(28, 4)
304#define M2MOSI_P28 APOLLO2_PINMUX(28, 5)
305#define M5NCE3_P28 APOLLO2_PINMUX(28, 6)
306#define SLWIR3LB_P28 APOLLO2_PINMUX(28, 7)
307
308#define ADCSE1_P29 APOLLO2_PINMUX(29, 0)
309#define M1NCE6_P29 APOLLO2_PINMUX(29, 1)
310#define TCTA2_P29 APOLLO2_PINMUX(29, 2)
311#define GPIO29_P29 APOLLO2_PINMUX(29, 3)
312#define UART0CTS_P29 APOLLO2_PINMUX(29, 4)
313#define UART1CTS_P29 APOLLO2_PINMUX(29, 5)
314#define M4NCE0_P29 APOLLO2_PINMUX(29, 6)
315#define PDM_DATA_P29 APOLLO2_PINMUX(29, 7)
316
317#define M1NCE7_P30 APOLLO2_PINMUX(30, 1)
318#define TCTB2_P30 APOLLO2_PINMUX(30, 2)
319#define GPIO30_P30 APOLLO2_PINMUX(30, 3)
320#define UART0TX_P30 APOLLO2_PINMUX(30, 4)
321#define UART1RTS_P30 APOLLO2_PINMUX(30, 5)
322#define I2S_DAT_P30 APOLLO2_PINMUX(30, 7)
323
324#define ADCSE3_P31 APOLLO2_PINMUX(31, 0)
325#define M0NCE4_P31 APOLLO2_PINMUX(31, 1)
326#define TCTA3_P31 APOLLO2_PINMUX(31, 2)
327#define GPIO31_P31 APOLLO2_PINMUX(31, 3)
328#define UART0RX_P31 APOLLO2_PINMUX(31, 4)
329#define TCTB1_P31 APOLLO2_PINMUX(31, 5)
330
331#define ADCSE4_P32 APOLLO2_PINMUX(32, 0)
332#define M0NCE5_P32 APOLLO2_PINMUX(32, 1)
333#define TCTB3_P32 APOLLO2_PINMUX(32, 2)
334#define GPIO32_P32 APOLLO2_PINMUX(32, 3)
335#define TCTB1_P32 APOLLO2_PINMUX(32, 5)
336
337#define ADCSE5_P33 APOLLO2_PINMUX(33, 0)
338#define M0NCE6_P33 APOLLO2_PINMUX(33, 1)
339#define _32KHZ_XT_P33 APOLLO2_PINMUX(33, 2)
340#define GPIO33_P33 APOLLO2_PINMUX(33, 3)
341#define M3NCE7_P33 APOLLO2_PINMUX(33, 5)
342#define TCTB1_P33 APOLLO2_PINMUX(33, 6)
343#define SWO_P33 APOLLO2_PINMUX(33, 7)
344
345#define ADCSE6_P34 APOLLO2_PINMUX(34, 0)
346#define M0NCE7_P34 APOLLO2_PINMUX(34, 1)
347#define M2NCE3_P34 APOLLO2_PINMUX(34, 2)
348#define GPIO34_P34 APOLLO2_PINMUX(34, 3)
349#define CMPRF2_P34 APOLLO2_PINMUX(34, 4)
350#define M3NCE1_P34 APOLLO2_PINMUX(34, 5)
351#define M4NCE0_P34 APOLLO2_PINMUX(34, 6)
352#define M5NCE2_P34 APOLLO2_PINMUX(34, 7)
353
354#define ADCSE7_P35 APOLLO2_PINMUX(35, 0)
355#define M1NCE0_P35 APOLLO2_PINMUX(35, 1)
356#define UART1TX_P35 APOLLO2_PINMUX(35, 2)
357#define GPIO35_P35 APOLLO2_PINMUX(35, 3)
358#define M4NCE6_P35 APOLLO2_PINMUX(35, 4)
359#define TCTA1_P35 APOLLO2_PINMUX(35, 5)
360#define UART0RTS_P35 APOLLO2_PINMUX(35, 6)
361#define M3NCE2_P35 APOLLO2_PINMUX(35, 7)
362
363#define TRIG1_P36 APOLLO2_PINMUX(36, 0)
364#define M1NCE1_P36 APOLLO2_PINMUX(36, 1)
365#define UART1RX_P36 APOLLO2_PINMUX(36, 2)
366#define GPIO36_P36 APOLLO2_PINMUX(36, 3)
367#define _32KHZ_XT_P36 APOLLO2_PINMUX(36, 4)
368#define M2NCE0_P36 APOLLO2_PINMUX(36, 5)
369#define UART0CTS_P36 APOLLO2_PINMUX(36, 6)
370#define M3NCE3_P36 APOLLO2_PINMUX(36, 7)
371
372#define TRIG2_P37 APOLLO2_PINMUX(37, 0)
373#define M1NCE2_P37 APOLLO2_PINMUX(37, 1)
374#define UART0RTS_P37 APOLLO2_PINMUX(37, 2)
375#define GPIO37_P37 APOLLO2_PINMUX(37, 3)
376#define M3NCE4_P37 APOLLO2_PINMUX(37, 4)
377#define M4NCE1_P37 APOLLO2_PINMUX(37, 5)
378#define PDM_CLK_P37 APOLLO2_PINMUX(37, 6)
379#define TCTA1_P37 APOLLO2_PINMUX(37, 7)
380
381#define TRIG3_P38 APOLLO2_PINMUX(38, 0)
382#define M1NCE3_P38 APOLLO2_PINMUX(38, 1)
383#define UART0CTS_P38 APOLLO2_PINMUX(38, 2)
384#define GPIO38_P38 APOLLO2_PINMUX(38, 3)
385#define M3WIR3_P38 APOLLO2_PINMUX(38, 4)
386#define M3MOSI_P38 APOLLO2_PINMUX(38, 5)
387#define M4NCE7_P38 APOLLO2_PINMUX(38, 6)
388#define SLWIR3LB_P38 APOLLO2_PINMUX(38, 7)
389
390#define UART0TX_P39 APOLLO2_PINMUX(39, 0)
391#define UART1TX_P39 APOLLO2_PINMUX(39, 1)
392#define CLKOUT_P39 APOLLO2_PINMUX(39, 2)
393#define GPIO39_P39 APOLLO2_PINMUX(39, 3)
394#define M4SCL_P39 APOLLO2_PINMUX(39, 4)
395#define M4SCK_P39 APOLLO2_PINMUX(39, 5)
396#define M4SCKLB_P39 APOLLO2_PINMUX(39, 6)
397#define M4SCLLB_P39 APOLLO2_PINMUX(39, 7)
398
399#define UART0RX_P40 APOLLO2_PINMUX(40, 0)
400#define UART1RX_P40 APOLLO2_PINMUX(40, 1)
401#define TRIG0_P40 APOLLO2_PINMUX(40, 2)
402#define GPIO40_P40 APOLLO2_PINMUX(40, 3)
403#define M4SDA_P40 APOLLO2_PINMUX(40, 4)
404#define M4MISO_P40 APOLLO2_PINMUX(40, 5)
405#define SLMISOLB_P40 APOLLO2_PINMUX(40, 6)
406#define SLSDALB_P40 APOLLO2_PINMUX(40, 7)
407
408#define M2NCE1_P41 APOLLO2_PINMUX(41, 0)
409#define CLKOUT_P41 APOLLO2_PINMUX(41, 1)
410#define SWO_P41 APOLLO2_PINMUX(41, 2)
411#define GPIO41_P41 APOLLO2_PINMUX(41, 3)
412#define M3NCE5_P41 APOLLO2_PINMUX(41, 4)
413#define M5NCE7_P41 APOLLO2_PINMUX(41, 5)
414#define M4NCE2_P41 APOLLO2_PINMUX(41, 6)
415#define UART0RTS_P41 APOLLO2_PINMUX(41, 7)
416
417#define M2NCE2_P42 APOLLO2_PINMUX(42, 0)
418#define M0NCE0_P42 APOLLO2_PINMUX(42, 1)
419#define TCTA0_P42 APOLLO2_PINMUX(42, 2)
420#define GPIO42_P42 APOLLO2_PINMUX(42, 3)
421#define M3SCL_P42 APOLLO2_PINMUX(42, 4)
422#define M3SCK_P42 APOLLO2_PINMUX(42, 5)
423#define M3SCKLB_P42 APOLLO2_PINMUX(42, 6)
424#define M3SCLLB_P42 APOLLO2_PINMUX(42, 7)
425
426#define M2NCE4_P43 APOLLO2_PINMUX(43, 0)
427#define M0NCE1_P43 APOLLO2_PINMUX(43, 1)
428#define TCTB0_P43 APOLLO2_PINMUX(43, 2)
429#define GPIO43_P43 APOLLO2_PINMUX(43, 3)
430#define M3SDA_P43 APOLLO2_PINMUX(43, 4)
431#define M3MISO_P43 APOLLO2_PINMUX(43, 5)
432#define SLMISOLB_P43 APOLLO2_PINMUX(43, 6)
433#define SLSDALB_P43 APOLLO2_PINMUX(43, 7)
434
435#define UART1RTS_P44 APOLLO2_PINMUX(44, 0)
436#define M0NCE2_P44 APOLLO2_PINMUX(44, 1)
437#define TCTA1_P44 APOLLO2_PINMUX(44, 2)
438#define GPIO44_P44 APOLLO2_PINMUX(44, 3)
439#define M4WIR3_P44 APOLLO2_PINMUX(44, 4)
440#define M4MOSI_P44 APOLLO2_PINMUX(44, 5)
441#define M5NCE6_P44 APOLLO2_PINMUX(44, 6)
442#define SLWIR3LB_P44 APOLLO2_PINMUX(44, 7)
443
444#define UART1CTS_P45 APOLLO2_PINMUX(45, 0)
445#define M0NCE3_P45 APOLLO2_PINMUX(45, 1)
446#define TCTB1_P45 APOLLO2_PINMUX(45, 2)
447#define GPIO45_P45 APOLLO2_PINMUX(45, 3)
448#define M4NCE3_P45 APOLLO2_PINMUX(45, 4)
449#define M3NCE6_P45 APOLLO2_PINMUX(45, 5)
450#define M5NCE5_P45 APOLLO2_PINMUX(45, 6)
451#define SWO_P45 APOLLO2_PINMUX(45, 7)
452
453#define _32KHZ_XT_P46 APOLLO2_PINMUX(46, 0)
454#define M0NCE4_P46 APOLLO2_PINMUX(46, 1)
455#define TCTA2_P46 APOLLO2_PINMUX(46, 2)
456#define GPIO46_P46 APOLLO2_PINMUX(46, 3)
457#define TCTA1_P46 APOLLO2_PINMUX(46, 4)
458#define M5NCE4_P46 APOLLO2_PINMUX(46, 5)
459#define M4NCE4_P46 APOLLO2_PINMUX(46, 6)
460#define SWO_P46 APOLLO2_PINMUX(46, 7)
461
462#define M2NCE5_P47 APOLLO2_PINMUX(47, 0)
463#define M0NCE5_P47 APOLLO2_PINMUX(47, 1)
464#define TCTB2_P47 APOLLO2_PINMUX(47, 2)
465#define GPIO47_P47 APOLLO2_PINMUX(47, 3)
466#define M5WIR3_P47 APOLLO2_PINMUX(47, 4)
467#define M5MOSI_P47 APOLLO2_PINMUX(47, 5)
468#define M4NCE5_P47 APOLLO2_PINMUX(47, 6)
469#define SLWIR3LB_P47 APOLLO2_PINMUX(47, 7)
470
471#define M2NCE6_P48 APOLLO2_PINMUX(48, 0)
472#define M0NCE6_P48 APOLLO2_PINMUX(48, 1)
473#define TCTA3_P48 APOLLO2_PINMUX(48, 2)
474#define GPIO48_P48 APOLLO2_PINMUX(48, 3)
475#define M5SCL_P48 APOLLO2_PINMUX(48, 4)
476#define M5SCK_P48 APOLLO2_PINMUX(48, 5)
477#define M5SCKLB_P48 APOLLO2_PINMUX(48, 6)
478#define M5SCLLB_P48 APOLLO2_PINMUX(48, 7)
479
480#define M2NCE7_P49 APOLLO2_PINMUX(49, 0)
481#define M0NCE7_P49 APOLLO2_PINMUX(49, 1)
482#define TCTB3_P49 APOLLO2_PINMUX(49, 2)
483#define GPIO49_P49 APOLLO2_PINMUX(49, 3)
484#define M5SDA_P49 APOLLO2_PINMUX(49, 4)
485#define M5MISO_P49 APOLLO2_PINMUX(49, 5)
486#define SLMISOLB_P49 APOLLO2_PINMUX(49, 6)
487#define SLSDALB_P49 APOLLO2_PINMUX(49, 7)
488
490
492
493#endif /* AMBIQ_APOLLO2_PINCTRL_H*/