2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2009-10-01 08:20:01 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2009 Samsung Electronics
|
|
|
|
* Minkyu Kang <mk7.kang@samsung.com>
|
|
|
|
* Heungjun Kim <riverful.kim@samsung.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARM_ARCH_CLOCK_H_
|
|
|
|
#define __ASM_ARM_ARCH_CLOCK_H_
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
struct s5pc100_clock {
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int apll_lock;
|
|
|
|
unsigned int mpll_lock;
|
|
|
|
unsigned int epll_lock;
|
|
|
|
unsigned int hpll_lock;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res1[0xf0];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int apll_con;
|
|
|
|
unsigned int mpll_con;
|
|
|
|
unsigned int epll_con;
|
|
|
|
unsigned int hpll_con;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res2[0xf0];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int src0;
|
|
|
|
unsigned int src1;
|
|
|
|
unsigned int src2;
|
|
|
|
unsigned int src3;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res3[0xf0];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int div0;
|
|
|
|
unsigned int div1;
|
|
|
|
unsigned int div2;
|
|
|
|
unsigned int div3;
|
|
|
|
unsigned int div4;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res4[0x1ec];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int gate_d00;
|
|
|
|
unsigned int gate_d01;
|
|
|
|
unsigned int gate_d02;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res5[0x54];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int gate_sclk0;
|
|
|
|
unsigned int gate_sclk1;
|
2009-10-01 08:20:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct s5pc110_clock {
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int apll_lock;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res1[0x4];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int mpll_lock;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res2[0x4];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int epll_lock;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res3[0xc];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int vpll_lock;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res4[0xdc];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int apll_con;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res5[0x4];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int mpll_con;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res6[0x4];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int epll_con;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res7[0xc];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int vpll_con;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res8[0xdc];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int src0;
|
|
|
|
unsigned int src1;
|
|
|
|
unsigned int src2;
|
|
|
|
unsigned int src3;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res9[0xf0];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int div0;
|
|
|
|
unsigned int div1;
|
|
|
|
unsigned int div2;
|
|
|
|
unsigned int div3;
|
|
|
|
unsigned int div4;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res10[0x1ec];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int gate_d00;
|
|
|
|
unsigned int gate_d01;
|
|
|
|
unsigned int gate_d02;
|
2009-10-01 08:20:01 +00:00
|
|
|
unsigned char res11[0x54];
|
2009-10-15 02:19:15 +00:00
|
|
|
unsigned int gate_sclk0;
|
|
|
|
unsigned int gate_sclk1;
|
2009-10-01 08:20:01 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|