OMAP4: CM instances: add clockdomain register offsets
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-omap2 / cm2_44xx.h
index 0fd0210697920ab9c40993a4eb995d138e1caf27..aa4745044065e1cf269c6f2ad6ed559b14fe9cef 100644 (file)
 #define OMAP4430_CM2_RESTORE_INST      0x1e00
 #define OMAP4430_CM2_INSTR_INST                0x1f00
 
+/* CM2 clockdomain register offsets (from instance start) */
+#define OMAP4430_CM2_ALWAYS_ON_ALWON_CDOFFS    0x0000
+#define OMAP4430_CM2_CORE_L3_1_CDOFFS          0x0000
+#define OMAP4430_CM2_CORE_L3_2_CDOFFS          0x0100
+#define OMAP4430_CM2_CORE_DUCATI_CDOFFS                0x0200
+#define OMAP4430_CM2_CORE_SDMA_CDOFFS          0x0300
+#define OMAP4430_CM2_CORE_MEMIF_CDOFFS         0x0400
+#define OMAP4430_CM2_CORE_D2D_CDOFFS           0x0500
+#define OMAP4430_CM2_CORE_L4CFG_CDOFFS         0x0600
+#define OMAP4430_CM2_CORE_L3INSTR_CDOFFS       0x0700
+#define OMAP4430_CM2_IVAHD_IVAHD_CDOFFS                0x0000
+#define OMAP4430_CM2_CAM_CAM_CDOFFS            0x0000
+#define OMAP4430_CM2_DSS_DSS_CDOFFS            0x0000
+#define OMAP4430_CM2_GFX_GFX_CDOFFS            0x0000
+#define OMAP4430_CM2_L3INIT_L3INIT_CDOFFS      0x0000
+#define OMAP4430_CM2_L4PER_L4PER_CDOFFS                0x0000
+#define OMAP4430_CM2_L4PER_L4SEC_CDOFFS                0x0180
+#define OMAP4430_CM2_CEFUSE_CEFUSE_CDOFFS      0x0000
+
 
 /* CM2 */