1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#ifndef __ASM_ARM_ARCH_CLOCK_H_
23#define __ASM_ARM_ARCH_CLOCK_H_
24
25#ifndef __ASSEMBLY__
26struct exynos4_clock {
27 unsigned char res1[0x4200];
28 unsigned int src_leftbus;
29 unsigned char res2[0x1fc];
30 unsigned int mux_stat_leftbus;
31 unsigned char res4[0xfc];
32 unsigned int div_leftbus;
33 unsigned char res5[0xfc];
34 unsigned int div_stat_leftbus;
35 unsigned char res6[0x1fc];
36 unsigned int gate_ip_leftbus;
37 unsigned char res7[0x1fc];
38 unsigned int clkout_leftbus;
39 unsigned int clkout_leftbus_div_stat;
40 unsigned char res8[0x37f8];
41 unsigned int src_rightbus;
42 unsigned char res9[0x1fc];
43 unsigned int mux_stat_rightbus;
44 unsigned char res10[0xfc];
45 unsigned int div_rightbus;
46 unsigned char res11[0xfc];
47 unsigned int div_stat_rightbus;
48 unsigned char res12[0x1fc];
49 unsigned int gate_ip_rightbus;
50 unsigned char res13[0x1fc];
51 unsigned int clkout_rightbus;
52 unsigned int clkout_rightbus_div_stat;
53 unsigned char res14[0x3608];
54 unsigned int epll_lock;
55 unsigned char res15[0xc];
56 unsigned int vpll_lock;
57 unsigned char res16[0xec];
58 unsigned int epll_con0;
59 unsigned int epll_con1;
60 unsigned char res17[0x8];
61 unsigned int vpll_con0;
62 unsigned int vpll_con1;
63 unsigned char res18[0xe8];
64 unsigned int src_top0;
65 unsigned int src_top1;
66 unsigned char res19[0x8];
67 unsigned int src_cam;
68 unsigned int src_tv;
69 unsigned int src_mfc;
70 unsigned int src_g3d;
71 unsigned int src_image;
72 unsigned int src_lcd0;
73 unsigned int src_lcd1;
74 unsigned int src_maudio;
75 unsigned int src_fsys;
76 unsigned char res20[0xc];
77 unsigned int src_peril0;
78 unsigned int src_peril1;
79 unsigned char res21[0xb8];
80 unsigned int src_mask_top;
81 unsigned char res22[0xc];
82 unsigned int src_mask_cam;
83 unsigned int src_mask_tv;
84 unsigned char res23[0xc];
85 unsigned int src_mask_lcd0;
86 unsigned int src_mask_lcd1;
87 unsigned int src_mask_maudio;
88 unsigned int src_mask_fsys;
89 unsigned char res24[0xc];
90 unsigned int src_mask_peril0;
91 unsigned int src_mask_peril1;
92 unsigned char res25[0xb8];
93 unsigned int mux_stat_top;
94 unsigned char res26[0x14];
95 unsigned int mux_stat_mfc;
96 unsigned int mux_stat_g3d;
97 unsigned int mux_stat_image;
98 unsigned char res27[0xdc];
99 unsigned int div_top;
100 unsigned char res28[0xc];
101 unsigned int div_cam;
102 unsigned int div_tv;
103 unsigned int div_mfc;
104 unsigned int div_g3d;
105 unsigned int div_image;
106 unsigned int div_lcd0;
107 unsigned int div_lcd1;
108 unsigned int div_maudio;
109 unsigned int div_fsys0;
110 unsigned int div_fsys1;
111 unsigned int div_fsys2;
112 unsigned int div_fsys3;
113 unsigned int div_peril0;
114 unsigned int div_peril1;
115 unsigned int div_peril2;
116 unsigned int div_peril3;
117 unsigned int div_peril4;
118 unsigned int div_peril5;
119 unsigned char res29[0x18];
120 unsigned int div2_ratio;
121 unsigned char res30[0x8c];
122 unsigned int div_stat_top;
123 unsigned char res31[0xc];
124 unsigned int div_stat_cam;
125 unsigned int div_stat_tv;
126 unsigned int div_stat_mfc;
127 unsigned int div_stat_g3d;
128 unsigned int div_stat_image;
129 unsigned int div_stat_lcd0;
130 unsigned int div_stat_lcd1;
131 unsigned int div_stat_maudio;
132 unsigned int div_stat_fsys0;
133 unsigned int div_stat_fsys1;
134 unsigned int div_stat_fsys2;
135 unsigned int div_stat_fsys3;
136 unsigned int div_stat_peril0;
137 unsigned int div_stat_peril1;
138 unsigned int div_stat_peril2;
139 unsigned int div_stat_peril3;
140 unsigned int div_stat_peril4;
141 unsigned int div_stat_peril5;
142 unsigned char res32[0x18];
143 unsigned int div2_stat;
144 unsigned char res33[0x29c];
145 unsigned int gate_ip_cam;
146 unsigned int gate_ip_tv;
147 unsigned int gate_ip_mfc;
148 unsigned int gate_ip_g3d;
149 unsigned int gate_ip_image;
150 unsigned int gate_ip_lcd0;
151 unsigned int gate_ip_lcd1;
152 unsigned char res34[0x4];
153 unsigned int gate_ip_fsys;
154 unsigned char res35[0x8];
155 unsigned int gate_ip_gps;
156 unsigned int gate_ip_peril;
157 unsigned char res36[0xc];
158 unsigned int gate_ip_perir;
159 unsigned char res37[0xc];
160 unsigned int gate_block;
161 unsigned char res38[0x8c];
162 unsigned int clkout_cmu_top;
163 unsigned int clkout_cmu_top_div_stat;
164 unsigned char res39[0x37f8];
165 unsigned int src_dmc;
166 unsigned char res40[0xfc];
167 unsigned int src_mask_dmc;
168 unsigned char res41[0xfc];
169 unsigned int mux_stat_dmc;
170 unsigned char res42[0xfc];
171 unsigned int div_dmc0;
172 unsigned int div_dmc1;
173 unsigned char res43[0xf8];
174 unsigned int div_stat_dmc0;
175 unsigned int div_stat_dmc1;
176 unsigned char res44[0x2f8];
177 unsigned int gate_ip_dmc;
178 unsigned char res45[0xfc];
179 unsigned int clkout_cmu_dmc;
180 unsigned int clkout_cmu_dmc_div_stat;
181 unsigned char res46[0x5f8];
182 unsigned int dcgidx_map0;
183 unsigned int dcgidx_map1;
184 unsigned int dcgidx_map2;
185 unsigned char res47[0x14];
186 unsigned int dcgperf_map0;
187 unsigned int dcgperf_map1;
188 unsigned char res48[0x18];
189 unsigned int dvcidx_map;
190 unsigned char res49[0x1c];
191 unsigned int freq_cpu;
192 unsigned int freq_dpm;
193 unsigned char res50[0x18];
194 unsigned int dvsemclk_en;
195 unsigned int maxperf;
196 unsigned char res51[0x2f78];
197 unsigned int apll_lock;
198 unsigned char res52[0x4];
199 unsigned int mpll_lock;
200 unsigned char res53[0xf4];
201 unsigned int apll_con0;
202 unsigned int apll_con1;
203 unsigned int mpll_con0;
204 unsigned int mpll_con1;
205 unsigned char res54[0xf0];
206 unsigned int src_cpu;
207 unsigned char res55[0x1fc];
208 unsigned int mux_stat_cpu;
209 unsigned char res56[0xfc];
210 unsigned int div_cpu0;
211 unsigned int div_cpu1;
212 unsigned char res57[0xf8];
213 unsigned int div_stat_cpu0;
214 unsigned int div_stat_cpu1;
215 unsigned char res58[0x3f8];
216 unsigned int clkout_cmu_cpu;
217 unsigned int clkout_cmu_cpu_div_stat;
218 unsigned char res59[0x5f8];
219 unsigned int armclk_stopctrl;
220 unsigned int atclk_stopctrl;
221 unsigned char res60[0x8];
222 unsigned int parityfail_status;
223 unsigned int parityfail_clear;
224 unsigned char res61[0xe8];
225 unsigned int apll_con0_l8;
226 unsigned int apll_con0_l7;
227 unsigned int apll_con0_l6;
228 unsigned int apll_con0_l5;
229 unsigned int apll_con0_l4;
230 unsigned int apll_con0_l3;
231 unsigned int apll_con0_l2;
232 unsigned int apll_con0_l1;
233 unsigned int iem_control;
234 unsigned char res62[0xdc];
235 unsigned int apll_con1_l8;
236 unsigned int apll_con1_l7;
237 unsigned int apll_con1_l6;
238 unsigned int apll_con1_l5;
239 unsigned int apll_con1_l4;
240 unsigned int apll_con1_l3;
241 unsigned int apll_con1_l2;
242 unsigned int apll_con1_l1;
243 unsigned char res63[0xe0];
244 unsigned int div_iem_l8;
245 unsigned int div_iem_l7;
246 unsigned int div_iem_l6;
247 unsigned int div_iem_l5;
248 unsigned int div_iem_l4;
249 unsigned int div_iem_l3;
250 unsigned int div_iem_l2;
251 unsigned int div_iem_l1;
252};
253
254struct exynos5_clock {
255 unsigned int apll_lock;
256 unsigned char res1[0xfc];
257 unsigned int apll_con0;
258 unsigned int apll_con1;
259 unsigned char res2[0xf8];
260 unsigned int src_cpu;
261 unsigned char res3[0x1fc];
262 unsigned int mux_stat_cpu;
263 unsigned char res4[0xfc];
264 unsigned int div_cpu0;
265 unsigned int div_cpu1;
266 unsigned char res5[0xf8];
267 unsigned int div_stat_cpu0;
268 unsigned int div_stat_cpu1;
269 unsigned char res6[0x1f8];
270 unsigned int gate_sclk_cpu;
271 unsigned char res7[0x1fc];
272 unsigned int clkout_cmu_cpu;
273 unsigned int clkout_cmu_cpu_div_stat;
274 unsigned char res8[0x5f8];
275 unsigned int armclk_stopctrl;
276 unsigned int atclk_stopctrl;
277 unsigned char res9[0x8];
278 unsigned int parityfail_status;
279 unsigned int parityfail_clear;
280 unsigned char res10[0x8];
281 unsigned int pwr_ctrl;
282 unsigned int pwr_ctr2;
283 unsigned char res11[0xd8];
284 unsigned int apll_con0_l8;
285 unsigned int apll_con0_l7;
286 unsigned int apll_con0_l6;
287 unsigned int apll_con0_l5;
288 unsigned int apll_con0_l4;
289 unsigned int apll_con0_l3;
290 unsigned int apll_con0_l2;
291 unsigned int apll_con0_l1;
292 unsigned int iem_control;
293 unsigned char res12[0xdc];
294 unsigned int apll_con1_l8;
295 unsigned int apll_con1_l7;
296 unsigned int apll_con1_l6;
297 unsigned int apll_con1_l5;
298 unsigned int apll_con1_l4;
299 unsigned int apll_con1_l3;
300 unsigned int apll_con1_l2;
301 unsigned int apll_con1_l1;
302 unsigned char res13[0xe0];
303 unsigned int div_iem_l8;
304 unsigned int div_iem_l7;
305 unsigned int div_iem_l6;
306 unsigned int div_iem_l5;
307 unsigned int div_iem_l4;
308 unsigned int div_iem_l3;
309 unsigned int div_iem_l2;
310 unsigned int div_iem_l1;
311 unsigned char res14[0x2ce0];
312 unsigned int mpll_lock;
313 unsigned char res15[0xfc];
314 unsigned int mpll_con0;
315 unsigned int mpll_con1;
316 unsigned char res16[0xf8];
317 unsigned int src_core0;
318 unsigned int src_core1;
319 unsigned char res17[0xf8];
320 unsigned int src_mask_core;
321 unsigned char res18[0x100];
322 unsigned int mux_stat_core1;
323 unsigned char res19[0xf8];
324 unsigned int div_core0;
325 unsigned int div_core1;
326 unsigned char res20[0xf8];
327 unsigned int div_stat_core0;
328 unsigned int div_stat_core1;
329 unsigned char res21[0x2f8];
330 unsigned int gate_ip_core;
331 unsigned char res22[0xfc];
332 unsigned int clkout_cmu_core;
333 unsigned int clkout_cmu_core_div_stat;
334 unsigned char res23[0x5f8];
335 unsigned int dcgidx_map0;
336 unsigned int dcgidx_map1;
337 unsigned int dcgidx_map2;
338 unsigned char res24[0x14];
339 unsigned int dcgperf_map0;
340 unsigned int dcgperf_map1;
341 unsigned char res25[0x18];
342 unsigned int dvcidx_map;
343 unsigned char res26[0x1c];
344 unsigned int freq_cpu;
345 unsigned int freq_dpm;
346 unsigned char res27[0x18];
347 unsigned int dvsemclk_en;
348 unsigned int maxperf;
349 unsigned char res28[0x3478];
350 unsigned int div_acp;
351 unsigned char res29[0xfc];
352 unsigned int div_stat_acp;
353 unsigned char res30[0x1fc];
354 unsigned int gate_ip_acp;
355 unsigned char res31[0x1fc];
356 unsigned int clkout_cmu_acp;
357 unsigned int clkout_cmu_acp_div_stat;
358 unsigned char res32[0x38f8];
359 unsigned int div_isp0;
360 unsigned int div_isp1;
361 unsigned int div_isp2;
362 unsigned char res33[0xf4];
363 unsigned int div_stat_isp0;
364 unsigned int div_stat_isp1;
365 unsigned int div_stat_isp2;
366 unsigned char res34[0x3f4];
367 unsigned int gate_ip_isp0;
368 unsigned int gate_ip_isp1;
369 unsigned char res35[0xf8];
370 unsigned int gate_sclk_isp;
371 unsigned char res36[0xc];
372 unsigned int mcuisp_pwr_ctrl;
373 unsigned char res37[0xec];
374 unsigned int clkout_cmu_isp;
375 unsigned int clkout_cmu_isp_div_stat;
376 unsigned char res38[0x3618];
377 unsigned int cpll_lock;
378 unsigned char res39[0xc];
379 unsigned int epll_lock;
380 unsigned char res40[0xc];
381 unsigned int vpll_lock;
382 unsigned char res41[0xdc];
383 unsigned int cpll_con0;
384 unsigned int cpll_con1;
385 unsigned char res42[0x8];
386 unsigned int epll_con0;
387 unsigned int epll_con1;
388 unsigned int epll_con2;
389 unsigned char res43[0x4];
390 unsigned int vpll_con0;
391 unsigned int vpll_con1;
392 unsigned int vpll_con2;
393 unsigned char res44[0xc4];
394 unsigned int src_top0;
395 unsigned int src_top1;
396 unsigned int src_top2;
397 unsigned int src_top3;
398 unsigned int src_gscl;
399 unsigned int src_disp0_0;
400 unsigned int src_disp0_1;
401 unsigned int src_disp1_0;
402 unsigned int src_disp1_1;
403 unsigned char res46[0xc];
404 unsigned int src_mau;
405 unsigned int src_fsys;
406 unsigned char res47[0x8];
407 unsigned int src_peric0;
408 unsigned int src_peric1;
409 unsigned char res48[0x18];
410 unsigned int sclk_src_isp;
411 unsigned char res49[0x9c];
412 unsigned int src_mask_top;
413 unsigned char res50[0xc];
414 unsigned int src_mask_gscl;
415 unsigned int src_mask_disp0_0;
416 unsigned int src_mask_disp0_1;
417 unsigned int src_mask_disp1_0;
418 unsigned int src_mask_disp1_1;
419 unsigned int src_mask_maudio;
420 unsigned char res52[0x8];
421 unsigned int src_mask_fsys;
422 unsigned char res53[0xc];
423 unsigned int src_mask_peric0;
424 unsigned int src_mask_peric1;
425 unsigned char res54[0x18];
426 unsigned int src_mask_isp;
427 unsigned char res55[0x9c];
428 unsigned int mux_stat_top0;
429 unsigned int mux_stat_top1;
430 unsigned int mux_stat_top2;
431 unsigned int mux_stat_top3;
432 unsigned char res56[0xf0];
433 unsigned int div_top0;
434 unsigned int div_top1;
435 unsigned char res57[0x8];
436 unsigned int div_gscl;
437 unsigned int div_disp0_0;
438 unsigned int div_disp0_1;
439 unsigned int div_disp1_0;
440 unsigned int div_disp1_1;
441 unsigned char res59[0x8];
442 unsigned int div_gen;
443 unsigned char res60[0x4];
444 unsigned int div_mau;
445 unsigned int div_fsys0;
446 unsigned int div_fsys1;
447 unsigned int div_fsys2;
448 unsigned int div_fsys3;
449 unsigned int div_peric0;
450 unsigned int div_peric1;
451 unsigned int div_peric2;
452 unsigned int div_peric3;
453 unsigned int div_peric4;
454 unsigned int div_peric5;
455 unsigned char res61[0x10];
456 unsigned int sclk_div_isp;
457 unsigned char res62[0xc];
458 unsigned int div2_ratio0;
459 unsigned int div2_ratio1;
460 unsigned char res63[0x8];
461 unsigned int div4_ratio;
462 unsigned char res64[0x6c];
463 unsigned int div_stat_top0;
464 unsigned int div_stat_top1;
465 unsigned char res65[0x8];
466 unsigned int div_stat_gscl;
467 unsigned int div_stat_disp0_0;
468 unsigned int div_stat_disp0_1;
469 unsigned int div_stat_disp1_0;
470 unsigned int div_stat_disp1_1;
471 unsigned char res67[0x8];
472 unsigned int div_stat_gen;
473 unsigned char res68[0x4];
474 unsigned int div_stat_maudio;
475 unsigned int div_stat_fsys0;
476 unsigned int div_stat_fsys1;
477 unsigned int div_stat_fsys2;
478 unsigned int div_stat_fsys3;
479 unsigned int div_stat_peric0;
480 unsigned int div_stat_peric1;
481 unsigned int div_stat_peric2;
482 unsigned int div_stat_peric3;
483 unsigned int div_stat_peric4;
484 unsigned int div_stat_peric5;
485 unsigned char res69[0x10];
486 unsigned int sclk_div_stat_isp;
487 unsigned char res70[0xc];
488 unsigned int div2_stat0;
489 unsigned int div2_stat1;
490 unsigned char res71[0x8];
491 unsigned int div4_stat;
492 unsigned char res72[0x180];
493 unsigned int gate_top_sclk_disp0;
494 unsigned int gate_top_sclk_disp1;
495 unsigned int gate_top_sclk_gen;
496 unsigned char res74[0xc];
497 unsigned int gate_top_sclk_mau;
498 unsigned int gate_top_sclk_fsys;
499 unsigned char res75[0xc];
500 unsigned int gate_top_sclk_peric;
501 unsigned char res76[0x1c];
502 unsigned int gate_top_sclk_isp;
503 unsigned char res77[0xac];
504 unsigned int gate_ip_gscl;
505 unsigned int gate_ip_disp0;
506 unsigned int gate_ip_disp1;
507 unsigned int gate_ip_mfc;
508 unsigned int gate_ip_g3d;
509 unsigned int gate_ip_gen;
510 unsigned char res79[0xc];
511 unsigned int gate_ip_fsys;
512 unsigned char res80[0x4];
513 unsigned int gate_ip_gps;
514 unsigned int gate_ip_peric;
515 unsigned char res81[0xc];
516 unsigned int gate_ip_peris;
517 unsigned char res82[0x1c];
518 unsigned int gate_block;
519 unsigned char res83[0x7c];
520 unsigned int clkout_cmu_top;
521 unsigned int clkout_cmu_top_div_stat;
522 unsigned char res84[0x37f8];
523 unsigned int src_lex;
524 unsigned char res85[0x2fc];
525 unsigned int div_lex;
526 unsigned char res86[0xfc];
527 unsigned int div_stat_lex;
528 unsigned char res87[0x1fc];
529 unsigned int gate_ip_lex;
530 unsigned char res88[0x1fc];
531 unsigned int clkout_cmu_lex;
532 unsigned int clkout_cmu_lex_div_stat;
533 unsigned char res89[0x3af8];
534 unsigned int div_r0x;
535 unsigned char res90[0xfc];
536 unsigned int div_stat_r0x;
537 unsigned char res91[0x1fc];
538 unsigned int gate_ip_r0x;
539 unsigned char res92[0x1fc];
540 unsigned int clkout_cmu_r0x;
541 unsigned int clkout_cmu_r0x_div_stat;
542 unsigned char res94[0x3af8];
543 unsigned int div_r1x;
544 unsigned char res95[0xfc];
545 unsigned int div_stat_r1x;
546 unsigned char res96[0x1fc];
547 unsigned int gate_ip_r1x;
548 unsigned char res97[0x1fc];
549 unsigned int clkout_cmu_r1x;
550 unsigned int clkout_cmu_r1x_div_stat;
551 unsigned char res98[0x3608];
552 unsigned int bpll_lock;
553 unsigned char res99[0xfc];
554 unsigned int bpll_con0;
555 unsigned int bpll_con1;
556 unsigned char res100[0xe8];
557 unsigned int src_cdrex;
558 unsigned char res101[0x1fc];
559 unsigned int mux_stat_cdrex;
560 unsigned char res102[0xfc];
561 unsigned int div_cdrex;
562 unsigned int div_cdrex2;
563 unsigned char res103[0xf8];
564 unsigned int div_stat_cdrex;
565 unsigned char res104[0x2fc];
566 unsigned int gate_ip_cdrex;
567 unsigned char res105[0xc];
568 unsigned int c2c_monitor;
569 unsigned int dmc_pwr_ctrl;
570 unsigned char res106[0x4];
571 unsigned int drex2_pause;
572 unsigned char res107[0xe0];
573 unsigned int clkout_cmu_cdrex;
574 unsigned int clkout_cmu_cdrex_div_stat;
575 unsigned char res108[0x8];
576 unsigned int lpddr3phy_ctrl;
577 unsigned char res109[0xf5f8];
578};
579#endif
580
581#endif
582