summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx27/regs-rtc.h
blob: d373ab158393af3e10089bd8961a9555f0811397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Freescale i.MX27 RTC Register Definitions
 *
 * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr>
 */

#ifndef __MX27_REGS_RTC_H__
#define __MX27_REGS_RTC_H__

#ifndef	__ASSEMBLY__
struct rtc_regs {
	u32 hourmin;
	u32 seconds;
	u32 alrm_hm;
	u32 alrm_sec;
	u32 rtcctl;
	u32 rtcisr;
	u32 rtcienr;
	u32 stpwch;
	u32 dayr;
	u32 dayalarm;
};
#endif /* __ASSEMBLY__*/

#endif	/* __MX28_REGS_RTC_H__ */