blob: 96bc35e600f46da36ec79f73f219ae2c022af18b [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/*
2 * Copyright (C) 2007 Google, Inc.
Jeff Hugo85bfed42012-01-31 10:10:14 -07003 * Copyright (c) 2008-2012, Code Aurora Forum. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07004 * Author: Brian Swetland <swetland@google.com>
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 *
16 * The MSM peripherals are spread all over across 768MB of physical
17 * space, which makes just having a simple IO_ADDRESS macro to slide
18 * them into the right virtual location rough. Instead, we will
19 * provide a master phys->virt mapping for peripherals here.
20 *
21 */
22
23#ifndef __ASM_ARCH_MSM_IOMAP_8064_H
24#define __ASM_ARCH_MSM_IOMAP_8064_H
25
26/* Physical base address and size of peripherals.
27 * Ordered by the virtual base addresses they will be mapped at.
28 *
29 * If you add or remove entries here, you'll want to edit the
30 * msm_io_desc array in arch/arm/mach-msm/io.c to reflect your
31 * changes.
32 *
33 */
34
35#define APQ8064_TMR_PHYS 0x0200A000
36#define APQ8064_TMR_SIZE SZ_4K
37
38#define APQ8064_TMR0_PHYS 0x0208A000
39#define APQ8064_TMR0_SIZE SZ_4K
40
41#define APQ8064_QGIC_DIST_PHYS 0x02000000
42#define APQ8064_QGIC_DIST_SIZE SZ_4K
43
44#define APQ8064_QGIC_CPU_PHYS 0x02002000
45#define APQ8064_QGIC_CPU_SIZE SZ_4K
46
Joel King4ebccc62011-07-22 09:43:22 -070047#define APQ8064_TLMM_PHYS 0x00800000
48#define APQ8064_TLMM_SIZE SZ_16K
49
Vikram Mulukutlabb408eb2011-08-04 09:28:56 -070050#define APQ8064_ACC0_PHYS 0x02088000
51#define APQ8064_ACC0_SIZE SZ_4K
52
53#define APQ8064_ACC1_PHYS 0x02098000
54#define APQ8064_ACC1_SIZE SZ_4K
55
56#define APQ8064_ACC2_PHYS 0x020A8000
57#define APQ8064_ACC2_SIZE SZ_4K
58
59#define APQ8064_ACC3_PHYS 0x020B8000
60#define APQ8064_ACC3_SIZE SZ_4K
61
62#define APQ8064_APCS_GCC_PHYS 0x02011000
63#define APQ8064_APCS_GCC_SIZE SZ_4K
64
Tianyi Gou33430412011-09-07 21:50:42 -070065#define APQ8064_CLK_CTL_PHYS 0x00900000
66#define APQ8064_CLK_CTL_SIZE SZ_16K
67
68#define APQ8064_MMSS_CLK_CTL_PHYS 0x04000000
69#define APQ8064_MMSS_CLK_CTL_SIZE SZ_4K
70
71#define APQ8064_LPASS_CLK_CTL_PHYS 0x28000000
72#define APQ8064_LPASS_CLK_CTL_SIZE SZ_4K
73
Vikram Mulukutlabb408eb2011-08-04 09:28:56 -070074#define APQ8064_HFPLL_PHYS 0x00903000
75#define APQ8064_HFPLL_SIZE SZ_4K
76
Stepan Moskovchenko3e444e52011-08-05 17:59:48 -070077#define APQ8064_IMEM_PHYS 0x2A03F000
78#define APQ8064_IMEM_SIZE SZ_4K
79
Praveen Chidambaramd9a41732011-10-17 09:41:05 -060080#define APQ8064_RPM_PHYS 0x00108000
81#define APQ8064_RPM_SIZE SZ_4K
82
83#define APQ8064_RPM_MPM_PHYS 0x00200000
84#define APQ8064_RPM_MPM_SIZE SZ_4K
85
86#define APQ8064_SAW0_PHYS 0x02089000
87#define APQ8064_SAW0_SIZE SZ_4K
88
89#define APQ8064_SAW1_PHYS 0x02099000
90#define APQ8064_SAW1_SIZE SZ_4K
91
92#define APQ8064_SAW2_PHYS 0x020A9000
93#define APQ8064_SAW2_SIZE SZ_4K
94
95#define APQ8064_SAW3_PHYS 0x020B9000
96#define APQ8064_SAW3_SIZE SZ_4K
97
98#define APQ8064_SAW_L2_PHYS 0x02012000
99#define APQ8064_SAW_L2_SIZE SZ_4K
Vijayakumar Muthuvel Manickamf35fd732012-01-13 16:17:52 -0800100#define APQ8064_QFPROM_PHYS 0x00700000
101#define APQ8064_QFPROM_SIZE SZ_4K
Praveen Chidambaramd9a41732011-10-17 09:41:05 -0600102
Jeff Hugo85bfed42012-01-31 10:10:14 -0700103#define APQ8064_SIC_NON_SECURE_PHYS 0x12100000
104#define APQ8064_SIC_NON_SECURE_SIZE SZ_64K
105
Aravind Venkateswaran7eb05da2012-02-16 14:23:03 -0800106#define APQ8064_HDMI_PHYS 0x04A00000
107#define APQ8064_HDMI_SIZE SZ_4K
108
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700109#endif