drivers/mipi: Add support for KD_KD110N11_51IE panel
[coreboot2.git] / src / soc / mediatek / mt8186 / devapc.c
blobd32e62cbc33b7cf283329d0817e8d6d5cb5080b7
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* This file is created based on MT8169_DEVICE_APC_REG_DEVAPC_external.docx */
5 #include <console/console.h>
6 #include <soc/devapc.h>
8 static const struct apc_infra_peri_dom_8 infra_ao_sys0_devices[] = {
9 /* 0 */
10 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_TOPCKGEN",
11 NO_PROTECTION, FORBIDDEN3,
12 NO_PROTECTION, NO_PROTECTION, NO_PROTECTION, NO_PROTECTION),
13 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_INFRASYS_CONFIG_REGS",
14 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION,
15 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
16 DAPC_INFRA_AO_SYS0_ATTR("IO_CFG_REG",
17 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
18 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_ PERICFG",
19 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION,
20 FORBIDDEN4),
21 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_EFUSAO_DEBUG",
22 SEC_RW_NS_R, FORBIDDEN7),
23 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_GPIO",
24 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION,
25 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
26 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SLEEP_CONTROLLER",
27 NO_PROTECTION, NO_PROTECTION, NO_PROTECTION, FORBIDDEN5),
28 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_TOPRGU",
29 NO_PROTECTION, FORBIDDEN7),
30 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_APXGPT",
31 NO_PROTECTION, FORBIDDEN7),
32 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_RESERVE",
33 NO_PROTECTION, FORBIDDEN7),
35 /* 10 */
36 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SEJ",
37 SEC_RW_ONLY, FORBIDDEN7),
38 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_AP_CIRQ_EINT",
39 NO_PROTECTION, FORBIDDEN7),
40 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_APMIXEDSYS",
41 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
42 NO_PROTECTION, NO_PROTECTION, NO_PROTECTION, NO_PROTECTION),
43 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PMIC_WRAP",
44 NO_PROTECTION, NO_PROTECTION, FORBIDDEN3,
45 NO_PROTECTION, NO_PROTECTION, FORBIDDEN),
46 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_DEVICAPC_AO_INFRA_PERI",
47 SEC_RW_ONLY, FORBIDDEN7),
48 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_DEVICAPC_AO_MM",
49 SEC_RW_ONLY, FORBIDDEN7),
50 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_KEYPAD",
51 NO_PROTECTION, FORBIDDEN7),
52 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_TOP_MISC",
53 NO_PROTECTION, FORBIDDEN7),
54 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_ DVFS_CTRL_PROC",
55 NO_PROTECTION, SEC_RW_NS_R, NO_PROTECTION, FORBIDDEN,
56 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
57 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_IFNRA_TOP_MBIST_CTRL",
58 NO_PROTECTION, FORBIDDEN7),
60 /* 20 */
61 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_DPMAIF_AO_TOP",
62 NO_PROTECTION, FORBIDDEN7),
63 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PMIF",
64 NO_PROTECTION, FORBIDDEN7),
65 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_AES_TOP_0",
66 FORBIDDEN, NO_PROTECTION, FORBIDDEN6),
67 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SYS_TIMER",
68 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
69 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_MDEM_TEMP_SHARE",
70 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
71 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_DEVICAPC_AO_MD",
72 SEC_RW_ONLY, FORBIDDEN7),
73 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SECURITY_AO",
74 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
75 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SPMI_MST_WRAP",
76 NO_PROTECTION, FORBIDDEN7),
77 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SPM",
78 NO_PROTECTION, FORBIDDEN4,
79 NO_PROTECTION, FORBIDDEN, FORBIDDEN),
80 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SPM",
81 NO_PROTECTION, FORBIDDEN7),
83 /* 30 */
84 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SPM",
85 NO_PROTECTION, FORBIDDEN7),
86 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SPM",
87 NO_PROTECTION, FORBIDDEN7),
88 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_AP_DMA",
89 NO_PROTECTION, FORBIDDEN7),
90 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
91 NO_PROTECTION, FORBIDDEN7),
92 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
93 NO_PROTECTION, FORBIDDEN7),
94 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_SYS_CIRQ",
95 NO_PROTECTION, FORBIDDEN7),
96 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
97 NO_PROTECTION, FORBIDDEN7),
98 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
99 NO_PROTECTION, FORBIDDEN7),
100 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DEVICAPC",
101 NO_PROTECTION, FORBIDDEN7),
102 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DBG_TRACKER",
103 NO_PROTECTION, FORBIDDEN7),
105 /* 40 */
106 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF0_AP",
107 NO_PROTECTION, SEC_RW_NS_R, FORBIDDEN6),
108 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF0_MD",
109 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
110 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF1_AP",
111 NO_PROTECTION, SEC_RW_NS_R, FORBIDDEN6),
112 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF1_MD",
113 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
114 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
115 NO_PROTECTION, FORBIDDEN7),
116 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_INFRA_PDN_REGISTER",
117 NO_PROTECTION, FORBIDDEN7),
118 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_TRNG",
119 SEC_RW_ONLY, FORBIDDEN7),
120 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DX_CC",
121 SEC_RW_ONLY, FORBIDDEN7),
122 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF4_AP",
123 NO_PROTECTION, SEC_RW_NS_R, FORBIDDEN,
124 NO_PROTECTION, FORBIDDEN4),
125 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CQ_DMA",
126 NO_PROTECTION, FORBIDDEN7),
128 /* 50 */
129 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF4_MD",
130 NO_PROTECTION, NO_PROTECTION, FORBIDDEN,
131 NO_PROTECTION, FORBIDDEN4),
132 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_SRAMROM",
133 NO_PROTECTION, FORBIDDEN7),
134 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
135 NO_PROTECTION, FORBIDDEN7),
136 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
137 NO_PROTECTION, FORBIDDEN7),
138 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
139 NO_PROTECTION, FORBIDDEN7),
140 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_RESERVE",
141 NO_PROTECTION, FORBIDDEN7),
142 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_EMI",
143 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
144 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
145 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DEVICMPU_LOW",
146 SEC_RW_ONLY, FORBIDDEN7),
147 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_EMI_MPU_REG",
148 SEC_RW_NS_R, FORBIDDEN7),
149 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DPMAIF_TOP",
150 NO_PROTECTION, FORBIDDEN7),
152 /* 60 */
153 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DPMAIF_TOP",
154 NO_PROTECTION, FORBIDDEN7),
155 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DPMAIF_TOP",
156 NO_PROTECTION, FORBIDDEN7),
157 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DPMAIF_TOP",
158 NO_PROTECTION, FORBIDDEN7),
159 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP0",
160 NO_PROTECTION, FORBIDDEN7),
161 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP1",
162 NO_PROTECTION, FORBIDDEN7),
163 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP2",
164 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
165 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP3",
166 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
167 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP4",
168 NO_PROTECTION, FORBIDDEN7),
169 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP5",
170 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
171 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH0_TOP6",
172 NO_PROTECTION, FORBIDDEN7),
174 /* 70 */
175 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_GCE",
176 NO_PROTECTION, FORBIDDEN7),
177 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP0",
178 NO_PROTECTION, FORBIDDEN4,
179 NO_PROTECTION, FORBIDDEN, FORBIDDEN),
180 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP1",
181 NO_PROTECTION, FORBIDDEN4,
182 NO_PROTECTION, FORBIDDEN, FORBIDDEN),
183 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP2",
184 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
185 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
186 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP3",
187 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
188 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
189 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP4",
190 NO_PROTECTION, FORBIDDEN4,
191 NO_PROTECTION, FORBIDDEN, FORBIDDEN),
192 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP5",
193 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
194 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
195 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DRAMC_CH1_TOP6",
196 NO_PROTECTION, FORBIDDEN4,
197 NO_PROTECTION, FORBIDDEN, FORBIDDEN),
198 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF2_AP",
199 NO_PROTECTION, SEC_RW_NS_R, FORBIDDEN6),
200 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF2_MD",
201 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
203 /* 80 */
204 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF3_AP",
205 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, FORBIDDEN,
206 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
207 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_CCIF3_MD",
208 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, FORBIDDEN,
209 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
210 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_1_1",
211 FORBIDDEN, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
212 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_1_2",
213 FORBIDDEN, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
214 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_1_3",
215 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
216 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_2",
217 SEC_RW_NS_R, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
218 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
219 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_3",
220 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
221 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_4",
222 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
223 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_5",
224 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
225 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_6",
226 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
228 /* 90 */
229 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_7",
230 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
231 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_PWRMCU_8",
232 FORBIDDEN, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
233 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_SCP",
234 NO_PROTECTION, FORBIDDEN3,
235 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
236 DAPC_INFRA_AO_SYS0_ATTR("INFRA_AO_MCUCFG(*)",
237 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
238 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
239 DAPC_INFRA_AO_SYS0_ATTR("INFRASYS_DBUGSYS",
240 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN5),
241 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_RESERVE",
242 NO_PROTECTION, FORBIDDEN7),
243 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_AUXADC",
244 NO_PROTECTION, FORBIDDEN3, NO_PROTECTION, FORBIDDEN3),
245 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_UART0",
246 NO_PROTECTION, FORBIDDEN3, NO_PROTECTION, FORBIDDEN3),
247 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_UART1",
248 NO_PROTECTION, FORBIDDEN7),
249 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C7",
250 NO_PROTECTION, FORBIDDEN7),
252 /* 100 */
253 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C8",
254 NO_PROTECTION, FORBIDDEN7),
255 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_PWM",
256 NO_PROTECTION, FORBIDDEN7),
257 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C0",
258 NO_PROTECTION, FORBIDDEN7),
259 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C1",
260 NO_PROTECTION, FORBIDDEN7),
261 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C2",
262 NO_PROTECTION, FORBIDDEN7),
263 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI0",
264 NO_PROTECTION, FORBIDDEN7),
265 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_PTP",
266 NO_PROTECTION, FORBIDDEN, NO_PROTECTION, FORBIDDEN,
267 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
268 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_BTIF",
269 NO_PROTECTION, FORBIDDEN7),
270 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C6",
271 NO_PROTECTION, FORBIDDEN7),
272 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_DISP_PWM",
273 NO_PROTECTION, FORBIDDEN7),
275 /* 110 */
276 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C3",
277 NO_PROTECTION, FORBIDDEN7),
278 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI1",
279 NO_PROTECTION, FORBIDDEN7),
280 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C4",
281 NO_PROTECTION, FORBIDDEN7),
282 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI2",
283 NO_PROTECTION, FORBIDDEN7),
284 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI3",
285 NO_PROTECTION, FORBIDDEN7),
286 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI4",
287 NO_PROTECTION, FORBIDDEN7),
288 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_SPI5",
289 NO_PROTECTION, FORBIDDEN7),
290 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C5",
291 NO_PROTECTION, FORBIDDEN7),
292 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_IMP_IIC_WRAP",
293 NO_PROTECTION, FORBIDDEN7),
294 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_UART2",
295 NO_PROTECTION, FORBIDDEN7),
297 /* 120 */
298 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_I2C9",
299 NO_PROTECTION, FORBIDDEN7),
300 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_USB",
301 NO_PROTECTION, NO_PROTECTION, FORBIDDEN5, NO_PROTECTION),
302 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_USB_2.0_SUB",
303 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
304 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_MSDC0",
305 NO_PROTECTION, FORBIDDEN7),
306 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_MSDC1",
307 NO_PROTECTION, FORBIDDEN7),
308 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_MSDC2",
309 NO_PROTECTION, FORBIDDEN7),
310 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_MSDC3",
311 NO_PROTECTION, FORBIDDEN7),
312 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_UFS",
313 NO_PROTECTION, FORBIDDEN7),
314 DAPC_INFRA_AO_SYS0_ATTR("PERISUS_USB3.0_SIF",
315 NO_PROTECTION, FORBIDDEN7),
316 DAPC_INFRA_AO_SYS0_ATTR("PERISUS_USB3.0_SIF2",
317 NO_PROTECTION, FORBIDDEN7),
319 /* 130 */
320 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_USB_2.0_SIF(**)",
321 NO_PROTECTION, FORBIDDEN7),
322 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_AUDIO",
323 NO_PROTECTION, FORBIDDEN3,
324 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
325 DAPC_INFRA_AO_SYS0_ATTR("EAST_RESERVE",
326 NO_PROTECTION, FORBIDDEN7),
327 DAPC_INFRA_AO_SYS0_ATTR("EAST_ CSI_TOP_AO",
328 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
329 DAPC_INFRA_AO_SYS0_ATTR("EAST_ RESERVE",
330 NO_PROTECTION, FORBIDDEN7),
331 DAPC_INFRA_AO_SYS0_ATTR("EAST_ RESERVE",
332 NO_PROTECTION, FORBIDDEN7),
333 DAPC_INFRA_AO_SYS0_ATTR("SOUTH_RESERVE",
334 NO_PROTECTION, FORBIDDEN7),
335 DAPC_INFRA_AO_SYS0_ATTR("SOUTH_RESERVE",
336 NO_PROTECTION, FORBIDDEN7),
337 DAPC_INFRA_AO_SYS0_ATTR("SOUTH_RESERVE",
338 NO_PROTECTION, FORBIDDEN7),
339 DAPC_INFRA_AO_SYS0_ATTR("SOUTH_RESERVE",
340 NO_PROTECTION, FORBIDDEN7),
342 /* 140 */
343 DAPC_INFRA_AO_SYS0_ATTR("WEST_MIPI_TX_CONFIG",
344 NO_PROTECTION, FORBIDDEN7),
345 DAPC_INFRA_AO_SYS0_ATTR("WEST_MSDC1",
346 NO_PROTECTION, FORBIDDEN7),
347 DAPC_INFRA_AO_SYS0_ATTR("WEST_USB20_PHY",
348 NO_PROTECTION, NO_PROTECTION, FORBIDDEN6),
349 DAPC_INFRA_AO_SYS0_ATTR("WEST_EFUSE",
350 NO_PROTECTION, SEC_RW_NS_R, NO_PROTECTION, FORBIDDEN,
351 FORBIDDEN, NO_PROTECTION, FORBIDDEN, FORBIDDEN),
352 DAPC_INFRA_AO_SYS0_ATTR("NORTH_UFS_MPHY",
353 NO_PROTECTION, FORBIDDEN7),
354 DAPC_INFRA_AO_SYS0_ATTR("NORTH_MSDC0",
355 NO_PROTECTION, FORBIDDEN7),
356 DAPC_INFRA_AO_SYS0_ATTR("NORTH_RESERV0",
357 NO_PROTECTION, FORBIDDEN7),
358 DAPC_INFRA_AO_SYS0_ATTR("NORTH_RESERV1",
359 NO_PROTECTION, FORBIDDEN7),
360 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_CONN",
361 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION,
362 FORBIDDEN3, NO_PROTECTION),
363 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_MD1",
364 NO_PROTECTION, FORBIDDEN7),
366 /* 150 */
367 DAPC_INFRA_AO_SYS0_ATTR("PERISYS_AUDIODSP",
368 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN),
371 /* module, AP permission, N/A, SSPM permission, N/A */
372 static const struct apc_infra_peri_dom_4 mm_ao_sys0_devices[] = {
373 /* 0 */
374 DAPC_MM_AO_SYS0_ATTR("IP",
375 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
376 DAPC_MM_AO_SYS0_ATTR("Reserved",
377 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
378 DAPC_MM_AO_SYS0_ATTR("DFD",
379 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
380 DAPC_MM_AO_SYS0_ATTR("Reserved",
381 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
382 DAPC_MM_AO_SYS0_ATTR("G3D Secure Reg",
383 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
384 DAPC_MM_AO_SYS0_ATTR("G3D TestBench",
385 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
386 DAPC_MM_AO_SYS0_ATTR("G3D_CONFIG",
387 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
388 DAPC_MM_AO_SYS0_ATTR("Reserved",
389 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
390 DAPC_MM_AO_SYS0_ATTR("MMSYS_CONFIG",
391 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
392 DAPC_MM_AO_SYS0_ATTR("DISP_MUTEX0",
393 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
395 /* 10 */
396 DAPC_MM_AO_SYS0_ATTR("SMI_COMMON",
397 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
398 DAPC_MM_AO_SYS0_ATTR("SMI_LARB0",
399 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
400 DAPC_MM_AO_SYS0_ATTR("SMI_LARB1",
401 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
402 DAPC_MM_AO_SYS0_ATTR("DISP_OVL0",
403 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
404 DAPC_MM_AO_SYS0_ATTR("DISP_OVL0_2L",
405 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
406 DAPC_MM_AO_SYS0_ATTR("DISP_RDMA0",
407 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
408 DAPC_MM_AO_SYS0_ATTR("DISP_RSZ0",
409 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
410 DAPC_MM_AO_SYS0_ATTR("DISP_COLOR0",
411 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
412 DAPC_MM_AO_SYS0_ATTR("Reserved",
413 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
414 DAPC_MM_AO_SYS0_ATTR("DISP_CCORR0",
415 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
417 /* 20 */
418 DAPC_MM_AO_SYS0_ATTR("DISP_AAL0",
419 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
420 DAPC_MM_AO_SYS0_ATTR("DISP_GAMMA0",
421 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
422 DAPC_MM_AO_SYS0_ATTR("DISP_POSTMASK0",
423 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
424 DAPC_MM_AO_SYS0_ATTR("DISP_DITHER0",
425 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
426 DAPC_MM_AO_SYS0_ATTR("Reserved",
427 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
428 DAPC_MM_AO_SYS0_ATTR("Reserved",
429 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
430 DAPC_MM_AO_SYS0_ATTR("DISP_DSC_WRAP0",
431 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
432 DAPC_MM_AO_SYS0_ATTR("DSI0",
433 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
434 DAPC_MM_AO_SYS0_ATTR("DISP_WDMA0",
435 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
436 DAPC_MM_AO_SYS0_ATTR("RESERVED",
437 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
439 /* 30 */
440 DAPC_MM_AO_SYS0_ATTR("MM_IOMMU_0",
441 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
442 DAPC_MM_AO_SYS0_ATTR("MM_IOMMU_1",
443 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
444 DAPC_MM_AO_SYS0_ATTR("MM_IOMMU_2",
445 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
446 DAPC_MM_AO_SYS0_ATTR("MM_IOMMU_3",
447 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
448 DAPC_MM_AO_SYS0_ATTR("MM_IOMMU_4",
449 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
450 DAPC_MM_AO_SYS0_ATTR("DISP_SMI_2X1_SUB_COMMON_U0",
451 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
452 DAPC_MM_AO_SYS0_ATTR("DISP_SMI_2X1_SUB_COMMON_U1",
453 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
454 DAPC_MM_AO_SYS0_ATTR("Reserved",
455 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
456 DAPC_MM_AO_SYS0_ATTR("IMG1_SMI_2X1_SUB_COMMON",
457 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
458 DAPC_MM_AO_SYS0_ATTR("Reserved",
459 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
461 /* 40 */
462 DAPC_MM_AO_SYS0_ATTR("Reserved",
463 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
464 DAPC_MM_AO_SYS0_ATTR("reserved (mfb_a)",
465 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
466 DAPC_MM_AO_SYS0_ATTR("reserved (wpe_a)",
467 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
468 DAPC_MM_AO_SYS0_ATTR("reserved (mss_a)",
469 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
470 DAPC_MM_AO_SYS0_ATTR("reserved",
471 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
472 DAPC_MM_AO_SYS0_ATTR("reserved",
473 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
474 DAPC_MM_AO_SYS0_ATTR("reserved",
475 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
476 DAPC_MM_AO_SYS0_ATTR("reserved",
477 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
478 DAPC_MM_AO_SYS0_ATTR("reserved",
479 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
480 DAPC_MM_AO_SYS0_ATTR("reserved",
481 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
483 /* 50 */
484 DAPC_MM_AO_SYS0_ATTR("reserved",
485 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
486 DAPC_MM_AO_SYS0_ATTR("reserved",
487 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
488 DAPC_MM_AO_SYS0_ATTR("reserved",
489 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
490 DAPC_MM_AO_SYS0_ATTR("reserved",
491 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
492 DAPC_MM_AO_SYS0_ATTR("reserved",
493 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
494 DAPC_MM_AO_SYS0_ATTR("reserved",
495 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
496 DAPC_MM_AO_SYS0_ATTR("reserved",
497 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
498 DAPC_MM_AO_SYS0_ATTR("imgsys1_top",
499 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
500 DAPC_MM_AO_SYS0_ATTR("dip_a0",
501 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
502 DAPC_MM_AO_SYS0_ATTR("dip_a1",
503 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
505 /* 60 */
506 DAPC_MM_AO_SYS0_ATTR("dip_a2",
507 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
508 DAPC_MM_AO_SYS0_ATTR("dip_a3",
509 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
510 DAPC_MM_AO_SYS0_ATTR("dip_a4",
511 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
512 DAPC_MM_AO_SYS0_ATTR("dip_a5",
513 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
514 DAPC_MM_AO_SYS0_ATTR("dip_a6",
515 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
516 DAPC_MM_AO_SYS0_ATTR("dip_a7",
517 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
518 DAPC_MM_AO_SYS0_ATTR("reserved (dip_a8)",
519 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
520 DAPC_MM_AO_SYS0_ATTR("reserved (dip_a9)",
521 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
522 DAPC_MM_AO_SYS0_ATTR("dip_a10",
523 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
524 DAPC_MM_AO_SYS0_ATTR("dip_a11",
525 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
527 /* 70 */
528 DAPC_MM_AO_SYS0_ATTR("reserved",
529 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
530 DAPC_MM_AO_SYS0_ATTR("smi_larb9",
531 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
532 DAPC_MM_AO_SYS0_ATTR("2x1_sub_common",
533 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
534 DAPC_MM_AO_SYS0_ATTR("reserved",
535 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
536 DAPC_MM_AO_SYS0_ATTR("mfb_b",
537 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
538 DAPC_MM_AO_SYS0_ATTR("wpe_b",
539 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
540 DAPC_MM_AO_SYS0_ATTR("mss_b",
541 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
542 DAPC_MM_AO_SYS0_ATTR("reserved",
543 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
544 DAPC_MM_AO_SYS0_ATTR("reserved",
545 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
546 DAPC_MM_AO_SYS0_ATTR("reserved",
547 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
549 /* 80 */
550 DAPC_MM_AO_SYS0_ATTR("reserved",
551 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
552 DAPC_MM_AO_SYS0_ATTR("reserved",
553 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
554 DAPC_MM_AO_SYS0_ATTR("reserved",
555 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
556 DAPC_MM_AO_SYS0_ATTR("reserved",
557 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
558 DAPC_MM_AO_SYS0_ATTR("reserved",
559 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
560 DAPC_MM_AO_SYS0_ATTR("reserved",
561 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
562 DAPC_MM_AO_SYS0_ATTR("reserved",
563 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
564 DAPC_MM_AO_SYS0_ATTR("reserved",
565 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
566 DAPC_MM_AO_SYS0_ATTR("reserved",
567 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
568 DAPC_MM_AO_SYS0_ATTR("imgsys2_top",
569 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
571 /* 90 */
572 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b0)",
573 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
574 DAPC_MM_AO_SYS0_ATTR("reserved (dip_a8)",
575 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
576 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b1)",
577 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
578 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b2)",
579 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
580 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b3)",
581 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
582 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b4)",
583 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
584 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b5)",
585 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
586 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b6)",
587 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
588 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b7)",
589 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
590 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b8)",
591 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
593 /* 100 */
594 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b9)",
595 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
596 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b10)",
597 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
598 DAPC_MM_AO_SYS0_ATTR("reserved (dip_b11)",
599 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
600 DAPC_MM_AO_SYS0_ATTR("reserved",
601 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
602 DAPC_MM_AO_SYS0_ATTR("smi_larb11",
603 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
604 DAPC_MM_AO_SYS0_ATTR("reserved (smi_larb12)",
605 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
606 DAPC_MM_AO_SYS0_ATTR("rserved",
607 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
608 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
609 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
610 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
611 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
612 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
613 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
615 /* 110 */
616 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
617 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
618 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
619 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
620 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
621 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
622 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
623 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
624 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
625 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
626 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
627 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
628 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
629 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
630 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
631 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
632 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
633 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
634 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
635 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
637 /* 120 */
638 DAPC_MM_AO_SYS0_ATTR("vdec_core0",
639 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
640 DAPC_MM_AO_SYS0_ATTR("vdec_core0_larb",
641 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
642 DAPC_MM_AO_SYS0_ATTR("vdec_core0_gcon",
643 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
644 DAPC_MM_AO_SYS0_ATTR("vdec_mini_mdp_top",
645 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
646 DAPC_MM_AO_SYS0_ATTR("reserved",
647 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
648 DAPC_MM_AO_SYS0_ATTR("venc_global_con",
649 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
650 DAPC_MM_AO_SYS0_ATTR("smi_larb7",
651 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
652 DAPC_MM_AO_SYS0_ATTR("venc",
653 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
654 DAPC_MM_AO_SYS0_ATTR("jpgenc",
655 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
656 DAPC_MM_AO_SYS0_ATTR("reserved",
657 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
659 /* 130 */
660 DAPC_MM_AO_SYS0_ATTR("reserved",
661 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
662 DAPC_MM_AO_SYS0_ATTR("venc_mbist_ctrl",
663 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
664 DAPC_MM_AO_SYS0_ATTR("reserved",
665 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
666 DAPC_MM_AO_SYS0_ATTR("camsys top",
667 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
668 DAPC_MM_AO_SYS0_ATTR("smi_larb13",
669 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
670 DAPC_MM_AO_SYS0_ATTR("smi_larb14",
671 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
672 DAPC_MM_AO_SYS0_ATTR("RESERVED",
673 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
674 DAPC_MM_AO_SYS0_ATTR("seninf_a",
675 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
676 DAPC_MM_AO_SYS0_ATTR("seninf_b",
677 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
678 DAPC_MM_AO_SYS0_ATTR("seninf_c",
679 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
681 /* 140 */
682 DAPC_MM_AO_SYS0_ATTR("seninf_d",
683 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
684 DAPC_MM_AO_SYS0_ATTR("seninf_e",
685 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
686 DAPC_MM_AO_SYS0_ATTR("seninf_f",
687 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
688 DAPC_MM_AO_SYS0_ATTR("seninf_g",
689 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
690 DAPC_MM_AO_SYS0_ATTR("seninf_h",
691 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
692 DAPC_MM_AO_SYS0_ATTR("cam_smi_3x1_sub_common_u0",
693 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
694 DAPC_MM_AO_SYS0_ATTR("cam_smi_4x1_sub_common_u0",
695 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
696 DAPC_MM_AO_SYS0_ATTR("RESERVED",
697 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
698 DAPC_MM_AO_SYS0_ATTR("smi_larb_16",
699 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
700 DAPC_MM_AO_SYS0_ATTR("smi_larb_17",
701 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
703 /* 150 */
704 DAPC_MM_AO_SYS0_ATTR("RESERVED",
705 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
706 DAPC_MM_AO_SYS0_ATTR("RESERVED",
707 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
708 DAPC_MM_AO_SYS0_ATTR("RESERVED",
709 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
710 DAPC_MM_AO_SYS0_ATTR("RESERVED",
711 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
712 DAPC_MM_AO_SYS0_ATTR("RESERVED",
713 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
714 DAPC_MM_AO_SYS0_ATTR("RESERVED",
715 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
716 DAPC_MM_AO_SYS0_ATTR("RESERVED",
717 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
718 DAPC_MM_AO_SYS0_ATTR("RESERVED",
719 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
720 DAPC_MM_AO_SYS0_ATTR("RESERVED",
721 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
722 DAPC_MM_AO_SYS0_ATTR("RESERVED",
723 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
725 /* 160 */
726 DAPC_MM_AO_SYS0_ATTR("RESERVED",
727 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
728 DAPC_MM_AO_SYS0_ATTR("RESERVED",
729 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
730 DAPC_MM_AO_SYS0_ATTR("RESERVED",
731 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
732 DAPC_MM_AO_SYS0_ATTR("RESERVED",
733 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
734 DAPC_MM_AO_SYS0_ATTR("RESERVED",
735 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
736 DAPC_MM_AO_SYS0_ATTR("RESERVED",
737 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
738 DAPC_MM_AO_SYS0_ATTR("RESERVED",
739 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
740 DAPC_MM_AO_SYS0_ATTR("RESERVED",
741 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
742 DAPC_MM_AO_SYS0_ATTR("RESERVED",
743 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
744 DAPC_MM_AO_SYS0_ATTR("RESERVED",
745 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
747 /* 170 */
748 DAPC_MM_AO_SYS0_ATTR("RESERVED",
749 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
750 DAPC_MM_AO_SYS0_ATTR("RESERVED",
751 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
752 DAPC_MM_AO_SYS0_ATTR("RESERVED",
753 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
754 DAPC_MM_AO_SYS0_ATTR("RESERVED",
755 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
756 DAPC_MM_AO_SYS0_ATTR("RESERVED",
757 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
758 DAPC_MM_AO_SYS0_ATTR("RESERVED",
759 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
760 DAPC_MM_AO_SYS0_ATTR("RESERVED",
761 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
762 DAPC_MM_AO_SYS0_ATTR("RESERVED",
763 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
764 DAPC_MM_AO_SYS0_ATTR("RESERVED",
765 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
766 DAPC_MM_AO_SYS0_ATTR("RESERVED",
767 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
769 /* 180 */
770 DAPC_MM_AO_SYS0_ATTR("RESERVED",
771 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
772 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_0",
773 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
774 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_1",
775 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
776 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_2",
777 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
778 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_3",
779 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
780 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_dma_0",
781 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
782 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_dma_1",
783 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
784 DAPC_MM_AO_SYS0_ATTR("ltm_curve_a_0",
785 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
786 DAPC_MM_AO_SYS0_ATTR("ltm_curve_a_1",
787 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
788 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_0_inner",
789 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
791 /* 190 */
792 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_1_inner",
793 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
794 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_2_inner",
795 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
796 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_ip_group_3_inner",
797 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
798 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_dma_0_inner",
799 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
800 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_dma_1_inner",
801 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
802 DAPC_MM_AO_SYS0_ATTR("ltm_curve_a_0_inner",
803 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
804 DAPC_MM_AO_SYS0_ATTR("ltm_curve_a_1_inner",
805 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
806 DAPC_MM_AO_SYS0_ATTR("RESERVED",
807 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
808 DAPC_MM_AO_SYS0_ATTR("RESERVED",
809 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
810 DAPC_MM_AO_SYS0_ATTR("RESERVED",
811 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
813 /* 200 */
814 DAPC_MM_AO_SYS0_ATTR("RESERVED",
815 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
816 DAPC_MM_AO_SYS0_ATTR("RESERVED",
817 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
818 DAPC_MM_AO_SYS0_ATTR("RESERVED",
819 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
820 DAPC_MM_AO_SYS0_ATTR("RESERVED",
821 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
822 DAPC_MM_AO_SYS0_ATTR("RESERVED",
823 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
824 DAPC_MM_AO_SYS0_ATTR("RESERVED",
825 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
826 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_set",
827 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
828 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_clr",
829 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
830 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_set_inner",
831 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
832 DAPC_MM_AO_SYS0_ATTR("cam_raw_a_clr_inner",
833 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
835 /* 210 */
836 DAPC_MM_AO_SYS0_ATTR("RESERVED",
837 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
838 DAPC_MM_AO_SYS0_ATTR("RESERVED",
839 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
840 DAPC_MM_AO_SYS0_ATTR("camsys_a_config",
841 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
842 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_0",
843 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
844 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_1",
845 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
846 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_2",
847 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
848 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_3",
849 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
850 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_dma_0",
851 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
852 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_dma_1",
853 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
854 DAPC_MM_AO_SYS0_ATTR("ltm_curve_b_0",
855 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
857 /* 220 */
858 DAPC_MM_AO_SYS0_ATTR("ltm_curve_b_1",
859 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
860 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_0_inner",
861 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
862 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_1_inner",
863 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
864 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_2_inner",
865 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
866 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_ip_group_3_inner",
867 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
868 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_dma_0_inner",
869 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
870 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_dma_1_inner",
871 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
872 DAPC_MM_AO_SYS0_ATTR("ltm_curve_b_0_inner",
873 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
874 DAPC_MM_AO_SYS0_ATTR("ltm_curve_b_1_inner",
875 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
876 DAPC_MM_AO_SYS0_ATTR("RESERVED",
877 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
879 /* 230 */
880 DAPC_MM_AO_SYS0_ATTR("RESERVED",
881 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
882 DAPC_MM_AO_SYS0_ATTR("RESERVED",
883 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
884 DAPC_MM_AO_SYS0_ATTR("RESERVED",
885 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
886 DAPC_MM_AO_SYS0_ATTR("RESERVED",
887 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
888 DAPC_MM_AO_SYS0_ATTR("RESERVED",
889 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
890 DAPC_MM_AO_SYS0_ATTR("RESERVED",
891 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
892 DAPC_MM_AO_SYS0_ATTR("RESERVED",
893 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
894 DAPC_MM_AO_SYS0_ATTR("RESERVED",
895 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
896 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_set",
897 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
898 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_clr",
899 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
901 /* 240 */
902 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_set_inner",
903 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
904 DAPC_MM_AO_SYS0_ATTR("cam_raw_b_clr_inner",
905 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
906 DAPC_MM_AO_SYS0_ATTR("RESERVED",
907 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
908 DAPC_MM_AO_SYS0_ATTR("RESERVED",
909 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
910 DAPC_MM_AO_SYS0_ATTR("camsys_b_config",
911 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
912 DAPC_MM_AO_SYS0_ATTR("RESERVED",
913 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
914 DAPC_MM_AO_SYS0_ATTR("RESERVED",
915 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
916 DAPC_MM_AO_SYS0_ATTR("RESERVED",
917 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
918 DAPC_MM_AO_SYS0_ATTR("RESERVED",
919 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
920 DAPC_MM_AO_SYS0_ATTR("RESERVED",
921 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
923 /* 250 */
924 DAPC_MM_AO_SYS0_ATTR("RESERVED",
925 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
926 DAPC_MM_AO_SYS0_ATTR("RESERVED",
927 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
928 DAPC_MM_AO_SYS0_ATTR("RESERVED",
929 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
930 DAPC_MM_AO_SYS0_ATTR("RESERVED",
931 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
932 DAPC_MM_AO_SYS0_ATTR("RESERVED",
933 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
934 DAPC_MM_AO_SYS0_ATTR("RESERVED",
935 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
936 DAPC_MM_AO_SYS0_ATTR("RESERVED",
937 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
938 DAPC_MM_AO_SYS0_ATTR("RESERVED",
939 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
940 DAPC_MM_AO_SYS0_ATTR("RESERVED",
941 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
942 DAPC_MM_AO_SYS0_ATTR("RESERVED",
943 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
945 /* 260 */
946 DAPC_MM_AO_SYS0_ATTR("RESERVED",
947 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
948 DAPC_MM_AO_SYS0_ATTR("RESERVED",
949 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
950 DAPC_MM_AO_SYS0_ATTR("RESERVED",
951 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
952 DAPC_MM_AO_SYS0_ATTR("RESERVED",
953 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
954 DAPC_MM_AO_SYS0_ATTR("RESERVED",
955 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
956 DAPC_MM_AO_SYS0_ATTR("RESERVED",
957 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
958 DAPC_MM_AO_SYS0_ATTR("RESERVED",
959 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
960 DAPC_MM_AO_SYS0_ATTR("RESERVED",
961 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
962 DAPC_MM_AO_SYS0_ATTR("RESERVED",
963 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
964 DAPC_MM_AO_SYS0_ATTR("RESERVED",
965 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
967 /* 270 */
968 DAPC_MM_AO_SYS0_ATTR("RESERVED",
969 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
970 DAPC_MM_AO_SYS0_ATTR("RESERVED",
971 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
972 DAPC_MM_AO_SYS0_ATTR("RESERVED",
973 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
974 DAPC_MM_AO_SYS0_ATTR("RESERVED",
975 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
976 DAPC_MM_AO_SYS0_ATTR("RESERVED",
977 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
978 DAPC_MM_AO_SYS0_ATTR("RESERVED",
979 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
980 DAPC_MM_AO_SYS0_ATTR("RESERVED",
981 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
982 DAPC_MM_AO_SYS0_ATTR("RESERVED",
983 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
984 DAPC_MM_AO_SYS0_ATTR("RESERVED",
985 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
986 DAPC_MM_AO_SYS0_ATTR("camsv_2",
987 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
989 /* 280 */
990 DAPC_MM_AO_SYS0_ATTR("camsv_3",
991 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
992 DAPC_MM_AO_SYS0_ATTR("camsv_4",
993 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
994 DAPC_MM_AO_SYS0_ATTR("camsv_5",
995 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
996 DAPC_MM_AO_SYS0_ATTR("camsv_6",
997 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
998 DAPC_MM_AO_SYS0_ATTR("camsv_7",
999 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1000 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1001 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1002 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1003 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1004 DAPC_MM_AO_SYS0_ATTR("camsv_2_inner",
1005 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1006 DAPC_MM_AO_SYS0_ATTR("camsv_3_inner",
1007 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1008 DAPC_MM_AO_SYS0_ATTR("camsv_4_inner",
1009 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1011 /* 290 */
1012 DAPC_MM_AO_SYS0_ATTR("camsv_5_inner",
1013 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1014 DAPC_MM_AO_SYS0_ATTR("camsv_6_inner",
1015 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1016 DAPC_MM_AO_SYS0_ATTR("camsv_7_inner",
1017 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1018 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1019 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1020 DAPC_MM_AO_SYS0_ATTR("asg",
1021 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1022 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1023 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1024 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1025 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1026 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1027 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1028 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1029 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1030 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1031 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1033 /* 300 */
1034 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1035 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1036 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1037 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1038 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1039 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1040 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1041 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1042 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1043 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1044 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1045 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1046 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1047 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1048 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1049 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1050 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1051 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1052 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1053 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1055 /* 310 */
1056 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1057 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1058 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1059 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1060 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1061 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1062 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1063 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1064 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1065 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1066 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1067 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1068 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1069 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1070 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1071 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1072 DAPC_MM_AO_SYS0_ATTR("RESERVED",
1073 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1074 DAPC_MM_AO_SYS0_ATTR("mdpsys_config",
1075 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1077 /* 320 */
1078 DAPC_MM_AO_SYS0_ATTR("mdp_mutex0",
1079 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1080 DAPC_MM_AO_SYS0_ATTR("smi_larb0",
1081 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1082 DAPC_MM_AO_SYS0_ATTR("mdp_rdma0",
1083 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
1084 DAPC_MM_AO_SYS0_ATTR("Reserved",
1085 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1086 DAPC_MM_AO_SYS0_ATTR("mdp_aal0",
1087 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1088 DAPC_MM_AO_SYS0_ATTR("Reserved",
1089 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1090 DAPC_MM_AO_SYS0_ATTR("mdp_hdr0",
1091 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1092 DAPC_MM_AO_SYS0_ATTR("mdp_rsz0",
1093 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1094 DAPC_MM_AO_SYS0_ATTR("mdp_rsz1",
1095 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1096 DAPC_MM_AO_SYS0_ATTR("mdp_wrot0",
1097 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
1099 /* 330 */
1100 DAPC_MM_AO_SYS0_ATTR("mdp_wrot1",
1101 NO_PROTECTION, NO_PROTECTION, FORBIDDEN, NO_PROTECTION),
1102 DAPC_MM_AO_SYS0_ATTR("mdp_tdshp0",
1103 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1104 DAPC_MM_AO_SYS0_ATTR("Reserved",
1105 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1106 DAPC_MM_AO_SYS0_ATTR("Reserved",
1107 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1108 DAPC_MM_AO_SYS0_ATTR("Reserved",
1109 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1110 DAPC_MM_AO_SYS0_ATTR("ipesys_top",
1111 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1112 DAPC_MM_AO_SYS0_ATTR("fdvt",
1113 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1114 DAPC_MM_AO_SYS0_ATTR("Reserved (fe)",
1115 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1116 DAPC_MM_AO_SYS0_ATTR("rsc",
1117 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1118 DAPC_MM_AO_SYS0_ATTR("reserved",
1119 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1121 /* 340 */
1122 DAPC_MM_AO_SYS0_ATTR("reserved",
1123 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1124 DAPC_MM_AO_SYS0_ATTR("reserved",
1125 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1126 DAPC_MM_AO_SYS0_ATTR("reserved",
1127 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1128 DAPC_MM_AO_SYS0_ATTR("reserved",
1129 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1130 DAPC_MM_AO_SYS0_ATTR("reserved",
1131 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1132 DAPC_MM_AO_SYS0_ATTR("reserved",
1133 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1134 DAPC_MM_AO_SYS0_ATTR("reserved",
1135 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1136 DAPC_MM_AO_SYS0_ATTR("reserved",
1137 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1138 DAPC_MM_AO_SYS0_ATTR("reserved",
1139 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1140 DAPC_MM_AO_SYS0_ATTR("ipe_smi_2x1_sub_common",
1141 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1143 /* 350 */
1144 DAPC_MM_AO_SYS0_ATTR("smi_larb20",
1145 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1146 DAPC_MM_AO_SYS0_ATTR("depth",
1147 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1148 DAPC_MM_AO_SYS0_ATTR("reserved",
1149 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1150 DAPC_MM_AO_SYS0_ATTR("reserved",
1151 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1152 DAPC_MM_AO_SYS0_ATTR("reserved",
1153 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1154 DAPC_MM_AO_SYS0_ATTR("reserved",
1155 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1156 DAPC_MM_AO_SYS0_ATTR("reserved",
1157 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1158 DAPC_MM_AO_SYS0_ATTR("reserved",
1159 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1160 DAPC_MM_AO_SYS0_ATTR("reserved",
1161 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1162 DAPC_MM_AO_SYS0_ATTR("reserved",
1163 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1165 /* 360 */
1166 DAPC_MM_AO_SYS0_ATTR("reserved",
1167 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1168 DAPC_MM_AO_SYS0_ATTR("reserved",
1169 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1170 DAPC_MM_AO_SYS0_ATTR("reserved",
1171 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1172 DAPC_MM_AO_SYS0_ATTR("reserved",
1173 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1174 DAPC_MM_AO_SYS0_ATTR("reserved",
1175 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1176 DAPC_MM_AO_SYS0_ATTR("reserved",
1177 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1178 DAPC_MM_AO_SYS0_ATTR("smi_larb19",
1179 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1180 DAPC_MM_AO_SYS0_ATTR("reserved",
1181 NO_PROTECTION, FORBIDDEN, FORBIDDEN, NO_PROTECTION),
1184 static const struct apc_infra_peri_dom_16 adsp_ao_sys0_devices[] = {
1185 /* 0 */
1186 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_INFRA",
1187 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1188 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_INFRA_1",
1189 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1190 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_INFRA_2",
1191 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1192 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_EMI",
1193 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1194 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_AFE",
1195 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1196 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_AFE_1",
1197 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1198 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP1",
1199 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1200 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP1_1",
1201 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1202 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP2",
1203 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1204 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP2_1",
1205 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1207 /* 10 */
1208 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_F_SRAM",
1209 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1210 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_H_SRAM",
1211 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1212 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPCFG",
1213 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1214 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPCKCTL",
1215 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1216 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DMA0_CFG",
1217 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1218 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP_TIMER",
1219 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1220 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSP_UART",
1221 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1222 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_BUSMON_DRAM",
1223 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1224 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPMBOX_0",
1225 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1226 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPMBOX_1",
1227 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1229 /* 20 */
1230 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPMBOX_2",
1231 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1232 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPMBOX_3",
1233 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1234 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPMBOX_4",
1235 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1236 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DSPCFG_SEC",
1237 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1238 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_BUSMON_INFRA",
1239 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1240 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DMA1_CFG",
1241 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1242 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_RESERVED",
1243 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1244 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_BUSCFG",
1245 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1246 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_TMBIST",
1247 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1248 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_BCRM",
1249 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1251 /* 30 */
1252 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_BUS_DEBUG",
1253 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1254 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_SYSCFG_AO",
1255 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1256 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_MASRC",
1257 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1258 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DAPC_AO",
1259 SEC_RW_ONLY, FORBIDDEN15),
1260 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_K_BCRM",
1261 NO_PROTECTION, FORBIDDEN5, NO_PROTECTION, FORBIDDEN9),
1262 DAPC_AUD_AO_SYS0_ATTR("AUD_AO_DAPC",
1263 SEC_RW_ONLY, FORBIDDEN15),
1266 static const enum domain_id domain_map[] = {
1267 DOMAIN_0, DOMAIN_1, DOMAIN_2, DOMAIN_3,
1268 DOMAIN_4, DOMAIN_5, DOMAIN_6, DOMAIN_7,
1269 DOMAIN_8, DOMAIN_9, DOMAIN_10, DOMAIN_11,
1270 DOMAIN_12, DOMAIN_13, DOMAIN_14, DOMAIN_15,
1273 static void set_infra_ao_apc(uintptr_t base)
1275 int i, j;
1277 for (i = 0; i < ARRAY_SIZE(infra_ao_sys0_devices); i++)
1278 for (j = 0; j < ARRAY_SIZE(infra_ao_sys0_devices[i].d_permission); j++)
1279 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1280 infra_ao_sys0_devices[i].d_permission[j]);
1283 * Extra apc setting.
1284 * Block debugsys to avoid privilege escalation.
1286 if (!CONFIG(CONSOLE_SERIAL))
1287 set_module_apc(base + SYS0_D0_APC_0, DEVAPC_DEBUGSYS_INDEX,
1288 DOMAIN_0, SEC_RW_NS_R);
1291 static void set_mm_ao_apc(uintptr_t base)
1293 int i, j;
1295 for (i = 0; i < ARRAY_SIZE(mm_ao_sys0_devices); i++)
1296 for (j = 0; j < ARRAY_SIZE(mm_ao_sys0_devices[i].d_permission); j++)
1297 set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1298 mm_ao_sys0_devices[i].d_permission[j]);
1301 #define AUD_DOMAIN_OFT 0x40
1302 static void *adsp_getreg_domain(uintptr_t base, unsigned int offset,
1303 enum domain_id domain_id, unsigned int index)
1305 return (void *)(base + offset + domain_id * AUD_DOMAIN_OFT + index * IDX_OFT);
1308 static void adsp_set_module_apc(uintptr_t base, uint32_t module, enum domain_id domain_id,
1309 enum devapc_perm_type perm)
1311 uint32_t apc_register_index;
1312 uint32_t apc_set_index;
1314 apc_register_index = module / MOD_NO_IN_1_DEVAPC;
1315 apc_set_index = module % MOD_NO_IN_1_DEVAPC;
1317 clrsetbits32(adsp_getreg_domain(base, 0, domain_id, apc_register_index),
1318 0x3 << (apc_set_index * 2),
1319 perm << (apc_set_index * 2));
1322 static void set_adsp_ao_apc(uintptr_t base)
1324 int i, j;
1326 for (i = 0; i < ARRAY_SIZE(adsp_ao_sys0_devices); i++)
1327 for (j = 0; j < ARRAY_SIZE(adsp_ao_sys0_devices[i].d_permission); j++)
1328 adsp_set_module_apc(base + SYS0_D0_APC_0, i, domain_map[j],
1329 adsp_ao_sys0_devices[i].d_permission[j]);
1332 static void dump_infra_ao_apc(uintptr_t base)
1334 int reg_max;
1335 unsigned int d, i;
1337 reg_max = DIV_ROUND_UP(ARRAY_SIZE(infra_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1338 for (d = 0; d < DOM_NUM_INFRA_AO_SYS0; d++)
1339 for (i = 0; i < reg_max; i++)
1340 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO_SYS0)D%d_APC_%d: %#x\n", d, i,
1341 read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1343 printk(BIOS_DEBUG, "[DEVAPC] (INFRA_AO)MAS_SEC_0: %#x\n",
1344 read32(getreg(base, MAS_SEC_0)));
1347 static void dump_mm_ao_apc(uintptr_t base)
1349 int reg_max;
1350 unsigned int d, i;
1352 reg_max = DIV_ROUND_UP(ARRAY_SIZE(mm_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1353 for (d = 0; d < DOM_NUM_MM_AO_SYS0; d++)
1354 for (i = 0; i < reg_max; i++)
1355 printk(BIOS_DEBUG, "[DEVAPC] (MM_AO_SYS0)D%d_APC_%d: %#x\n", d, i,
1356 read32(getreg_domain(base, SYS0_D0_APC_0, d, i)));
1358 printk(BIOS_DEBUG, "[DEVAPC] (MM_AO)MAS_SEC_0: %#x\n",
1359 read32(getreg(base, MAS_SEC_0)));
1362 static void dump_adsp_ao_apc(uintptr_t base)
1364 int reg_max;
1365 unsigned int d, i;
1367 reg_max = DIV_ROUND_UP(ARRAY_SIZE(adsp_ao_sys0_devices), MOD_NO_IN_1_DEVAPC);
1368 for (d = 0; d < DOM_NUM_AUD_AO_SYS0; d++)
1369 for (i = 0; i < reg_max; i++)
1370 printk(BIOS_DEBUG, "[DEVAPC] (AUD_AO_SYS0)D%d_APC_%d: %#x\n", d, i,
1371 read32(adsp_getreg_domain(base, SYS0_D0_APC_0, d, i)));
1373 printk(BIOS_DEBUG, "[DEVAPC] (AUD_AO)MAS_0: %#x\n",
1374 read32(getreg(base, AUD_DOM_0)));
1376 printk(BIOS_DEBUG, "[DEVAPC] (AUD_AO)SEC_0: %#x\n",
1377 read32(getreg(base, AUD_SEC_0)));
1380 static void infra_init(uintptr_t base)
1382 /* Side band */
1383 SET32_BITFIELDS(getreg(base, MAS_SEC_0), SCP_SSPM_SEC, SECURE_TRANS);
1385 /* Master Domain */
1386 SET32_BITFIELDS(getreg(base, MAS_DOM_1), SPM_DOM, DOMAIN_5);
1387 SET32_BITFIELDS(getreg(base, MAS_DOM_3), SCP_DOM, DOMAIN_4);
1388 /* Default APC Setting */
1389 set_infra_ao_apc(base);
1392 static void mm_init(uintptr_t base)
1394 /* Default APC Setting */
1395 set_mm_ao_apc(base);
1398 * Domain Remap: MMSYS slave domain remap (4-bit to 2-bit)
1399 * 1. From domain 0 to domain 0 (no protection for all)
1400 * 2. From domain 1, 2, 3, 5 to domain 2 (forbidden for all)
1401 * 3. From domain 4 to domain 1
1402 * 4. others from XXX to domain 0
1404 SET32_BITFIELDS(getreg(base, DOM_REMAP_0_0),
1405 TWO_BIT_DOM_REMAP_0, DOMAIN_0,
1406 TWO_BIT_DOM_REMAP_1, DOMAIN_2,
1407 TWO_BIT_DOM_REMAP_2, DOMAIN_2,
1408 TWO_BIT_DOM_REMAP_3, DOMAIN_2,
1409 TWO_BIT_DOM_REMAP_4, DOMAIN_1,
1410 TWO_BIT_DOM_REMAP_5, DOMAIN_2);
1413 static void adsp_init(uintptr_t base)
1415 set_adsp_ao_apc(base);
1417 /* Master domain/secure */
1418 SET32_BITFIELDS(getreg(base, AUD_DOM_0), ADSP_DOM, DOMAIN_6);
1419 write32(getreg(base, AUD_SEC_0), 0);
1422 const struct devapc_init_ops devapc_init[] = {
1423 { DEVAPC_AO_INFRA_PERI_BASE, infra_init, dump_infra_ao_apc },
1424 { DEVAPC_AO_MM_BASE, mm_init, dump_mm_ao_apc },
1425 { DEVAPC_AO_AUD_BASE, adsp_init, dump_adsp_ao_apc },
1428 const size_t devapc_init_cnt = ARRAY_SIZE(devapc_init);