summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/include/mach/msm_iomap-8916.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-msm/include/mach/msm_iomap-8916.h')
-rw-r--r--arch/arm/mach-msm/include/mach/msm_iomap-8916.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8916.h b/arch/arm/mach-msm/include/mach/msm_iomap-8916.h
new file mode 100644
index 000000000000..b1341bba8383
--- /dev/null
+++ b/arch/arm/mach-msm/include/mach/msm_iomap-8916.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __ASM_ARCH_MSM_IOMAP_8916_H
+#define __ASM_ARCH_MSM_IOMAP_8916_H
+
+/* Physical base address and size of peripherals.
+ * Ordered by the virtual base addresses they will be mapped at.
+ *
+ * If you add or remove entries here, you'll want to edit the
+ * io desc array in arch/arm/mach-msm/io.c to reflect your
+ * changes.
+ *
+ */
+
+#define MSM8916_APCS_GCC_PHYS 0xB011000
+#define MSM8916_APCS_GCC_SIZE SZ_4K
+
+#ifdef CONFIG_DEBUG_MSM8916_UART
+#define MSM_DEBUG_UART_BASE IOMEM(0xFA0B0000)
+#define MSM_DEBUG_UART_PHYS 0x78B0000
+#endif
+
+#endif