blob: 858496af52cdd41df55901dd970328d3e378d6f0 [file] [log] [blame]
Minkyu Kang399e5ae2009-10-01 17:20:01 +09001/*
2 * (C) Copyright 2009 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>
4 * Heungjun Kim <riverful.kim@samsung.com>
5 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Minkyu Kang399e5ae2009-10-01 17:20:01 +09007 */
8
9#ifndef __ASM_ARM_ARCH_CLOCK_H_
10#define __ASM_ARM_ARCH_CLOCK_H_
11
12#ifndef __ASSEMBLY__
13struct s5pc100_clock {
Minkyu Kangf3807372009-10-15 11:19:15 +090014 unsigned int apll_lock;
15 unsigned int mpll_lock;
16 unsigned int epll_lock;
17 unsigned int hpll_lock;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090018 unsigned char res1[0xf0];
Minkyu Kangf3807372009-10-15 11:19:15 +090019 unsigned int apll_con;
20 unsigned int mpll_con;
21 unsigned int epll_con;
22 unsigned int hpll_con;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090023 unsigned char res2[0xf0];
Minkyu Kangf3807372009-10-15 11:19:15 +090024 unsigned int src0;
25 unsigned int src1;
26 unsigned int src2;
27 unsigned int src3;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090028 unsigned char res3[0xf0];
Minkyu Kangf3807372009-10-15 11:19:15 +090029 unsigned int div0;
30 unsigned int div1;
31 unsigned int div2;
32 unsigned int div3;
33 unsigned int div4;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090034 unsigned char res4[0x1ec];
Minkyu Kangf3807372009-10-15 11:19:15 +090035 unsigned int gate_d00;
36 unsigned int gate_d01;
37 unsigned int gate_d02;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090038 unsigned char res5[0x54];
Minkyu Kangf3807372009-10-15 11:19:15 +090039 unsigned int gate_sclk0;
40 unsigned int gate_sclk1;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090041};
42
43struct s5pc110_clock {
Minkyu Kangf3807372009-10-15 11:19:15 +090044 unsigned int apll_lock;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090045 unsigned char res1[0x4];
Minkyu Kangf3807372009-10-15 11:19:15 +090046 unsigned int mpll_lock;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090047 unsigned char res2[0x4];
Minkyu Kangf3807372009-10-15 11:19:15 +090048 unsigned int epll_lock;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090049 unsigned char res3[0xc];
Minkyu Kangf3807372009-10-15 11:19:15 +090050 unsigned int vpll_lock;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090051 unsigned char res4[0xdc];
Minkyu Kangf3807372009-10-15 11:19:15 +090052 unsigned int apll_con;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090053 unsigned char res5[0x4];
Minkyu Kangf3807372009-10-15 11:19:15 +090054 unsigned int mpll_con;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090055 unsigned char res6[0x4];
Minkyu Kangf3807372009-10-15 11:19:15 +090056 unsigned int epll_con;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090057 unsigned char res7[0xc];
Minkyu Kangf3807372009-10-15 11:19:15 +090058 unsigned int vpll_con;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090059 unsigned char res8[0xdc];
Minkyu Kangf3807372009-10-15 11:19:15 +090060 unsigned int src0;
61 unsigned int src1;
62 unsigned int src2;
63 unsigned int src3;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090064 unsigned char res9[0xf0];
Minkyu Kangf3807372009-10-15 11:19:15 +090065 unsigned int div0;
66 unsigned int div1;
67 unsigned int div2;
68 unsigned int div3;
69 unsigned int div4;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090070 unsigned char res10[0x1ec];
Minkyu Kangf3807372009-10-15 11:19:15 +090071 unsigned int gate_d00;
72 unsigned int gate_d01;
73 unsigned int gate_d02;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090074 unsigned char res11[0x54];
Minkyu Kangf3807372009-10-15 11:19:15 +090075 unsigned int gate_sclk0;
76 unsigned int gate_sclk1;
Minkyu Kang399e5ae2009-10-01 17:20:01 +090077};
78#endif
79
80#endif