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