1 /* 2 * Freescale i.MX27 RTC Register Definitions 3 * 4 * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr> 5 * 6 * SPDX-License-Identifier: GPL-2.0+ 7 */ 8 9 #ifndef __MX27_REGS_RTC_H__ 10 #define __MX27_REGS_RTC_H__ 11 12 #ifndef __ASSEMBLY__ 13 struct rtc_regs { 14 u32 hourmin; 15 u32 seconds; 16 u32 alrm_hm; 17 u32 alrm_sec; 18 u32 rtcctl; 19 u32 rtcisr; 20 u32 rtcienr; 21 u32 stpwch; 22 u32 dayr; 23 u32 dayalarm; 24 }; 25 #endif /* __ASSEMBLY__*/ 26 27 #endif /* __MX28_REGS_RTC_H__ */ 28