1 /*
2  * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #define DR_REG_PLIC_MX_BASE                     0x20001000
8 #define DR_REG_PLIC_UX_BASE                     0x20001400
9 #define DR_REG_CLINT_M_BASE                     0x20001800
10 #define DR_REG_CLINT_U_BASE                     0x20001C00
11 
12 #define DR_REG_UART_BASE                        0x60000000
13 #define DR_REG_UART1_BASE                       0x60001000
14 #define DR_REG_SPI0_BASE                        0x60002000
15 #define DR_REG_SPI1_BASE                        0x60003000
16 #define DR_REG_I2C_EXT_BASE                     0x60004000
17 #define DR_REG_UHCI0_BASE                       0x60005000
18 #define DR_REG_RMT_BASE                         0x60006000
19 #define DR_REG_LEDC_BASE                        0x60007000
20 #define DR_REG_TIMERGROUP0_BASE                 0x60008000
21 #define DR_REG_TIMERGROUP1_BASE                 0x60009000
22 #define DR_REG_SYSTIMER_BASE                    0x6000A000
23 #define DR_REG_TWAI0_BASE                       0x6000B000
24 #define DR_REG_I2S_BASE                         0x6000C000
25 #define DR_REG_TWAI1_BASE                       0x6000D000
26 #define DR_REG_APB_SARADC_BASE                  0x6000E000
27 #define DR_REG_USB_SERIAL_JTAG_BASE             0x6000F000
28 #define DR_REG_INTERRUPT_MATRIX_BASE            0x60010000
29 #define DR_REG_ATOMIC_BASE                      0x60011000
30 #define DR_REG_PCNT_BASE                        0x60012000
31 #define DR_REG_SOC_ETM_BASE                     0x60013000
32 #define DR_REG_MCPWM_BASE                       0x60014000
33 #define DR_REG_PARL_IO_BASE                     0x60015000
34 #define DR_REG_HINF_BASE                        0x60016000
35 #define DR_REG_SLC_BASE                         0x60017000
36 #define DR_REG_SLCHOST_BASE                     0x60018000
37 #define DR_REG_PVT_MONITOR_BASE                 0x60019000
38 #define DR_REG_GDMA_BASE                        0x60080000
39 #define DR_REG_SPI2_BASE                        0x60081000
40 #define DR_REG_AES_BASE                         0x60088000
41 #define DR_REG_SHA_BASE                         0x60089000
42 #define DR_REG_RSA_BASE                         0x6008A000
43 #define DR_REG_ECC_MULT_BASE                    0x6008B000
44 #define DR_REG_DS_BASE                          0x6008C000
45 #define DR_REG_HMAC_BASE                        0x6008D000
46 #define DR_REG_IO_MUX_BASE                      0x60090000
47 #define DR_REG_GPIO_BASE                        0x60091000
48 #define DR_REG_GPIO_EXT_BASE                    0x60091f00 //ESP32C6-TODO
49 #define DR_REG_MEM_MONITOR_BASE                 0x60092000
50 #define DR_REG_PAU_BASE                         0x60093000
51 #define DR_REG_HP_SYSTEM_BASE                   0x60095000
52 #define DR_REG_PCR_BASE                         0x60096000
53 #define DR_REG_TEE_BASE                         0x60098000
54 #define DR_REG_HP_APM_BASE                      0x60099000
55 #define DR_REG_LP_APM0_BASE                     0x60099800
56 #define DR_REG_MISC_BASE                        0x6009F000
57 
58 #define DR_REG_I2C_ANA_MST_BASE                 0x600AF800
59 
60 #define DR_REG_PMU_BASE                         0x600B0000
61 #define DR_REG_LP_CLKRST_BASE                   0x600B0400
62 #define DR_REG_EFUSE_BASE                       0x600B0800
63 #define DR_REG_LP_TIMER_BASE                    0x600B0C00
64 #define DR_REG_LP_AON_BASE                      0x600B1000
65 #define DR_REG_LP_UART_BASE                     0x600B1400
66 #define DR_REG_LP_I2C_BASE                      0x600B1800
67 #define DR_REG_LP_WDT_BASE                      0x600B1C00
68 #define DR_REG_LP_IO_BASE                       0x600B2000
69 #define DR_REG_LP_I2C_ANA_MST_BASE              0x600B2400
70 #define DR_REG_LPPERI_BASE                      0x600B2800
71 #define DR_REG_LP_ANALOG_PERI_BASE              0x600B2C00
72 #define DR_REG_LP_TEE_BASE                      0x600B3400
73 #define DR_REG_LP_APM_BASE                      0x600B3800
74 #define DR_REG_OPT_DEBUG_BASE                   0x600B3C00
75 
76 #define DR_REG_TRACE_BASE                       0x600C0000
77 #define DR_REG_ASSIST_DEBUG_BASE                0x600C2000
78 #define DR_REG_CPU_BUS_MONITOR_BASE             0x600C2000
79 #define DR_REG_INTPRI_BASE                      0x600C5000
80 #define DR_REG_EXTMEM_BASE                      0x600C8000
81 
82 #define PWDET_CONF_REG                          0x600A0810
83