u-boot/arch/arm/include/asm/arch-mx27/regs-rtc.h
Wolfgang Denk 1a4596601f Add GPL-2.0+ SPDX-License-Identifier to source files
Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <trini@ti.com>
2013-07-24 09:44:38 -04:00

27 lines
447 B
C

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