s5pc110: RTC registers added (will be used for charger)
authorMyungJoo Ham <MyungJoo.Ham@samsung.com>
Thu, 11 Feb 2010 01:44:10 +0000 (10:44 +0900)
committerMyungJoo Ham <MyungJoo.Ham@samsung.com>
Thu, 11 Feb 2010 01:44:10 +0000 (10:44 +0900)
include/asm-arm/arch-s5pc1xx/rtc.h [new file with mode: 0644]

diff --git a/include/asm-arm/arch-s5pc1xx/rtc.h b/include/asm-arm/arch-s5pc1xx/rtc.h
new file mode 100644 (file)
index 0000000..8b63a6a
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * (C) Copyright 2009
+ * Samsung Electronics, <www.samsung.com/sec>
+ * MyungJoo Ham <myungjoo.ham@samsung.com>
+ *
+ * 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_RTC_H_
+#define __ASM_ARM_ARCH_RTC_H_
+
+/* DRAM Memory Controller */
+#define S5PC110_INTP           0xE2800030
+#define S5PC110_RTCCON         0xE2800040
+#define S5PC110_TICCNT         0xE2800044
+#define S5PC110_RTCALM         0xE2800050
+#define S5PC110_ALMSEC         0xE2800054
+#define S5PC110_ALMMIN         0xE2800058
+#define S5PC110_ALMHOUR                0xE280005C
+#define S5PC110_ALMDAY         0xE2800060
+#define S5PC110_ALMMON         0xE2800064
+#define S5PC110_ALMYEAR                0xE2800068
+#define S5PC110_BCDSEC         0xE2800070
+#define S5PC110_BCDMIN         0xE2800074
+#define S5PC110_BCDHOUR                0xE2800078
+#define S5PC110_BCDDAYWEEK     0xE280007C
+#define S5PC110_BCDDAY         0xE2800080
+#define S5PC110_BCDMON         0xE2800084
+#define S5PC110_BCDYEAR                0xE2800088
+#define S5PC110_CURTICCNT      0xE2800090
+
+#endif