0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef __ARCH_ARM_MACH_OMAP2_CM2_7XX_H
0020 #define __ARCH_ARM_MACH_OMAP2_CM2_7XX_H
0021
0022
0023 #define DRA7XX_CM_CORE_BASE 0x4a008000
0024
0025 #define DRA7XX_CM_CORE_REGADDR(inst, reg) \
0026 OMAP2_L4_IO_ADDRESS(DRA7XX_CM_CORE_BASE + (inst) + (reg))
0027
0028
0029 #define DRA7XX_CM_CORE_OCP_SOCKET_INST 0x0000
0030 #define DRA7XX_CM_CORE_CKGEN_INST 0x0104
0031 #define DRA7XX_CM_CORE_COREAON_INST 0x0600
0032 #define DRA7XX_CM_CORE_CORE_INST 0x0700
0033 #define DRA7XX_CM_CORE_IVA_INST 0x0f00
0034 #define DRA7XX_CM_CORE_CAM_INST 0x1000
0035 #define DRA7XX_CM_CORE_DSS_INST 0x1100
0036 #define DRA7XX_CM_CORE_GPU_INST 0x1200
0037 #define DRA7XX_CM_CORE_L3INIT_INST 0x1300
0038 #define DRA7XX_CM_CORE_CUSTEFUSE_INST 0x1600
0039 #define DRA7XX_CM_CORE_L4PER_INST 0x1700
0040
0041
0042 #define DRA7XX_CM_CORE_COREAON_COREAON_CDOFFS 0x0000
0043 #define DRA7XX_CM_CORE_CORE_L3MAIN1_CDOFFS 0x0000
0044 #define DRA7XX_CM_CORE_CORE_IPU2_CDOFFS 0x0200
0045 #define DRA7XX_CM_CORE_CORE_DMA_CDOFFS 0x0300
0046 #define DRA7XX_CM_CORE_CORE_EMIF_CDOFFS 0x0400
0047 #define DRA7XX_CM_CORE_CORE_ATL_CDOFFS 0x0520
0048 #define DRA7XX_CM_CORE_CORE_L4CFG_CDOFFS 0x0600
0049 #define DRA7XX_CM_CORE_CORE_L3INSTR_CDOFFS 0x0700
0050 #define DRA7XX_CM_CORE_IVA_IVA_CDOFFS 0x0000
0051 #define DRA7XX_CM_CORE_CAM_CAM_CDOFFS 0x0000
0052 #define DRA7XX_CM_CORE_DSS_DSS_CDOFFS 0x0000
0053 #define DRA7XX_CM_CORE_GPU_GPU_CDOFFS 0x0000
0054 #define DRA7XX_CM_CORE_L3INIT_L3INIT_CDOFFS 0x0000
0055 #define DRA7XX_CM_CORE_L3INIT_PCIE_CDOFFS 0x00a0
0056 #define DRA7XX_CM_CORE_L3INIT_GMAC_CDOFFS 0x00c0
0057 #define DRA7XX_CM_CORE_CUSTEFUSE_CUSTEFUSE_CDOFFS 0x0000
0058 #define DRA7XX_CM_CORE_L4PER_L4PER_CDOFFS 0x0000
0059 #define DRA7XX_CM_CORE_L4PER_L4SEC_CDOFFS 0x0180
0060 #define DRA7XX_CM_CORE_L4PER_L4PER2_CDOFFS 0x01fc
0061 #define DRA7XX_CM_CORE_L4PER_L4PER3_CDOFFS 0x0210
0062
0063 #endif