tizen 2.3.1 release
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-s5pc1xx / clock.h
index 858496a..db97116 100644 (file)
@@ -3,12 +3,37 @@
  * Minkyu Kang <mk7.kang@samsung.com>
  * Heungjun Kim <riverful.kim@samsung.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
  */
 
 #ifndef __ASM_ARM_ARCH_CLOCK_H_
 #define __ASM_ARM_ARCH_CLOCK_H_
 
+#define S5PC110_APLL_LOCK              0xE0100000
+#define S5PC110_MPLL_LOCK              0xE0100008
+#define S5PC110_EPLL_LOCK              0xE0100010
+#define S5PC110_VPLL_LOCK              0xE0100020
+#define S5PC110_APLL_CON               0xE0100100
+#define S5PC110_MPLL_CON               0xE0100108
+#define S5PC110_EPLL_CON               0xE0100110
+#define S5PC110_VPLL_CON               0xE0100120
+
+#define        S5PC110_APLL_CON_LOCKED         (1 << 29)
+
 #ifndef __ASSEMBLY__
 struct s5pc100_clock {
        unsigned int    apll_lock;
@@ -61,13 +86,19 @@ struct s5pc110_clock {
        unsigned int    src1;
        unsigned int    src2;
        unsigned int    src3;
-       unsigned char   res9[0xf0];
+       unsigned int    src4;
+       unsigned int    src5;
+       unsigned int    src6;
+       unsigned char   res9[0xe4];
        unsigned int    div0;
        unsigned int    div1;
        unsigned int    div2;
        unsigned int    div3;
        unsigned int    div4;
-       unsigned char   res10[0x1ec];
+       unsigned int    div5;
+       unsigned int    div6;
+       unsigned int    div7;
+       unsigned char   res10[0x1e0];
        unsigned int    gate_d00;
        unsigned int    gate_d01;
        unsigned int    gate_d02;