drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / soc / mediatek / mt8188 / devapc.c
blob960c70ae076679e2607522d66cfb5d05d2b99b9a
1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
3 #include <console/console.h>
4 #include <soc/devapc.h>
6 static const struct apc_infra_peri_dom_16 infra_ao_sys0_devices[] = {
7 /* 0 */
8 DAPC_INFRA_AO_SYS0_ATTR("SPM_APB_S",
9 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
10 NO_PROTECTION, FORBIDDEN),
11 DAPC_INFRA_AO_SYS0_ATTR("SPM_APB_S-1",
12 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
13 DAPC_INFRA_AO_SYS0_ATTR("SPM_APB_S-2",
14 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
15 DAPC_INFRA_AO_SYS0_ATTR("SPM_APB_S-4",
16 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
17 DAPC_INFRA_AO_SYS0_ATTR("APMIXEDSYS_APB_S",
18 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION2, FORBIDDEN3,
19 NO_PROTECTION2, FORBIDDEN4, NO_PROTECTION, FORBIDDEN),
20 DAPC_INFRA_AO_SYS0_ATTR("APMIXEDSYS_APB_S-1",
21 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
22 NO_PROTECTION, FORBIDDEN),
23 DAPC_INFRA_AO_SYS0_ATTR("TINSYS_AO_S",
24 NO_PROTECTION, FORBIDDEN15),
25 DAPC_INFRA_AO_SYS0_ATTR("TOPCKGEN_APB_S",
26 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION2, FORBIDDEN3,
27 NO_PROTECTION2, FORBIDDEN6),
28 DAPC_INFRA_AO_SYS0_ATTR("INFRACFG_AO_APB_S",
29 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
30 NO_PROTECTION2, FORBIDDEN4, NO_PROTECTION, FORBIDDEN),
31 DAPC_INFRA_AO_SYS0_ATTR("INFRACFG_AO_MEM_APB_S",
32 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
33 /* 10 */
34 DAPC_INFRA_AO_SYS0_ATTR("PERICFG_AO_APB_S",
35 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
36 DAPC_INFRA_AO_SYS0_ATTR("GPIO_APB_S",
37 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
38 NO_PROTECTION2, FORBIDDEN6),
39 DAPC_INFRA_AO_SYS0_ATTR("TOPRGU_APB_S",
40 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
41 DAPC_INFRA_AO_SYS0_ATTR("DSP_IRQ_APB_S",
42 NO_PROTECTION, FORBIDDEN15),
43 DAPC_INFRA_AO_SYS0_ATTR("DEVICE_APC_INFRA_AO_APB_S",
44 SEC_RW_ONLY, FORBIDDEN15),
45 DAPC_INFRA_AO_SYS0_ATTR("BCRM_INFRA_AO_APB_S",
46 NO_PROTECTION, FORBIDDEN15),
47 DAPC_INFRA_AO_SYS0_ATTR("DEBUG_CTRL_INFRA_AO_APB_S",
48 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
49 DAPC_INFRA_AO_SYS0_ATTR("AP_CIRQ_EINT_APB_S",
50 NO_PROTECTION, FORBIDDEN15),
51 DAPC_INFRA_AO_SYS0_ATTR("PMIC_WRAP_APB_S",
52 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
53 DAPC_INFRA_AO_SYS0_ATTR("KP_APB_S",
54 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
55 /* 20 */
56 DAPC_INFRA_AO_SYS0_ATTR("TOP_MISC_APB_S",
57 NO_PROTECTION, FORBIDDEN15),
58 DAPC_INFRA_AO_SYS0_ATTR("DVFSRC_APB_S",
59 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
60 NO_PROTECTION2, FORBIDDEN6),
61 DAPC_INFRA_AO_SYS0_ATTR("MBIST_AO_APB_S",
62 NO_PROTECTION, FORBIDDEN15),
63 DAPC_INFRA_AO_SYS0_ATTR("HDMI_CEC_APB_S",
64 NO_PROTECTION, FORBIDDEN15),
65 DAPC_INFRA_AO_SYS0_ATTR("HDMI_EDID_APB_S",
66 NO_PROTECTION, FORBIDDEN15),
67 DAPC_INFRA_AO_SYS0_ATTR("HDMI_SCDC_APB_S",
68 NO_PROTECTION, FORBIDDEN15),
69 DAPC_INFRA_AO_SYS0_ATTR("IRRX_APB_S",
70 NO_PROTECTION, FORBIDDEN15),
71 DAPC_INFRA_AO_SYS0_ATTR("SYS_TIMER_APB_S",
72 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
73 NO_PROTECTION2, FORBIDDEN6),
74 DAPC_INFRA_AO_SYS0_ATTR("MODEM_TEMP_SHARE_APB_S",
75 NO_PROTECTION, FORBIDDEN15),
76 DAPC_INFRA_AO_SYS0_ATTR("PMIF1_APB_S",
77 NO_PROTECTION, FORBIDDEN15),
78 /* 30 */
79 DAPC_INFRA_AO_SYS0_ATTR("PMICSPI_MST_APB_S",
80 NO_PROTECTION, FORBIDDEN15),
81 DAPC_INFRA_AO_SYS0_ATTR("TIA_APB_S",
82 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
83 DAPC_INFRA_AO_SYS0_ATTR("TOPCKGEN_INFRA_CFG_APB_S",
84 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
85 DAPC_INFRA_AO_SYS0_ATTR("DRM_DEBUG_TOP_APB_S",
86 NO_PROTECTION, FORBIDDEN15),
87 DAPC_INFRA_AO_SYS0_ATTR("EFUSE_DEBUG_AO_APB_S",
88 NO_PROTECTION, FORBIDDEN15),
89 DAPC_INFRA_AO_SYS0_ATTR("APXGPT_APB_S",
90 NO_PROTECTION, FORBIDDEN15),
91 DAPC_INFRA_AO_SYS0_ATTR("SEJ_APB_S",
92 NO_PROTECTION, FORBIDDEN15),
93 DAPC_INFRA_AO_SYS0_ATTR("AES_TOP0_APB_S",
94 NO_PROTECTION, FORBIDDEN15),
95 DAPC_INFRA_AO_SYS0_ATTR("SECURITY_AO_APB_S",
96 NO_PROTECTION, FORBIDDEN15),
97 DAPC_INFRA_AO_SYS0_ATTR("SPMI_MST_APB_S",
98 NO_PROTECTION, FORBIDDEN15),
99 /* 40 */
100 DAPC_INFRA_AO_SYS0_ATTR("DEBUG_CTRL_FMEM_AO_APB_S",
101 NO_PROTECTION, FORBIDDEN15),
102 DAPC_INFRA_AO_SYS0_ATTR("BCRM_FMEM_AO_APB_S",
103 NO_PROTECTION, FORBIDDEN15),
104 DAPC_INFRA_AO_SYS0_ATTR("DEVICE_APC_FMEM_AO_APB_S",
105 SEC_RW_ONLY, FORBIDDEN15),
106 DAPC_INFRA_AO_SYS0_ATTR("PWM_APB_S",
107 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
108 DAPC_INFRA_AO_SYS0_ATTR("PMSR_APB_S",
109 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
110 DAPC_INFRA_AO_SYS0_ATTR("SRCLKEN_RC_APB_S",
111 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
112 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S",
113 NO_PROTECTION, FORBIDDEN15),
114 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-1",
115 NO_PROTECTION, FORBIDDEN15),
116 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-2",
117 SEC_RW_ONLY, FORBIDDEN15),
118 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-3",
119 NO_PROTECTION, FORBIDDEN15),
120 /* 50 */
121 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-4",
122 NO_PROTECTION, FORBIDDEN15),
123 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-5",
124 SEC_RW_ONLY, FORBIDDEN15),
125 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-6",
126 NO_PROTECTION, FORBIDDEN15),
127 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-7",
128 NO_PROTECTION, FORBIDDEN15),
129 DAPC_INFRA_AO_SYS0_ATTR("MFG_S_S-8",
130 NO_PROTECTION, FORBIDDEN15),
131 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S",
132 NO_PROTECTION, FORBIDDEN15),
133 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-1",
134 NO_PROTECTION, FORBIDDEN15),
135 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-2",
136 NO_PROTECTION, FORBIDDEN2, SEC_RW_ONLY, FORBIDDEN4,
137 SEC_RW_ONLY, FORBIDDEN7),
138 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-3",
139 NO_PROTECTION, FORBIDDEN15),
140 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-4",
141 NO_PROTECTION, FORBIDDEN15),
142 /* 60 */
143 DAPC_INFRA_AO_SYS0_ATTR("APU_S_S-5",
144 NO_PROTECTION, FORBIDDEN2, SEC_RW_ONLY, FORBIDDEN4,
145 SEC_RW_ONLY, FORBIDDEN7),
146 DAPC_INFRA_AO_SYS0_ATTR("MCUSYS_CFGREG_APB_S",
147 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
148 DAPC_INFRA_AO_SYS0_ATTR("MCUSYS_CFGREG_APB_S-1",
149 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
150 NO_PROTECTION, FORBIDDEN),
151 DAPC_INFRA_AO_SYS0_ATTR("MCUSYS_CFGREG_APB_S-2",
152 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
153 NO_PROTECTION, FORBIDDEN),
154 DAPC_INFRA_AO_SYS0_ATTR("MCUSYS_CFGREG_APB_S-3",
155 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
156 NO_PROTECTION, FORBIDDEN),
157 DAPC_INFRA_AO_SYS0_ATTR("MCUSYS_CFGREG_APB_S-4",
158 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
159 NO_PROTECTION, FORBIDDEN),
160 DAPC_INFRA_AO_SYS0_ATTR("L3C_S",
161 NO_PROTECTION, FORBIDDEN15),
162 DAPC_INFRA_AO_SYS0_ATTR("L3C_S-1",
163 NO_PROTECTION, FORBIDDEN15),
164 DAPC_INFRA_AO_SYS0_ATTR("L3C_S-2",
165 NO_PROTECTION, FORBIDDEN15),
166 DAPC_INFRA_AO_SYS0_ATTR("PCIE0_AXI_S",
167 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN13),
168 /* 70 */
169 DAPC_INFRA_AO_SYS0_ATTR("VIOSYS_APB0_S",
170 NO_PROTECTION, FORBIDDEN15),
171 DAPC_INFRA_AO_SYS0_ATTR("VIOSYS_APB1_S",
172 NO_PROTECTION, FORBIDDEN15),
173 DAPC_INFRA_AO_SYS0_ATTR("VIOSYS_APB2_S",
174 NO_PROTECTION, FORBIDDEN15),
175 DAPC_INFRA_AO_SYS0_ATTR("VIOSYS_APB3_S",
176 NO_PROTECTION, FORBIDDEN15),
177 DAPC_INFRA_AO_SYS0_ATTR("VIOSYS_APB4_S",
178 NO_PROTECTION, FORBIDDEN15),
181 static const struct apc_infra_peri_dom_4 infra_ao_sys1_devices[] = {
182 /* 0 */
183 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S",
184 NO_PROTECTION2, FORBIDDEN2),
185 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-1",
186 NO_PROTECTION2, FORBIDDEN2),
187 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-2",
188 NO_PROTECTION2, FORBIDDEN2),
189 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-3",
190 NO_PROTECTION2, FORBIDDEN2),
191 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-4",
192 NO_PROTECTION2, FORBIDDEN2),
193 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-5",
194 NO_PROTECTION2, FORBIDDEN2),
195 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-6",
196 NO_PROTECTION, FORBIDDEN3),
197 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-7",
198 NO_PROTECTION2, FORBIDDEN2),
199 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-8",
200 NO_PROTECTION2, FORBIDDEN2),
201 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-9",
202 NO_PROTECTION2, FORBIDDEN2),
203 /* 10 */
204 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-10",
205 NO_PROTECTION2, FORBIDDEN2),
206 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-11",
207 NO_PROTECTION, FORBIDDEN3),
208 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-12",
209 NO_PROTECTION, FORBIDDEN3),
210 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-13",
211 NO_PROTECTION, FORBIDDEN3),
212 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-14",
213 NO_PROTECTION, FORBIDDEN3),
214 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-15",
215 NO_PROTECTION, FORBIDDEN3),
216 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-16",
217 NO_PROTECTION, FORBIDDEN3),
218 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-17",
219 NO_PROTECTION2, FORBIDDEN2),
220 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-18",
221 NO_PROTECTION, FORBIDDEN3),
222 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-19",
223 NO_PROTECTION, FORBIDDEN3),
224 /* 20 */
225 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-20",
226 NO_PROTECTION, FORBIDDEN3),
227 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-21",
228 NO_PROTECTION, FORBIDDEN3),
229 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-22",
230 NO_PROTECTION, FORBIDDEN3),
231 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-23",
232 NO_PROTECTION, FORBIDDEN3),
233 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-24",
234 NO_PROTECTION, FORBIDDEN3),
235 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-25",
236 NO_PROTECTION, FORBIDDEN3),
237 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-26",
238 NO_PROTECTION, FORBIDDEN3),
239 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-27",
240 NO_PROTECTION, FORBIDDEN3),
241 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-28",
242 NO_PROTECTION, FORBIDDEN3),
243 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-29",
244 NO_PROTECTION, FORBIDDEN3),
245 /* 30 */
246 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-30",
247 NO_PROTECTION, FORBIDDEN3),
248 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-31",
249 NO_PROTECTION, FORBIDDEN3),
250 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-32",
251 NO_PROTECTION, FORBIDDEN3),
252 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-33",
253 NO_PROTECTION, FORBIDDEN3),
254 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-34",
255 NO_PROTECTION, FORBIDDEN3),
256 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-35",
257 NO_PROTECTION, FORBIDDEN3),
258 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-36",
259 NO_PROTECTION, FORBIDDEN3),
260 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-37",
261 NO_PROTECTION, FORBIDDEN3),
262 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-38",
263 NO_PROTECTION, FORBIDDEN3),
264 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-39",
265 NO_PROTECTION, FORBIDDEN3),
266 /* 40 */
267 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-40",
268 NO_PROTECTION, FORBIDDEN3),
269 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-41",
270 NO_PROTECTION, FORBIDDEN3),
271 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-42",
272 NO_PROTECTION, FORBIDDEN3),
273 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-43",
274 NO_PROTECTION, FORBIDDEN3),
275 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-44",
276 NO_PROTECTION, FORBIDDEN3),
277 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-45",
278 NO_PROTECTION, FORBIDDEN3),
279 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-46",
280 NO_PROTECTION, FORBIDDEN3),
281 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-47",
282 NO_PROTECTION, FORBIDDEN3),
283 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-48",
284 NO_PROTECTION, FORBIDDEN3),
285 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-49",
286 NO_PROTECTION, FORBIDDEN3),
287 /* 50 */
288 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-50",
289 NO_PROTECTION, FORBIDDEN3),
290 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-51",
291 NO_PROTECTION, FORBIDDEN3),
292 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-52",
293 NO_PROTECTION, FORBIDDEN3),
294 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-53",
295 NO_PROTECTION, FORBIDDEN3),
296 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-54",
297 NO_PROTECTION, FORBIDDEN3),
298 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-55",
299 NO_PROTECTION, FORBIDDEN3),
300 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-56",
301 NO_PROTECTION, FORBIDDEN3),
302 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-57",
303 NO_PROTECTION, FORBIDDEN3),
304 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-58",
305 NO_PROTECTION, FORBIDDEN3),
306 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-59",
307 NO_PROTECTION, FORBIDDEN3),
308 /* 60 */
309 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-60",
310 NO_PROTECTION, FORBIDDEN3),
311 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-61",
312 NO_PROTECTION, FORBIDDEN3),
313 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-62",
314 NO_PROTECTION, FORBIDDEN3),
315 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-63",
316 NO_PROTECTION, FORBIDDEN3),
317 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-64",
318 NO_PROTECTION, FORBIDDEN3),
319 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-65",
320 NO_PROTECTION, FORBIDDEN3),
321 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-66",
322 NO_PROTECTION, FORBIDDEN3),
323 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-67",
324 NO_PROTECTION, FORBIDDEN3),
325 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-68",
326 NO_PROTECTION, FORBIDDEN3),
327 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-69",
328 NO_PROTECTION, FORBIDDEN3),
329 /* 70 */
330 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-70",
331 NO_PROTECTION, FORBIDDEN3),
332 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-71",
333 NO_PROTECTION, FORBIDDEN3),
334 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-72",
335 NO_PROTECTION, FORBIDDEN3),
336 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-73",
337 NO_PROTECTION, FORBIDDEN3),
338 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-74",
339 NO_PROTECTION, FORBIDDEN3),
340 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-75",
341 SEC_RW_ONLY, FORBIDDEN3),
342 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-76",
343 NO_PROTECTION, FORBIDDEN3),
344 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-77",
345 NO_PROTECTION, FORBIDDEN3),
346 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-78",
347 NO_PROTECTION, FORBIDDEN3),
348 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-79",
349 NO_PROTECTION, FORBIDDEN3),
350 /* 80 */
351 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-80",
352 NO_PROTECTION, FORBIDDEN3),
353 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-81",
354 NO_PROTECTION, FORBIDDEN3),
355 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-82",
356 NO_PROTECTION, FORBIDDEN3),
357 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-83",
358 NO_PROTECTION, FORBIDDEN3),
359 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-84",
360 NO_PROTECTION, FORBIDDEN3),
361 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-85",
362 NO_PROTECTION, FORBIDDEN3),
363 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-86",
364 NO_PROTECTION, FORBIDDEN3),
365 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-87",
366 NO_PROTECTION, FORBIDDEN3),
367 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-88",
368 NO_PROTECTION, FORBIDDEN3),
369 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-89",
370 NO_PROTECTION, FORBIDDEN3),
371 /* 90 */
372 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-90",
373 NO_PROTECTION, FORBIDDEN3),
374 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-91",
375 NO_PROTECTION, FORBIDDEN3),
376 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-92",
377 NO_PROTECTION, FORBIDDEN3),
378 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-93",
379 NO_PROTECTION, FORBIDDEN3),
380 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-94",
381 NO_PROTECTION, FORBIDDEN3),
382 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-95",
383 NO_PROTECTION, FORBIDDEN3),
384 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-96",
385 NO_PROTECTION, FORBIDDEN3),
386 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-97",
387 NO_PROTECTION, FORBIDDEN3),
388 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-98",
389 NO_PROTECTION, FORBIDDEN3),
390 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-99",
391 NO_PROTECTION, FORBIDDEN3),
392 /* 100 */
393 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-100",
394 NO_PROTECTION, FORBIDDEN3),
395 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-101",
396 NO_PROTECTION, FORBIDDEN3),
397 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-102",
398 NO_PROTECTION, FORBIDDEN3),
399 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-103",
400 NO_PROTECTION, FORBIDDEN3),
401 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-104",
402 NO_PROTECTION, FORBIDDEN3),
403 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-105",
404 NO_PROTECTION, FORBIDDEN3),
405 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-106",
406 NO_PROTECTION, FORBIDDEN3),
407 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-107",
408 NO_PROTECTION, FORBIDDEN3),
409 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-108",
410 NO_PROTECTION, FORBIDDEN3),
411 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-109",
412 NO_PROTECTION, FORBIDDEN3),
413 /* 110 */
414 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-110",
415 NO_PROTECTION, FORBIDDEN3),
416 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-111",
417 NO_PROTECTION, FORBIDDEN3),
418 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-112",
419 NO_PROTECTION, FORBIDDEN3),
420 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-113",
421 NO_PROTECTION, FORBIDDEN3),
422 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-114",
423 NO_PROTECTION, FORBIDDEN3),
424 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-115",
425 NO_PROTECTION, FORBIDDEN3),
426 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-116",
427 NO_PROTECTION, FORBIDDEN3),
428 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-117",
429 NO_PROTECTION, FORBIDDEN3),
430 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-118",
431 NO_PROTECTION, FORBIDDEN3),
432 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-119",
433 NO_PROTECTION, FORBIDDEN3),
434 /* 120 */
435 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-120",
436 NO_PROTECTION, FORBIDDEN3),
437 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-121",
438 NO_PROTECTION, FORBIDDEN3),
439 DAPC_INFRA_AO_SYS1_ATTR("MM_S_S-122",
440 NO_PROTECTION, FORBIDDEN3),
441 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S",
442 NO_PROTECTION, FORBIDDEN3),
443 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-1",
444 NO_PROTECTION2, FORBIDDEN2),
445 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-2",
446 NO_PROTECTION, FORBIDDEN3),
447 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-3",
448 NO_PROTECTION, FORBIDDEN3),
449 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-4",
450 NO_PROTECTION, FORBIDDEN3),
451 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-5",
452 NO_PROTECTION, FORBIDDEN3),
453 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-6",
454 NO_PROTECTION, FORBIDDEN3),
455 /* 130 */
456 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-7",
457 NO_PROTECTION, FORBIDDEN3),
458 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-8",
459 NO_PROTECTION, FORBIDDEN3),
460 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-9",
461 NO_PROTECTION, FORBIDDEN3),
462 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-10",
463 NO_PROTECTION, FORBIDDEN3),
464 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-11",
465 NO_PROTECTION, FORBIDDEN3),
466 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-12",
467 NO_PROTECTION2, FORBIDDEN2),
468 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-13",
469 NO_PROTECTION, FORBIDDEN3),
470 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-14",
471 NO_PROTECTION, FORBIDDEN3),
472 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-15",
473 NO_PROTECTION, FORBIDDEN3),
474 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-16",
475 NO_PROTECTION, FORBIDDEN3),
476 /* 140 */
477 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-17",
478 NO_PROTECTION, FORBIDDEN3),
479 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-18",
480 NO_PROTECTION, FORBIDDEN3),
481 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-19",
482 NO_PROTECTION, FORBIDDEN3),
483 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-20",
484 NO_PROTECTION, FORBIDDEN3),
485 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-21",
486 NO_PROTECTION, FORBIDDEN3),
487 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-22",
488 NO_PROTECTION, FORBIDDEN3),
489 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-23",
490 NO_PROTECTION, FORBIDDEN3),
491 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-24",
492 NO_PROTECTION, FORBIDDEN3),
493 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-25",
494 NO_PROTECTION, FORBIDDEN3),
495 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-26",
496 NO_PROTECTION, FORBIDDEN3),
497 /* 150 */
498 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-27",
499 NO_PROTECTION, FORBIDDEN3),
500 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-28",
501 SEC_RW_ONLY, FORBIDDEN3),
502 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-29",
503 NO_PROTECTION, FORBIDDEN3),
504 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-30",
505 NO_PROTECTION, FORBIDDEN3),
506 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-31",
507 NO_PROTECTION, FORBIDDEN3),
508 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-32",
509 NO_PROTECTION, FORBIDDEN3),
510 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-33",
511 NO_PROTECTION, FORBIDDEN3),
512 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-34",
513 NO_PROTECTION, FORBIDDEN3),
514 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-35",
515 NO_PROTECTION, FORBIDDEN3),
516 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-36",
517 NO_PROTECTION, FORBIDDEN3),
518 /* 160 */
519 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-37",
520 NO_PROTECTION, FORBIDDEN3),
521 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-38",
522 NO_PROTECTION, FORBIDDEN3),
523 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-39",
524 NO_PROTECTION, FORBIDDEN3),
525 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-40",
526 NO_PROTECTION, FORBIDDEN3),
527 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-41",
528 NO_PROTECTION, FORBIDDEN3),
529 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-42",
530 NO_PROTECTION, FORBIDDEN3),
531 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-43",
532 NO_PROTECTION, FORBIDDEN3),
533 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-44",
534 NO_PROTECTION, FORBIDDEN3),
535 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-45",
536 NO_PROTECTION, FORBIDDEN3),
537 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-46",
538 NO_PROTECTION, FORBIDDEN3),
539 /* 170 */
540 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-47",
541 NO_PROTECTION2, FORBIDDEN2),
542 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-48",
543 NO_PROTECTION2, FORBIDDEN2),
544 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-49",
545 NO_PROTECTION, FORBIDDEN3),
546 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-50",
547 NO_PROTECTION, FORBIDDEN3),
548 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-51",
549 NO_PROTECTION, FORBIDDEN3),
550 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-52",
551 NO_PROTECTION, FORBIDDEN3),
552 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-53",
553 NO_PROTECTION, FORBIDDEN3),
554 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-54",
555 NO_PROTECTION, FORBIDDEN3),
556 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-55",
557 NO_PROTECTION, FORBIDDEN3),
558 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-56",
559 NO_PROTECTION, FORBIDDEN3),
560 /* 180 */
561 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-57",
562 NO_PROTECTION, FORBIDDEN3),
563 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-58",
564 NO_PROTECTION, FORBIDDEN3),
565 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-59",
566 NO_PROTECTION, FORBIDDEN3),
567 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-60",
568 NO_PROTECTION, FORBIDDEN3),
569 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-61",
570 NO_PROTECTION, FORBIDDEN3),
571 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-62",
572 NO_PROTECTION, FORBIDDEN3),
573 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-63",
574 NO_PROTECTION, FORBIDDEN3),
575 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-64",
576 NO_PROTECTION, FORBIDDEN3),
577 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-65",
578 NO_PROTECTION, FORBIDDEN3),
579 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-66",
580 NO_PROTECTION, FORBIDDEN3),
581 /* 190 */
582 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-67",
583 NO_PROTECTION, FORBIDDEN3),
584 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-68",
585 NO_PROTECTION, FORBIDDEN3),
586 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-69",
587 NO_PROTECTION, FORBIDDEN3),
588 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-70",
589 NO_PROTECTION, FORBIDDEN3),
590 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-71",
591 NO_PROTECTION, FORBIDDEN3),
592 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-72",
593 NO_PROTECTION, FORBIDDEN3),
594 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-73",
595 NO_PROTECTION, FORBIDDEN3),
596 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-74",
597 NO_PROTECTION2, FORBIDDEN2),
598 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-75",
599 NO_PROTECTION2, FORBIDDEN2),
600 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-76",
601 NO_PROTECTION, FORBIDDEN3),
602 /* 200 */
603 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-77",
604 NO_PROTECTION, FORBIDDEN3),
605 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-78",
606 NO_PROTECTION, FORBIDDEN3),
607 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-79",
608 NO_PROTECTION, FORBIDDEN3),
609 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-86",
610 NO_PROTECTION, FORBIDDEN3),
611 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-88",
612 NO_PROTECTION, FORBIDDEN3),
613 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-94",
614 NO_PROTECTION, FORBIDDEN3),
615 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-95",
616 NO_PROTECTION, FORBIDDEN3),
617 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-96",
618 NO_PROTECTION, FORBIDDEN3),
619 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-97",
620 NO_PROTECTION, FORBIDDEN3),
621 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-98",
622 NO_PROTECTION, FORBIDDEN3),
623 /* 210 */
624 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-99",
625 NO_PROTECTION, FORBIDDEN3),
626 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-101",
627 NO_PROTECTION, FORBIDDEN3),
628 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-102",
629 NO_PROTECTION, FORBIDDEN3),
630 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-103",
631 NO_PROTECTION, FORBIDDEN3),
632 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-104",
633 NO_PROTECTION, FORBIDDEN3),
634 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-106",
635 NO_PROTECTION, FORBIDDEN3),
636 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-107",
637 NO_PROTECTION, FORBIDDEN3),
638 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-108",
639 NO_PROTECTION, FORBIDDEN3),
640 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-109",
641 NO_PROTECTION, FORBIDDEN3),
642 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-110",
643 NO_PROTECTION, FORBIDDEN3),
644 /* 220 */
645 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-111",
646 NO_PROTECTION, FORBIDDEN3),
647 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-114",
648 NO_PROTECTION, FORBIDDEN3),
649 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-115",
650 NO_PROTECTION, FORBIDDEN3),
651 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-116",
652 NO_PROTECTION, FORBIDDEN3),
653 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-117",
654 NO_PROTECTION, FORBIDDEN3),
655 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-119",
656 NO_PROTECTION, FORBIDDEN3),
657 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-121",
658 NO_PROTECTION, FORBIDDEN3),
659 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-122",
660 NO_PROTECTION, FORBIDDEN3),
661 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-123",
662 NO_PROTECTION, FORBIDDEN3),
663 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-125",
664 NO_PROTECTION, FORBIDDEN3),
665 /* 230 */
666 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-126",
667 NO_PROTECTION, FORBIDDEN3),
668 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-127",
669 NO_PROTECTION, FORBIDDEN3),
670 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-128",
671 NO_PROTECTION, FORBIDDEN3),
672 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-129",
673 NO_PROTECTION, FORBIDDEN3),
674 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-130",
675 NO_PROTECTION, FORBIDDEN3),
676 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-131",
677 NO_PROTECTION, FORBIDDEN3),
678 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-132",
679 NO_PROTECTION, FORBIDDEN3),
680 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-133",
681 NO_PROTECTION, FORBIDDEN3),
682 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-134",
683 NO_PROTECTION, FORBIDDEN3),
684 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-135",
685 NO_PROTECTION, FORBIDDEN3),
686 /* 240 */
687 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-136",
688 NO_PROTECTION, FORBIDDEN3),
689 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-137",
690 NO_PROTECTION, FORBIDDEN3),
691 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-138",
692 NO_PROTECTION, FORBIDDEN3),
693 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-140",
694 NO_PROTECTION, FORBIDDEN3),
695 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-141",
696 NO_PROTECTION, FORBIDDEN3),
697 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-142",
698 NO_PROTECTION, FORBIDDEN3),
699 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-143",
700 NO_PROTECTION, FORBIDDEN3),
701 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-144",
702 NO_PROTECTION, FORBIDDEN3),
703 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-145",
704 NO_PROTECTION, FORBIDDEN3),
705 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-146",
706 NO_PROTECTION, FORBIDDEN3),
707 /* 250 */
708 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-147",
709 NO_PROTECTION, FORBIDDEN3),
710 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-148",
711 NO_PROTECTION, FORBIDDEN3),
712 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-149",
713 NO_PROTECTION, FORBIDDEN3),
714 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-150",
715 NO_PROTECTION, FORBIDDEN3),
716 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-151",
717 NO_PROTECTION, FORBIDDEN3),
718 DAPC_INFRA_AO_SYS1_ATTR("MDP_S_S-152",
719 NO_PROTECTION, FORBIDDEN3),
722 static const struct apc_infra_peri_dom_4 infra_ao_sys2_devices[] = {
723 /* 0 */
724 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-153",
725 NO_PROTECTION, FORBIDDEN3),
726 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-154",
727 NO_PROTECTION, FORBIDDEN3),
728 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-155",
729 NO_PROTECTION, FORBIDDEN3),
730 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-156",
731 NO_PROTECTION, FORBIDDEN3),
732 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-157",
733 NO_PROTECTION, FORBIDDEN3),
734 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-158",
735 NO_PROTECTION, FORBIDDEN3),
736 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-159",
737 NO_PROTECTION, FORBIDDEN3),
738 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-160",
739 NO_PROTECTION, FORBIDDEN3),
740 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-161",
741 NO_PROTECTION, FORBIDDEN3),
742 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-163",
743 NO_PROTECTION, FORBIDDEN3),
744 /* 10 */
745 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-164",
746 NO_PROTECTION, FORBIDDEN3),
747 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-165",
748 NO_PROTECTION, FORBIDDEN3),
749 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-166",
750 NO_PROTECTION, FORBIDDEN3),
751 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-167",
752 NO_PROTECTION, FORBIDDEN3),
753 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-168",
754 NO_PROTECTION, FORBIDDEN3),
755 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-169",
756 NO_PROTECTION, FORBIDDEN3),
757 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-170",
758 NO_PROTECTION, FORBIDDEN3),
759 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-171",
760 NO_PROTECTION, FORBIDDEN3),
761 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-172",
762 NO_PROTECTION, FORBIDDEN3),
763 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-173",
764 NO_PROTECTION, FORBIDDEN3),
765 /* 20 */
766 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-174",
767 NO_PROTECTION, FORBIDDEN3),
768 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-176",
769 NO_PROTECTION, FORBIDDEN3),
770 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-177",
771 NO_PROTECTION, FORBIDDEN3),
772 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-178",
773 NO_PROTECTION, FORBIDDEN3),
774 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-179",
775 NO_PROTECTION, FORBIDDEN3),
776 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-181",
777 NO_PROTECTION, FORBIDDEN3),
778 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-182",
779 NO_PROTECTION, FORBIDDEN3),
780 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-183",
781 NO_PROTECTION, FORBIDDEN3),
782 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-184",
783 NO_PROTECTION, FORBIDDEN3),
784 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-186",
785 NO_PROTECTION, FORBIDDEN3),
786 /* 30 */
787 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-187",
788 NO_PROTECTION, FORBIDDEN3),
789 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-188",
790 NO_PROTECTION, FORBIDDEN3),
791 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-189",
792 NO_PROTECTION, FORBIDDEN3),
793 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-190",
794 NO_PROTECTION, FORBIDDEN3),
795 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-191",
796 NO_PROTECTION, FORBIDDEN3),
797 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-192",
798 NO_PROTECTION, FORBIDDEN3),
799 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-193",
800 NO_PROTECTION, FORBIDDEN3),
801 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-194",
802 NO_PROTECTION, FORBIDDEN3),
803 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-195",
804 NO_PROTECTION, FORBIDDEN3),
805 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-196",
806 NO_PROTECTION, FORBIDDEN3),
807 /* 40 */
808 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-197",
809 NO_PROTECTION, FORBIDDEN3),
810 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-198",
811 NO_PROTECTION, FORBIDDEN3),
812 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-199",
813 NO_PROTECTION, FORBIDDEN3),
814 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-200",
815 NO_PROTECTION, FORBIDDEN3),
816 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-201",
817 NO_PROTECTION, FORBIDDEN3),
818 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-202",
819 NO_PROTECTION, FORBIDDEN3),
820 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-203",
821 NO_PROTECTION, FORBIDDEN3),
822 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-204",
823 NO_PROTECTION, FORBIDDEN3),
824 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-205",
825 NO_PROTECTION, FORBIDDEN3),
826 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-207",
827 NO_PROTECTION, FORBIDDEN3),
828 /* 50 */
829 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-208",
830 NO_PROTECTION, FORBIDDEN3),
831 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-209",
832 NO_PROTECTION, FORBIDDEN3),
833 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-210",
834 NO_PROTECTION, FORBIDDEN3),
835 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-211",
836 NO_PROTECTION, FORBIDDEN3),
837 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-212",
838 NO_PROTECTION, FORBIDDEN3),
839 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-213",
840 NO_PROTECTION, FORBIDDEN3),
841 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-215",
842 NO_PROTECTION, FORBIDDEN3),
843 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-216",
844 NO_PROTECTION, FORBIDDEN3),
845 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-217",
846 NO_PROTECTION, FORBIDDEN3),
847 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-218",
848 NO_PROTECTION, FORBIDDEN3),
849 /* 60 */
850 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-219",
851 NO_PROTECTION, FORBIDDEN3),
852 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-220",
853 NO_PROTECTION, FORBIDDEN3),
854 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-221",
855 NO_PROTECTION, FORBIDDEN3),
856 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-222",
857 NO_PROTECTION, FORBIDDEN3),
858 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-224",
859 NO_PROTECTION, FORBIDDEN3),
860 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-225",
861 NO_PROTECTION, FORBIDDEN3),
862 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-226",
863 NO_PROTECTION, FORBIDDEN3),
864 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-227",
865 NO_PROTECTION, FORBIDDEN3),
866 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-228",
867 NO_PROTECTION, FORBIDDEN3),
868 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-229",
869 NO_PROTECTION, FORBIDDEN3),
870 /* 70 */
871 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-230",
872 NO_PROTECTION, FORBIDDEN3),
873 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-231",
874 NO_PROTECTION, FORBIDDEN3),
875 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-232",
876 NO_PROTECTION, FORBIDDEN3),
877 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-233",
878 NO_PROTECTION, FORBIDDEN3),
879 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-234",
880 NO_PROTECTION, FORBIDDEN3),
881 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-235",
882 NO_PROTECTION, FORBIDDEN3),
883 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-236",
884 NO_PROTECTION, FORBIDDEN3),
885 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-237",
886 NO_PROTECTION, FORBIDDEN3),
887 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-238",
888 NO_PROTECTION, FORBIDDEN3),
889 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-239",
890 NO_PROTECTION, FORBIDDEN3),
891 /* 80 */
892 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-240",
893 NO_PROTECTION, FORBIDDEN3),
894 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-242",
895 NO_PROTECTION, FORBIDDEN3),
896 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-243",
897 NO_PROTECTION, FORBIDDEN3),
898 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-244",
899 NO_PROTECTION, FORBIDDEN3),
900 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-246",
901 NO_PROTECTION, FORBIDDEN3),
902 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-247",
903 NO_PROTECTION, FORBIDDEN3),
904 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-249",
905 NO_PROTECTION, FORBIDDEN3),
906 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-250",
907 NO_PROTECTION, FORBIDDEN3),
908 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-251",
909 NO_PROTECTION, FORBIDDEN3),
910 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-253",
911 NO_PROTECTION, FORBIDDEN3),
912 /* 90 */
913 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-254",
914 NO_PROTECTION, FORBIDDEN3),
915 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-256",
916 NO_PROTECTION, FORBIDDEN3),
917 DAPC_INFRA_AO_SYS2_ATTR("MDP_S_S-257",
918 NO_PROTECTION, FORBIDDEN3),
921 static const struct apc_infra_peri_dom_16 peri_ao_sys0_devices[] = {
922 /* 0 */
923 DAPC_PERI_AO_SYS0_ATTR("DEVICE_APC_PERI_AO_APB_S",
924 SEC_RW_ONLY, FORBIDDEN15),
925 DAPC_PERI_AO_SYS0_ATTR("BCRM_PERI_AO_APB_S",
926 NO_PROTECTION, FORBIDDEN15),
927 DAPC_PERI_AO_SYS0_ATTR("DEBUG_CTRL_PERI_AO_APB_S",
928 NO_PROTECTION, FORBIDDEN15),
929 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S",
930 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
931 NO_PROTECTION2, FORBIDDEN6),
932 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-1",
933 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
934 NO_PROTECTION2, FORBIDDEN6),
935 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-2",
936 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
937 NO_PROTECTION2, FORBIDDEN6),
938 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-3",
939 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
940 NO_PROTECTION2, FORBIDDEN6),
941 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-4",
942 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
943 NO_PROTECTION2, FORBIDDEN6),
944 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-5",
945 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
946 NO_PROTECTION2, FORBIDDEN6),
947 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-6",
948 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
949 NO_PROTECTION2, FORBIDDEN6),
950 /* 10 */
951 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-7",
952 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
953 NO_PROTECTION2, FORBIDDEN6),
954 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-8",
955 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
956 NO_PROTECTION2, FORBIDDEN6),
957 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-9",
958 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
959 NO_PROTECTION2, FORBIDDEN6),
960 DAPC_PERI_AO_SYS0_ATTR("PWR_MD32_S-10",
961 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
962 NO_PROTECTION2, FORBIDDEN6),
963 DAPC_PERI_AO_SYS0_ATTR("DEBUGSYS_APB_S",
964 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
965 NO_PROTECTION, FORBIDDEN),
966 DAPC_PERI_AO_SYS0_ATTR("DRAMC_MD32_S0_APB_S",
967 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
968 NO_PROTECTION2, FORBIDDEN6),
969 DAPC_PERI_AO_SYS0_ATTR("DRAMC_MD32_S0_APB_S-1",
970 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
971 NO_PROTECTION2, FORBIDDEN6),
972 DAPC_PERI_AO_SYS0_ATTR("DRAMC_MD32_S1_APB_S",
973 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
974 NO_PROTECTION2, FORBIDDEN6),
975 DAPC_PERI_AO_SYS0_ATTR("DRAMC_MD32_S1_APB_S-1",
976 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
977 NO_PROTECTION2, FORBIDDEN6),
978 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP0_APB_S",
979 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
980 NO_PROTECTION2, FORBIDDEN6),
981 /* 20 */
982 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP1_APB_S",
983 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
984 NO_PROTECTION2, FORBIDDEN6),
985 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP2_APB_S",
986 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
987 NO_PROTECTION2, FORBIDDEN6),
988 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP3_APB_S",
989 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
990 NO_PROTECTION2, FORBIDDEN6),
991 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP4_APB_S",
992 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
993 NO_PROTECTION2, FORBIDDEN6),
994 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP5_APB_S",
995 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
996 NO_PROTECTION2, FORBIDDEN6),
997 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH0_TOP6_APB_S",
998 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
999 NO_PROTECTION2, FORBIDDEN6),
1000 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP0_APB_S",
1001 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1002 NO_PROTECTION2, FORBIDDEN6),
1003 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP1_APB_S",
1004 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1005 NO_PROTECTION2, FORBIDDEN6),
1006 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP2_APB_S",
1007 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1008 NO_PROTECTION2, FORBIDDEN6),
1009 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP3_APB_S",
1010 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1011 NO_PROTECTION2, FORBIDDEN6),
1012 /* 30 */
1013 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP4_APB_S",
1014 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1015 NO_PROTECTION2, FORBIDDEN6),
1016 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP5_APB_S",
1017 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1018 NO_PROTECTION2, FORBIDDEN6),
1019 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH1_TOP6_APB_S",
1020 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1021 NO_PROTECTION2, FORBIDDEN6),
1022 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP0_APB_S",
1023 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1024 NO_PROTECTION2, FORBIDDEN6),
1025 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP1_APB_S",
1026 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1027 NO_PROTECTION2, FORBIDDEN6),
1028 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP2_APB_S",
1029 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1030 NO_PROTECTION2, FORBIDDEN6),
1031 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP3_APB_S",
1032 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1033 NO_PROTECTION2, FORBIDDEN6),
1034 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP4_APB_S",
1035 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1036 NO_PROTECTION2, FORBIDDEN6),
1037 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP5_APB_S",
1038 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1039 NO_PROTECTION2, FORBIDDEN6),
1040 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH2_TOP6_APB_S",
1041 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1042 NO_PROTECTION2, FORBIDDEN6),
1043 /* 40 */
1044 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP0_APB_S",
1045 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1046 NO_PROTECTION2, FORBIDDEN6),
1047 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP1_APB_S",
1048 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1049 NO_PROTECTION2, FORBIDDEN6),
1050 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP2_APB_S",
1051 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1052 NO_PROTECTION2, FORBIDDEN6),
1053 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP3_APB_S",
1054 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1055 NO_PROTECTION2, FORBIDDEN6),
1056 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP4_APB_S",
1057 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1058 NO_PROTECTION2, FORBIDDEN6),
1059 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP5_APB_S",
1060 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1061 NO_PROTECTION2, FORBIDDEN6),
1062 DAPC_PERI_AO_SYS0_ATTR("DRAMC_CH3_TOP6_APB_S",
1063 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1064 NO_PROTECTION2, FORBIDDEN6),
1065 DAPC_PERI_AO_SYS0_ATTR("CCIF2_AP_APB_S",
1066 NO_PROTECTION, FORBIDDEN15),
1067 DAPC_PERI_AO_SYS0_ATTR("CCIF2_MD_APB_S",
1068 NO_PROTECTION, FORBIDDEN15),
1069 DAPC_PERI_AO_SYS0_ATTR("CCIF3_AP_APB_S",
1070 NO_PROTECTION, FORBIDDEN15),
1071 /* 50 */
1072 DAPC_PERI_AO_SYS0_ATTR("CCIF3_MD_APB_S",
1073 NO_PROTECTION, FORBIDDEN15),
1074 DAPC_PERI_AO_SYS0_ATTR("CCIF4_AP_APB_S",
1075 NO_PROTECTION, FORBIDDEN15),
1076 DAPC_PERI_AO_SYS0_ATTR("CCIF4_MD_APB_S",
1077 NO_PROTECTION, FORBIDDEN15),
1078 DAPC_PERI_AO_SYS0_ATTR("CCIF5_AP_APB_S",
1079 NO_PROTECTION, FORBIDDEN15),
1080 DAPC_PERI_AO_SYS0_ATTR("CCIF5_MD_APB_S",
1081 NO_PROTECTION, FORBIDDEN15),
1082 DAPC_PERI_AO_SYS0_ATTR("SSC_INFRA_APB0_S",
1083 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1084 NO_PROTECTION, FORBIDDEN7),
1085 DAPC_PERI_AO_SYS0_ATTR("SSC_INFRA_APB1_S",
1086 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1087 NO_PROTECTION, FORBIDDEN7),
1088 DAPC_PERI_AO_SYS0_ATTR("DEVICE_MPU_ACP_APB_S",
1089 SEC_RW_ONLY, FORBIDDEN15),
1092 static const struct apc_infra_peri_dom_8 peri_ao_sys1_devices[] = {
1093 /* 0 */
1094 DAPC_PERI_AO_SYS1_ATTR("TINSYS_S",
1095 NO_PROTECTION, FORBIDDEN7),
1098 static const struct apc_infra_peri_dom_16 peri2_ao_sys0_devices[] = {
1099 /* 0 */
1100 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_APC_PERI_AO2_APB_S",
1101 SEC_RW_ONLY, FORBIDDEN15),
1102 DAPC_PERI2_AO_SYS0_ATTR("BCRM_PERI_AO2_APB_S",
1103 NO_PROTECTION, FORBIDDEN15),
1104 DAPC_PERI2_AO_SYS0_ATTR("DEBUG_CTRL_PERI_AO2_APB_S",
1105 NO_PROTECTION, FORBIDDEN15),
1106 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB0_S",
1107 NO_PROTECTION, FORBIDDEN15),
1108 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB1_S",
1109 NO_PROTECTION, FORBIDDEN13, NO_PROTECTION, FORBIDDEN),
1110 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB2_S",
1111 NO_PROTECTION, FORBIDDEN15),
1112 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB3_S",
1113 NO_PROTECTION, FORBIDDEN15),
1114 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB4_S",
1115 NO_PROTECTION, FORBIDDEN15),
1116 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB5_S",
1117 NO_PROTECTION, FORBIDDEN15),
1118 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB6_S",
1119 NO_PROTECTION, FORBIDDEN15),
1120 /* 10 */
1121 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB7_S",
1122 NO_PROTECTION, FORBIDDEN15),
1123 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB8_S",
1124 NO_PROTECTION, FORBIDDEN15),
1125 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB9_S",
1126 NO_PROTECTION, FORBIDDEN15),
1127 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB10_S",
1128 NO_PROTECTION, FORBIDDEN15),
1129 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB11_S",
1130 NO_PROTECTION, FORBIDDEN15),
1131 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB12_S",
1132 NO_PROTECTION, FORBIDDEN15),
1133 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB13_S",
1134 NO_PROTECTION, FORBIDDEN15),
1135 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB14_S",
1136 NO_PROTECTION, FORBIDDEN15),
1137 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_APB15_S",
1138 NO_PROTECTION, FORBIDDEN15),
1139 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB0_S",
1140 NO_PROTECTION, FORBIDDEN15),
1141 /* 20 */
1142 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB1_S",
1143 NO_PROTECTION, FORBIDDEN15),
1144 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB2_S",
1145 NO_PROTECTION, FORBIDDEN15),
1146 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB3_S",
1147 NO_PROTECTION, FORBIDDEN15),
1148 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB4_S",
1149 NO_PROTECTION, FORBIDDEN15),
1150 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB5_S",
1151 NO_PROTECTION, FORBIDDEN15),
1152 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB6_S",
1153 NO_PROTECTION, FORBIDDEN15),
1154 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB7_S",
1155 NO_PROTECTION, FORBIDDEN15),
1156 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB8_S",
1157 NO_PROTECTION, FORBIDDEN15),
1158 DAPC_PERI2_AO_SYS0_ATTR("BND_WEST_APB9_S",
1159 NO_PROTECTION, FORBIDDEN15),
1160 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB0_S",
1161 NO_PROTECTION, FORBIDDEN15),
1162 /* 30 */
1163 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB1_S",
1164 NO_PROTECTION, FORBIDDEN15),
1165 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB2_S",
1166 NO_PROTECTION, FORBIDDEN4, NO_PROTECTION, FORBIDDEN8,
1167 NO_PROTECTION, FORBIDDEN),
1168 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB3_S",
1169 NO_PROTECTION, FORBIDDEN15),
1170 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB4_S",
1171 NO_PROTECTION, FORBIDDEN15),
1172 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB5_S",
1173 NO_PROTECTION, FORBIDDEN15),
1174 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB6_S",
1175 NO_PROTECTION, FORBIDDEN15),
1176 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB7_S",
1177 NO_PROTECTION, FORBIDDEN15),
1178 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB8_S",
1179 NO_PROTECTION, FORBIDDEN15),
1180 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB9_S",
1181 NO_PROTECTION, FORBIDDEN15),
1182 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB10_S",
1183 NO_PROTECTION, FORBIDDEN15),
1184 /* 40 */
1185 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB11_S",
1186 NO_PROTECTION, FORBIDDEN15),
1187 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB12_S",
1188 NO_PROTECTION, FORBIDDEN15),
1189 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB13_S",
1190 NO_PROTECTION, FORBIDDEN15),
1191 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB14_S",
1192 NO_PROTECTION, FORBIDDEN15),
1193 DAPC_PERI2_AO_SYS0_ATTR("BND_NORTH_APB15_S",
1194 NO_PROTECTION, FORBIDDEN15),
1195 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB0_S",
1196 NO_PROTECTION, FORBIDDEN15),
1197 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB1_S",
1198 NO_PROTECTION, FORBIDDEN15),
1199 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB2_S",
1200 NO_PROTECTION, FORBIDDEN15),
1201 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB3_S",
1202 NO_PROTECTION, FORBIDDEN15),
1203 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB4_S",
1204 NO_PROTECTION, FORBIDDEN15),
1205 /* 50 */
1206 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB5_S",
1207 NO_PROTECTION, FORBIDDEN15),
1208 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB6_S",
1209 NO_PROTECTION, FORBIDDEN15),
1210 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB7_S",
1211 NO_PROTECTION, FORBIDDEN15),
1212 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB8_S",
1213 NO_PROTECTION, FORBIDDEN15),
1214 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB9_S",
1215 NO_PROTECTION, FORBIDDEN15),
1216 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB10_S",
1217 NO_PROTECTION, FORBIDDEN15),
1218 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB11_S",
1219 NO_PROTECTION, FORBIDDEN15),
1220 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB12_S",
1221 NO_PROTECTION, FORBIDDEN15),
1222 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB13_S",
1223 NO_PROTECTION, FORBIDDEN15),
1224 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB14_S",
1225 NO_PROTECTION, FORBIDDEN15),
1226 /* 60 */
1227 DAPC_PERI2_AO_SYS0_ATTR("BND_SOUTH_APB15_S",
1228 NO_PROTECTION, FORBIDDEN15),
1229 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB0_S",
1230 NO_PROTECTION, FORBIDDEN15),
1231 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB1_S",
1232 NO_PROTECTION, FORBIDDEN15),
1233 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB2_S",
1234 NO_PROTECTION, FORBIDDEN15),
1235 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB3_S",
1236 NO_PROTECTION, FORBIDDEN15),
1237 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB4_S",
1238 NO_PROTECTION, FORBIDDEN15),
1239 DAPC_PERI2_AO_SYS0_ATTR("BND_EAST_NORTH_APB5_S",
1240 NO_PROTECTION, FORBIDDEN15),
1241 DAPC_PERI2_AO_SYS0_ATTR("SYS_CIRQ_APB_S",
1242 NO_PROTECTION, FORBIDDEN15),
1243 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_APC_INFRA_PDN_APB_S",
1244 NO_PROTECTION, FORBIDDEN15),
1245 DAPC_PERI2_AO_SYS0_ATTR("DEBUG_TRACKER_APB_S",
1246 NO_PROTECTION, FORBIDDEN15),
1247 /* 70 */
1248 DAPC_PERI2_AO_SYS0_ATTR("CCIF0_AP_APB_S",
1249 NO_PROTECTION, FORBIDDEN15),
1250 DAPC_PERI2_AO_SYS0_ATTR("CCIF0_MD_APB_S",
1251 NO_PROTECTION, FORBIDDEN15),
1252 DAPC_PERI2_AO_SYS0_ATTR("CCIF1_AP_APB_S",
1253 NO_PROTECTION, FORBIDDEN15),
1254 DAPC_PERI2_AO_SYS0_ATTR("CCIF1_MD_APB_S",
1255 NO_PROTECTION, FORBIDDEN15),
1256 DAPC_PERI2_AO_SYS0_ATTR("MBIST_PDN_APB_S",
1257 NO_PROTECTION, FORBIDDEN15),
1258 DAPC_PERI2_AO_SYS0_ATTR("INFRACFG_PDN_APB_S",
1259 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1260 NO_PROTECTION2, FORBIDDEN6),
1261 DAPC_PERI2_AO_SYS0_ATTR("TRNG_APB_S",
1262 NO_PROTECTION, FORBIDDEN15),
1263 DAPC_PERI2_AO_SYS0_ATTR("GCPU_APB_S",
1264 NO_PROTECTION, FORBIDDEN15),
1265 DAPC_PERI2_AO_SYS0_ATTR("GCPU_NS_APB_S",
1266 NO_PROTECTION, FORBIDDEN15),
1267 DAPC_PERI2_AO_SYS0_ATTR("CQ_DMA_APB_S",
1268 NO_PROTECTION, FORBIDDEN15),
1269 /* 80 */
1270 DAPC_PERI2_AO_SYS0_ATTR("SRAMROM_APB_S",
1271 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1272 DAPC_PERI2_AO_SYS0_ATTR("INFRACFG_MEM_APB_S",
1273 NO_PROTECTION, FORBIDDEN15),
1274 DAPC_PERI2_AO_SYS0_ATTR("ECC_TOP_APB_S",
1275 NO_PROTECTION, FORBIDDEN15),
1276 DAPC_PERI2_AO_SYS0_ATTR("GCE_APB_S",
1277 NO_PROTECTION, FORBIDDEN15),
1278 DAPC_PERI2_AO_SYS0_ATTR("GCE_M2_APB_S",
1279 NO_PROTECTION, FORBIDDEN15),
1280 DAPC_PERI2_AO_SYS0_ATTR("SYS_CIRQ1_APB_S",
1281 NO_PROTECTION, FORBIDDEN15),
1282 DAPC_PERI2_AO_SYS0_ATTR("SYS_CIRQ2_APB_S",
1283 NO_PROTECTION, FORBIDDEN15),
1284 DAPC_PERI2_AO_SYS0_ATTR("DEBUG_TRACKER_APB1_S",
1285 NO_PROTECTION, FORBIDDEN15),
1286 DAPC_PERI2_AO_SYS0_ATTR("INFRA_IOMMU_WRAP_APB0_S",
1287 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1288 DAPC_PERI2_AO_SYS0_ATTR("INFRA_IOMMU_WRAP_APB1_S",
1289 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1290 /* 90 */
1291 DAPC_PERI2_AO_SYS0_ATTR("INFRA_IOMMU_WRAP_APB2_S",
1292 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1293 DAPC_PERI2_AO_SYS0_ATTR("INFRA_IOMMU_WRAP_APB3_S",
1294 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1295 DAPC_PERI2_AO_SYS0_ATTR("INFRA_IOMMU_WRAP_APB4_S",
1296 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1297 DAPC_PERI2_AO_SYS0_ATTR("EMI_APB_S",
1298 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1299 NO_PROTECTION, FORBIDDEN7),
1300 DAPC_PERI2_AO_SYS0_ATTR("EMI_MPU_APB_S",
1301 SEC_RW_ONLY, FORBIDDEN15),
1302 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_MPU_PDN_APB_S",
1303 SEC_RW_ONLY, FORBIDDEN15),
1304 DAPC_PERI2_AO_SYS0_ATTR("APDMA_APB_S",
1305 NO_PROTECTION, FORBIDDEN15),
1306 DAPC_PERI2_AO_SYS0_ATTR("DEBUG_TRACKER_APB2_S",
1307 NO_PROTECTION, FORBIDDEN15),
1308 DAPC_PERI2_AO_SYS0_ATTR("BCRM_INFRA_PDN_APB_S",
1309 NO_PROTECTION, FORBIDDEN15),
1310 DAPC_PERI2_AO_SYS0_ATTR("BCRM_PERI_PDN_APB_S",
1311 NO_PROTECTION, FORBIDDEN15),
1312 /* 100 */
1313 DAPC_PERI2_AO_SYS0_ATTR("BCRM_PERI_PDN2_APB_S",
1314 NO_PROTECTION, FORBIDDEN15),
1315 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_APC_PERI_PDN_APB_S",
1316 NO_PROTECTION, FORBIDDEN15),
1317 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_APC_PERI_PDN2_APB_S",
1318 NO_PROTECTION, FORBIDDEN15),
1319 DAPC_PERI2_AO_SYS0_ATTR("BCRM_FMEM_PDN_APB_S",
1320 NO_PROTECTION, FORBIDDEN15),
1321 DAPC_PERI2_AO_SYS0_ATTR("FAKE_ENGINE_1_S",
1322 NO_PROTECTION, FORBIDDEN15),
1323 DAPC_PERI2_AO_SYS0_ATTR("FAKE_ENGINE_0_S",
1324 NO_PROTECTION, FORBIDDEN15),
1325 DAPC_PERI2_AO_SYS0_ATTR("PERI_SLOW_M_APB_S",
1326 NO_PROTECTION, FORBIDDEN15),
1327 DAPC_PERI2_AO_SYS0_ATTR("EMI_SUB_INFRA_APB_S",
1328 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1329 NO_PROTECTION, FORBIDDEN7),
1330 DAPC_PERI2_AO_SYS0_ATTR("EMI_MPU_SUB_INFRA_APB_S",
1331 SEC_RW_ONLY, FORBIDDEN15),
1332 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_MPU_PDN_SUB_INFRA_APB_S",
1333 SEC_RW_ONLY, FORBIDDEN15),
1334 /* 110 */
1335 DAPC_PERI2_AO_SYS0_ATTR("MBIST_PDN_SUB_INFRA_APB_S",
1336 NO_PROTECTION, FORBIDDEN15),
1337 DAPC_PERI2_AO_SYS0_ATTR("INFRACFG_MEM_SUB_INFRA_APB_S",
1338 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1339 NO_PROTECTION, FORBIDDEN7),
1340 DAPC_PERI2_AO_SYS0_ATTR("BCRM_SUB_INFRA_AO_APB_S",
1341 NO_PROTECTION, FORBIDDEN15),
1342 DAPC_PERI2_AO_SYS0_ATTR("DEBUG_CTRL_SUB_INFRA_AO_APB_S",
1343 NO_PROTECTION, FORBIDDEN15),
1344 DAPC_PERI2_AO_SYS0_ATTR("BCRM_SUB_INFRA_PDN_APB_S",
1345 NO_PROTECTION, FORBIDDEN15),
1346 DAPC_PERI2_AO_SYS0_ATTR("SSC_SUB_INFRA_APB1_S",
1347 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1348 NO_PROTECTION, FORBIDDEN7),
1349 DAPC_PERI2_AO_SYS0_ATTR("SSC_SUB_INFRA_APB2_S",
1350 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1351 NO_PROTECTION, FORBIDDEN7),
1352 DAPC_PERI2_AO_SYS0_ATTR("INFRACFG_AO_MEM_SUB_INFRA_APB_S",
1353 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN6),
1354 DAPC_PERI2_AO_SYS0_ATTR("SUB_FAKE_ENGINE_MM_S",
1355 NO_PROTECTION, FORBIDDEN15),
1356 DAPC_PERI2_AO_SYS0_ATTR("SUB_FAKE_ENGINE_MDP_S",
1357 NO_PROTECTION, FORBIDDEN15),
1358 /* 120 */
1359 DAPC_PERI2_AO_SYS0_ATTR("DEVICE_APC_SUB_INFRA_AO_APB_S",
1360 SEC_RW_ONLY, FORBIDDEN15),
1363 static const struct apc_infra_peri_dom_16 peri_par_ao_sys0_devices[] = {
1364 /* 0 */
1365 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S",
1366 NO_PROTECTION, FORBIDDEN15),
1367 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S-1",
1368 NO_PROTECTION, FORBIDDEN15),
1369 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S-2",
1370 NO_PROTECTION, FORBIDDEN15),
1371 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S-3",
1372 NO_PROTECTION, FORBIDDEN15),
1373 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S-4",
1374 NO_PROTECTION, FORBIDDEN15),
1375 DAPC_PERI_PAR_AO_SYS0_ATTR("SCP_S-5",
1376 NO_PROTECTION, FORBIDDEN15),
1377 DAPC_PERI_PAR_AO_SYS0_ATTR("SSUSB_S",
1378 NO_PROTECTION, FORBIDDEN15),
1379 DAPC_PERI_PAR_AO_SYS0_ATTR("SSUSB_S-1",
1380 NO_PROTECTION, FORBIDDEN15),
1381 DAPC_PERI_PAR_AO_SYS0_ATTR("SSUSB_S-2",
1382 NO_PROTECTION, FORBIDDEN15),
1383 DAPC_PERI_PAR_AO_SYS0_ATTR("NOR_AXI_S",
1384 NO_PROTECTION, FORBIDDEN15),
1385 /* 10 */
1386 DAPC_PERI_PAR_AO_SYS0_ATTR("MSDC0_S",
1387 NO_PROTECTION, FORBIDDEN15),
1388 DAPC_PERI_PAR_AO_SYS0_ATTR("MSDC1_S",
1389 NO_PROTECTION, FORBIDDEN15),
1390 DAPC_PERI_PAR_AO_SYS0_ATTR("MSDC2_S",
1391 NO_PROTECTION, FORBIDDEN15),
1392 DAPC_PERI_PAR_AO_SYS0_ATTR("PCIE0_AHB_S",
1393 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN13),
1394 DAPC_PERI_PAR_AO_SYS0_ATTR("SSUSB_P2_S",
1395 NO_PROTECTION, FORBIDDEN15),
1396 DAPC_PERI_PAR_AO_SYS0_ATTR("SSUSB_P3_S",
1397 NO_PROTECTION, FORBIDDEN15),
1398 DAPC_PERI_PAR_AO_SYS0_ATTR("AUXADC_APB_S",
1399 NO_PROTECTION, FORBIDDEN15),
1400 DAPC_PERI_PAR_AO_SYS0_ATTR("UART0_APB_S",
1401 NO_PROTECTION, FORBIDDEN2, NO_PROTECTION, FORBIDDEN4,
1402 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN),
1403 DAPC_PERI_PAR_AO_SYS0_ATTR("UART1_APB_S",
1404 NO_PROTECTION, FORBIDDEN15),
1405 DAPC_PERI_PAR_AO_SYS0_ATTR("UART2_APB_S",
1406 NO_PROTECTION, FORBIDDEN15),
1407 /* 20 */
1408 DAPC_PERI_PAR_AO_SYS0_ATTR("UART3_APB_S",
1409 NO_PROTECTION, FORBIDDEN15),
1410 DAPC_PERI_PAR_AO_SYS0_ATTR("dummy_0",
1411 NO_PROTECTION, FORBIDDEN15),
1412 DAPC_PERI_PAR_AO_SYS0_ATTR("dummy_1",
1413 NO_PROTECTION, FORBIDDEN15),
1414 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI0_APB_S",
1415 NO_PROTECTION, FORBIDDEN15),
1416 DAPC_PERI_PAR_AO_SYS0_ATTR("PTP_THERM_CTRL_APB_S",
1417 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
1418 NO_PROTECTION, FORBIDDEN),
1419 DAPC_PERI_PAR_AO_SYS0_ATTR("PERI_MBIST_PDN_APB_S",
1420 NO_PROTECTION, FORBIDDEN15),
1421 DAPC_PERI_PAR_AO_SYS0_ATTR("DISP_PWM_APB_S",
1422 NO_PROTECTION, FORBIDDEN15),
1423 DAPC_PERI_PAR_AO_SYS0_ATTR("DISP_PWM1_APB_S",
1424 NO_PROTECTION, FORBIDDEN15),
1425 DAPC_PERI_PAR_AO_SYS0_ATTR("SNPS_MAC_APB_S",
1426 NO_PROTECTION, FORBIDDEN15),
1427 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI1_APB_S",
1428 NO_PROTECTION, FORBIDDEN15),
1429 /* 30 */
1430 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI2_APB_S",
1431 NO_PROTECTION, FORBIDDEN15),
1432 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI3_APB_S",
1433 NO_PROTECTION, FORBIDDEN15),
1434 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI4_APB_S",
1435 NO_PROTECTION, FORBIDDEN15),
1436 DAPC_PERI_PAR_AO_SYS0_ATTR("SPI5_APB_S",
1437 NO_PROTECTION, FORBIDDEN15),
1438 DAPC_PERI_PAR_AO_SYS0_ATTR("SPIS0_APB_S",
1439 NO_PROTECTION, FORBIDDEN15),
1440 DAPC_PERI_PAR_AO_SYS0_ATTR("SPIS1_APB_S",
1441 NO_PROTECTION, FORBIDDEN15),
1442 DAPC_PERI_PAR_AO_SYS0_ATTR("NFI_APB_S",
1443 NO_PROTECTION, FORBIDDEN15),
1444 DAPC_PERI_PAR_AO_SYS0_ATTR("NFIECC_APB_S",
1445 NO_PROTECTION, FORBIDDEN15),
1446 DAPC_PERI_PAR_AO_SYS0_ATTR("I2S_DMA_APB_S",
1447 NO_PROTECTION, FORBIDDEN15),
1448 DAPC_PERI_PAR_AO_SYS0_ATTR("I2S_DMA1_APB_S",
1449 NO_PROTECTION, FORBIDDEN15),
1450 /* 40 */
1451 DAPC_PERI_PAR_AO_SYS0_ATTR("BCRM_PERI_PAR_PDN_APB_S",
1452 NO_PROTECTION, FORBIDDEN15),
1453 DAPC_PERI_PAR_AO_SYS0_ATTR("DEVICE_APC_PERI_PAR_PDN_APB_S",
1454 NO_PROTECTION, FORBIDDEN15),
1455 DAPC_PERI_PAR_AO_SYS0_ATTR("PTP_THERM_CTRL2_APB_S",
1456 NO_PROTECTION, FORBIDDEN8, NO_PROTECTION, FORBIDDEN4,
1457 NO_PROTECTION, FORBIDDEN),
1458 DAPC_PERI_PAR_AO_SYS0_ATTR("IIC_P2P_REMAP_APB_S",
1459 NO_PROTECTION, FORBIDDEN13, NO_PROTECTION, FORBIDDEN),
1460 DAPC_PERI_PAR_AO_SYS0_ATTR("NOR_APB_S",
1461 NO_PROTECTION, FORBIDDEN15),
1462 DAPC_PERI_PAR_AO_SYS0_ATTR("PERICFG2_AO_APB_S",
1463 NO_PROTECTION, FORBIDDEN15),
1464 DAPC_PERI_PAR_AO_SYS0_ATTR("DEVICE_APC_PERI_PAR_AO_APB_S",
1465 SEC_RW_ONLY, FORBIDDEN15),
1466 DAPC_PERI_PAR_AO_SYS0_ATTR("DEBUG_CTRL_PERI_PAR_AO_APB_S",
1467 NO_PROTECTION, FORBIDDEN15),
1468 DAPC_PERI_PAR_AO_SYS0_ATTR("BCRM_PERI_PAR_AO_APB_S",
1469 NO_PROTECTION, FORBIDDEN15),
1472 static const enum domain_id domain_map[] = {
1473 DOMAIN_0, DOMAIN_1, DOMAIN_2, DOMAIN_3, DOMAIN_4, DOMAIN_5, DOMAIN_6, DOMAIN_7,
1474 DOMAIN_8, DOMAIN_9, DOMAIN_10, DOMAIN_11, DOMAIN_12, DOMAIN_13, DOMAIN_14, DOMAIN_15,
1477 static void set_infra_ao_apc(uintptr_t base)
1479 int i, j;
1481 for (i = 0; i < ARRAY_SIZE(infra_ao_sys0_devices); i++)
1482 for (j = 0; j < ARRAY_SIZE(infra_ao_sys0_devices[i].d_permission); j++)
1483 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1484 infra_ao_sys0_devices[i].d_permission[j]);
1486 for (i = 0; i < ARRAY_SIZE(infra_ao_sys1_devices); i++)
1487 for (j = 0; j < ARRAY_SIZE(infra_ao_sys1_devices[i].d_permission); j++)
1488 set_module_apc(base + SYS1_D0_APC_0, i, domain_map[j],
1489 infra_ao_sys1_devices[i].d_permission[j]);
1491 for (i = 0; i < ARRAY_SIZE(infra_ao_sys2_devices); i++)
1492 for (j = 0; j < ARRAY_SIZE(infra_ao_sys2_devices[i].d_permission); j++)
1493 set_module_apc(base + SYS2_D0_APC_0, i, domain_map[j],
1494 infra_ao_sys2_devices[i].d_permission[j]);
1497 static void set_peri_ao_apc(uintptr_t base)
1499 int i, j;
1501 for (i = 0; i < ARRAY_SIZE(peri_ao_sys0_devices); i++)
1502 for (j = 0; j < ARRAY_SIZE(peri_ao_sys0_devices[i].d_permission); j++)
1503 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1504 peri_ao_sys0_devices[i].d_permission[j]);
1507 * Extra apc setting.
1508 * Block debugsys to avoid privilege escalation.
1510 if (!CONFIG(CONSOLE_SERIAL))
1511 set_module_apc(base + SYS0_D0_APC_0, DEVAPC_DEBUGSYS_INDEX,
1512 DOMAIN_0, SEC_RW_NS_R);
1514 for (i = 0; i < ARRAY_SIZE(peri_ao_sys1_devices); i++)
1515 for (j = 0; j < ARRAY_SIZE(peri_ao_sys1_devices[i].d_permission); j++)
1516 set_module_apc(base + SYS1_D0_APC_0, i, domain_map[j],
1517 peri_ao_sys1_devices[i].d_permission[j]);
1520 static void set_peri2_ao_apc(uintptr_t base)
1522 int i, j;
1524 for (i = 0; i < ARRAY_SIZE(peri2_ao_sys0_devices); i++)
1525 for (j = 0; j < ARRAY_SIZE(peri2_ao_sys0_devices[i].d_permission); j++)
1526 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1527 peri2_ao_sys0_devices[i].d_permission[j]);
1530 static void set_peri_par_ao_apc(uintptr_t base)
1532 int i, j;
1534 for (i = 0; i < ARRAY_SIZE(peri_par_ao_sys0_devices); i++)
1535 for (j = 0; j < ARRAY_SIZE(peri_par_ao_sys0_devices[i].d_permission); j++)
1536 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1537 peri_par_ao_sys0_devices[i].d_permission[j]);
1540 static void dump_infra_ao_apc(uintptr_t base)
1542 int reg_max;
1543 int d, i;
1545 reg_max = DIV_ROUND_UP(ARRAY_SIZE(infra_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1546 for (d = 0; d < DOM_NUM_INFRA_AO_SYS0; d++)
1547 for (i = 0; i < reg_max; i++)
1548 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO_SYS0)D%d_APC_%d: %#x\n", d,
1549 i, read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1551 reg_max = DIV_ROUND_UP(ARRAY_SIZE(infra_ao_sys1_devices), MOD_NO_IN_1_DEVAPC);
1552 for (d = 0; d < DOM_NUM_INFRA_AO_SYS1; d++)
1553 for (i = 0; i < reg_max; i++)
1554 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO_SYS1)D%d_APC_%d: %#x\n", d,
1555 i, read32(getreg_domain(base, SYS1_D0_APC_0, d, i)));
1557 reg_max = DIV_ROUND_UP(ARRAY_SIZE(infra_ao_sys2_devices), MOD_NO_IN_1_DEVAPC);
1558 for (d = 0; d < DOM_NUM_INFRA_AO_SYS2; d++)
1559 for (i = 0; i < reg_max; i++)
1560 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO_SYS2)D%d_APC_%d: %#x\n", d,
1561 i, read32(getreg_domain(base, SYS2_D0_APC_0, d, i)));
1563 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO)MAS_SEC_0: %#x\n",
1564 read32(getreg(base, MAS_SEC_0)));
1567 static void dump_peri_ao_apc(uintptr_t base)
1569 int reg_max;
1570 int d, i;
1572 reg_max = DIV_ROUND_UP(ARRAY_SIZE(peri_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1573 for (d = 0; d < DOM_NUM_PERI_AO_SYS0; d++)
1574 for (i = 0; i < reg_max; i++)
1575 printk(BIOS_DEBUG, "[DEVAPC] (PERI_AO_SYS0)D%d_APC_%d: %#x\n", d,
1576 i, read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1578 reg_max = DIV_ROUND_UP(ARRAY_SIZE(peri_ao_sys1_devices), MOD_NO_IN_1_DEVAPC);
1579 for (d = 0; d < DOM_NUM_PERI_AO_SYS1; d++)
1580 for (i = 0; i < reg_max; i++)
1581 printk(BIOS_DEBUG, "[DEVAPC] (PERI_AO_SYS1)D%d_APC_%d: %#x\n", d,
1582 i, read32(getreg_domain(base, SYS1_D0_APC_0, d, i)));
1584 printk(BIOS_DEBUG, "[DEVAPC] (PERI_AO)MAS_SEC_0: %#x\n",
1585 read32(getreg(base, MAS_SEC_0)));
1588 static void dump_peri2_ao_apc(uintptr_t base)
1590 int reg_max;
1591 int d, i;
1593 reg_max = DIV_ROUND_UP(ARRAY_SIZE(peri2_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1594 for (d = 0; d < DOM_NUM_PERI2_AO_SYS0; d++)
1595 for (i = 0; i < reg_max; i++)
1596 printk(BIOS_DEBUG, "[DEVAPC] (PERI2_AO_SYS0)D%d_APC_%d: %#x\n", d,
1597 i, read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1600 static void dump_peri_par_ao_apc(uintptr_t base)
1602 int reg_max;
1603 int d, i;
1605 reg_max = DIV_ROUND_UP(ARRAY_SIZE(peri_par_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1606 for (d = 0; d < DOM_NUM_PERI_PAR_AO_SYS0; d++)
1607 for (i = 0; i < reg_max; i++)
1608 printk(BIOS_DEBUG, "[DEVAPC] (PERI_PAR_AO_SYS0)D%d_APC_%d: %#x\n", d,
1609 i, read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1611 printk(BIOS_DEBUG, "[DEVAPC] (PERI_PAR_AO)MAS_SEC_0: %#x\n",
1612 read32(getreg(base, MAS_SEC_0)));
1615 static void dump_fmem_ao(uintptr_t base)
1617 printk(BIOS_DEBUG, "[DEVAPC] (DEVAPC_FMEM_AO_BASE %#lx)DOM_REMAP_0_0:%#x\n",
1618 base, read32(getreg(base, DOM_REMAP_0_0)));
1619 printk(BIOS_DEBUG, "[DEVAPC] (DEVAPC_FMEM_AO_BASE %#lx)MAS_DOM_1:%#x\n",
1620 base, read32(getreg(base, MAS_DOM_1)));
1623 static void dump_infra2_ao(uintptr_t base)
1625 printk(BIOS_DEBUG, "[DEVAPC] (DEVAPC_INFRA2_AO_BASE %#lx)DOM_REMAP_0_0:%#x\n",
1626 base, read32(getreg(base, DOM_REMAP_0_0)));
1629 static void dump_scp_master(uintptr_t base)
1631 printk(BIOS_DEBUG, "[DEVAPC] SCP_DOM0:%#x SCP_DOM1:%#x SCP_DOM2:%#x Lock:%#x\n",
1632 read32(getreg(base, SCP_DOM0)),
1633 read32(getreg(base, SCP_DOM1)),
1634 read32(getreg(base, SCP_DOM2)),
1635 read32(getreg(base, ONETIME_LOCK)));
1638 static void dump_sec_mfg_hyp(uintptr_t base)
1640 printk(BIOS_DEBUG, "[DEVAPC] (DEVAPC_INFRA_BASE %#lx)INFRA_AO_SEC_MFG_HYP:%#x\n",
1641 base, read32(getreg(base, 0)));
1644 static void infra_init(uintptr_t base)
1646 void *reg;
1648 /* Side-band */
1649 SET32_BITFIELDS(getreg(base, MAS_SEC_0), CPU_EB_SEC, SECURE_TRANS);
1650 SET32_BITFIELDS(getreg(base, MAS_SEC_0), SCP_SSPM_SEC, SECURE_TRANS);
1652 /* Master Domain */
1653 SET32_BITFIELDS(getreg(base, MAS_DOM_0),
1654 SCP_SSPM_DOM, DOMAIN_3,
1655 CPU_EB_DOM, DOMAIN_14);
1658 * Domain Remap: INFRA (4-bit) -> MMSYS (2-bit)
1659 * domain 0 -> domain 0
1660 * domain 8 -> domain 1 (SCP)
1661 * others -> domain 3
1663 reg = getreg(base, DOM_REMAP_2_0);
1664 write32(reg, 0xFFFFFFFF);
1665 SET32_BITFIELDS(reg,
1666 TWO_BIT_DOM_REMAP_0, DOMAIN_0,
1667 TWO_BIT_DOM_REMAP_8, DOMAIN_1);
1670 * Domain Remap: TINYSYS (3-bit) -> INFRA (4-bit)
1671 * domain 0 -> domain 4 (DSP)
1672 * others -> domain 15
1674 reg = getreg(base, DOM_REMAP_0_0);
1675 write32(reg, 0xFFFFFFFF);
1676 SET32_BITFIELDS(reg,
1677 FOUR_BIT_DOM_REMAP_0, DOMAIN_4);
1680 /* TODO: Setup SCP, SSPM and MCUPM permissions in APC . */
1681 set_infra_ao_apc(base);
1684 static void peri_init(uintptr_t base)
1686 void *reg;
1688 /* Default APC setting */
1689 set_peri_ao_apc(base);
1691 /* Master Domain */
1692 SET32_BITFIELDS(getreg(base, MAS_DOM_0), SPM_DOM, DOMAIN_9);
1695 * Domain Remap: INFRA (4-bit) -> TINYSYS (3-bit)
1696 * domain 0 -> domain 0
1697 * domain 4 -> domain 0 (DSP)
1698 * others -> domain 7
1700 reg = getreg(base, DOM_REMAP_0_0);
1701 write32(reg, 0xFFFFFFFF);
1702 SET32_BITFIELDS(reg,
1703 THREE_BIT_DOM_REMAP_0, DOMAIN_0,
1704 THREE_BIT_DOM_REMAP_4, DOMAIN_0);
1705 write32(getreg(base, DOM_REMAP_0_1), 0xFFFFFFFF);
1708 static void peri2_init(uintptr_t base)
1710 /* Default APC setting */
1711 set_peri2_ao_apc(base);
1714 static void peri_par_init(uintptr_t base)
1716 /* Default APC setting */
1717 set_peri_par_ao_apc(base);
1719 /* Master Domain */
1720 SET32_BITFIELDS(getreg_domain(base, MAS_DOM_0, 0, 4),
1721 PCIE0_DOM, DOMAIN_2);
1724 static void fmem_master_init(uintptr_t base)
1726 /* Master Domain */
1727 SET32_BITFIELDS(getreg(base, MAS_DOM_1),
1728 MFG_M0_DOM, DOMAIN_6);
1731 * Domain Remap: TINYSYS to EMI (3-bit to 4-bit)
1732 * 1. DSP from 0 to 4
1733 * 2. others from XXX to 15
1735 SET32_BITFIELDS(getreg(base, DOM_REMAP_0_0),
1736 FOUR_BIT_DOM_REMAP_0, DOMAIN_4,
1737 FOUR_BIT_DOM_REMAP_1, DOMAIN_15,
1738 FOUR_BIT_DOM_REMAP_2, DOMAIN_15,
1739 FOUR_BIT_DOM_REMAP_3, DOMAIN_15,
1740 FOUR_BIT_DOM_REMAP_4, DOMAIN_15,
1741 FOUR_BIT_DOM_REMAP_5, DOMAIN_15,
1742 FOUR_BIT_DOM_REMAP_6, DOMAIN_15,
1743 FOUR_BIT_DOM_REMAP_7, DOMAIN_15);
1746 static void infra2_master_init(uintptr_t base)
1749 * Domain Remap: TINYSYS to EMI (3-bit to 4-bit)
1750 * 1. DSP from 0 to 4
1751 * 2. others from XXX to 15
1753 SET32_BITFIELDS(getreg(base, DOM_REMAP_0_0),
1754 FOUR_BIT_DOM_REMAP_0, DOMAIN_4,
1755 FOUR_BIT_DOM_REMAP_1, DOMAIN_15,
1756 FOUR_BIT_DOM_REMAP_2, DOMAIN_15,
1757 FOUR_BIT_DOM_REMAP_3, DOMAIN_15,
1758 FOUR_BIT_DOM_REMAP_4, DOMAIN_15,
1759 FOUR_BIT_DOM_REMAP_5, DOMAIN_15,
1760 FOUR_BIT_DOM_REMAP_6, DOMAIN_15,
1761 FOUR_BIT_DOM_REMAP_7, DOMAIN_15);
1764 static void scp_master_init(uintptr_t base)
1766 SET32_BITFIELDS(getreg(base, SCP_DOM0),
1767 FOUR_BIT_DOM_REMAP_0, DOMAIN_8,
1768 FOUR_BIT_DOM_REMAP_2, DOMAIN_8,
1769 FOUR_BIT_DOM_REMAP_4, DOMAIN_8,
1770 FOUR_BIT_DOM_REMAP_6, DOMAIN_8);
1772 SET32_BITFIELDS(getreg(base, SCP_DOM1),
1773 FOUR_BIT_DOM_REMAP_0, DOMAIN_8,
1774 FOUR_BIT_DOM_REMAP_2, DOMAIN_8,
1775 FOUR_BIT_DOM_REMAP_4, DOMAIN_8,
1776 FOUR_BIT_DOM_REMAP_6, DOMAIN_8);
1778 SET32_BITFIELDS(getreg(base, SCP_DOM2),
1779 FOUR_BIT_DOM_REMAP_0, DOMAIN_8);
1781 /* Let SCP_DOM registers be read-only for security */
1782 write32(getreg(base, ONETIME_LOCK), 0x5);
1785 static void infra_sec_mfg_hyp_init(uintptr_t base)
1787 /* Set GPU protection mode */
1788 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), OSID0, MFG_NS_D6);
1789 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), OSID1, MFG_NS_D6);
1790 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), OSID2, MFG_NS_D6);
1791 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), OSID3, MFG_NS_D6);
1792 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), FM_EN, MFG_NS_D6);
1793 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), SEC_EN, MFG_S_D6);
1794 SET32_BITFIELDS(getreg(base, MFG_HPY_OFT), REMAP_EN, 1);
1797 const struct devapc_init_ops devapc_init[] = {
1798 { DEVAPC_INFRA_AO_BASE, infra_init, dump_infra_ao_apc },
1799 { DEVAPC_PERI_AO_BASE, peri_init, dump_peri_ao_apc },
1800 { DEVAPC_PERI2_AO_BASE, peri2_init, dump_peri2_ao_apc },
1801 { DEVAPC_PERI_PAR_AO_BASE, peri_par_init, dump_peri_par_ao_apc },
1802 { DEVAPC_FMEM_AO_BASE, fmem_master_init, dump_fmem_ao },
1803 { DEVAPC_INFRA2_AO_BASE, infra2_master_init, dump_infra2_ao },
1804 { SCP_CFG_BASE, scp_master_init, dump_scp_master },
1805 { INFRACFG_AO_BASE + INFRA_AO_SEC_MFG_HYP,
1806 infra_sec_mfg_hyp_init, dump_sec_mfg_hyp },
1807 { SUB_INFRACFG_AO_BASE + INFRA_AO_SEC_MFG_HYP2,
1808 infra_sec_mfg_hyp_init, dump_sec_mfg_hyp },
1811 const size_t devapc_init_cnt = ARRAY_SIZE(devapc_init);