• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2011 Samsung Electronics
4  * Heungjun Kim <riverful.kim@samsung.com>
5  */
6 
7 #ifndef __ASM_ARM_ARCH_POWER_H_
8 #define __ASM_ARM_ARCH_POWER_H_
9 
10 #ifndef __ASSEMBLY__
11 struct exynos4_power {
12 	unsigned int	om_stat;
13 	unsigned char	res1[0x8];
14 	unsigned int	rtc_clko_sel;
15 	unsigned int	gnss_rtc_out_ctrl;
16 	unsigned char	res2[0x1ec];
17 	unsigned int	system_power_down_ctrl;
18 	unsigned int	res3;
19 	unsigned int	system_power_down_option;
20 	unsigned char	res4[0x1f4];
21 	unsigned int	swreset;
22 	unsigned int	rst_stat;
23 	unsigned char	res5[0x1f8];
24 	unsigned int	wakeup_stat;
25 	unsigned int	eint_wakeup_mask;
26 	unsigned int	wakeup_mask;
27 	unsigned char	res6[0xf4];
28 	unsigned int	hdmi_phy_control;
29 	unsigned int	usbdevice_phy_control;
30 	unsigned int	usbhost_phy_control;
31 	unsigned int	dac_phy_control;
32 	unsigned int	mipi_phy0_control;
33 	unsigned int	mipi_phy1_control;
34 	unsigned int	adc_phy_control;
35 	unsigned int	pcie_phy_control;
36 	unsigned int	sata_phy_control;
37 	unsigned char	res7[0xdc];
38 	unsigned int	inform0;
39 	unsigned int	inform1;
40 	unsigned int	inform2;
41 	unsigned int	inform3;
42 	unsigned int	inform4;
43 	unsigned int	inform5;
44 	unsigned int	inform6;
45 	unsigned int	inform7;
46 	unsigned char	res8[0x1e0];
47 	unsigned int	pmu_debug;
48 	unsigned char	res9[0x5fc];
49 	unsigned int	arm_core0_sys_pwr_reg;
50 	unsigned char	res10[0xc];
51 	unsigned int	arm_core1_sys_pwr_reg;
52 	unsigned char	res11[0x6c];
53 	unsigned int	arm_common_sys_pwr_reg;
54 	unsigned char	res12[0x3c];
55 	unsigned int	arm_cpu_l2_0_sys_pwr_reg;
56 	unsigned int	arm_cpu_l2_1_sys_pwr_reg;
57 	unsigned char	res13[0x38];
58 	unsigned int	cmu_aclkstop_sys_pwr_reg;
59 	unsigned int	cmu_sclkstop_sys_pwr_reg;
60 	unsigned char	res14[0x4];
61 	unsigned int	cmu_reset_sys_pwr_reg;
62 	unsigned char	res15[0x10];
63 	unsigned int	apll_sysclk_sys_pwr_reg;
64 	unsigned int	mpll_sysclk_sys_pwr_reg;
65 	unsigned int	vpll_sysclk_sys_pwr_reg;
66 	unsigned int	epll_sysclk_sys_pwr_reg;
67 	unsigned char	res16[0x8];
68 	unsigned int	cmu_clkstop_gps_alive_sys_pwr_reg;
69 	unsigned int	cmu_reset_gps_alive_sys_pwr_reg;
70 	unsigned int	cmu_clkstop_cam_sys_pwr_reg;
71 	unsigned int	cmu_clkstop_tv_sys_pwr_reg;
72 	unsigned int	cmu_clkstop_mfc_sys_pwr_reg;
73 	unsigned int	cmu_clkstop_g3d_sys_pwr_reg;
74 	unsigned int	cmu_clkstop_lcd0_sys_pwr_reg;
75 	unsigned int	cmu_clkstop_lcd1_sys_pwr_reg;
76 	unsigned int	cmu_clkstop_maudio_sys_pwr_reg;
77 	unsigned int	cmu_clkstop_gps_sys_pwr_reg;
78 	unsigned int	cmu_reset_cam_sys_pwr_reg;
79 	unsigned int	cmu_reset_tv_sys_pwr_reg;
80 	unsigned int	cmu_reset_mfc_sys_pwr_reg;
81 	unsigned int	cmu_reset_g3d_sys_pwr_reg;
82 	unsigned int	cmu_reset_lcd0_sys_pwr_reg;
83 	unsigned int	cmu_reset_lcd1_sys_pwr_reg;
84 	unsigned int	cmu_reset_maudio_sys_pwr_reg;
85 	unsigned int	cmu_reset_gps_sys_pwr_reg;
86 	unsigned int	top_bus_sys_pwr_reg;
87 	unsigned int	top_retention_sys_pwr_reg;
88 	unsigned int	top_pwr_sys_pwr_reg;
89 	unsigned char	res17[0x1c];
90 	unsigned int	logic_reset_sys_pwr_reg;
91 	unsigned char	res18[0x14];
92 	unsigned int	onenandxl_mem_sys_pwr_reg;
93 	unsigned int	modemif_mem_sys_pwr_reg;
94 	unsigned char	res19[0x4];
95 	unsigned int	usbdevice_mem_sys_pwr_reg;
96 	unsigned int	sdmmc_mem_sys_pwr_reg;
97 	unsigned int	cssys_mem_sys_pwr_reg;
98 	unsigned int	secss_mem_sys_pwr_reg;
99 	unsigned char	res20[0x4];
100 	unsigned int	pcie_mem_sys_pwr_reg;
101 	unsigned int	sata_mem_sys_pwr_reg;
102 	unsigned char	res21[0x18];
103 	unsigned int	pad_retention_dram_sys_pwr_reg;
104 	unsigned int	pad_retention_maudio_sys_pwr_reg;
105 	unsigned char	res22[0x18];
106 	unsigned int	pad_retention_gpio_sys_pwr_reg;
107 	unsigned int	pad_retention_uart_sys_pwr_reg;
108 	unsigned int	pad_retention_mmca_sys_pwr_reg;
109 	unsigned int	pad_retention_mmcb_sys_pwr_reg;
110 	unsigned int	pad_retention_ebia_sys_pwr_reg;
111 	unsigned int	pad_retention_ebib_sys_pwr_reg;
112 	unsigned char	res23[0x8];
113 	unsigned int	pad_isolation_sys_pwr_reg;
114 	unsigned char	res24[0x1c];
115 	unsigned int	pad_alv_sel_sys_pwr_reg;
116 	unsigned char	res25[0x1c];
117 	unsigned int	xusbxti_sys_pwr_reg;
118 	unsigned int	xxti_sys_pwr_reg;
119 	unsigned char	res26[0x38];
120 	unsigned int	ext_regulator_sys_pwr_reg;
121 	unsigned char	res27[0x3c];
122 	unsigned int	gpio_mode_sys_pwr_reg;
123 	unsigned char	res28[0x3c];
124 	unsigned int	gpio_mode_maudio_sys_pwr_reg;
125 	unsigned char	res29[0x3c];
126 	unsigned int	cam_sys_pwr_reg;
127 	unsigned int	tv_sys_pwr_reg;
128 	unsigned int	mfc_sys_pwr_reg;
129 	unsigned int	g3d_sys_pwr_reg;
130 	unsigned int	lcd0_sys_pwr_reg;
131 	unsigned int	lcd1_sys_pwr_reg;
132 	unsigned int	maudio_sys_pwr_reg;
133 	unsigned int	gps_sys_pwr_reg;
134 	unsigned int	gps_alive_sys_pwr_reg;
135 	unsigned char	res30[0xc5c];
136 	unsigned int	arm_core0_configuration;
137 	unsigned int	arm_core0_status;
138 	unsigned int	arm_core0_option;
139 	unsigned char	res31[0x74];
140 	unsigned int	arm_core1_configuration;
141 	unsigned int	arm_core1_status;
142 	unsigned int	arm_core1_option;
143 	unsigned char	res32[0x37c];
144 	unsigned int	arm_common_option;
145 	unsigned char	res33[0x1f4];
146 	unsigned int	arm_cpu_l2_0_configuration;
147 	unsigned int	arm_cpu_l2_0_status;
148 	unsigned char	res34[0x18];
149 	unsigned int	arm_cpu_l2_1_configuration;
150 	unsigned int	arm_cpu_l2_1_status;
151 	unsigned char	res35[0xa00];
152 	unsigned int	pad_retention_maudio_option;
153 	unsigned char	res36[0xdc];
154 	unsigned int	pad_retention_gpio_option;
155 	unsigned char	res37[0x1c];
156 	unsigned int	pad_retention_uart_option;
157 	unsigned char	res38[0x1c];
158 	unsigned int	pad_retention_mmca_option;
159 	unsigned char	res39[0x1c];
160 	unsigned int	pad_retention_mmcb_option;
161 	unsigned char	res40[0x1c];
162 	unsigned int	pad_retention_ebia_option;
163 	unsigned char	res41[0x1c];
164 	unsigned int	pad_retention_ebib_option;
165 	unsigned char	res42[0x160];
166 	unsigned int	ps_hold_control;
167 	unsigned char	res43[0xf0];
168 	unsigned int	xusbxti_configuration;
169 	unsigned int	xusbxti_status;
170 	unsigned char	res44[0x14];
171 	unsigned int	xusbxti_duration;
172 	unsigned int	xxti_configuration;
173 	unsigned int	xxti_status;
174 	unsigned char	res45[0x14];
175 	unsigned int	xxti_duration;
176 	unsigned char	res46[0x1dc];
177 	unsigned int	ext_regulator_duration;
178 	unsigned char	res47[0x5e0];
179 	unsigned int	cam_configuration;
180 	unsigned int	cam_status;
181 	unsigned int	cam_option;
182 	unsigned char	res48[0x14];
183 	unsigned int	tv_configuration;
184 	unsigned int	tv_status;
185 	unsigned int	tv_option;
186 	unsigned char	res49[0x14];
187 	unsigned int	mfc_configuration;
188 	unsigned int	mfc_status;
189 	unsigned int	mfc_option;
190 	unsigned char	res50[0x14];
191 	unsigned int	g3d_configuration;
192 	unsigned int	g3d_status;
193 	unsigned int	g3d_option;
194 	unsigned char	res51[0x14];
195 	unsigned int	lcd0_configuration;
196 	unsigned int	lcd0_status;
197 	unsigned int	lcd0_option;
198 	unsigned char	res52[0x14];
199 	unsigned int	lcd1_configuration;
200 	unsigned int	lcd1_status;
201 	unsigned int	lcd1_option;
202 	unsigned char	res53[0x34];
203 	unsigned int	gps_configuration;
204 	unsigned int	gps_status;
205 	unsigned int	gps_option;
206 	unsigned char	res54[0x14];
207 	unsigned int	gps_alive_configuration;
208 	unsigned int	gps_alive_status;
209 	unsigned int	gps_alive_option;
210 };
211 
212 struct exynos4412_power {
213 	unsigned char	res1[0x0704];
214 	unsigned int	usbhost_phy_control;
215 	unsigned int	hsic1_phy_control;
216 	unsigned int	hsic2_phy_control;
217 };
218 
219 struct exynos5_power {
220 	unsigned int	om_stat;
221 	unsigned char	res1[0x18];
222 	unsigned int	rtc_clko_sel;
223 	unsigned int	gnss_rtc_out_ctrl;
224 	unsigned char	res2[0x1dc];
225 	unsigned int	central_seq_configuration;
226 	unsigned int	central_seq_status;
227 	unsigned int	central_seq_option;
228 	unsigned char	res3[0x14];
229 	unsigned int	seq_transition0;
230 	unsigned int	seq_transition1;
231 	unsigned int	seq_transition2;
232 	unsigned int	seq_transition3;
233 	unsigned int	seq_transition4;
234 	unsigned int	seq_transition5;
235 	unsigned int	seq_transition6;
236 	unsigned int	seq_transition7;
237 	unsigned int	central_seq_dmc_configuration;
238 	unsigned int	central_seq_dmc_status;
239 	unsigned int	central_seq_dmc_option;
240 	unsigned char	res4[0x14];
241 	unsigned int	seq_dmc_transition0;
242 	unsigned int	seq_dmc_transition1;
243 	unsigned int	seq_dmc_transition2;
244 	unsigned int	seq_dmc_transition3;
245 	unsigned int	seq_dmc_transition4;
246 	unsigned int	seq_dmc_transition5;
247 	unsigned int	seq_dmc_transition6;
248 	unsigned int	seq_dmc_transition7;
249 	unsigned char	res5[0x180];
250 	unsigned int	swreset;
251 	unsigned int	rst_stat;
252 	unsigned int	automatic_wdt_reset_disable;
253 	unsigned int	mask_wdt_reset_request;
254 	unsigned int	mask_wreset_request;
255 	unsigned char	res6[0xec];
256 	unsigned int	reset_sequencer_configuration;
257 	unsigned int	reset_sequencer_status;
258 	unsigned int	reset_sequencer_option;
259 	unsigned char	res7[0xf4];
260 	unsigned int	wakeup_stat;
261 	unsigned int	eint_wakeup_mask;
262 	unsigned int	wakeup_mask;
263 	unsigned int	wakeup_interrupt;
264 	unsigned char	res8[0x10];
265 	unsigned int	wakeup_stat_dmc;
266 	unsigned int	eint_wakeup_mask_dmc;
267 	unsigned int	wakeup_mask_dmc;
268 	unsigned int	wakeup_interrupt_dmc;
269 	unsigned char	res9[0xd0];
270 	unsigned int	hdmi_phy_control;
271 	unsigned int	usbdrd_phy_control;
272 	unsigned int	usbhost_phy_control;
273 	unsigned int	efnand_phy_control;
274 	unsigned int	mipi_phy0_control;
275 	unsigned int	mipi_phy1_control;
276 	unsigned int	adc_phy_control;
277 	unsigned int	mtcadc_phy_control;
278 	unsigned int	dptx_phy_control;
279 	unsigned int	sata_phy_control;
280 	unsigned char	res10[0xd8];
281 	unsigned int	inform0;
282 	unsigned int	inform1;
283 	unsigned int	inform2;
284 	unsigned int	inform3;
285 	unsigned int	sysip_dat0;
286 	unsigned int	sysip_dat1;
287 	unsigned int	sysip_dat2;
288 	unsigned int	sysip_dat3;
289 	unsigned char	res11[0xe0];
290 	unsigned int	pmu_spare0;
291 	unsigned int	pmu_spare1;
292 	unsigned int	pmu_spare2;
293 	unsigned int	pmu_spare3;
294 	unsigned char	res12[0x70];
295 	unsigned int	irom_data_reg0;
296 	unsigned int	irom_data_reg1;
297 	unsigned int	irom_data_reg2;
298 	unsigned int	irom_data_reg3;
299 	unsigned char	res13[0x70];
300 	unsigned int	pmu_debug;
301 	unsigned char	res14[0x5fc];
302 	unsigned int	arm_core0_sys_pwr_reg;
303 	unsigned int	dis_irq_arm_core0_local_sys_pwr_reg;
304 	unsigned int	dis_irq_arm_core0_central_sys_pwr_reg;
305 	unsigned char	res15[0x4];
306 	unsigned int	arm_core1_sys_pwr_reg;
307 	unsigned int	dis_irq_arm_core1_local_sys_pwr_reg;
308 	unsigned int	dis_irq_arm_core1_central_sys_pwr_reg;
309 	unsigned char	res16[0x24];
310 	unsigned int	fsys_arm_sys_pwr_reg;
311 	unsigned int	dis_irq_fsys_arm_local_sys_pwr_reg;
312 	unsigned int	dis_irq_fsys_arm_central_sys_pwr_reg;
313 	unsigned char	res17[0x4];
314 	unsigned int	isp_arm_sys_pwr_reg;
315 	unsigned int	dis_irq_isp_arm_local_sys_pwr_reg;
316 	unsigned int	dis_irq_isp_arm_central_sys_pwr_reg;
317 	unsigned char	res18[0x24];
318 	unsigned int	arm_common_sys_pwr_reg;
319 	unsigned char	res19[0x3c];
320 	unsigned int	arm_l2_sys_pwr_reg;
321 	unsigned char	res20[0x3c];
322 	unsigned int	cmu_aclkstop_sys_pwr_reg;
323 	unsigned int	cmu_sclkstop_sys_pwr_reg;
324 	unsigned char	res21[0x4];
325 	unsigned int	cmu_reset_sys_pwr_reg;
326 	unsigned char	res22[0x10];
327 	unsigned int	cmu_aclkstop_dmc_sys_pwr_reg;
328 	unsigned int	cmu_sclkstop_dmc_sys_pwr_reg;
329 	unsigned char	res23[0x4];
330 	unsigned int	cmu_reset_dmc_sys_pwr_reg;
331 	unsigned char	res24[0x8];
332 	unsigned int	ddrphy_dlllock_sys_pwr_reg;
333 	unsigned char	res25[0x4];
334 	unsigned int	apll_sysclk_sys_pwr_reg;
335 	unsigned int	mpll_sysclk_sys_pwr_reg;
336 	unsigned int	vpll_sysclk_sys_pwr_reg;
337 	unsigned int	epll_sysclk_sys_pwr_reg;
338 	unsigned int	bpll_sysclk_sys_pwr_reg;
339 	unsigned int	cpll_sysclk_sys_pwr_reg;
340 	unsigned int	gpll_sysclk_sys_pwr_reg;
341 	unsigned char	res26[0x8];
342 	unsigned int	mplluser_sysclk_sys_pwr_reg;
343 	unsigned char	res27[0x8];
344 	unsigned int	bplluser_sysclk_sys_pwr_reg;
345 	unsigned char	res28[0xc];
346 	unsigned int	top_bus_sys_pwr_reg;
347 	unsigned int	top_retention_sys_pwr_reg;
348 	unsigned int	top_pwr_sys_pwr_reg;
349 	unsigned char	res29[0x4];
350 	unsigned int	top_bus_dmc_sys_pwr_reg;
351 	unsigned int	top_retention_dmc_sys_pwr_reg;
352 	unsigned int	top_pwr_dmc_sys_pwr_reg;
353 	unsigned char	res30[0x4];
354 	unsigned int	logic_reset_sys_pwr_reg;
355 	unsigned int	oscclk_gate_sys_pwr_reg;
356 	unsigned char	res31[0x8];
357 	unsigned int	logic_reset_dmc_sys_pwr_reg;
358 	unsigned int	oscclk_gate_dmc_sys_pwr_reg;
359 	unsigned char	res32[0x8];
360 	unsigned int	usbotg_mem_sys_pwr_reg;
361 	unsigned char	res33[0x4];
362 	unsigned int	g2d_mem_sys_pwr_reg;
363 	unsigned int	usbdrd_mem_sys_pwr_reg;
364 	unsigned int	efnand_mem_sys_pwr_reg;
365 	unsigned int	cssys_mem_sys_pwr_reg;
366 	unsigned int	secss_mem_sys_pwr_reg;
367 	unsigned int	rotator_mem_sys_pwr_reg;
368 	unsigned int	intram_mem_sys_pwr_reg;
369 	unsigned int	introm_mem_sys_pwr_reg;
370 	unsigned int	jpeg_mem_sys_pwr_reg;
371 	unsigned int	hsi_mem_sys_pwr_reg;
372 	unsigned char	res34[0x4];
373 	unsigned int	mcuiop_mem_sys_pwr_reg;
374 	unsigned char	res35[0x4];
375 	unsigned int	sata_mem_sys_pwr_reg;
376 	unsigned int	pad_retention_dram_sys_pwr_reg;
377 	unsigned int	pad_retention_mau_sys_pwr_reg;
378 	unsigned int	pad_retention_jtag_sys_pwr_reg;
379 	unsigned char	res36[0xc];
380 	unsigned int	pad_retention_mmc2_sys_pwr_reg;
381 	unsigned int	pad_retention_mmc3_sys_pwr_reg;
382 	unsigned int	pad_retention_gpio_sys_pwr_reg;
383 	unsigned int	pad_retention_uart_sys_pwr_reg;
384 	unsigned int	pad_retention_mmc0_sys_pwr_reg;
385 	unsigned int	pad_retention_mmc1_sys_pwr_reg;
386 	unsigned int	pad_retention_ebia_sys_pwr_reg;
387 	unsigned int	pad_retention_ebib_sys_pwr_reg;
388 	unsigned int	pad_retention_spi_sys_pwr_reg;
389 	unsigned int	pad_retention_gpio_dmc_sys_pwr_reg;
390 	unsigned int	pad_isolation_sys_pwr_reg;
391 	unsigned char	res37[0xc];
392 	unsigned int	pad_isolation_dmc_sys_pwr_reg;
393 	unsigned char	res38[0xc];
394 	unsigned int	pad_alv_sel_sys_pwr_reg;
395 	unsigned char	res39[0x20];
396 	unsigned int	xxti_sys_pwr_reg;
397 	unsigned char	res40[0x38];
398 	unsigned int	ext_regulator_sys_pwr_reg;
399 	unsigned char	res41[0x3c];
400 	unsigned int	gpio_mode_sys_pwr_reg;
401 	unsigned char	res42[0x1c];
402 	unsigned int	gpio_mode_dmc_sys_pwr_reg;
403 	unsigned char	res43[0x1c];
404 	unsigned int	gpio_mode_mau_sys_pwr_reg;
405 	unsigned int	top_asb_reset_sys_pwr_reg;
406 	unsigned int	top_asb_isolation_sys_pwr_reg;
407 	unsigned char	res44[0xb4];
408 	unsigned int	gscl_sys_pwr_reg;
409 	unsigned int	isp_sys_pwr_reg;
410 	unsigned int	mfc_sys_pwr_reg;
411 	unsigned int	g3d_sys_pwr_reg;
412 	unsigned char	res45[0x4];
413 	unsigned int	disp1_sys_pwr_reg;
414 	unsigned int	mau_sys_pwr_reg;
415 	unsigned char	res46[0x64];
416 	unsigned int	cmu_clkstop_gscl_sys_pwr_reg;
417 	unsigned int	cmu_clkstop_isp_sys_pwr_reg;
418 	unsigned int	cmu_clkstop_mfc_sys_pwr_reg;
419 	unsigned int	cmu_clkstop_g3d_sys_pwr_reg;
420 	unsigned char	res47[0x4];
421 	unsigned int	cmu_clkstop_disp1_sys_pwr_reg;
422 	unsigned int	cmu_clkstop_mau_sys_pwr_reg;
423 	unsigned char	res48[0x24];
424 	unsigned int	cmu_sysclk_gscl_sys_pwr_reg;
425 	unsigned int	cmu_sysclk_isp_sys_pwr_reg;
426 	unsigned int	cmu_sysclk_mfc_sys_pwr_reg;
427 	unsigned int	cmu_sysclk_g3d_sys_pwr_reg;
428 	unsigned char	res49[0x4];
429 	unsigned int	cmu_sysclk_disp1_sys_pwr_reg;
430 	unsigned int	cmu_sysclk_mau_sys_pwr_reg;
431 	unsigned char	res50[0xa4];
432 	unsigned int	cmu_reset_gscl_sys_pwr_reg;
433 	unsigned int	cmu_reset_isp_sys_pwr_reg;
434 	unsigned int	cmu_reset_mfc_sys_pwr_reg;
435 	unsigned int	cmu_reset_g3d_sys_pwr_reg;
436 	unsigned char	res51[0x4];
437 	unsigned int	cmu_reset_disp1_sys_pwr_reg;
438 	unsigned int	cmu_reset_mau_sys_pwr_reg;
439 	unsigned char	res52[0xa64];
440 	unsigned int	arm_core0_configuration;
441 	unsigned int	arm_core0_status;
442 	unsigned int	arm_core0_option;
443 	unsigned char	res53[0x14];
444 	unsigned int	dis_irq_arm_core0_local_configuration;
445 	unsigned int	dis_irq_arm_core0_local_status;
446 	unsigned int	dis_irq_arm_core0_local_option;
447 	unsigned char	res54[0x14];
448 	unsigned int	dis_irq_arm_core0_central_configuration;
449 	unsigned int	dis_irq_arm_core0_central_status;
450 	unsigned int	dis_irq_arm_core0_central_option;
451 	unsigned char	res55[0x34];
452 	unsigned int	arm_core1_configuration;
453 	unsigned int	arm_core1_status;
454 	unsigned int	arm_core1_option;
455 	unsigned char	res56[0x14];
456 	unsigned int	dis_irq_arm_core1_local_configuration;
457 	unsigned int	dis_irq_arm_core1_local_status;
458 	unsigned int	dis_irq_arm_core1_local_option;
459 	unsigned char	res57[0x14];
460 	unsigned int	dis_irq_arm_core1_central_configuration;
461 	unsigned int	dis_irq_arm_core1_central_status;
462 	unsigned int	dis_irq_arm_core1_central_option;
463 	unsigned char	res58[0x134];
464 	unsigned int	fsys_arm_configuration;
465 	unsigned int	fsys_arm_status;
466 	unsigned int	fsys_arm_option;
467 	unsigned char	res59[0x14];
468 	unsigned int	dis_irq_fsys_arm_local_configuration;
469 	unsigned int	dis_irq_fsys_arm_local_status;
470 	unsigned int	dis_irq_fsys_arm_local_option;
471 	unsigned char	res60[0x14];
472 	unsigned int	dis_irq_fsys_arm_central_configuration;
473 	unsigned int	dis_irq_fsys_arm_central_status;
474 	unsigned int	dis_irq_fsys_arm_central_option;
475 	unsigned char	res61[0x34];
476 	unsigned int	isp_arm_configuration;
477 	unsigned int	isp_arm_status;
478 	unsigned int	isp_arm_option;
479 	unsigned char	res62[0x14];
480 	unsigned int	dis_irq_isp_arm_local_configuration;
481 	unsigned int	dis_irq_isp_arm_local_status;
482 	unsigned int	dis_irq_isp_arm_local_option;
483 	unsigned char	res63[0x14];
484 	unsigned int	dis_irq_isp_arm_central_configuration;
485 	unsigned int	dis_irq_isp_arm_central_status;
486 	unsigned int	dis_irq_isp_arm_central_option;
487 	unsigned char	res64[0x134];
488 	unsigned int	arm_common_configuration;
489 	unsigned int	arm_common_status;
490 	unsigned int	arm_common_option;
491 	unsigned char	res65[0x1f4];
492 	unsigned int	arm_l2_configuration;
493 	unsigned int	arm_l2_status;
494 	unsigned int	arm_l2_option;
495 	unsigned char	res66[0x1f4];
496 	unsigned int	cmu_aclkstop_configuration;
497 	unsigned int	cmu_aclkstop_status;
498 	unsigned int	cmu_aclkstop_option;
499 	unsigned char	res67[0x14];
500 	unsigned int	cmu_sclkstop_configuration;
501 	unsigned int	cmu_sclkstop_status;
502 	unsigned int	cmu_sclkstop_option;
503 	unsigned char	res68[0x34];
504 	unsigned int	cmu_reset_configuration;
505 	unsigned int	cmu_reset_status;
506 	unsigned int	cmu_reset_option;
507 	unsigned char	res69[0x94];
508 	unsigned int	cmu_aclkstop_dmc_configuration;
509 	unsigned int	cmu_aclkstop_dmc_status;
510 	unsigned int	cmu_aclkstop_dmc_option;
511 	unsigned char	res70[0x14];
512 	unsigned int	cmu_sclkstop_dmc_configuration;
513 	unsigned int	cmu_sclkstop_dmc_status;
514 	unsigned int	cmu_sclkstop_dmc_option;
515 	unsigned char	res71[0x34];
516 	unsigned int	cmu_reset_dmc_configuration;
517 	unsigned int	cmu_reset_dmc_status;
518 	unsigned int	cmu_reset_dmc_option;
519 	unsigned char	res72[0x54];
520 	unsigned int	ddrphy_dlllock_configuration;
521 	unsigned int	ddrphy_dlllock_status;
522 	unsigned int	ddrphy_dlllock_option;
523 	unsigned char	res73[0x34];
524 	unsigned int	apll_sysclk_configuration;
525 	unsigned int	apll_sysclk_status;
526 	unsigned int	apll_sysclk_option;
527 	unsigned char	res74[0x18];
528 	unsigned int	mpll_sysclk_status;
529 	unsigned int	mpll_sysclk_option;
530 	unsigned char	res75[0x14];
531 	unsigned int	vpll_sysclk_configuration;
532 	unsigned int	vpll_sysclk_status;
533 	unsigned int	vpll_sysclk_option;
534 	unsigned char	res76[0x14];
535 	unsigned int	epll_sysclk_configuration;
536 	unsigned int	epll_sysclk_status;
537 	unsigned int	epll_sysclk_option;
538 	unsigned char	res77[0x14];
539 	unsigned int	bpll_sysclk_configuration;
540 	unsigned int	bpll_sysclk_status;
541 	unsigned int	bpll_sysclk_option;
542 	unsigned char	res78[0x14];
543 	unsigned int	cpll_sysclk_configuration;
544 	unsigned int	cpll_sysclk_status;
545 	unsigned int	cpll_sysclk_option;
546 	unsigned char	res79[0x14];
547 	unsigned int	gpll_sysclk_configuration;
548 	unsigned int	gpll_sysclk_status;
549 	unsigned int	gpll_sysclk_option;
550 	unsigned char	res80[0x54];
551 	unsigned int	mplluser_sysclk_configuration;
552 	unsigned int	mplluser_sysclk_status;
553 	unsigned int	mplluser_sysclk_option;
554 	unsigned char	res81[0x54];
555 	unsigned int	bplluser_sysclk_configuration;
556 	unsigned int	bplluser_sysclk_status;
557 	unsigned int	bplluser_sysclk_option;
558 	unsigned char	res82[0x74];
559 	unsigned int	top_bus_configuration;
560 	unsigned int	top_bus_status;
561 	unsigned int	top_bus_option;
562 	unsigned char	res83[0x14];
563 	unsigned int	top_retention_configuration;
564 	unsigned int	top_retention_status;
565 	unsigned int	top_retention_option;
566 	unsigned char	res84[0x14];
567 	unsigned int	top_pwr_configuration;
568 	unsigned int	top_pwr_status;
569 	unsigned int	top_pwr_option;
570 	unsigned char	res85[0x34];
571 	unsigned int	top_bus_dmc_configuration;
572 	unsigned int	top_bus_dmc_status;
573 	unsigned int	top_bus_dmc_option;
574 	unsigned char	res86[0x14];
575 	unsigned int	top_retention_dmc_configuration;
576 	unsigned int	top_retention_dmc_status;
577 	unsigned int	top_retention_dmc_option;
578 	unsigned char	res87[0x14];
579 	unsigned int	top_pwr_dmc_configuration;
580 	unsigned int	top_pwr_dmc_status;
581 	unsigned int	top_pwr_dmc_option;
582 	unsigned char	res88[0x34];
583 	unsigned int	logic_reset_configuration;
584 	unsigned int	logic_reset_status;
585 	unsigned int	logic_reset_option;
586 	unsigned char	res89[0x14];
587 	unsigned int	oscclk_gate_configuration;
588 	unsigned int	oscclk_gate_status;
589 	unsigned int	oscclk_gate_option;
590 	unsigned char	res90[0x54];
591 	unsigned int	logic_reset_dmc_configuration;
592 	unsigned int	logic_reset_dmc_status;
593 	unsigned int	logic_reset_dmc_option;
594 	unsigned char	res91[0x14];
595 	unsigned int	oscclk_gate_dmc_configuration;
596 	unsigned int	oscclk_gate_dmc_status;
597 	unsigned int	oscclk_gate_dmc_option;
598 	unsigned char	res92[0x54];
599 	unsigned int	usbotg_mem_configuration;
600 	unsigned int	usbotg_mem_status;
601 	unsigned int	usbotg_mem_option;
602 	unsigned char	res93[0x34];
603 	unsigned int	g2d_mem_configuration;
604 	unsigned int	g2d_mem_status;
605 	unsigned int	g2d_mem_option;
606 	unsigned char	res94[0x14];
607 	unsigned int	usbdrd_mem_configuration;
608 	unsigned int	usbdrd_mem_status;
609 	unsigned int	usbdrd_mem_option;
610 	unsigned char	res95[0x14];
611 	unsigned int	efnand_mem_configuration;
612 	unsigned int	efnand_mem_status;
613 	unsigned int	efnand_mem_option;
614 	unsigned char	res96[0x14];
615 	unsigned int	cssys_mem_configuration;
616 	unsigned int	cssys_mem_status;
617 	unsigned int	cssys_mem_option;
618 	unsigned char	res97[0x14];
619 	unsigned int	secss_mem_configuration;
620 	unsigned int	secss_mem_status;
621 	unsigned int	secss_mem_option;
622 	unsigned char	res98[0x14];
623 	unsigned int	rotator_mem_configuration;
624 	unsigned int	rotator_mem_status;
625 	unsigned int	rotator_mem_option;
626 	unsigned char	res99[0x14];
627 	unsigned int	intram_mem_configuration;
628 	unsigned int	intram_mem_status;
629 	unsigned int	intram_mem_option;
630 	unsigned char	res100[0x14];
631 	unsigned int	introm_mem_configuration;
632 	unsigned int	introm_mem_status;
633 	unsigned int	introm_mem_option;
634 	unsigned char	res101[0x14];
635 	unsigned int	jpeg_mem_configuration;
636 	unsigned int	jpeg_mem_status;
637 	unsigned int	jpeg_mem_option;
638 	unsigned char	res102[0x14];
639 	unsigned int	hsi_mem_configuration;
640 	unsigned int	hsi_mem_status;
641 	unsigned int	hsi_mem_option;
642 	unsigned char	res103[0x34];
643 	unsigned int	mcuiop_mem_configuration;
644 	unsigned int	mcuiop_mem_status;
645 	unsigned int	mcuiop_mem_option;
646 	unsigned char	res104[0x14];
647 	unsigned int	sata_mem_configuration;
648 	unsigned int	sata_mem_status;
649 	unsigned int	sata_mem_option;
650 	unsigned char	res105[0x34];
651 	unsigned int	pad_retention_dram_configuration;
652 	unsigned int	pad_retention_dram_status;
653 	unsigned int	pad_retention_dram_option;
654 	unsigned char	res106[0x14];
655 	unsigned int	pad_retention_mau_configuration;
656 	unsigned int	pad_retention_mau_status;
657 	unsigned int	pad_retention_mau_option;
658 	unsigned char	res107[0x14];
659 	unsigned int	pad_retention_jtag_configuration;
660 	unsigned int	pad_retention_jtag_status;
661 	unsigned int	pad_retention_jtag_option;
662 	unsigned char	res108[0x74];
663 	unsigned int	pad_retention_mmc2_configuration;
664 	unsigned int	pad_retention_mmc2_status;
665 	unsigned int	pad_retention_mmc2_option;
666 	unsigned char	res109[0x14];
667 	unsigned int	pad_retention_mmc3_configuration;
668 	unsigned int	pad_retention_mmc3_status;
669 	unsigned int	pad_retention_mmc3_option;
670 	unsigned char	res110[0x14];
671 	unsigned int	pad_retention_gpio_configuration;
672 	unsigned int	pad_retention_gpio_status;
673 	unsigned int	pad_retention_gpio_option;
674 	unsigned char	res111[0x14];
675 	unsigned int	pad_retention_uart_configuration;
676 	unsigned int	pad_retention_uart_status;
677 	unsigned int	pad_retention_uart_option;
678 	unsigned char	res112[0x14];
679 	unsigned int	pad_retention_mmc0_configuration;
680 	unsigned int	pad_retention_mmc0_status;
681 	unsigned int	pad_retention_mmc0_option;
682 	unsigned char	res113[0x14];
683 	unsigned int	pad_retention_mmc1_configuration;
684 	unsigned int	pad_retention_mmc1_status;
685 	unsigned int	pad_retention_mmc1_option;
686 	unsigned char	res114[0x14];
687 	unsigned int	pad_retention_ebia_configuration;
688 	unsigned int	pad_retention_ebia_status;
689 	unsigned int	pad_retention_ebia_option;
690 	unsigned char	res115[0x14];
691 	unsigned int	pad_retention_ebib_configuration;
692 	unsigned int	pad_retention_ebib_status;
693 	unsigned int	pad_retention_ebib_option;
694 	unsigned char	res116[0x14];
695 	unsigned int	pad_retention_spi_configuration;
696 	unsigned int	pad_retention_spi_status;
697 	unsigned int	pad_retention_spi_option;
698 	unsigned char	res117[0x14];
699 	unsigned int	pad_retention_gpio_dmc_configuration;
700 	unsigned int	pad_retention_gpio_dmc_status;
701 	unsigned int	pad_retention_gpio_dmc_option;
702 	unsigned char	res118[0x14];
703 	unsigned int	pad_isolation_configuration;
704 	unsigned int	pad_isolation_status;
705 	unsigned int	pad_isolation_option;
706 	unsigned char	res119[0x74];
707 	unsigned int	pad_isolation_dmc_configuration;
708 	unsigned int	pad_isolation_dmc_status;
709 	unsigned int	pad_isolation_dmc_option;
710 	unsigned char	res120[0x74];
711 	unsigned int	pad_alv_sel_configuration;
712 	unsigned int	pad_alv_sel_status;
713 	unsigned int	pad_alv_sel_option0;
714 	unsigned int	ps_hold_control;
715 	unsigned char	res130[0x110];
716 	unsigned int	xxti_configuration;
717 	unsigned int	xxti_status;
718 	unsigned int	xxti_option;
719 	unsigned char	res131[0x10];
720 	unsigned int	xxti_duration3;
721 	unsigned char	res132[0x1c0];
722 	unsigned int	ext_regulator_configuration;
723 	unsigned int	ext_regulator_status;
724 	unsigned int	ext_regulator_option;
725 	unsigned char	res133[0x10];
726 	unsigned int	ext_regulator_duration3;
727 	unsigned char	res134[0x1e0];
728 	unsigned int	gpio_mode_configuration;
729 	unsigned int	gpio_mode_status;
730 	unsigned int	gpio_mode_option;
731 	unsigned char	res135[0xf4];
732 	unsigned int	gpio_mode_dmc_configuration;
733 	unsigned int	gpio_mode_dmc_status;
734 	unsigned int	gpio_mode_dmc_option;
735 	unsigned char	res136[0xd4];
736 	unsigned int	gpio_mode_mau_configuration;
737 	unsigned int	gpio_mode_mau_status;
738 	unsigned int	gpio_mode_mau_option;
739 	unsigned char	res137[0x14];
740 	unsigned int	top_asb_reset_configuration;
741 	unsigned int	top_asb_reset_status;
742 	unsigned int	top_asb_reset_option;
743 	unsigned char	res138[0x14];
744 	unsigned int	top_asb_isolation_configuration;
745 	unsigned int	top_asb_isolation_status;
746 	unsigned int	top_asb_isolation_option;
747 	unsigned char	res139[0x5d4];
748 	unsigned int	gscl_configuration;
749 	unsigned int	gscl_status;
750 	unsigned int	gscl_option;
751 	unsigned char	res140[0x14];
752 	unsigned int	isp_configuration;
753 	unsigned int	isp_status;
754 	unsigned int	isp_option;
755 	unsigned char	res141[0x14];
756 	unsigned int	mfc_configuration;
757 	unsigned int	mfc_status;
758 	unsigned int	mfc_option;
759 	unsigned char	res142[0x14];
760 	unsigned int	g3d_configuration;
761 	unsigned int	g3d_status;
762 	unsigned int	g3d_option;
763 	unsigned char	res143[0x34];
764 	unsigned int	disp1_configuration;
765 	unsigned int	disp1_status;
766 	unsigned int	disp1_option;
767 	unsigned char	res144[0x14];
768 	unsigned int	mau_configuration;
769 	unsigned int	mau_status;
770 	unsigned int	mau_option;
771 	unsigned char	res145[0x334];
772 	unsigned int	cmu_clkstop_gscl_configuration;
773 	unsigned int	cmu_clkstop_gscl_status;
774 	unsigned int	cmu_clkstop_gscl_option;
775 	unsigned char	res146[0x14];
776 	unsigned int	cmu_clkstop_isp_configuration;
777 	unsigned int	cmu_clkstop_isp_status;
778 	unsigned int	cmu_clkstop_isp_option;
779 	unsigned char	res147[0x14];
780 	unsigned int	cmu_clkstop_mfc_configuration;
781 	unsigned int	cmu_clkstop_mfc_status;
782 	unsigned int	cmu_clkstop_mfc_option;
783 	unsigned char	res148[0x14];
784 	unsigned int	cmu_clkstop_g3d_configuration;
785 	unsigned int	cmu_clkstop_g3d_status;
786 	unsigned int	cmu_clkstop_g3d_option;
787 	unsigned char	res149[0x34];
788 	unsigned int	cmu_clkstop_disp1_configuration;
789 	unsigned int	cmu_clkstop_disp1_status;
790 	unsigned int	cmu_clkstop_disp1_option;
791 	unsigned char	res150[0x14];
792 	unsigned int	cmu_clkstop_mau_configuration;
793 	unsigned int	cmu_clkstop_mau_status;
794 	unsigned int	cmu_clkstop_mau_option;
795 	unsigned char	res151[0x134];
796 	unsigned int	cmu_sysclk_gscl_configuration;
797 	unsigned int	cmu_sysclk_gscl_status;
798 	unsigned int	cmu_sysclk_gscl_option;
799 	unsigned char	res152[0x18];
800 	unsigned int	cmu_sysclk_isp_status;
801 	unsigned int	cmu_sysclk_isp_option;
802 	unsigned char	res153[0x18];
803 	unsigned int	cmu_sysclk_mfc_status;
804 	unsigned int	cmu_sysclk_mfc_option;
805 	unsigned char	res154[0x18];
806 	unsigned int	cmu_sysclk_g3d_status;
807 	unsigned int	cmu_sysclk_g3d_option;
808 	unsigned char	res155[0x38];
809 	unsigned int	cmu_sysclk_disp1_status;
810 	unsigned int	cmu_sysclk_disp1_option;
811 	unsigned char	res156[0x18];
812 	unsigned int	cmu_sysclk_mau_status;
813 	unsigned int	cmu_sysclk_mau_option;
814 	unsigned char	res157[0x534];
815 	unsigned int	cmu_reset_gscl_configuration;
816 	unsigned int	cmu_reset_gscl_status;
817 	unsigned int	cmu_reset_gscl_option;
818 	unsigned char	res158[0x14];
819 	unsigned int	cmu_reset_isp_configuration;
820 	unsigned int	cmu_reset_isp_status;
821 	unsigned int	cmu_reset_isp_option;
822 	unsigned char	res159[0x14];
823 	unsigned int	cmu_reset_mfc_configuration;
824 	unsigned int	cmu_reset_mfc_status;
825 	unsigned int	cmu_reset_mfc_option;
826 	unsigned char	res160[0x14];
827 	unsigned int	cmu_reset_g3d_configuration;
828 	unsigned int	cmu_reset_g3d_status;
829 	unsigned int	cmu_reset_g3d_option;
830 	unsigned char	res161[0x34];
831 	unsigned int	cmu_reset_disp1_configuration;
832 	unsigned int	cmu_reset_disp1_status;
833 	unsigned int	cmu_reset_disp1_option;
834 	unsigned char	res162[0x14];
835 	unsigned int	cmu_reset_mau_configuration;
836 	unsigned int	cmu_reset_mau_status;
837 	unsigned int	cmu_reset_mau_option;
838 	unsigned char	res163[0x24];
839 };
840 
841 struct exynos5420_power {
842 	unsigned int	om_stat;
843 	unsigned int	lpi_mask0;
844 	unsigned int	lpi_mask1;
845 	unsigned char	res1[0x10];
846 	unsigned int	rtc_clko_sel;
847 	unsigned char	res2[0x1e0];
848 	unsigned int	central_seq_configuration;
849 	unsigned int	central_seq_status;
850 	unsigned int	central_seq_option;
851 	unsigned char	res3[0x14];
852 	unsigned int	seq_transition0;
853 	unsigned int	seq_transition1;
854 	unsigned int	seq_transition2;
855 	unsigned int	seq_transition3;
856 	unsigned int	seq_transition4;
857 	unsigned int	seq_transition5;
858 	unsigned int	seq_transition6;
859 	unsigned int	seq_transition7;
860 	unsigned int	central_seq_coreblk_configuration;
861 	unsigned int	central_seq_coreblk_status;
862 	unsigned int	central_seq_coreblk_option;
863 	unsigned char	res4[0x14];
864 	unsigned int	seq_coreblk_transition0;
865 	unsigned int	seq_coreblk_transition1;
866 	unsigned int	seq_coreblk_transition2;
867 	unsigned int	seq_coreblk_transition3;
868 	unsigned int	seq_coreblk_transition4;
869 	unsigned int	seq_coreblk_transition5;
870 	unsigned int	seq_coreblk_transition6;
871 	unsigned int	seq_coreblk_transition7;
872 	unsigned char	res5[0x180];
873 	unsigned int	swreset;
874 	unsigned int	rst_stat;
875 	unsigned int	automatic_wdt_reset_disable;
876 	unsigned int	mask_wdt_reset_request;
877 	unsigned int	mask_wreset_request;
878 	unsigned char	res6[0xec];
879 	unsigned int	reset_sequencer_configuration;
880 	unsigned int	reset_sequencer_status;
881 	unsigned int	reset_sequencer_option;
882 	unsigned char	res7[0xf4];
883 	unsigned int	wakeup_stat;
884 	unsigned int	eint_wakeup_mask;
885 	unsigned int	wakeup_mask;
886 	unsigned int	wakeup_interrupt;
887 	unsigned char	res8[0x10];
888 	unsigned int	wakeup_stat_coreblk;
889 	unsigned int	eint_wakeup_mask_coreblk;
890 	unsigned int	wakeup_mask_coreblk;
891 	unsigned int	wakeup_interrupt_coreblk;
892 	unsigned char	res9[0xd0];
893 	unsigned int	hdmi_phy_control;
894 	unsigned int	usbdev_phy_control;
895 	unsigned int	usbdev1_phy_control;
896 	unsigned int	usbhost_phy_control;
897 	unsigned char	res104[0x4];
898 	unsigned int	mipi_phy0_control;
899 	unsigned int	mipi_phy1_control;
900 	unsigned int	mipi_phy2_control;
901 	unsigned int	adc_phy_control;
902 	unsigned int	mtcadc_phy_control;
903 	unsigned int	dptx_phy_control;
904 	unsigned char	res10[0xd4];
905 	unsigned int	inform0;
906 	unsigned int	inform1;
907 	unsigned int	inform2;
908 	unsigned int	inform3;
909 	unsigned int	sysip_dat0;
910 	unsigned int	sysip_dat1;
911 	unsigned int	sysip_dat2;
912 	unsigned int	sysip_dat3;
913 	unsigned char	res11[0xe0];
914 	unsigned int	pmu_spare0;
915 	unsigned int	pmu_spare1; /* Store PHY0_CON4 for read leveling */
916 	unsigned int	pmu_spare2; /* Store PHY1_CON4 for read leveling */
917 	unsigned int	pmu_spare3;
918 	unsigned char	res12[0x4];
919 	unsigned int	cg_status0;
920 	unsigned int	cg_status1;
921 	unsigned int	cg_status2;
922 	unsigned int	cg_status3;
923 	unsigned int	cg_status4;
924 	unsigned char	res200[0x58];
925 	unsigned int	irom_data_reg0;
926 	unsigned int	irom_data_reg1;
927 	unsigned int	irom_data_reg2;
928 	unsigned int	irom_data_reg3;
929 	unsigned char	res13[0x70];
930 	unsigned int	pmu_debug;
931 	unsigned char	res14[0x5fc];
932 	unsigned int	arm_core0_sys_pwr_reg;
933 	unsigned char	res500[0xc];
934 	unsigned int	arm_core1_sys_pwr_reg;
935 	unsigned char	res501[0xc];
936 	unsigned int	arm_core2_sys_pwr_reg;
937 	unsigned char	res502[0xc];
938 	unsigned int	arm_core3_sys_pwr_reg;
939 	unsigned char	res503[0xc];
940 	unsigned int	kfc_core0_sys_pwr_reg;
941 	unsigned char	res504[0xc];
942 	unsigned int	kfc_core1_sys_pwr_reg;
943 	unsigned char	res505[0xc];
944 	unsigned int	kfc_core2_sys_pwr_reg;
945 	unsigned char	res506[0xc];
946 	unsigned int	kfc_core3_sys_pwr_reg;
947 	unsigned char	res507[0x1c];
948 	unsigned int	isp_arm_sys_pwr_reg;
949 	unsigned char	res18[0xc];
950 	unsigned int	arm_common_sys_pwr_reg;
951 	unsigned char	res508[0xc];
952 	unsigned int	kfc_common_sys_pwr_reg;
953 	unsigned char	res19[0xc];
954 	unsigned int	arm_l2_sys_pwr_reg;
955 	unsigned char	res509[0xc];
956 	unsigned int	kfc_l2_sys_pwr_reg;
957 	unsigned char	res20[0xc];
958 	unsigned int	cmu_cpu_aclkstop_sys_pwr_reg;
959 	unsigned int	cmu_cpu_sclkstop_sys_pwr_reg;
960 	unsigned char	res510[0x8];
961 	unsigned int	cmu_kfc_aclkstop_sys_pwr_reg;
962 	unsigned char	res511[0xc];
963 	unsigned int	cmu_aclkstop_sys_pwr_reg;
964 	unsigned int	cmu_sclkstop_sys_pwr_reg;
965 	unsigned char	res21[0x4];
966 	unsigned int	cmu_reset_sys_pwr_reg;
967 	unsigned char	res22[0x10];
968 	unsigned int	cmu_aclkstop_coreblk_sys_pwr_reg;
969 	unsigned int	cmu_sclkstop_coreblk_sys_pwr_reg;
970 	unsigned char	res23[0x4];
971 	unsigned int	cmu_reset_coreblk_sys_pwr_reg;
972 	unsigned int	dram_freq_down_sys_pwr_reg;
973 	unsigned int	ddrphy_dlloff_sys_pwr_reg;
974 	unsigned int	ddrphy_dlllock_sys_pwr_reg;
975 	unsigned char	res25[0x4];
976 	unsigned int	apll_sysclk_sys_pwr_reg;
977 	unsigned int	mpll_sysclk_sys_pwr_reg;
978 	unsigned int	vpll_sysclk_sys_pwr_reg;
979 	unsigned int	epll_sysclk_sys_pwr_reg;
980 	unsigned int	bpll_sysclk_sys_pwr_reg;
981 	unsigned int	cpll_sysclk_sys_pwr_reg;
982 	unsigned int	dpll_sysclk_sys_pwr_reg;
983 	unsigned int	ipll_sysclk_sys_pwr_reg;
984 	unsigned int	kpll_sysclk_sys_pwr_reg;
985 	unsigned int	mplluser_sysclk_sys_pwr_reg;
986 	unsigned char	res512[0x8];
987 	unsigned int	bplluser_sysclk_sys_pwr_reg;
988 	unsigned int	rpll_sysclk_sys_pwr_reg;
989 	unsigned int	spll_sysclk_sys_pwr_reg;
990 	unsigned char	res26[0x4];
991 	unsigned int	top_bus_sys_pwr_reg;
992 	unsigned int	top_retention_sys_pwr_reg;
993 	unsigned int	top_pwr_sys_pwr_reg;
994 	unsigned char	res29[0x4];
995 	unsigned int	top_bus_coreblk_sys_pwr_reg;
996 	unsigned int	top_retention_coreblk_sys_pwr_reg;
997 	unsigned int	top_pwr_coreblk_sys_pwr_reg;
998 	unsigned char	res30[0x4];
999 	unsigned int	logic_reset_sys_pwr_reg;
1000 	unsigned int	oscclk_gate_sys_pwr_reg;
1001 	unsigned char	res31[0x8];
1002 	unsigned int	logic_reset_coreblk_sys_pwr_reg;
1003 	unsigned int	oscclk_gate_coreblk_sys_pwr_reg;
1004 	unsigned int	intram_mem_sys_pwr_reg;
1005 	unsigned int	introm_mem_sys_pwr_reg;
1006 	unsigned char	res32[0x44];
1007 	unsigned int	pad_retention_mau_sys_pwr_reg;
1008 	unsigned int	pad_retention_jtag_sys_pwr_reg;
1009 	unsigned char	res36[0x4];
1010 	unsigned int	pad_retention_dram_sys_pwr_reg;
1011 	unsigned int	pad_retention_uart_sys_pwr_reg;
1012 	unsigned int	pad_retention_mmca_sys_pwr_reg;
1013 	unsigned int	pad_retention_mmcb_sys_pwr_reg;
1014 	unsigned int	pad_retention_mmcc_sys_pwr_reg;
1015 	unsigned int	pad_retention_hsi_sys_pwr_reg;
1016 	unsigned int	pad_retention_ebia_sys_pwr_reg;
1017 	unsigned int	pad_retention_ebib_sys_pwr_reg;
1018 	unsigned int	pad_retention_spi_sys_pwr_reg;
1019 	unsigned int	pad_retention_dram_coreblk_sys_pwr_reg;
1020 	unsigned char	res28[0x8];
1021 	unsigned int	pad_isolation_sys_pwr_reg;
1022 	unsigned char	res37[0xc];
1023 	unsigned int	pad_isolation_coreblk_sys_pwr_reg;
1024 	unsigned char	res38[0xc];
1025 	unsigned int	pad_alv_sel_sys_pwr_reg;
1026 	unsigned char	res39[0x1c];
1027 	unsigned int	xusbxti_sys_pwr_reg;
1028 	unsigned int	xxti_sys_pwr_reg;
1029 	unsigned char	res40[0x38];
1030 	unsigned int	ext_regulator_sys_pwr_reg;
1031 	unsigned char	res41[0x3c];
1032 	unsigned int	gpio_mode_sys_pwr_reg;
1033 	unsigned char	res42[0x1c];
1034 	unsigned int	gpio_mode_coreblk_sys_pwr_reg;
1035 	unsigned char	res43[0x1c];
1036 	unsigned int	gpio_mode_mau_sys_pwr_reg;
1037 	unsigned int	top_asb_reset_sys_pwr_reg;
1038 	unsigned int	top_asb_isolation_sys_pwr_reg;
1039 	unsigned char	res44[0xb4];
1040 	unsigned int	gscl_sys_pwr_reg;
1041 	unsigned int	isp_sys_pwr_reg;
1042 	unsigned int	mfc_sys_pwr_reg;
1043 	unsigned int	g3d_sys_pwr_reg;
1044 	unsigned int	disp1_sys_pwr_reg;
1045 	unsigned int	mau_sys_pwr_reg;
1046 	unsigned int	g2d_sys_pwr_reg;
1047 	unsigned int	msc_sys_pwr_reg;
1048 	unsigned int	fsys_sys_pwr_reg;
1049 	unsigned int	fsys2_sys_pwr_reg;
1050 	unsigned int	psgen_sys_pwr_reg;
1051 	unsigned int	peric_sys_pwr_reg;
1052 	unsigned int	wcore_sys_pwr_reg;
1053 	unsigned char	res46[0x4c];
1054 	unsigned int	cmu_clkstop_gscl_sys_pwr_reg;
1055 	unsigned int	cmu_clkstop_isp_sys_pwr_reg;
1056 	unsigned int	cmu_clkstop_mfc_sys_pwr_reg;
1057 	unsigned int	cmu_clkstop_g3d_sys_pwr_reg;
1058 	unsigned int	cmu_clkstop_disp1_sys_pwr_reg;
1059 	unsigned int	cmu_clkstop_mau_sys_pwr_reg;
1060 	unsigned int	cmu_clkstop_g2d_sys_pwr_reg;
1061 	unsigned int	cmu_clkstop_msc_sys_pwr_reg;
1062 	unsigned int	cmu_clkstop_fsys_sys_pwr_reg;
1063 	unsigned int	cmu_clkstop_fsys2_sys_pwr_reg;
1064 	unsigned int	cmu_clkstop_psgen_sys_pwr_reg;
1065 	unsigned int	cmu_clkstop_peric_sys_pwr_reg;
1066 	unsigned int	cmu_clkstop_wcore_sys_pwr_reg;
1067 	unsigned char	res48[0x8];
1068 	unsigned int	cmu_sysclk_toppwr_sys_pwr_reg;
1069 	unsigned int	cmu_sysclk_gscl_sys_pwr_reg;
1070 	unsigned int	cmu_sysclk_isp_sys_pwr_reg;
1071 	unsigned int	cmu_sysclk_mfc_sys_pwr_reg;
1072 	unsigned int	cmu_sysclk_g3d_sys_pwr_reg;
1073 	unsigned int	cmu_sysclk_disp1_sys_pwr_reg;
1074 	unsigned int	cmu_sysclk_mau_sys_pwr_reg;
1075 	unsigned int	cmu_sysclk_g2d_sys_pwr_reg;
1076 	unsigned int	cmu_sysclk_msc_sys_pwr_reg;
1077 	unsigned int	cmu_sysclk_fsys_sys_pwr_reg;
1078 	unsigned int	cmu_sysclk_fsys2_sys_pwr_reg;
1079 	unsigned int	cmu_sysclk_psgen_sys_pwr_reg;
1080 	unsigned int	cmu_sysclk_peric_sys_pwr_reg;
1081 	unsigned int	cmu_sysclk_wcore_sys_pwr_reg;
1082 	unsigned int	cmu_sysclk_coreblk_toppwr_sys_pwr_reg;
1083 	unsigned char	res50[0x78];
1084 	unsigned int	cmu_reset_fsys2_sys_pwr_reg;
1085 	unsigned int	cmu_reset_psgen_sys_pwr_reg;
1086 	unsigned int	cmu_reset_peric_sys_pwr_reg;
1087 	unsigned int	cmu_reset_wcore_sys_pwr_reg;
1088 	unsigned int	cmu_reset_gscl_sys_pwr_reg;
1089 	unsigned int	cmu_reset_isp_sys_pwr_reg;
1090 	unsigned int	cmu_reset_mfc_sys_pwr_reg;
1091 	unsigned int	cmu_reset_g3d_sys_pwr_reg;
1092 	unsigned int	cmu_reset_disp1_sys_pwr_reg;
1093 	unsigned int	cmu_reset_mau_sys_pwr_reg;
1094 	unsigned int	cmu_reset_g2d_sys_pwr_reg;
1095 	unsigned int	cmu_reset_msc_sys_pwr_reg;
1096 	unsigned int	cmu_reset_fsys_sys_pwr_reg;
1097 	unsigned char	res52[0xa5c];
1098 	unsigned int	arm_core0_configuration;
1099 	unsigned int	arm_core0_status;
1100 	unsigned int	arm_core0_option;
1101 	unsigned char	res53[0x14];
1102 	unsigned int	dis_irq_arm_core0_local_configuration;
1103 	unsigned int	dis_irq_arm_core0_local_status;
1104 	unsigned int	dis_irq_arm_core0_local_option;
1105 	unsigned char	res54[0x14];
1106 	unsigned int	dis_irq_arm_core0_central_configuration;
1107 	unsigned int	dis_irq_arm_core0_central_status;
1108 	unsigned int	dis_irq_arm_core0_central_option;
1109 	unsigned char	res55[0x34];
1110 	unsigned int	arm_core1_configuration;
1111 	unsigned int	arm_core1_status;
1112 	unsigned int	arm_core1_option;
1113 	unsigned char	res56[0x14];
1114 	unsigned int	dis_irq_arm_core1_local_configuration;
1115 	unsigned int	dis_irq_arm_core1_local_status;
1116 	unsigned int	dis_irq_arm_core1_local_option;
1117 	unsigned char	res57[0x14];
1118 	unsigned int	dis_irq_arm_core1_central_configuration;
1119 	unsigned int	dis_irq_arm_core1_central_status;
1120 	unsigned int	dis_irq_arm_core1_central_option;
1121 	unsigned char	res600[0x34];
1122 	unsigned int	arm_core2_configuration;
1123 	unsigned int	arm_core2_status;
1124 	unsigned int	arm_core2_option;
1125 	unsigned char	res601[0x14];
1126 	unsigned int	dis_irq_arm_core2_local_configuration;
1127 	unsigned int	dis_irq_arm_core2_local_status;
1128 	unsigned int	dis_irq_arm_core2_local_option;
1129 	unsigned char	res602[0x14];
1130 	unsigned int	dis_irq_arm_core2_central_configuration;
1131 	unsigned int	dis_irq_arm_core2_central_status;
1132 	unsigned int	dis_irq_arm_core2_central_option;
1133 	unsigned char	res603[0x34];
1134 	unsigned int	arm_core3_configuration;
1135 	unsigned int	arm_core3_status;
1136 	unsigned int	arm_core3_option;
1137 	unsigned char	res900[0x14];
1138 	unsigned int	dis_irq_arm_core3_local_configuration;
1139 	unsigned int	dis_irq_arm_core3_local_status;
1140 	unsigned int	dis_irq_arm_core3_local_option;
1141 	unsigned char	res901[0x14];
1142 	unsigned int	dis_irq_arm_core3_central_configuration;
1143 	unsigned int	dis_irq_arm_core3_central_status;
1144 	unsigned int	dis_irq_arm_core3_central_option;
1145 	unsigned char	res604[0x34];
1146 	unsigned int	kfc_core0_configuration;
1147 	unsigned int	kfc_core0_status;
1148 	unsigned int	kfc_core0_option;
1149 	unsigned char	res605[0x14];
1150 	unsigned int	dis_irq_kfc_core0_local_configuration;
1151 	unsigned int	dis_irq_kfc_core0_local_status;
1152 	unsigned int	dis_irq_kfc_core0_local_option;
1153 	unsigned char	res606[0x14];
1154 	unsigned int	dis_irq_kfc_core0_central_configuration;
1155 	unsigned int	dis_irq_kfc_core0_central_status;
1156 	unsigned int	dis_irq_kfc_core0_central_option;
1157 	unsigned char	res607[0x34];
1158 	unsigned int	kfc_core1_configuration;
1159 	unsigned int	kfc_core1_status;
1160 	unsigned int	kfc_core1_option;
1161 	unsigned char	res608[0x14];
1162 	unsigned int	dis_irq_kfc_core1_local_configuration;
1163 	unsigned int	dis_irq_kfc_core1_local_status;
1164 	unsigned int	dis_irq_kfc_core1_local_option;
1165 	unsigned char	res609[0x14];
1166 	unsigned int	dis_irq_kfc_core1_central_configuration;
1167 	unsigned int	dis_irq_kfc_core1_central_status;
1168 	unsigned int	dis_irq_kfc_core1_central_option;
1169 	unsigned char	res610[0x34];
1170 	unsigned int	kfc_core2_configuration;
1171 	unsigned int	kfc_core2_status;
1172 	unsigned int	kfc_core2_option;
1173 	unsigned char	res611[0x14];
1174 	unsigned int	dis_irq_kfc_core2_local_configuration;
1175 	unsigned int	dis_irq_kfc_core2_local_status;
1176 	unsigned int	dis_irq_kfc_core2_local_option;
1177 	unsigned char	res612[0x14];
1178 	unsigned int	dis_irq_kfc_core2_central_configuration;
1179 	unsigned int	dis_irq_kfc_core2_central_status;
1180 	unsigned int	dis_irq_kfc_core2_central_option;
1181 	unsigned char	res613[0x34];
1182 	unsigned int	kfc_core3_configuration;
1183 	unsigned int	kfc_core3_status;
1184 	unsigned int	kfc_core3_option;
1185 	unsigned char	res614[0x14];
1186 	unsigned int	dis_irq_kfc_core3_local_configuration;
1187 	unsigned int	dis_irq_kfc_core3_local_status;
1188 	unsigned int	dis_irq_kfc_core3_local_option;
1189 	unsigned char	res615[0x14];
1190 	unsigned int	dis_irq_kfc_core3_central_configuration;
1191 	unsigned int	dis_irq_kfc_core3_central_status;
1192 	unsigned int	dis_irq_kfc_core3_central_option;
1193 	unsigned char	res61[0xb4];
1194 	unsigned int	isp_arm_configuration;
1195 	unsigned int	isp_arm_status;
1196 	unsigned int	isp_arm_option;
1197 	unsigned char	res62[0x14];
1198 	unsigned int	dis_irq_isp_arm_local_configuration;
1199 	unsigned int	dis_irq_isp_arm_local_status;
1200 	unsigned int	dis_irq_isp_arm_local_option;
1201 	unsigned char	res63[0x14];
1202 	unsigned int	dis_irq_isp_arm_central_configuration;
1203 	unsigned int	dis_irq_isp_arm_central_status;
1204 	unsigned int	dis_irq_isp_arm_central_option;
1205 	unsigned char	res64[0x34];
1206 	unsigned int	arm_common_configuration;
1207 	unsigned int	arm_common_status;
1208 	unsigned int	arm_common_option;
1209 	unsigned char	res616[0x74];
1210 	unsigned int	kfc_common_configuration;
1211 	unsigned int	kfc_common_status;
1212 	unsigned int	kfc_common_option;
1213 	unsigned char	res65[0x74];
1214 	unsigned int	arm_l2_configuration;
1215 	unsigned int	arm_l2_status;
1216 	unsigned int	arm_l2_option;
1217 	unsigned char	res617[0x74];
1218 	unsigned int	kfc_l2_configuration;
1219 	unsigned int	kfc_l2_status;
1220 	unsigned int	kfc_l2_option;
1221 	unsigned char	res66[0x74];
1222 	unsigned int	cmu_cpu_aclkstop_configuration;
1223 	unsigned int	cmu_cpu_aclkstop_status;
1224 	unsigned int	cmu_cpu_aclkstop_option;
1225 	unsigned char	res67[0x14];
1226 	unsigned int	cmu_cpu_sclkstop_configuration;
1227 	unsigned int	cmu_cpu_sclkstop_status;
1228 	unsigned int	cmu_cpu_sclkstop_option;
1229 	unsigned char	res618[0x4];
1230 	unsigned int	cmu_kfc_aclkstop_configuration;
1231 	unsigned int	cmu_kfc_aclkstop_status;
1232 	unsigned int	cmu_kfc_aclkstop_option;
1233 	unsigned char	res619[0xc4];
1234 	unsigned int	cmu_aclkstop_configuration;
1235 	unsigned int	cmu_aclkstop_status;
1236 	unsigned int	cmu_aclkstop_option;
1237 	unsigned char	res620[0x14];
1238 	unsigned int	cmu_sclkstop_configuration;
1239 	unsigned int	cmu_sclkstop_status;
1240 	unsigned int	cmu_sclkstop_option;
1241 	unsigned char	res68[0x34];
1242 	unsigned int	cmu_reset_configuration;
1243 	unsigned int	cmu_reset_status;
1244 	unsigned int	cmu_reset_option;
1245 	unsigned char	res69[0x94];
1246 	unsigned int	cmu_aclkstop_coreblk_configuration;
1247 	unsigned int	cmu_aclkstop_coreblk_status;
1248 	unsigned int	cmu_aclkstop_coreblk_option;
1249 	unsigned char	res70[0x14];
1250 	unsigned int	cmu_sclkstop_coreblk_configuration;
1251 	unsigned int	cmu_sclkstop_coreblk_status;
1252 	unsigned int	cmu_sclkstop_coreblk_option;
1253 	unsigned char	res71[0x34];
1254 	unsigned int	cmu_reset_coreblk_configuration;
1255 	unsigned int	cmu_reset_coreblk_status;
1256 	unsigned int	cmu_reset_coreblk_option;
1257 	unsigned char	res621[0x14];
1258 	unsigned int	dram_freq_down_configuration;
1259 	unsigned int	dram_freq_down_status;
1260 	unsigned int	dram_freq_down_option;
1261 	unsigned char	res622[0x14];
1262 	unsigned int	ddrphy_dlloff_configuration;
1263 	unsigned int	ddrphy_dlloff_status;
1264 	unsigned int	ddrphy_dlloff_option;
1265 	unsigned char	res72[0x14];
1266 	unsigned int	ddrphy_dlllock_configuration;
1267 	unsigned int	ddrphy_dlllock_status;
1268 	unsigned int	ddrphy_dlllock_option;
1269 	unsigned char	res73[0x34];
1270 	unsigned int	apll_sysclk_configuration;
1271 	unsigned int	apll_sysclk_status;
1272 	unsigned int	apll_sysclk_option;
1273 	unsigned char	res74[0x18];
1274 	unsigned int	mpll_sysclk_status;
1275 	unsigned int	mpll_sysclk_option;
1276 	unsigned char	res75[0x14];
1277 	unsigned int	vpll_sysclk_configuration;
1278 	unsigned int	vpll_sysclk_status;
1279 	unsigned int	vpll_sysclk_option;
1280 	unsigned char	res76[0x14];
1281 	unsigned int	epll_sysclk_configuration;
1282 	unsigned int	epll_sysclk_status;
1283 	unsigned int	epll_sysclk_option;
1284 	unsigned char	res77[0x14];
1285 	unsigned int	bpll_sysclk_configuration;
1286 	unsigned int	bpll_sysclk_status;
1287 	unsigned int	bpll_sysclk_option;
1288 	unsigned char	res78[0x14];
1289 	unsigned int	cpll_sysclk_configuration;
1290 	unsigned int	cpll_sysclk_status;
1291 	unsigned int	cpll_sysclk_option;
1292 	unsigned char	res79[0x14];
1293 	unsigned int	dpll_sysclk_configuration;
1294 	unsigned int	dpll_sysclk_status;
1295 	unsigned int	dpll_sysclk_option;
1296 	unsigned char	res700[0x14];
1297 	unsigned int	ipll_sysclk_configuration;
1298 	unsigned int	ipll_sysclk_status;
1299 	unsigned int	ipll_sysclk_option;
1300 	unsigned char	res903[0x14];
1301 	unsigned int	kpll_sysclk_configuration;
1302 	unsigned int	kpll_sysclk_status;
1303 	unsigned int	kpll_sysclk_option;
1304 	unsigned char	res80[0x14];
1305 	unsigned int	mplluser_sysclk_configuration;
1306 	unsigned int	mplluser_sysclk_status;
1307 	unsigned int	mplluser_sysclk_option;
1308 	unsigned char	res81[0x54];
1309 	unsigned int	bplluser_sysclk_configuration;
1310 	unsigned int	bplluser_sysclk_status;
1311 	unsigned int	bplluser_sysclk_option;
1312 	unsigned char	res701[0x14];
1313 	unsigned int	rplluser_sysclk_configuration;
1314 	unsigned int	rplluser_sysclk_status;
1315 	unsigned int	rplluser_sysclk_option;
1316 	unsigned char	res702[0x14];
1317 	unsigned int	splluser_sysclk_configuration;
1318 	unsigned int	splluser_sysclk_status;
1319 	unsigned int	splluser_sysclk_option;
1320 	unsigned char	res82[0x34];
1321 	unsigned int	top_bus_configuration;
1322 	unsigned int	top_bus_status;
1323 	unsigned int	top_bus_option;
1324 	unsigned char	res83[0x14];
1325 	unsigned int	top_retention_configuration;
1326 	unsigned int	top_retention_status;
1327 	unsigned int	top_retention_option;
1328 	unsigned char	res84[0x14];
1329 	unsigned int	top_pwr_configuration;
1330 	unsigned int	top_pwr_status;
1331 	unsigned int	top_pwr_option;
1332 	unsigned char	res85[0x34];
1333 	unsigned int	top_bus_coreblk_configuration;
1334 	unsigned int	top_bus_coreblk_status;
1335 	unsigned int	top_bus_coreblk_option;
1336 	unsigned char	res86[0x14];
1337 	unsigned int	top_retention_coreblk_configuration;
1338 	unsigned int	top_retention_coreblk_status;
1339 	unsigned int	top_retention_coreblk_option;
1340 	unsigned char	res87[0x14];
1341 	unsigned int	top_pwr_coreblk_configuration;
1342 	unsigned int	top_pwr_coreblk_status;
1343 	unsigned int	top_pwr_coreblk_option;
1344 	unsigned char	res88[0x34];
1345 	unsigned int	logic_reset_configuration;
1346 	unsigned int	logic_reset_status;
1347 	unsigned int	logic_reset_option;
1348 	unsigned char	res89[0x14];
1349 	unsigned int	oscclk_gate_configuration;
1350 	unsigned int	oscclk_gate_status;
1351 	unsigned int	oscclk_gate_option;
1352 	unsigned char	res90[0x54];
1353 	unsigned int	logic_reset_coreblk_configuration;
1354 	unsigned int	logic_reset_coreblk_status;
1355 	unsigned int	logic_reset_coreblk_option;
1356 	unsigned char	res91[0x14];
1357 	unsigned int	oscclk_gate_coreblk_configuration;
1358 	unsigned int	oscclk_gate_coreblk_status;
1359 	unsigned int	oscclk_gate_coreblk_option;
1360 	unsigned char	res99[0x174];
1361 	unsigned int	intram_mem_configuration;
1362 	unsigned int	intram_mem_status;
1363 	unsigned int	intram_mem_option;
1364 	unsigned char	res100[0x14];
1365 	unsigned int	introm_mem_configuration;
1366 	unsigned int	introm_mem_status;
1367 	unsigned int	introm_mem_option;
1368 	unsigned char	res101[0xb4];
1369 	unsigned int	pad_retention_dram_configuration;
1370 	unsigned int	pad_retention_dram_status;
1371 	unsigned int	pad_retention_dram_option;
1372 	unsigned char	res106[0x14];
1373 	unsigned int	pad_retention_mau_configuration;
1374 	unsigned int	pad_retention_mau_status;
1375 	unsigned int	pad_retention_mau_option;
1376 	unsigned char	res107[0x14];
1377 	unsigned int	pad_retention_jtag_configuration;
1378 	unsigned int	pad_retention_jtag_status;
1379 	unsigned int	pad_retention_jtag_option;
1380 	unsigned char	res92[0x74];
1381 	unsigned int	pad_retention_dram_configuration_2;
1382 	unsigned int	pad_retention_dram_status_2;
1383 	unsigned int	pad_retention_dram_option_2;
1384 	unsigned char	res111[0x14];
1385 	unsigned int	pad_retention_uart_configuration;
1386 	unsigned int	pad_retention_uart_status;
1387 	unsigned int	pad_retention_uart_option;
1388 	unsigned char	res112[0x14];
1389 	unsigned int	pad_retention_mmca_configuration;
1390 	unsigned int	pad_retention_mmca_status;
1391 	unsigned int	pad_retention_mmca_option;
1392 	unsigned char	res113[0x14];
1393 	unsigned int	pad_retention_mmcb_configuration;
1394 	unsigned int	pad_retention_mmcb_status;
1395 	unsigned int	pad_retention_mmcb_option;
1396 	unsigned char	res93[0x14];
1397 	unsigned int	pad_retention_mmcc_configuration;
1398 	unsigned int	pad_retention_mmcc_status;
1399 	unsigned int	pad_retention_mmcc_option;
1400 	unsigned char	res94[0x14];
1401 	unsigned int	pad_retention_hsi_configuration;
1402 	unsigned int	pad_retention_hsi_status;
1403 	unsigned int	pad_retention_hsi_option;
1404 	unsigned char	res114[0x14];
1405 	unsigned int	pad_retention_ebia_configuration;
1406 	unsigned int	pad_retention_ebia_status;
1407 	unsigned int	pad_retention_ebia_option;
1408 	unsigned char	res115[0x14];
1409 	unsigned int	pad_retention_ebib_configuration;
1410 	unsigned int	pad_retention_ebib_status;
1411 	unsigned int	pad_retention_ebib_option;
1412 	unsigned char	res116[0x14];
1413 	unsigned int	pad_retention_spi_configuration;
1414 	unsigned int	pad_retention_spi_status;
1415 	unsigned int	pad_retention_spi_option;
1416 	unsigned char	res117[0x14];
1417 	unsigned int	pad_retention_dram_coreblk_configuration;
1418 	unsigned int	pad_retention_dram_coreblk_status;
1419 	unsigned int	pad_retention_dram_coreblk_option;
1420 	unsigned char	res118[0x14];
1421 	unsigned int	pad_isolation_configuration;
1422 	unsigned int	pad_isolation_status;
1423 	unsigned int	pad_isolation_option;
1424 	unsigned char	res119[0x74];
1425 	unsigned int	pad_isolation_coreblk_configuration;
1426 	unsigned int	pad_isolation_coreblk_status;
1427 	unsigned int	pad_isolation_coreblk_option;
1428 	unsigned char	res120[0x74];
1429 	unsigned int	pad_alv_sel_configuration;
1430 	unsigned int	pad_alv_sel_status;
1431 	unsigned int	pad_alv_sel_option0;
1432 	unsigned int	ps_hold_control;
1433 	unsigned char	res130[0xf0];
1434 	unsigned int	xusbxti_configuration;
1435 	unsigned int	xusbxti_status;
1436 	unsigned int	xusbxti_option;
1437 	unsigned char	res910[0x10];
1438 	unsigned int	xusbxti_duration3;
1439 	unsigned int	xxti_configuration;
1440 	unsigned int	xxti_status;
1441 	unsigned int	xxti_option;
1442 	unsigned char	res131[0x10];
1443 	unsigned int	xxti_duration3;
1444 	unsigned char	res132[0x1c0];
1445 	unsigned int	ext_regulator_configuration;
1446 	unsigned int	ext_regulator_status;
1447 	unsigned int	ext_regulator_option;
1448 	unsigned char	res133[0x10];
1449 	unsigned int	ext_regulator_duration3;
1450 	unsigned char	res134[0x1e0];
1451 	unsigned int	gpio_mode_configuration;
1452 	unsigned int	gpio_mode_status;
1453 	unsigned int	gpio_mode_option;
1454 	unsigned char	res135[0xf4];
1455 	unsigned int	gpio_mode_coreblk_configuration;
1456 	unsigned int	gpio_mode_coreblk_status;
1457 	unsigned int	gpio_mode_coreblk_option;
1458 	unsigned char	res136[0xd4];
1459 	unsigned int	gpio_mode_mau_configuration;
1460 	unsigned int	gpio_mode_mau_status;
1461 	unsigned int	gpio_mode_mau_option;
1462 	unsigned char	res137[0x14];
1463 	unsigned int	top_asb_reset_configuration;
1464 	unsigned int	top_asb_reset_status;
1465 	unsigned int	top_asb_reset_option;
1466 	unsigned char	res138[0x14];
1467 	unsigned int	top_asb_isolation_configuration;
1468 	unsigned int	top_asb_isolation_status;
1469 	unsigned int	top_asb_isolation_option;
1470 	unsigned char	res139[0x5d4];
1471 	unsigned int	gscl_configuration;
1472 	unsigned int	gscl_status;
1473 	unsigned int	gscl_option;
1474 	unsigned char	res140[0x14];
1475 	unsigned int	isp_configuration;
1476 	unsigned int	isp_status;
1477 	unsigned int	isp_option;
1478 	unsigned char	res141[0x34];
1479 	unsigned int	mfc_configuration;
1480 	unsigned int	mfc_status;
1481 	unsigned int	mfc_option;
1482 	unsigned char	res142[0x14];
1483 	unsigned int	g3d_configuration;
1484 	unsigned int	g3d_status;
1485 	unsigned int	g3d_option;
1486 	unsigned char	res143[0x34];
1487 	unsigned int	disp1_configuration;
1488 	unsigned int	disp1_status;
1489 	unsigned int	disp1_option;
1490 	unsigned char	res144[0x14];
1491 	unsigned int	mau_configuration;
1492 	unsigned int	mau_status;
1493 	unsigned int	mau_option;
1494 	unsigned char	res800[0x14];
1495 	unsigned int	g2d_configuration;
1496 	unsigned int	g2d_status;
1497 	unsigned int	g2d_option;
1498 	unsigned char	res801[0x14];
1499 	unsigned int	msc_configuration;
1500 	unsigned int	msc_status;
1501 	unsigned int	msc_option;
1502 	unsigned char	res802[0x14];
1503 	unsigned int	fsys_configuration;
1504 	unsigned int	fsys_status;
1505 	unsigned int	fsys_option;
1506 	unsigned char	res803[0x14];
1507 	unsigned int	fsys2_configuration;
1508 	unsigned int	fsys2_status;
1509 	unsigned int	fsys2_option;
1510 	unsigned char	res804[0x14];
1511 	unsigned int	psgen_configuration;
1512 	unsigned int	psgen_status;
1513 	unsigned int	psgen_option;
1514 	unsigned char	res805[0x14];
1515 	unsigned int	peric_configuration;
1516 	unsigned int	peric_status;
1517 	unsigned int	peric_option;
1518 	unsigned char	res806[0x14];
1519 	unsigned int	wcore_configuration;
1520 	unsigned int	wcore_status;
1521 	unsigned int	wcore_option;
1522 	unsigned char	res145[0x234];
1523 	unsigned int	cmu_clkstop_gscl_configuration;
1524 	unsigned int	cmu_clkstop_gscl_status;
1525 	unsigned int	cmu_clkstop_gscl_option;
1526 	unsigned char	res146[0x14];
1527 	unsigned int	cmu_clkstop_isp_configuration;
1528 	unsigned int	cmu_clkstop_isp_status;
1529 	unsigned int	cmu_clkstop_isp_option;
1530 	unsigned char	res147[0x34];
1531 	unsigned int	cmu_clkstop_mfc_configuration;
1532 	unsigned int	cmu_clkstop_mfc_status;
1533 	unsigned int	cmu_clkstop_mfc_option;
1534 	unsigned char	res148[0x14];
1535 	unsigned int	cmu_clkstop_g3d_configuration;
1536 	unsigned int	cmu_clkstop_g3d_status;
1537 	unsigned int	cmu_clkstop_g3d_option;
1538 	unsigned char	res149[0x34];
1539 	unsigned int	cmu_clkstop_disp1_configuration;
1540 	unsigned int	cmu_clkstop_disp1_status;
1541 	unsigned int	cmu_clkstop_disp1_option;
1542 	unsigned char	res150[0x14];
1543 	unsigned int	cmu_clkstop_mau_configuration;
1544 	unsigned int	cmu_clkstop_mau_status;
1545 	unsigned int	cmu_clkstop_mau_option;
1546 	unsigned char	res807[0x14];
1547 	unsigned int	cmu_clkstop_g2d_configuration;
1548 	unsigned int	cmu_clkstop_g2d_status;
1549 	unsigned int	cmu_clkstop_g2d_option;
1550 	unsigned char	res808[0x14];
1551 	unsigned int	cmu_clkstop_msc_configuration;
1552 	unsigned int	cmu_clkstop_msc_status;
1553 	unsigned int	cmu_clkstop_msc_option;
1554 	unsigned char	res809[0x14];
1555 	unsigned int	cmu_clkstop_fsys_configuration;
1556 	unsigned int	cmu_clkstop_fsys_status;
1557 	unsigned int	cmu_clkstop_fsys_option;
1558 	unsigned char	res810[0x14];
1559 	unsigned int	cmu_clkstop_fsys2_configuration;
1560 	unsigned int	cmu_clkstop_fsys2_status;
1561 	unsigned int	cmu_clkstop_fsys2_option;
1562 	unsigned char	res811[0x14];
1563 	unsigned int	cmu_clkstop_psgen_configuration;
1564 	unsigned int	cmu_clkstop_psgen_status;
1565 	unsigned int	cmu_clkstop_psgen_option;
1566 	unsigned char	res812[0x14];
1567 	unsigned int	cmu_clkstop_peric_configuration;
1568 	unsigned int	cmu_clkstop_peric_status;
1569 	unsigned int	cmu_clkstop_peric_option;
1570 	unsigned char	res813[0x14];
1571 	unsigned int	cmu_clkstop_wcore_configuration;
1572 	unsigned int	cmu_clkstop_wcore_status;
1573 	unsigned int	cmu_clkstop_wcore_option;
1574 	unsigned char	res151[0x14];
1575 	unsigned int	cmu_sysclk_toppwr_configuration;
1576 	unsigned int	cmu_sysclk_toppwr_status;
1577 	unsigned int	cmu_sysclk_toppwr_option;
1578 	unsigned char	res920[0x18];
1579 	unsigned int	cmu_sysclk_gscl_status;
1580 	unsigned int	cmu_sysclk_gscl_option;
1581 	unsigned char	res152[0x18];
1582 	unsigned int	cmu_sysclk_isp_status;
1583 	unsigned int	cmu_sysclk_isp_option;
1584 	unsigned char	res153[0x38];
1585 	unsigned int	cmu_sysclk_mfc_status;
1586 	unsigned int	cmu_sysclk_mfc_option;
1587 	unsigned char	res154[0x18];
1588 	unsigned int	cmu_sysclk_g3d_status;
1589 	unsigned int	cmu_sysclk_g3d_option;
1590 	unsigned char	res155[0x38];
1591 	unsigned int	cmu_sysclk_disp1_status;
1592 	unsigned int	cmu_sysclk_disp1_option;
1593 	unsigned char	res156[0x18];
1594 	unsigned int	cmu_sysclk_mau_status;
1595 	unsigned int	cmu_sysclk_mau_option;
1596 	unsigned char	res814[0x18];
1597 	unsigned int	cmu_sysclk_g2d_status;
1598 	unsigned int	cmu_sysclk_g2d_option;
1599 	unsigned char	res815[0x18];
1600 	unsigned int	cmu_sysclk_msc_status;
1601 	unsigned int	cmu_sysclk_msc_option;
1602 	unsigned char	res922[0x18];
1603 	unsigned int	cmu_sysclk_fsys_status;
1604 	unsigned int	cmu_sysclk_fsys_option;
1605 	unsigned char	res816[0x18];
1606 	unsigned int	cmu_sysclk_fsys2_status;
1607 	unsigned int	cmu_sysclk_fsys2_option;
1608 	unsigned char	res817[0x18];
1609 	unsigned int	cmu_sysclk_psgen_status;
1610 	unsigned int	cmu_sysclk_psgen_option;
1611 	unsigned char	res950[0x18];
1612 	unsigned int	cmu_sysclk_peric_status;
1613 	unsigned int	cmu_sysclk_peric_option;
1614 	unsigned char	res818[0x18];
1615 	unsigned int	cmu_sysclk_wcore_status;
1616 	unsigned int	cmu_sysclk_wcore_option;
1617 	unsigned char	res819[0x18];
1618 	unsigned int	cmu_sysclk_coreblk_toppwr_status;
1619 	unsigned int	cmu_sysclk_coreblk_toppwr_option;
1620 	unsigned char	res157[0x414];
1621 	unsigned int	cmu_reset_gscl_configuration;
1622 	unsigned int	cmu_reset_gscl_status;
1623 	unsigned int	cmu_reset_gscl_option;
1624 	unsigned char	res158[0x14];
1625 	unsigned int	cmu_reset_isp_configuration;
1626 	unsigned int	cmu_reset_isp_status;
1627 	unsigned int	cmu_reset_isp_option;
1628 	unsigned char	res159[0x34];
1629 	unsigned int	cmu_reset_mfc_configuration;
1630 	unsigned int	cmu_reset_mfc_status;
1631 	unsigned int	cmu_reset_mfc_option;
1632 	unsigned char	res160[0x14];
1633 	unsigned int	cmu_reset_g3d_configuration;
1634 	unsigned int	cmu_reset_g3d_status;
1635 	unsigned int	cmu_reset_g3d_option;
1636 	unsigned char	res161[0x34];
1637 	unsigned int	cmu_reset_disp1_configuration;
1638 	unsigned int	cmu_reset_disp1_status;
1639 	unsigned int	cmu_reset_disp1_option;
1640 	unsigned char	res162[0x14];
1641 	unsigned int	cmu_reset_mau_configuration;
1642 	unsigned int	cmu_reset_mau_status;
1643 	unsigned int	cmu_reset_mau_option;
1644 	unsigned char	res163[0x14];
1645 	unsigned int	version_info;
1646 	unsigned int	i2s_bypass;
1647 	unsigned int	kfc_swreset_mask_from_eagle;
1648 	unsigned char	res164[0xf4];
1649 	unsigned int	cmu_reset_g2d_configuration;
1650 	unsigned int	cmu_reset_g2d_status;
1651 	unsigned int	cmu_reset_g2d_option;
1652 	unsigned char	res165[0x14];
1653 	unsigned int	cmu_reset_msc_configuration;
1654 	unsigned int	cmu_reset_msc_status;
1655 	unsigned int	cmu_reset_msc_option;
1656 	unsigned char	res166[0x14];
1657 	unsigned int	cmu_reset_fsys_configuration;
1658 	unsigned int	cmu_reset_fsys_status;
1659 	unsigned int	cmu_reset_fsys_option;
1660 	unsigned char	res167[0x14];
1661 	unsigned int	cmu_reset_fsys2_configuration;
1662 	unsigned int	cmu_reset_fsys2_status;
1663 	unsigned int	cmu_reset_fsys2_option;
1664 	unsigned char	res168[0x14];
1665 	unsigned int	cmu_reset_psgen_configuration;
1666 	unsigned int	cmu_reset_psgen_status;
1667 	unsigned int	cmu_reset_psgen_option;
1668 	unsigned char	res169[0x14];
1669 	unsigned int	cmu_reset_peric_configuration;
1670 	unsigned int	cmu_reset_peric_status;
1671 	unsigned int	cmu_reset_peric_option;
1672 	unsigned char	res170[0x14];
1673 	unsigned int	cmu_reset_wcore_configuration;
1674 	unsigned int	cmu_reset_wcore_status;
1675 	unsigned int	cmu_reset_wcore_option;
1676 };
1677 #endif	/* __ASSEMBLY__ */
1678 
1679 #define OM_PIN_BITS	0x1f
1680 #define OM_PIN_SHIFT	0x1
1681 #define OM_PIN_MASK	(OM_PIN_BITS << OM_PIN_SHIFT)
1682 
1683 enum {
1684 	/*
1685 	 * Assign the OM pin values for respective boot modes.
1686 	 * Exynos4 does not support spi boot and the mmc boot OM
1687 	 * pin values are the same across Exynos4 and Exynos5.
1688 	 */
1689 	BOOT_MODE_SD = 4,      /* SD_CH2  | USB */
1690 	BOOT_MODE_EMMC = 8,     /* EMMC4.4 | USB */
1691 	BOOT_MODE_EMMC_SD = 40, /* EMMC4.4 | SD_CH2 */
1692 	BOOT_MODE_SERIAL = 20,
1693 	/* Boot based on Operating Mode pin settings */
1694 	BOOT_MODE_OM = 32,
1695 	BOOT_MODE_USB,	/* Boot using USB download */
1696 };
1697 
1698 unsigned int get_boot_mode(void);
1699 
1700 void set_mipi_phy_ctrl(unsigned int dev_index, unsigned int enable);
1701 
1702 #define EXYNOS_MIPI_PHY_ENABLE		(1 << 0)
1703 #define EXYNOS_MIPI_PHY_SRESETN		(1 << 1)
1704 #define EXYNOS_MIPI_PHY_MRESETN		(1 << 2)
1705 
1706 void set_usbhost_phy_ctrl(unsigned int enable);
1707 
1708 /* Enables hardware tripping to power off the system when TMU fails */
1709 void set_hw_thermal_trip(void);
1710 
1711 #define POWER_USB_HOST_PHY_CTRL_EN		(1 << 0)
1712 #define POWER_USB_HOST_PHY_CTRL_DISABLE		(0 << 0)
1713 
1714 void set_usbdrd_phy_ctrl(unsigned int enable);
1715 
1716 #define POWER_USB_DRD_PHY_CTRL_EN		(1 << 0)
1717 #define POWER_USB_DRD_PHY_CTRL_DISABLE		(0 << 0)
1718 
1719 void exynos_dp_phy_ctrl(unsigned int enable);
1720 
1721 #define EXYNOS_DP_PHY_ENABLE		(1 << 0)
1722 
1723 #define EXYNOS_PS_HOLD_CONTROL_DATA_HIGH	(1 << 8)
1724 #define POWER_ENABLE_HW_TRIP			(1UL << 31)
1725 
1726 /*
1727  * Set ps_hold data driving value high
1728  * This enables the machine to stay powered on
1729  * after the initial power-on condition goes away
1730  * (e.g. power button).
1731  */
1732 void set_ps_hold_ctrl(void);
1733 
1734 /* PMU_DEBUG bits [12:8] = 0x1000 selects XXTI clock source */
1735 #define PMU_DEBUG_XXTI                          0x1000
1736 /* Mask bit[12:8] for xxti clock selection */
1737 #define PMU_DEBUG_CLKOUT_SEL_MASK               0x1f00
1738 
1739 /*
1740  * Pmu debug is used for xclkout, enable xclkout with
1741  * source as XXTI
1742  */
1743 void set_xclkout(void);
1744 
1745 /*
1746  *  Read inform1 to get the reset status.
1747  *  @return: the value can be either S5P_CHECK_SLEEP or
1748  *  S5P_CHECK_DIDLE or S5P_CHECK_LPA as stored in inform1
1749  *  if none of these then its normal booting.
1750  */
1751 uint32_t get_reset_status(void);
1752 
1753 
1754 /* Read the resume function and call it */
1755 void power_exit_wakeup(void);
1756 
1757 #endif
1758