aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-08-20 18:28:42 -0400
committerStephen Warren <swarren@nvidia.com>2013-09-17 15:44:22 -0400
commit4cf6791a601676a8fc105cb88a2cf933d39e66df (patch)
treeaf6ee022c5acf14343b7d9de8a5922e29873b208
parentfddb770dbe468876ea6562e21f817813baa15082 (diff)
ARM: tegra: remove much of iomap.h
iomap.h defines the base address of Tegra peripherals. Most of this information comes from device tree now, and hence can be deleted. Entries are kept for various system peripherals that low-level code (such as initial boot, system suspend/resume, debug) still requires. Removing the values removes the temptation for someone to use them. Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/iomap.h150
1 files changed, 0 insertions, 150 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h
index 7e0c1809c2dc..cbee57fc4fd8 100644
--- a/arch/arm/mach-tegra/iomap.h
+++ b/arch/arm/mach-tegra/iomap.h
@@ -24,42 +24,12 @@
24#define TEGRA_IRAM_BASE 0x40000000 24#define TEGRA_IRAM_BASE 0x40000000
25#define TEGRA_IRAM_SIZE SZ_256K 25#define TEGRA_IRAM_SIZE SZ_256K
26 26
27#define TEGRA_HOST1X_BASE 0x50000000
28#define TEGRA_HOST1X_SIZE 0x24000
29
30#define TEGRA_ARM_PERIF_BASE 0x50040000 27#define TEGRA_ARM_PERIF_BASE 0x50040000
31#define TEGRA_ARM_PERIF_SIZE SZ_8K 28#define TEGRA_ARM_PERIF_SIZE SZ_8K
32 29
33#define TEGRA_ARM_PL310_BASE 0x50043000
34#define TEGRA_ARM_PL310_SIZE SZ_4K
35
36#define TEGRA_ARM_INT_DIST_BASE 0x50041000 30#define TEGRA_ARM_INT_DIST_BASE 0x50041000
37#define TEGRA_ARM_INT_DIST_SIZE SZ_4K 31#define TEGRA_ARM_INT_DIST_SIZE SZ_4K
38 32
39#define TEGRA_MPE_BASE 0x54040000
40#define TEGRA_MPE_SIZE SZ_256K
41
42#define TEGRA_VI_BASE 0x54080000
43#define TEGRA_VI_SIZE SZ_256K
44
45#define TEGRA_ISP_BASE 0x54100000
46#define TEGRA_ISP_SIZE SZ_256K
47
48#define TEGRA_DISPLAY_BASE 0x54200000
49#define TEGRA_DISPLAY_SIZE SZ_256K
50
51#define TEGRA_DISPLAY2_BASE 0x54240000
52#define TEGRA_DISPLAY2_SIZE SZ_256K
53
54#define TEGRA_HDMI_BASE 0x54280000
55#define TEGRA_HDMI_SIZE SZ_256K
56
57#define TEGRA_GART_BASE 0x58000000
58#define TEGRA_GART_SIZE SZ_32M
59
60#define TEGRA_RES_SEMA_BASE 0x60001000
61#define TEGRA_RES_SEMA_SIZE SZ_4K
62
63#define TEGRA_PRIMARY_ICTLR_BASE 0x60004000 33#define TEGRA_PRIMARY_ICTLR_BASE 0x60004000
64#define TEGRA_PRIMARY_ICTLR_SIZE SZ_64 34#define TEGRA_PRIMARY_ICTLR_SIZE SZ_64
65 35
@@ -96,51 +66,15 @@
96#define TEGRA_FLOW_CTRL_BASE 0x60007000 66#define TEGRA_FLOW_CTRL_BASE 0x60007000
97#define TEGRA_FLOW_CTRL_SIZE 20 67#define TEGRA_FLOW_CTRL_SIZE 20
98 68
99#define TEGRA_AHB_DMA_BASE 0x60008000
100#define TEGRA_AHB_DMA_SIZE SZ_4K
101
102#define TEGRA_AHB_DMA_CH0_BASE 0x60009000
103#define TEGRA_AHB_DMA_CH0_SIZE 32
104
105#define TEGRA_APB_DMA_BASE 0x6000A000
106#define TEGRA_APB_DMA_SIZE SZ_4K
107
108#define TEGRA_APB_DMA_CH0_BASE 0x6000B000
109#define TEGRA_APB_DMA_CH0_SIZE 32
110
111#define TEGRA_AHB_GIZMO_BASE 0x6000C004
112#define TEGRA_AHB_GIZMO_SIZE 0x10C
113
114#define TEGRA_SB_BASE 0x6000C200 69#define TEGRA_SB_BASE 0x6000C200
115#define TEGRA_SB_SIZE 256 70#define TEGRA_SB_SIZE 256
116 71
117#define TEGRA_STATMON_BASE 0x6000C400
118#define TEGRA_STATMON_SIZE SZ_1K
119
120#define TEGRA_GPIO_BASE 0x6000D000
121#define TEGRA_GPIO_SIZE SZ_4K
122
123#define TEGRA_EXCEPTION_VECTORS_BASE 0x6000F000 72#define TEGRA_EXCEPTION_VECTORS_BASE 0x6000F000
124#define TEGRA_EXCEPTION_VECTORS_SIZE SZ_4K 73#define TEGRA_EXCEPTION_VECTORS_SIZE SZ_4K
125 74
126#define TEGRA_APB_MISC_BASE 0x70000000 75#define TEGRA_APB_MISC_BASE 0x70000000
127#define TEGRA_APB_MISC_SIZE SZ_4K 76#define TEGRA_APB_MISC_SIZE SZ_4K
128 77
129#define TEGRA_APB_MISC_DAS_BASE 0x70000c00
130#define TEGRA_APB_MISC_DAS_SIZE SZ_128
131
132#define TEGRA_AC97_BASE 0x70002000
133#define TEGRA_AC97_SIZE SZ_512
134
135#define TEGRA_SPDIF_BASE 0x70002400
136#define TEGRA_SPDIF_SIZE SZ_512
137
138#define TEGRA_I2S1_BASE 0x70002800
139#define TEGRA_I2S1_SIZE SZ_256
140
141#define TEGRA_I2S2_BASE 0x70002A00
142#define TEGRA_I2S2_SIZE SZ_256
143
144#define TEGRA_UARTA_BASE 0x70006000 78#define TEGRA_UARTA_BASE 0x70006000
145#define TEGRA_UARTA_SIZE SZ_64 79#define TEGRA_UARTA_SIZE SZ_64
146 80
@@ -156,87 +90,15 @@
156#define TEGRA_UARTE_BASE 0x70006400 90#define TEGRA_UARTE_BASE 0x70006400
157#define TEGRA_UARTE_SIZE SZ_256 91#define TEGRA_UARTE_SIZE SZ_256
158 92
159#define TEGRA_NAND_BASE 0x70008000
160#define TEGRA_NAND_SIZE SZ_256
161
162#define TEGRA_HSMMC_BASE 0x70008500
163#define TEGRA_HSMMC_SIZE SZ_256
164
165#define TEGRA_SNOR_BASE 0x70009000
166#define TEGRA_SNOR_SIZE SZ_4K
167
168#define TEGRA_PWFM_BASE 0x7000A000
169#define TEGRA_PWFM_SIZE SZ_256
170
171#define TEGRA_PWFM0_BASE 0x7000A000
172#define TEGRA_PWFM0_SIZE 4
173
174#define TEGRA_PWFM1_BASE 0x7000A010
175#define TEGRA_PWFM1_SIZE 4
176
177#define TEGRA_PWFM2_BASE 0x7000A020
178#define TEGRA_PWFM2_SIZE 4
179
180#define TEGRA_PWFM3_BASE 0x7000A030
181#define TEGRA_PWFM3_SIZE 4
182
183#define TEGRA_MIPI_BASE 0x7000B000
184#define TEGRA_MIPI_SIZE SZ_256
185
186#define TEGRA_I2C_BASE 0x7000C000
187#define TEGRA_I2C_SIZE SZ_256
188
189#define TEGRA_TWC_BASE 0x7000C100
190#define TEGRA_TWC_SIZE SZ_256
191
192#define TEGRA_SPI_BASE 0x7000C380
193#define TEGRA_SPI_SIZE 48
194
195#define TEGRA_I2C2_BASE 0x7000C400
196#define TEGRA_I2C2_SIZE SZ_256
197
198#define TEGRA_I2C3_BASE 0x7000C500
199#define TEGRA_I2C3_SIZE SZ_256
200
201#define TEGRA_OWR_BASE 0x7000C600
202#define TEGRA_OWR_SIZE 80
203
204#define TEGRA_DVC_BASE 0x7000D000
205#define TEGRA_DVC_SIZE SZ_512
206
207#define TEGRA_SPI1_BASE 0x7000D400
208#define TEGRA_SPI1_SIZE SZ_512
209
210#define TEGRA_SPI2_BASE 0x7000D600
211#define TEGRA_SPI2_SIZE SZ_512
212
213#define TEGRA_SPI3_BASE 0x7000D800
214#define TEGRA_SPI3_SIZE SZ_512
215
216#define TEGRA_SPI4_BASE 0x7000DA00
217#define TEGRA_SPI4_SIZE SZ_512
218
219#define TEGRA_RTC_BASE 0x7000E000
220#define TEGRA_RTC_SIZE SZ_256
221
222#define TEGRA_KBC_BASE 0x7000E200
223#define TEGRA_KBC_SIZE SZ_256
224
225#define TEGRA_PMC_BASE 0x7000E400 93#define TEGRA_PMC_BASE 0x7000E400
226#define TEGRA_PMC_SIZE SZ_256 94#define TEGRA_PMC_SIZE SZ_256
227 95
228#define TEGRA_MC_BASE 0x7000F000
229#define TEGRA_MC_SIZE SZ_1K
230
231#define TEGRA_EMC_BASE 0x7000F400 96#define TEGRA_EMC_BASE 0x7000F400
232#define TEGRA_EMC_SIZE SZ_1K 97#define TEGRA_EMC_SIZE SZ_1K
233 98
234#define TEGRA_FUSE_BASE 0x7000F800 99#define TEGRA_FUSE_BASE 0x7000F800
235#define TEGRA_FUSE_SIZE SZ_1K 100#define TEGRA_FUSE_SIZE SZ_1K
236 101
237#define TEGRA_KFUSE_BASE 0x7000FC00
238#define TEGRA_KFUSE_SIZE SZ_1K
239
240#define TEGRA_EMC0_BASE 0x7001A000 102#define TEGRA_EMC0_BASE 0x7001A000
241#define TEGRA_EMC0_SIZE SZ_2K 103#define TEGRA_EMC0_SIZE SZ_2K
242 104
@@ -246,18 +108,6 @@
246#define TEGRA_CSITE_BASE 0x70040000 108#define TEGRA_CSITE_BASE 0x70040000
247#define TEGRA_CSITE_SIZE SZ_256K 109#define TEGRA_CSITE_SIZE SZ_256K
248 110
249#define TEGRA_SDMMC1_BASE 0xC8000000
250#define TEGRA_SDMMC1_SIZE SZ_512
251
252#define TEGRA_SDMMC2_BASE 0xC8000200
253#define TEGRA_SDMMC2_SIZE SZ_512
254
255#define TEGRA_SDMMC3_BASE 0xC8000400
256#define TEGRA_SDMMC3_SIZE SZ_512
257
258#define TEGRA_SDMMC4_BASE 0xC8000600
259#define TEGRA_SDMMC4_SIZE SZ_512
260
261/* On TEGRA, many peripherals are very closely packed in 111/* On TEGRA, many peripherals are very closely packed in
262 * two 256MB io windows (that actually only use about 64KB 112 * two 256MB io windows (that actually only use about 64KB
263 * at the start of each). 113 * at the start of each).