msm: iomap: Add iomaps for the APQ8064 acpuclock driver
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8064.h b/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
index fe6fd97..257df67 100644
--- a/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
+++ b/arch/arm/mach-msm/include/mach/msm_iomap-8064.h
@@ -50,4 +50,22 @@
#define APQ8064_TLMM_PHYS 0x00800000
#define APQ8064_TLMM_SIZE SZ_16K
+#define APQ8064_ACC0_PHYS 0x02088000
+#define APQ8064_ACC0_SIZE SZ_4K
+
+#define APQ8064_ACC1_PHYS 0x02098000
+#define APQ8064_ACC1_SIZE SZ_4K
+
+#define APQ8064_ACC2_PHYS 0x020A8000
+#define APQ8064_ACC2_SIZE SZ_4K
+
+#define APQ8064_ACC3_PHYS 0x020B8000
+#define APQ8064_ACC3_SIZE SZ_4K
+
+#define APQ8064_APCS_GCC_PHYS 0x02011000
+#define APQ8064_APCS_GCC_SIZE SZ_4K
+
+#define APQ8064_HFPLL_PHYS 0x00903000
+#define APQ8064_HFPLL_SIZE SZ_4K
+
#endif
diff --git a/arch/arm/mach-msm/include/mach/msm_iomap.h b/arch/arm/mach-msm/include/mach/msm_iomap.h
index a1122e2..5e88d0b 100644
--- a/arch/arm/mach-msm/include/mach/msm_iomap.h
+++ b/arch/arm/mach-msm/include/mach/msm_iomap.h
@@ -58,6 +58,8 @@
#define MSM_IMEM_BASE IOMEM(0xFA00A000) /* 4K */
#define MSM_ACC0_BASE IOMEM(0xFA00B000) /* 4K */
#define MSM_ACC1_BASE IOMEM(0xFA00C000) /* 4K */
+#define MSM_ACC2_BASE IOMEM(0xFA00D000) /* 4K */
+#define MSM_ACC3_BASE IOMEM(0xFA00E000) /* 4K */
#define MSM_CLK_CTL_BASE IOMEM(0xFA010000) /* 16K */
#define MSM_MMSS_CLK_CTL_BASE IOMEM(0xFA014000) /* 4K */
#define MSM_LPASS_CLK_CTL_BASE IOMEM(0xFA015000) /* 4K */
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index ad3e4c1..5da1aed 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -221,6 +221,12 @@
MSM_CHIP_DEVICE(TMR0, APQ8064),
MSM_CHIP_DEVICE(DMOV, APQ8064),
MSM_CHIP_DEVICE(TLMM, APQ8064),
+ MSM_CHIP_DEVICE(ACC0, APQ8064),
+ MSM_CHIP_DEVICE(ACC1, APQ8064),
+ MSM_CHIP_DEVICE(ACC2, APQ8064),
+ MSM_CHIP_DEVICE(ACC3, APQ8064),
+ MSM_CHIP_DEVICE(HFPLL, APQ8064),
+ MSM_CHIP_DEVICE(APCS_GCC, APQ8064),
{
.virtual = (unsigned long) MSM_SHARED_RAM_BASE,
.length = MSM_SHARED_RAM_SIZE,