2 * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net>
6 * -------------------------------------------------------------------------
8 * linux/include/asm-arm/arch-davinci/hardware.h
10 * Copyright (C) 2006 Texas Instruments.
12 * SPDX-License-Identifier: GPL-2.0
14 #ifndef __ASM_DAVINCI_RTC_H
15 #define __ASM_DAVINCI_RTC_H
22 unsigned int month; /* 0x10 */
26 unsigned int alarmsecond; /* 0x20 */
27 unsigned int alarmminute;
28 unsigned int alarmhour;
29 unsigned int alarmday;
30 unsigned int alarmmonth; /* 0x30 */
31 unsigned int alarmyear;
32 unsigned int resv2[2];
33 unsigned int ctrl; /* 0x40 */
37 unsigned int compmsb; /* 0x50 */
39 unsigned int resv3[2];
40 unsigned int scratch0; /* 0x60 */
41 unsigned int scratch1;
42 unsigned int scratch2;
44 unsigned int kick1r; /* 0x70 */
47 #define RTC_STATE_BUSY 0x01
48 #define RTC_STATE_RUN 0x02
50 #define RTC_KICK0R_WE 0x83e70b13
51 #define RTC_KICK1R_WE 0x95a4f1e0