Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
esp32s2-gpio-sigmap.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32S2_GPIO_SIGMAP_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32S2_GPIO_SIGMAP_H_
9
10#define ESP_NOSIG ESP_SIG_INVAL
11
12#define ESP_SPICLK_OUT ESP_SPICLK_OUT_MUX
13#define ESP_CLK_I2S ESP_CLK_I2S_MUX
14#define ESP_FSPICLK_OUT ESP_FSPICLK_OUT_MUX
15
16#define ESP_SPIQ_IN 0
17#define ESP_SPIQ_OUT 0
18#define ESP_SPID_IN 1
19#define ESP_SPID_OUT 1
20#define ESP_SPIHD_IN 2
21#define ESP_SPIHD_OUT 2
22#define ESP_SPIWP_IN 3
23#define ESP_SPIWP_OUT 3
24#define ESP_SPICLK_OUT_MUX 4
25#define ESP_SPICS0_OUT 5
26#define ESP_SPICS1_OUT 6
27#define ESP_SPID4_IN 7
28#define ESP_SPID4_OUT 7
29#define ESP_SPID5_IN 8
30#define ESP_SPID5_OUT 8
31#define ESP_SPID6_IN 9
32#define ESP_SPID6_OUT 9
33#define ESP_SPID7_IN 10
34#define ESP_SPID7_OUT 10
35#define ESP_SPIDQS_IN 11
36#define ESP_SPIDQS_OUT 11
37#define ESP_U0RXD_IN 14
38#define ESP_U0TXD_OUT 14
39#define ESP_U0CTS_IN 15
40#define ESP_U0RTS_OUT 15
41#define ESP_U0DSR_IN 16
42#define ESP_U0DTR_OUT 16
43#define ESP_U1RXD_IN 17
44#define ESP_U1TXD_OUT 17
45#define ESP_U1CTS_IN 18
46#define ESP_U1RTS_OUT 18
47#define ESP_U1DSR_IN 21
48#define ESP_U1DTR_OUT 21
49#define ESP_I2S0O_BCK_IN 23
50#define ESP_I2S0O_BCK_OUT 23
51#define ESP_I2S0O_WS_IN 25
52#define ESP_I2S0O_WS_OUT 25
53#define ESP_I2S0I_BCK_IN 27
54#define ESP_I2S0I_BCK_OUT 27
55#define ESP_I2S0I_WS_IN 28
56#define ESP_I2S0I_WS_OUT 28
57#define ESP_I2CEXT0_SCL_IN 29
58#define ESP_I2CEXT0_SCL_OUT 29
59#define ESP_I2CEXT0_SDA_IN 30
60#define ESP_I2CEXT0_SDA_OUT 30
61#define ESP_SDIO_TOHOST_INT_OUT 31
62#define ESP_GPIO_BT_ACTIVE 37
63#define ESP_GPIO_BT_PRIORITY 38
64#define ESP_PCNT_SIG_CH0_IN0 39
65#define ESP_GPIO_WLAN_PRIO 39
66#define ESP_PCNT_SIG_CH1_IN0 40
67#define ESP_GPIO_WLAN_ACTIVE 40
68#define ESP_PCNT_CTRL_CH0_IN0 41
69#define ESP_BB_DIAG0 41
70#define ESP_PCNT_CTRL_CH1_IN0 42
71#define ESP_BB_DIAG1 42
72#define ESP_PCNT_SIG_CH0_IN1 43
73#define ESP_BB_DIAG2 43
74#define ESP_PCNT_SIG_CH1_IN1 44
75#define ESP_BB_DIAG3 44
76#define ESP_PCNT_CTRL_CH0_IN1 45
77#define ESP_BB_DIAG4 45
78#define ESP_PCNT_CTRL_CH1_IN1 46
79#define ESP_BB_DIAG5 46
80#define ESP_PCNT_SIG_CH0_IN2 47
81#define ESP_BB_DIAG6 47
82#define ESP_PCNT_SIG_CH1_IN2 48
83#define ESP_BB_DIAG7 48
84#define ESP_PCNT_CTRL_CH0_IN2 49
85#define ESP_BB_DIAG8 49
86#define ESP_PCNT_CTRL_CH1_IN2 50
87#define ESP_BB_DIAG9 50
88#define ESP_PCNT_SIG_CH0_IN3 51
89#define ESP_BB_DIAG10 51
90#define ESP_PCNT_SIG_CH1_IN3 52
91#define ESP_BB_DIAG11 52
92#define ESP_PCNT_CTRL_CH0_IN3 53
93#define ESP_BB_DIAG12 53
94#define ESP_PCNT_CTRL_CH1_IN3 54
95#define ESP_BB_DIAG13 54
96#define ESP_BB_DIAG14 55
97#define ESP_BB_DIAG15 56
98#define ESP_BB_DIAG16 57
99#define ESP_BB_DIAG17 58
100#define ESP_BB_DIAG18 59
101#define ESP_BB_DIAG19 60
102#define ESP_USB_EXTPHY_VP 61
103#define ESP_USB_EXTPHY_OEN 61
104#define ESP_USB_EXTPHY_VM 62
105#define ESP_USB_EXTPHY_SPEED 62
106#define ESP_USB_EXTPHY_RCV 63
107#define ESP_USB_EXTPHY_VPO 63
108#define ESP_USB_OTG_IDDIG_IN 64
109#define ESP_USB_EXTPHY_VMO 64
110#define ESP_USB_OTG_AVALID_IN 65
111#define ESP_USB_EXTPHY_SUSPND 65
112#define ESP_USB_SRP_BVALID_IN 66
113#define ESP_USB_OTG_IDPULLUP 66
114#define ESP_USB_OTG_VBUSVALID_IN 67
115#define ESP_USB_OTG_DPPULLDOWN 67
116#define ESP_USB_SRP_SESSEND_IN 68
117#define ESP_USB_OTG_DMPULLDOWN 68
118#define ESP_USB_OTG_DRVVBUS 69
119#define ESP_USB_SRP_CHRGVBUS 70
120#define ESP_USB_SRP_DISCHRGVBUS 71
121#define ESP_SPI3_CLK_IN 72
122#define ESP_SPI3_CLK_OUT_MUX 72
123#define ESP_SPI3_Q_IN 73
124#define ESP_SPI3_Q_OUT 73
125#define ESP_SPI3_D_IN 74
126#define ESP_SPI3_D_OUT 74
127#define ESP_SPI3_HD_IN 75
128#define ESP_SPI3_HD_OUT 75
129#define ESP_SPI3_CS0_IN 76
130#define ESP_SPI3_CS0_OUT 76
131#define ESP_SPI3_CS1_OUT 77
132#define ESP_SPI3_CS2_OUT 78
133#define ESP_LEDC_LS_SIG_OUT0 79
134#define ESP_LEDC_LS_SIG_OUT1 80
135#define ESP_LEDC_LS_SIG_OUT2 81
136#define ESP_LEDC_LS_SIG_OUT3 82
137#define ESP_RMT_SIG_IN0 83
138#define ESP_LEDC_LS_SIG_OUT4 83
139#define ESP_RMT_SIG_IN1 84
140#define ESP_LEDC_LS_SIG_OUT5 84
141#define ESP_RMT_SIG_IN2 85
142#define ESP_LEDC_LS_SIG_OUT6 85
143#define ESP_RMT_SIG_IN3 86
144#define ESP_LEDC_LS_SIG_OUT7 86
145#define ESP_RMT_SIG_OUT0 87
146#define ESP_RMT_SIG_OUT1 88
147#define ESP_RMT_SIG_OUT2 89
148#define ESP_RMT_SIG_OUT3 90
149#define ESP_EXT_ADC_START 93
150#define ESP_I2CEXT1_SCL_IN 95
151#define ESP_I2CEXT1_SCL_OUT 95
152#define ESP_I2CEXT1_SDA_IN 96
153#define ESP_I2CEXT1_SDA_OUT 96
154#define ESP_GPIO_SD0_OUT 100
155#define ESP_GPIO_SD1_OUT 101
156#define ESP_GPIO_SD2_OUT 102
157#define ESP_GPIO_SD3_OUT 103
158#define ESP_GPIO_SD4_OUT 104
159#define ESP_GPIO_SD5_OUT 105
160#define ESP_GPIO_SD6_OUT 106
161#define ESP_GPIO_SD7_OUT 107
162#define ESP_FSPICLK_IN 108
163#define ESP_FSPICLK_OUT_MUX 108
164#define ESP_FSPIQ_IN 109
165#define ESP_FSPIQ_OUT 109
166#define ESP_FSPID_IN 110
167#define ESP_FSPID_OUT 110
168#define ESP_FSPIHD_IN 111
169#define ESP_FSPIHD_OUT 111
170#define ESP_FSPIWP_IN 112
171#define ESP_FSPIWP_OUT 112
172#define ESP_FSPIIO4_IN 113
173#define ESP_FSPIIO4_OUT 113
174#define ESP_FSPIIO5_IN 114
175#define ESP_FSPIIO5_OUT 114
176#define ESP_FSPIIO6_IN 115
177#define ESP_FSPIIO6_OUT 115
178#define ESP_FSPIIO7_IN 116
179#define ESP_FSPIIO7_OUT 116
180#define ESP_FSPICS0_IN 117
181#define ESP_FSPICS0_OUT 117
182#define ESP_FSPICS1_OUT 118
183#define ESP_FSPICS2_OUT 119
184#define ESP_FSPICS3_OUT 120
185#define ESP_FSPICS4_OUT 121
186#define ESP_FSPICS5_OUT 122
187#define ESP_TWAI_RX 123
188#define ESP_TWAI_TX 123
189#define ESP_TWAI_BUS_OFF_ON 124
190#define ESP_TWAI_CLKOUT 125
191#define ESP_SUBSPICLK_OUT_MUX 126
192#define ESP_SUBSPIQ_IN 127
193#define ESP_SUBSPIQ_OUT 127
194#define ESP_SUBSPID_IN 128
195#define ESP_SUBSPID_OUT 128
196#define ESP_SUBSPIHD_IN 129
197#define ESP_SUBSPIHD_OUT 129
198#define ESP_SUBSPIWP_IN 130
199#define ESP_SUBSPIWP_OUT 130
200#define ESP_SUBSPICS0_OUT 131
201#define ESP_SUBSPICS1_OUT 132
202#define ESP_FSPIDQS_OUT 133
203#define ESP_FSPI_HSYNC_OUT 134
204#define ESP_FSPI_VSYNC_OUT 135
205#define ESP_FSPI_DE_OUT 136
206#define ESP_FSPICD_OUT 137
207#define ESP_SPI3_CD_OUT 139
208#define ESP_SPI3_DQS_OUT 140
209#define ESP_I2S0I_DATA_IN0 143
210#define ESP_I2S0O_DATA_OUT0 143
211#define ESP_I2S0I_DATA_IN1 144
212#define ESP_I2S0O_DATA_OUT1 144
213#define ESP_I2S0I_DATA_IN2 145
214#define ESP_I2S0O_DATA_OUT2 145
215#define ESP_I2S0I_DATA_IN3 146
216#define ESP_I2S0O_DATA_OUT3 146
217#define ESP_I2S0I_DATA_IN4 147
218#define ESP_I2S0O_DATA_OUT4 147
219#define ESP_I2S0I_DATA_IN5 148
220#define ESP_I2S0O_DATA_OUT5 148
221#define ESP_I2S0I_DATA_IN6 149
222#define ESP_I2S0O_DATA_OUT6 149
223#define ESP_I2S0I_DATA_IN7 150
224#define ESP_I2S0O_DATA_OUT7 150
225#define ESP_I2S0I_DATA_IN8 151
226#define ESP_I2S0O_DATA_OUT8 151
227#define ESP_I2S0I_DATA_IN9 152
228#define ESP_I2S0O_DATA_OUT9 152
229#define ESP_I2S0I_DATA_IN10 153
230#define ESP_I2S0O_DATA_OUT10 153
231#define ESP_I2S0I_DATA_IN11 154
232#define ESP_I2S0O_DATA_OUT11 154
233#define ESP_I2S0I_DATA_IN12 155
234#define ESP_I2S0O_DATA_OUT12 155
235#define ESP_I2S0I_DATA_IN13 156
236#define ESP_I2S0O_DATA_OUT13 156
237#define ESP_I2S0I_DATA_IN14 157
238#define ESP_I2S0O_DATA_OUT14 157
239#define ESP_I2S0I_DATA_IN15 158
240#define ESP_I2S0O_DATA_OUT15 158
241#define ESP_I2S0O_DATA_OUT16 159
242#define ESP_I2S0O_DATA_OUT17 160
243#define ESP_I2S0O_DATA_OUT18 161
244#define ESP_I2S0O_DATA_OUT19 162
245#define ESP_I2S0O_DATA_OUT20 163
246#define ESP_I2S0O_DATA_OUT21 164
247#define ESP_I2S0O_DATA_OUT22 165
248#define ESP_I2S0O_DATA_OUT23 166
249#define ESP_SUBSPID4_IN 167
250#define ESP_SUBSPID4_OUT 167
251#define ESP_SUBSPID5_IN 168
252#define ESP_SUBSPID5_OUT 168
253#define ESP_SUBSPID6_IN 169
254#define ESP_SUBSPID6_OUT 169
255#define ESP_SUBSPID7_IN 170
256#define ESP_SUBSPID7_OUT 170
257#define ESP_SUBSPIDQS_IN 171
258#define ESP_SUBSPIDQS_OUT 171
259#define ESP_I2S0I_H_SYNC 193
260#define ESP_I2S0I_V_SYNC 194
261#define ESP_I2S0I_H_ENABLE 195
262#define ESP_PCMFSYNC_IN 203
263#define ESP_BT_AUDIO0_IRQ 203
264#define ESP_PCMCLK_IN 204
265#define ESP_BT_AUDIO1_IRQ 204
266#define ESP_PCMDIN 205
267#define ESP_BT_AUDIO2_IRQ 205
268#define ESP_RW_WAKEUP_REQ 206
269#define ESP_BLE_AUDIO0_IRQ 206
270#define ESP_BLE_AUDIO1_IRQ 207
271#define ESP_BLE_AUDIO2_IRQ 208
272#define ESP_PCMFSYNC_OUT 209
273#define ESP_PCMCLK_OUT 210
274#define ESP_PCMDOUT 211
275#define ESP_BLE_AUDIO_SYNC0_P 212
276#define ESP_BLE_AUDIO_SYNC1_P 213
277#define ESP_BLE_AUDIO_SYNC2_P 214
278#define ESP_ANT_SEL0 215
279#define ESP_ANT_SEL1 216
280#define ESP_ANT_SEL2 217
281#define ESP_ANT_SEL3 218
282#define ESP_ANT_SEL4 219
283#define ESP_ANT_SEL5 220
284#define ESP_ANT_SEL6 221
285#define ESP_ANT_SEL7 222
286#define ESP_SIG_IN_FUNC_223 223
287#define ESP_SIG_IN_FUNC223 223
288#define ESP_SIG_IN_FUNC_224 224
289#define ESP_SIG_IN_FUNC224 224
290#define ESP_SIG_IN_FUNC_225 225
291#define ESP_SIG_IN_FUNC225 225
292#define ESP_SIG_IN_FUNC_226 226
293#define ESP_SIG_IN_FUNC226 226
294#define ESP_SIG_IN_FUNC_227 227
295#define ESP_SIG_IN_FUNC227 227
296#define ESP_PRO_ALONEGPIO_IN0 235
297#define ESP_PRO_ALONEGPIO_OUT0 235
298#define ESP_PRO_ALONEGPIO_IN1 236
299#define ESP_PRO_ALONEGPIO_OUT1 236
300#define ESP_PRO_ALONEGPIO_IN2 237
301#define ESP_PRO_ALONEGPIO_OUT2 237
302#define ESP_PRO_ALONEGPIO_IN3 238
303#define ESP_PRO_ALONEGPIO_OUT3 238
304#define ESP_PRO_ALONEGPIO_IN4 239
305#define ESP_PRO_ALONEGPIO_OUT4 239
306#define ESP_PRO_ALONEGPIO_IN5 240
307#define ESP_PRO_ALONEGPIO_OUT5 240
308#define ESP_PRO_ALONEGPIO_IN6 241
309#define ESP_PRO_ALONEGPIO_OUT6 241
310#define ESP_PRO_ALONEGPIO_IN7 242
311#define ESP_PRO_ALONEGPIO_OUT7 242
312#define ESP_CLK_I2S_MUX 251
313#define ESP_SIG_GPIO_OUT 256
314#define ESP_GPIO_MAP_DATE 0x1904100
315
316#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_ESP32S2_GPIO_SIGMAP_H_ */