1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 #define OMAP2_L3_IO_OFFSET 0x90000000
34 #define OMAP2_L3_IO_ADDRESS(pa) IOMEM((pa) + OMAP2_L3_IO_OFFSET)
35
36 #define OMAP2_L4_IO_OFFSET 0xb2000000
37 #define OMAP2_L4_IO_ADDRESS(pa) IOMEM((pa) + OMAP2_L4_IO_OFFSET)
38
39 #define OMAP4_L3_IO_OFFSET 0xb4000000
40 #define OMAP4_L3_IO_ADDRESS(pa) IOMEM((pa) + OMAP4_L3_IO_OFFSET)
41
42 #define AM33XX_L4_WK_IO_OFFSET 0xb5000000
43 #define AM33XX_L4_WK_IO_ADDRESS(pa) IOMEM((pa) + AM33XX_L4_WK_IO_OFFSET)
44
45 #define OMAP4_L3_PER_IO_OFFSET 0xb1100000
46 #define OMAP4_L3_PER_IO_ADDRESS(pa) IOMEM((pa) + OMAP4_L3_PER_IO_OFFSET)
47
48 #define OMAP2_EMU_IO_OFFSET 0xaa800000
49 #define OMAP2_EMU_IO_ADDRESS(pa) IOMEM((pa) + OMAP2_EMU_IO_OFFSET)
50
51
52
53
54
55
56
57
58 #define L3_24XX_PHYS L3_24XX_BASE
59 #define L3_24XX_VIRT (L3_24XX_PHYS + OMAP2_L3_IO_OFFSET)
60 #define L3_24XX_SIZE SZ_1M
61 #define L4_24XX_PHYS L4_24XX_BASE
62 #define L4_24XX_VIRT (L4_24XX_PHYS + OMAP2_L4_IO_OFFSET)
63 #define L4_24XX_SIZE SZ_1M
64
65 #define L4_WK_243X_PHYS L4_WK_243X_BASE
66 #define L4_WK_243X_VIRT (L4_WK_243X_PHYS + OMAP2_L4_IO_OFFSET)
67 #define L4_WK_243X_SIZE SZ_1M
68 #define OMAP243X_GPMC_PHYS OMAP243X_GPMC_BASE
69 #define OMAP243X_GPMC_VIRT (OMAP243X_GPMC_PHYS + OMAP2_L3_IO_OFFSET)
70
71 #define OMAP243X_GPMC_SIZE SZ_1M
72 #define OMAP243X_SDRC_PHYS OMAP243X_SDRC_BASE
73
74 #define OMAP243X_SDRC_VIRT (OMAP243X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)
75 #define OMAP243X_SDRC_SIZE SZ_1M
76 #define OMAP243X_SMS_PHYS OMAP243X_SMS_BASE
77
78 #define OMAP243X_SMS_VIRT (OMAP243X_SMS_PHYS + OMAP2_L3_IO_OFFSET)
79 #define OMAP243X_SMS_SIZE SZ_1M
80
81
82 #define DSP_MEM_2420_PHYS OMAP2420_DSP_MEM_BASE
83
84 #define DSP_MEM_2420_VIRT 0xfc100000
85 #define DSP_MEM_2420_SIZE 0x28000
86 #define DSP_IPI_2420_PHYS OMAP2420_DSP_IPI_BASE
87
88 #define DSP_IPI_2420_VIRT 0xfc128000
89 #define DSP_IPI_2420_SIZE SZ_4K
90 #define DSP_MMU_2420_PHYS OMAP2420_DSP_MMU_BASE
91
92 #define DSP_MMU_2420_VIRT 0xfc129000
93 #define DSP_MMU_2420_SIZE SZ_4K
94
95
96
97
98
99
100
101
102
103
104 #define L3_34XX_PHYS L3_34XX_BASE
105 #define L3_34XX_VIRT (L3_34XX_PHYS + OMAP2_L3_IO_OFFSET)
106 #define L3_34XX_SIZE SZ_1M
107
108 #define L4_34XX_PHYS L4_34XX_BASE
109 #define L4_34XX_VIRT (L4_34XX_PHYS + OMAP2_L4_IO_OFFSET)
110 #define L4_34XX_SIZE SZ_4M
111
112
113
114
115
116
117 #define L4_WK_AM33XX_PHYS L4_WK_AM33XX_BASE
118 #define L4_WK_AM33XX_VIRT (L4_WK_AM33XX_PHYS + AM33XX_L4_WK_IO_OFFSET)
119 #define L4_WK_AM33XX_SIZE SZ_4M
120
121
122
123
124
125
126 #define L4_PER_34XX_PHYS L4_PER_34XX_BASE
127
128 #define L4_PER_34XX_VIRT (L4_PER_34XX_PHYS + OMAP2_L4_IO_OFFSET)
129 #define L4_PER_34XX_SIZE SZ_1M
130
131 #define L4_EMU_34XX_PHYS L4_EMU_34XX_BASE
132
133 #define L4_EMU_34XX_VIRT (L4_EMU_34XX_PHYS + OMAP2_EMU_IO_OFFSET)
134 #define L4_EMU_34XX_SIZE SZ_8M
135
136 #define OMAP34XX_GPMC_PHYS OMAP34XX_GPMC_BASE
137
138 #define OMAP34XX_GPMC_VIRT (OMAP34XX_GPMC_PHYS + OMAP2_L3_IO_OFFSET)
139 #define OMAP34XX_GPMC_SIZE SZ_1M
140
141 #define OMAP343X_SMS_PHYS OMAP343X_SMS_BASE
142
143 #define OMAP343X_SMS_VIRT (OMAP343X_SMS_PHYS + OMAP2_L3_IO_OFFSET)
144 #define OMAP343X_SMS_SIZE SZ_1M
145
146 #define OMAP343X_SDRC_PHYS OMAP343X_SDRC_BASE
147
148 #define OMAP343X_SDRC_VIRT (OMAP343X_SDRC_PHYS + OMAP2_L3_IO_OFFSET)
149 #define OMAP343X_SDRC_SIZE SZ_1M
150
151
152
153
154
155
156
157
158
159
160 #define L3_44XX_PHYS L3_44XX_BASE
161 #define L3_44XX_VIRT (L3_44XX_PHYS + OMAP4_L3_IO_OFFSET)
162 #define L3_44XX_SIZE SZ_1M
163
164 #define L4_44XX_PHYS L4_44XX_BASE
165 #define L4_44XX_VIRT (L4_44XX_PHYS + OMAP2_L4_IO_OFFSET)
166 #define L4_44XX_SIZE SZ_4M
167
168 #define L4_PER_44XX_PHYS L4_PER_44XX_BASE
169
170 #define L4_PER_44XX_VIRT (L4_PER_44XX_PHYS + OMAP2_L4_IO_OFFSET)
171 #define L4_PER_44XX_SIZE SZ_4M
172
173 #define L4_ABE_44XX_PHYS L4_ABE_44XX_BASE
174
175 #define L4_ABE_44XX_VIRT (L4_ABE_44XX_PHYS + OMAP2_L4_IO_OFFSET)
176 #define L4_ABE_44XX_SIZE SZ_1M
177
178
179
180
181
182 #define L3_54XX_PHYS L3_54XX_BASE
183 #define L3_54XX_VIRT (L3_54XX_PHYS + OMAP4_L3_IO_OFFSET)
184 #define L3_54XX_SIZE SZ_1M
185
186 #define L4_54XX_PHYS L4_54XX_BASE
187 #define L4_54XX_VIRT (L4_54XX_PHYS + OMAP2_L4_IO_OFFSET)
188 #define L4_54XX_SIZE SZ_4M
189
190 #define L4_WK_54XX_PHYS L4_WK_54XX_BASE
191 #define L4_WK_54XX_VIRT (L4_WK_54XX_PHYS + OMAP2_L4_IO_OFFSET)
192 #define L4_WK_54XX_SIZE SZ_2M
193
194 #define L4_PER_54XX_PHYS L4_PER_54XX_BASE
195 #define L4_PER_54XX_VIRT (L4_PER_54XX_PHYS + OMAP2_L4_IO_OFFSET)
196 #define L4_PER_54XX_SIZE SZ_4M
197
198
199
200
201
202
203
204
205
206
207
208 #define L3_MAIN_SN_DRA7XX_PHYS L3_MAIN_SN_DRA7XX_BASE
209 #define L3_MAIN_SN_DRA7XX_VIRT (L3_MAIN_SN_DRA7XX_PHYS + OMAP4_L3_IO_OFFSET)
210 #define L3_MAIN_SN_DRA7XX_SIZE SZ_1M
211
212
213
214
215
216 #define L4_PER1_DRA7XX_PHYS L4_PER1_DRA7XX_BASE
217 #define L4_PER1_DRA7XX_VIRT (L4_PER1_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
218 #define L4_PER1_DRA7XX_SIZE SZ_1M
219
220
221
222
223
224
225 #define L4_CFG_MPU_DRA7XX_PHYS L4_CFG_MPU_DRA7XX_BASE
226 #define L4_CFG_MPU_DRA7XX_VIRT (L4_CFG_MPU_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
227 #define L4_CFG_MPU_DRA7XX_SIZE SZ_1M
228
229
230
231
232
233 #define L4_PER2_DRA7XX_PHYS L4_PER2_DRA7XX_BASE
234 #define L4_PER2_DRA7XX_VIRT (L4_PER2_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
235 #define L4_PER2_DRA7XX_SIZE SZ_1M
236
237
238
239
240
241 #define L4_PER3_DRA7XX_PHYS L4_PER3_DRA7XX_BASE
242 #define L4_PER3_DRA7XX_VIRT (L4_PER3_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
243 #define L4_PER3_DRA7XX_SIZE SZ_2M
244
245
246
247
248
249 #define L4_CFG_DRA7XX_PHYS L4_CFG_DRA7XX_BASE
250 #define L4_CFG_DRA7XX_VIRT (L4_CFG_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
251 #define L4_CFG_DRA7XX_SIZE (SZ_1M + SZ_2M)
252
253
254
255
256
257 #define L4_WKUP_DRA7XX_PHYS L4_WKUP_DRA7XX_BASE
258 #define L4_WKUP_DRA7XX_VIRT (L4_WKUP_DRA7XX_PHYS + OMAP2_L4_IO_OFFSET)
259 #define L4_WKUP_DRA7XX_SIZE SZ_1M