|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RESET_NUMAKER_M46X_RESET_H
8#define ZEPHYR_INCLUDE_DT_BINDINGS_RESET_NUMAKER_M46X_RESET_H
12#define NUMAKER_SYS_IPRST0_PDMA0RST_Pos (2)
14#define NUMAKER_SYS_IPRST0_EBIRST_Pos (3)
16#define NUMAKER_SYS_IPRST0_EMAC0RST_Pos (5)
18#define NUMAKER_SYS_IPRST0_SDH0RST_Pos (6)
20#define NUMAKER_SYS_IPRST0_CRCRST_Pos (7)
22#define NUMAKER_SYS_IPRST0_CCAPRST_Pos (8)
24#define NUMAKER_SYS_IPRST0_HSUSBDRST_Pos (10)
26#define NUMAKER_SYS_IPRST0_HBIRST_Pos (11)
28#define NUMAKER_SYS_IPRST0_CRPTRST_Pos (12)
30#define NUMAKER_SYS_IPRST0_KSRST_Pos (13)
32#define NUMAKER_SYS_IPRST0_SPIMRST_Pos (14)
34#define NUMAKER_SYS_IPRST0_HSUSBHRST_Pos (16)
36#define NUMAKER_SYS_IPRST0_SDH1RST_Pos (17)
38#define NUMAKER_SYS_IPRST0_PDMA1RST_Pos (18)
40#define NUMAKER_SYS_IPRST0_CANFD0RST_Pos (20)
42#define NUMAKER_SYS_IPRST0_CANFD1RST_Pos (21)
44#define NUMAKER_SYS_IPRST0_CANFD2RST_Pos (22)
46#define NUMAKER_SYS_IPRST0_CANFD3RST_Pos (23)
48#define NUMAKER_SYS_IPRST0_BMCRST_Pos (28)
50#define NUMAKER_SYS_IPRST1_GPIORST_Pos (1)
52#define NUMAKER_SYS_IPRST1_TMR0RST_Pos (2)
54#define NUMAKER_SYS_IPRST1_TMR1RST_Pos (3)
56#define NUMAKER_SYS_IPRST1_TMR2RST_Pos (4)
58#define NUMAKER_SYS_IPRST1_TMR3RST_Pos (5)
60#define NUMAKER_SYS_IPRST1_ACMP01RST_Pos (7)
62#define NUMAKER_SYS_IPRST1_I2C0RST_Pos (8)
64#define NUMAKER_SYS_IPRST1_I2C1RST_Pos (9)
66#define NUMAKER_SYS_IPRST1_I2C2RST_Pos (10)
68#define NUMAKER_SYS_IPRST1_I2C3RST_Pos (11)
70#define NUMAKER_SYS_IPRST1_QSPI0RST_Pos (12)
72#define NUMAKER_SYS_IPRST1_SPI0RST_Pos (13)
74#define NUMAKER_SYS_IPRST1_SPI1RST_Pos (14)
76#define NUMAKER_SYS_IPRST1_SPI2RST_Pos (15)
78#define NUMAKER_SYS_IPRST1_UART0RST_Pos (16)
80#define NUMAKER_SYS_IPRST1_UART1RST_Pos (17)
82#define NUMAKER_SYS_IPRST1_UART2RST_Pos (18)
84#define NUMAKER_SYS_IPRST1_UART3RST_Pos (19)
86#define NUMAKER_SYS_IPRST1_UART4RST_Pos (20)
88#define NUMAKER_SYS_IPRST1_UART5RST_Pos (21)
90#define NUMAKER_SYS_IPRST1_UART6RST_Pos (22)
92#define NUMAKER_SYS_IPRST1_UART7RST_Pos (23)
94#define NUMAKER_SYS_IPRST1_OTGRST_Pos (26)
96#define NUMAKER_SYS_IPRST1_USBDRST_Pos (27)
98#define NUMAKER_SYS_IPRST1_EADC0RST_Pos (28)
100#define NUMAKER_SYS_IPRST1_I2S0RST_Pos (29)
102#define NUMAKER_SYS_IPRST1_HSOTGRST_Pos (30)
104#define NUMAKER_SYS_IPRST1_TRNGRST_Pos (31)
106#define NUMAKER_SYS_IPRST2_SC0RST_Pos (0)
108#define NUMAKER_SYS_IPRST2_SC1RST_Pos (1)
110#define NUMAKER_SYS_IPRST2_SC2RST_Pos (2)
112#define NUMAKER_SYS_IPRST2_I2C4RST_Pos (3)
114#define NUMAKER_SYS_IPRST2_QSPI1RST_Pos (4)
116#define NUMAKER_SYS_IPRST2_SPI3RST_Pos (6)
118#define NUMAKER_SYS_IPRST2_SPI4RST_Pos (7)
120#define NUMAKER_SYS_IPRST2_USCI0RST_Pos (8)
122#define NUMAKER_SYS_IPRST2_PSIORST_Pos (10)
124#define NUMAKER_SYS_IPRST2_DACRST_Pos (12)
126#define NUMAKER_SYS_IPRST2_ECAP2RST_Pos (13)
128#define NUMAKER_SYS_IPRST2_ECAP3RST_Pos (14)
130#define NUMAKER_SYS_IPRST2_EPWM0RST_Pos (16)
132#define NUMAKER_SYS_IPRST2_EPWM1RST_Pos (17)
134#define NUMAKER_SYS_IPRST2_BPWM0RST_Pos (18)
136#define NUMAKER_SYS_IPRST2_BPWM1RST_Pos (19)
138#define NUMAKER_SYS_IPRST2_EQEI2RST_Pos (20)
140#define NUMAKER_SYS_IPRST2_EQEI3RST_Pos (21)
142#define NUMAKER_SYS_IPRST2_EQEI0RST_Pos (22)
144#define NUMAKER_SYS_IPRST2_EQEI1RST_Pos (23)
146#define NUMAKER_SYS_IPRST2_ECAP0RST_Pos (26)
148#define NUMAKER_SYS_IPRST2_ECAP1RST_Pos (27)
150#define NUMAKER_SYS_IPRST2_I2S1RST_Pos (29)
152#define NUMAKER_SYS_IPRST2_EADC1RST_Pos (31)
154#define NUMAKER_SYS_IPRST3_KPIRST_Pos (0)
156#define NUMAKER_SYS_IPRST3_EADC2RST_Pos (6)
158#define NUMAKER_SYS_IPRST3_ACMP23RST_Pos (7)
160#define NUMAKER_SYS_IPRST3_SPI5RST_Pos (8)
162#define NUMAKER_SYS_IPRST3_SPI6RST_Pos (9)
164#define NUMAKER_SYS_IPRST3_SPI7RST_Pos (10)
166#define NUMAKER_SYS_IPRST3_SPI8RST_Pos (11)
168#define NUMAKER_SYS_IPRST3_SPI9RST_Pos (12)
170#define NUMAKER_SYS_IPRST3_SPI10RST_Pos (13)
172#define NUMAKER_SYS_IPRST3_UART8RST_Pos (16)
174#define NUMAKER_SYS_IPRST3_UART9RST_Pos (17)
184#define NUMAKER_PDMA0_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_PDMA0RST_Pos)
185#define NUMAKER_EBI_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_EBIRST_Pos)
186#define NUMAKER_EMAC0_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_EMAC0RST_Pos)
187#define NUMAKER_SDH0_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_SDH0RST_Pos)
188#define NUMAKER_CRC_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CRCRST_Pos)
189#define NUMAKER_CCAP_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CCAPRST_Pos)
190#define NUMAKER_HSUSBD_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_HSUSBDRST_Pos)
191#define NUMAKER_HBI_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_HBIRST_Pos)
192#define NUMAKER_CRPT_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CRPTRST_Pos)
193#define NUMAKER_KS_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_KSRST_Pos)
194#define NUMAKER_SPIM_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_SPIMRST_Pos)
195#define NUMAKER_HSUSBH_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_HSUSBHRST_Pos)
196#define NUMAKER_SDH1_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_SDH1RST_Pos)
197#define NUMAKER_PDMA1_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_PDMA1RST_Pos)
198#define NUMAKER_CANFD0_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CANFD0RST_Pos)
199#define NUMAKER_CANFD1_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CANFD1RST_Pos)
200#define NUMAKER_CANFD2_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CANFD2RST_Pos)
201#define NUMAKER_CANFD3_RST ((0UL << 24) | NUMAKER_SYS_IPRST0_CANFD3RST_Pos)
203#define NUMAKER_GPIO_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_GPIORST_Pos)
204#define NUMAKER_TMR0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_TMR0RST_Pos)
205#define NUMAKER_TMR1_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_TMR1RST_Pos)
206#define NUMAKER_TMR2_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_TMR2RST_Pos)
207#define NUMAKER_TMR3_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_TMR3RST_Pos)
208#define NUMAKER_ACMP01_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_ACMP01RST_Pos)
209#define NUMAKER_I2C0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_I2C0RST_Pos)
210#define NUMAKER_I2C1_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_I2C1RST_Pos)
211#define NUMAKER_I2C2_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_I2C2RST_Pos)
212#define NUMAKER_I2C3_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_I2C3RST_Pos)
213#define NUMAKER_QSPI0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_QSPI0RST_Pos)
214#define NUMAKER_SPI0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_SPI0RST_Pos)
215#define NUMAKER_SPI1_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_SPI1RST_Pos)
216#define NUMAKER_SPI2_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_SPI2RST_Pos)
217#define NUMAKER_UART0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART0RST_Pos)
218#define NUMAKER_UART1_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART1RST_Pos)
219#define NUMAKER_UART2_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART2RST_Pos)
220#define NUMAKER_UART3_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART3RST_Pos)
221#define NUMAKER_UART4_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART4RST_Pos)
222#define NUMAKER_UART5_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART5RST_Pos)
223#define NUMAKER_UART6_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART6RST_Pos)
224#define NUMAKER_UART7_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_UART7RST_Pos)
225#define NUMAKER_OTG_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_OTGRST_Pos)
226#define NUMAKER_USBD_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_USBDRST_Pos)
227#define NUMAKER_EADC0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_EADC0RST_Pos)
228#define NUMAKER_I2S0_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_I2S0RST_Pos)
229#define NUMAKER_HSOTG_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_HSOTGRST_Pos)
230#define NUMAKER_TRNG_RST ((4UL << 24) | NUMAKER_SYS_IPRST1_TRNGRST_Pos)
232#define NUMAKER_SC0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_SC0RST_Pos)
233#define NUMAKER_SC1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_SC1RST_Pos)
234#define NUMAKER_SC2_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_SC2RST_Pos)
235#define NUMAKER_I2C4_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_I2C4RST_Pos)
236#define NUMAKER_QSPI1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_QSPI1RST_Pos)
237#define NUMAKER_SPI3_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_SPI3RST_Pos)
238#define NUMAKER_SPI4_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_SPI4RST_Pos)
239#define NUMAKER_USCI0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_USCI0RST_Pos)
240#define NUMAKER_PSIO_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_PSIORST_Pos)
241#define NUMAKER_DAC_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_DACRST_Pos)
242#define NUMAKER_EPWM0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EPWM0RST_Pos)
243#define NUMAKER_EPWM1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EPWM1RST_Pos)
244#define NUMAKER_BPWM0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_BPWM0RST_Pos)
245#define NUMAKER_BPWM1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_BPWM1RST_Pos)
246#define NUMAKER_EQEI0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EQEI0RST_Pos)
247#define NUMAKER_EQEI1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EQEI1RST_Pos)
248#define NUMAKER_EQEI2_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EQEI2RST_Pos)
249#define NUMAKER_EQEI3_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EQEI3RST_Pos)
250#define NUMAKER_ECAP0_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_ECAP0RST_Pos)
251#define NUMAKER_ECAP1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_ECAP1RST_Pos)
252#define NUMAKER_ECAP2_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_ECAP2RST_Pos)
253#define NUMAKER_ECAP3_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_ECAP3RST_Pos)
254#define NUMAKER_I2S1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_I2S1RST_Pos)
255#define NUMAKER_EADC1_RST ((8UL << 24) | NUMAKER_SYS_IPRST2_EADC1RST_Pos)
257#define NUMAKER_KPI_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_KPIRST_Pos)
258#define NUMAKER_EADC2_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_EADC2RST_Pos)
259#define NUMAKER_ACMP23_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_ACMP23RST_Pos)
260#define NUMAKER_SPI5_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI5RST_Pos)
261#define NUMAKER_SPI6_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI6RST_Pos)
262#define NUMAKER_SPI7_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI7RST_Pos)
263#define NUMAKER_SPI8_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI8RST_Pos)
264#define NUMAKER_SPI9_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI9RST_Pos)
265#define NUMAKER_SPI10_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_SPI10RST_Pos)
266#define NUMAKER_UART8_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_UART8RST_Pos)
267#define NUMAKER_UART9_RST ((0x18UL << 24) | NUMAKER_SYS_IPRST3_UART9RST_Pos)