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