2012-08-08 07:04:46 +00:00
|
|
|
/*
|
|
|
|
* Freescale i.MX27 RTC Register Definitions
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-08-08 07:04:46 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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__ */
|