SyterKit
0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
include
drivers
chips
sun55iw6
reg-ncat.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
/*
3
* (C) Copyright 2013-2025
4
* Allwinner Technology Co., Ltd. <www.allwinnertech.com>
5
*
6
* original from bsp uboot defines
7
*/
8
9
#ifndef __SUN55IW6_REG_NCAT_H__
10
#define __SUN55IW6_REG_NCAT_H__
11
12
#define SUNXI_FIXS_BROM_BASE 0x00000000
13
#define SUNXI_HS_BROM_BASE 0x00010000
14
#define SUNXI_NS_BROM_BASE 0x00015000
15
#define SUNXI_SRAM_A2_BASE 0x00040000
16
#define SUNXI_SHARED_SRAM_BASE 0x01000000
17
#define SUNXI_CCMU_BASE 0x02002000
18
#define SUNXI_SPC_BASE 0x02006000
19
#define SUNXI_IOMMU_BASE 0x02010000
20
#define SUNXI_NSI_BASE 0x02020000
21
#define SUNXI_WDG_BASE 0x02050000
22
#define SUNXI_INTERRUPT_CTRL_BASE 0x02055000
23
#define SUNXI_NPD_BASE 0x02070000
24
#define SUNXI_NSI_CPU_BASE 0x02071000
25
#define SUNXI_NPU_TZMA_BASE 0x02073000
26
#define SUNXI_IRTX_BASE 0x02080000
27
#define SUNXI_IRRX0_BASE 0x02081000
28
#define SUNXI_IRRX1_BASE 0x02082000
29
#define SUNXI_IRRX2_BASE 0x02083000
30
#define SUNXI_IRRX3_BASE 0x02084000
31
#define SUNXI_LEDC_BASE 0x02085000
32
#define SUNXI_THS_BASE 0x02086000
33
#define SUNXI_GPADC0_BASE 0x02087000
34
#define SUNXI_GPADC1_BASE 0x02088000
35
#define SUNXI_GPADC2_BASE 0x02089000
36
#define SUNXI_GPADC3_BASE 0x0208A000
37
#define SUNXI_LRADC_BASE 0x0208B000
38
#define SUNXI_TPADC_BASE 0x0208C000
39
#define SUNXI_PWM0_BASE 0x02090000
40
#define SUNXI_PWM1_BASE 0x02091000
41
#define SUNXI_PWM2_BASE 0x02092000
42
#define SUNXI_ADDA_BASE 0x02030000
43
#define SUNXI_DMIC_BASE 0x02031000
44
#define SUNXI_I2S0_BASE 0x02032000
45
#define SUNXI_I2S1_BASE 0x02033000
46
#define SUNXI_I2S2_BASE 0x02034000
47
#define SUNXI_I2S3_BASE 0x02035000
48
#define SUNXI_OWA_BASE 0x02036000
49
#define SUNXI_TWI0_BASE 0x02510000
50
#define SUNXI_TWI1_BASE 0x02511000
51
#define SUNXI_TWI2_BASE 0x02512000
52
#define SUNXI_TWI3_BASE 0x02513000
53
#define SUNXI_TWI4_BASE 0x02514000
54
#define SUNXI_TWI5_BASE 0x02515000
55
#define SUNXI_TWI6_BASE 0x02516000
56
#define SUNXI_UART0_BASE 0x02600000
57
#define SUNXI_UART1_BASE 0x02601000
58
#define SUNXI_UART2_BASE 0x02602000
59
#define SUNXI_UART3_BASE 0x02603000
60
#define SUNXI_UART4_BASE 0x02604000
61
#define SUNXI_UART5_BASE 0x02605000
62
#define SUNXI_UART6_BASE 0x02606000
63
#define SUNXI_UART7_BASE 0x02607000
64
#define SUNXI_UART8_BASE 0x02608000
65
#define SUNXI_UART9_BASE 0x02609000
66
#define SUNXI_UART10_BASE 0x0260A000
67
#define SUNXI_UART11_BASE 0x0260B000
68
#define SUNXI_UART12_BASE 0x0260C000
69
#define SUNXI_UART13_BASE 0x0260D000
70
#define SUNXI_UART14_BASE 0x0260E000
71
#define SUNXI_SYSCTRL_BASE 0x03000000
72
#define SUNXI_DMAC0_BASE 0x03001000
73
#define SUNXI_CPUX_MSGBOX_BASE 0x03003000
74
#define SUNXI_SPINLOCK_BASE 0x03005000
75
#define SUNXI_SID_BASE 0x03006000
76
#define SUNXI_TIMER_BASE 0x03008000
77
#define SUNXI_DCU_BASE 0x03010000
78
#define SUNXI_CE_BASE 0x03040000
79
#define SUNXI_CE_NS_BASE 0x03040000
80
#define SUNXI_CE_S_BASE 0x03040800
81
#define SUNXI_MEMC_BASE 0x03102000
82
#define SUNXI_MEMC_SMC_BASE 0x03110000
83
#define SUNXI_MEMC_COMMON_BASE 0x03120000
84
#define SUNXI_MEMC_DDRC_BASE 0x03130000
85
#define SUNXI_MEMC_PHY_BASE 0x03140000
86
#define SUNXI_CPU_GIC600_BASE 0x03400000
87
#define SUNXI_MBOX_CORE0_BASE 0x03600000
88
#define SUNXI_MBOX_CORE1_BASE 0x03601000
89
#define SUNXI_MBOX_CORE2_BASE 0x03602000
90
#define SUNXI_MBOX_CORE3_BASE 0x03603000
91
#define SUNXI_GPIO_BASE 0x03604000
92
#define SUNXI_DMAC1_BASE 0x04000000
93
#define SUNXI_NAND_BASE 0x04011000
94
#define SUNXI_SMHC0_BASE 0x04020000
95
#define SUNXI_SMHC1_BASE 0x04021000
96
#define SUNXI_SMHC2_BASE 0x04022000
97
#define SUNXI_SPI0_BASE 0x04025000
98
#define SUNXI_SPI1_BASE 0x04026000
99
#define SUNXI_SPI2_BASE 0x04027000
100
#define SUNXI_SPI3_BASE 0x04028000
101
#define SUNXI_SPI4_BASE 0x04029000
102
#define SUNXI_USB0_BASE 0x04100000
103
#define SUNXI_USB1_BASE 0x04200000
104
#define SUNXI_GMAC0_BASE 0x04500000
105
#define SUNXI_GMAC1_BASE 0x04510000
106
#define SUNXI_PCIE0_BASE 0x04800000
107
#define SUNXI_PCIE_CORE_BASE 0x04800000
108
#define SUNXI_PCIE_USER_BASE 0x04C00000
109
#define SUNXI_USB31_BASE 0x04D00000
110
#define SUNXI_XHCI_BASE 0x04D00000
111
#define SUNXI_GLOBAL_BASE 0x04D0C100
112
#define SUNXI_DEVICE_BASE 0x04D0C700
113
#define SUNXI_APPLICATION_BASE 0x04E00000
114
#define SUNXI_SERDES_SUBSYS_BASE 0x04F00000
115
#define SUNXI_SERDES_COMBPHY_BASE 0x04F80000
116
#define SUNXI_NPU_BASE 0x01900000
117
#define SUNXI_VE3_BASE 0x01C0E000
118
#define SUNXI_DE_BASE 0x05000000
119
#define SUNXI_G2D_BASE 0x05440000
120
#define SUNXI_G2D_TOP__BASE 0x05000000
121
#define SUNXI_MIXER_GLB__BASE 0x05000100
122
#define SUNXI_BLD_BASE 0x05000400
123
#define SUNXI_LAY0_V_CH0__BASE 0x05000800
124
#define SUNXI_LAY0_UI_CH1__BASE 0x05001000
125
#define SUNXI_LAY0_UI_CH2__BASE 0x05001800
126
#define SUNXI_LAY0_UI_CH3__BASE 0x05002000
127
#define SUNXI_WB_BASE 0x05003000
128
#define SUNXI_VIDEO_SCALER_CH0__BASE 0x05008000
129
#define SUNXI_ROTATE_BASE 0x05028000
130
#define SUNXI_UI_SCALER1_CH1__BASE 0x05030000
131
#define SUNXI_DISPLAY_TOP_BASE 0x05500000
132
#define SUNXI_TCON_LCD0_BASE 0x05501000
133
#define SUNXI_DSI0_BASE 0x05506000
134
#define SUNXI_CSI_BASE 0x05800000
135
#define SUNXI_CSIC_CCU_BASE 0x05800000
136
#define SUNXI_CSIC_TOP_BASE 0x05800800
137
#define SUNXI_CSIC_PARSER0_BASE 0x05820000
138
#define SUNXI_CSIC_PARSER1_BASE 0x05821000
139
#define SUNXI_CSIC_PARSER2_BASE 0x05822000
140
#define SUNXI_CSIC_PARSER3_BASE 0x05823000
141
#define SUNXI_CSIC_DMA0_BASE 0x05830000
142
#define SUNXI_CSIC_DMA1_BASE 0x05831000
143
#define SUNXI_CSIC_DMA2_BASE 0x05832000
144
#define SUNXI_CSIC_DMA3_BASE 0x05833000
145
#define SUNXI_ISP_BASE 0x05900000
146
#define SUNXI_ISP__BASE 0x05900000
147
#define SUNXI_RESERVE_BASE 0x05A00000
148
#define SUNXI_LOCALBUS_REG_BASE 0x02810000
149
#define SUNXI_LOCALBUS_DAT_BASE 0x10000000
150
#define SUNXI_R_SPC_BASE 0x07002000
151
#define SUNXI_R_TZMA_BASE 0x07003000
152
#define SUNXI_R_PRCM_BASE 0x07010000
153
#define SUNXI_R_WDG_BASE 0x07021000
154
#define SUNXI_R_TWD_BASE 0x07022000
155
#define SUNXI_R_PWM_BASE 0x07023000
156
#define SUNXI_R_INTC_BASE 0x07024000
157
#define SUNXI_CPUS_CFG_BASE 0x07031000
158
#define SUNXI_RISCV_CFG_BASE 0x07032000
159
#define SUNXI_RISCV_LCNT_BASE 0x07033000
160
#define SUNXI_R_IRRX_BASE 0x07040000
161
#define SUNXI_CPUIDLE_BASE 0x07050000
162
#define SUNXI_PCK600_QCHANNEL_BASE 0x07060000
163
#define SUNXI_R_UART0_BASE 0x07080000
164
#define SUNXI_R_UART1_BASE 0x07081000
165
#define SUNXI_R_TWI0_BASE 0x07083000
166
#define SUNXI_R_TWI1_BASE 0x07084000
167
#define SUNXI_RTC_BASE 0x07090000
168
#define SUNXI_R_TIMER_BASE 0x07091000
169
#define SUNXI_R_SPI_BASE 0x07092000
170
#define SUNXI_R_MBOX_BASE 0x07094000
171
#define SUNXI_R_GPIO_BASE 0x07096000
172
#define SUNXI_CPU_SUBSYS_CTRL_BASE 0x08000000
173
#define SUNXI_TIMESTAMP_STA_BASE 0x08010000
174
#define SUNXI_TIMESTAMP_CTRL_BASE 0x08020000
175
#define SUNXI_APB_ROM1_BASE 0x08801000
176
#define SUNXI_CTI_BASE 0x08803000
177
#define SUNXI_CS_TS_CTRL_BASE 0x08805000
178
#define SUNXI_CS_TS_READ_BASE 0x08807000
179
#define SUNXI_TPIU_BASE 0x08809000
180
#define SUNXI_ETB_BASE 0x0880B000
181
#define SUNXI_APB_ROM2_BASE 0x08841000
182
#define SUNXI_ATB_FUNNEL_BASE 0x08843000
183
#define SUNXI_CLUSTER_CFG_BASE 0x08860000
184
#define SUNXI_CPU_PLL_CFG_BASE 0x08870000
185
#define SUNXI_CLUSTER_DBUG_BASE 0x09800000
186
#define SUNXI_SPI_FLASH_BASE 0x02800000
187
#define SUNXI_SPI_FLASH_XIP_BASE 0x0E000000
188
#define SUNXI_PCIE_SLV_BASE 0x20000000
189
#define SUNXI_MCU_CFG_BASE 0x01A00000
190
#define SUNXI_MCU_WDG_BASE 0x01A02000
191
#define SUNXI_MCU_LCNT_BASE 0x01A04000
192
#define SUNXI_MCU_MBOX_BASE 0x01A06000
193
#define SUNXI_MCU_TIMER_BASE 0x01A08000
194
#define SUNXI_MCU_CLINT_BASE 0x30000000
195
#define SUNXI_MCU_CLIC_BASE 0x30800000
196
#define SUNXI_MCU_SYSMAP_BASE 0x3FFFF000
197
198
#define CONFIG_SYS_SRAMA2_BASE (SUNXI_SRAM_A2_BASE)
199
#define CONFIG_SYS_SRAMA2_SIZE (0x28000)
200
201
#define SUNXI_PIO_BASE (SUNXI_GPIO_BASE)
202
#define SUNXI_R_PIO_BASE (SUNXI_R_GPIO_BASE)
203
#define SUNXI_CCU_BASE (SUNXI_CCMU_BASE)
204
#define SUNXI_DMA_BASE (SUNXI_DMAC0_BASE)
205
#define SUNXI_SS_BASE (SUNXI_CE_BASE)
206
#define SUNXI_CPUXCFG_BASE (SUNXI_CPU_SUBSYS_CTRL_BASE)
207
#define SUNXI_SYSCRL_BASE (SUNXI_SYSCTRL_BASE)
208
#define SUNXI_KEYADC_BASE (SUNXI_LRADC_BASE)
209
#define SUNXI_RPRCM_BASE (SUNXI_R_PRCM_BASE)
210
#define SUNXI_RPWM_BASE (SUNXI_R_PWM_BASE)
211
#define SUNXI_RPIO_BASE (SUNXI_R_GPIO_BASE)
212
213
#define SUNXI_RTWI_BASE (SUNXI_R_TWI0_BASE)
214
#define SUNXI_RTWI_BRG_REG (SUNXI_RPRCM_BASE + 0x019c)
215
#define SUNXI_RTWI0_RST_BIT (16)
216
#define SUNXI_RTWI0_GATING_BIT (0)
217
#define SUNXI_RST_BIT (16)
218
#define SUNXI_GATING_BIT (0)
219
#define SUNXI_RTC_DATA_BASE (SUNXI_RTC_BASE + 0x100)
220
#define SUNXI_SMC_BASE (SUNXI_MEMC_SMC_BASE)
221
#define SUNXI_RCPUCFG_BASE (SUNXI_CPUS_CFG_BASE)
222
#define SUNXI_GPADC_BASE (SUNXI_GPADC1_BASE)
223
#define SUNXI_SID_SRAM_BASE (SUNXI_SID_BASE + 0x200)
224
225
/* use for usb correct */
226
#define VDD_SYS_PWROFF_GATING_REG (SUNXI_RPRCM_BASE + 0x250)
227
#define RES_CAL_CTRL_REG (SUNXI_RPRCM_BASE + 0X310)
228
#define VDD_ADDA_OFF_GATING (9)
229
#define CAL_ANA_EN (1)
230
#define CAL_EN (0)
231
232
#define RVBARADDR0_L (SUNXI_CPUXCFG_BASE + 0x40)
233
#define RVBARADDR0_H (SUNXI_CPUXCFG_BASE + 0x44)
234
235
#define SRAM_CONTRL_REG0 (SUNXI_SYSCRL_BASE + 0x0)
236
#define SRAM_CONTRL_REG1 (SUNXI_SYSCRL_BASE + 0x4)
237
238
#endif
// __SUN55IW6_REG_NCAT_H__
Generated by
1.9.8