1*78befb69Strem /* 2*78befb69Strem * Freescale i.MX27 RTC Register Definitions 3*78befb69Strem * 4*78befb69Strem * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr> 5*78befb69Strem * 6*78befb69Strem * This program is free software; you can redistribute it and/or modify 7*78befb69Strem * it under the terms of the GNU General Public License as published by 8*78befb69Strem * the Free Software Foundation; either version 2 of the License, or 9*78befb69Strem * (at your option) any later version. 10*78befb69Strem * 11*78befb69Strem * This program is distributed in the hope that it will be useful, 12*78befb69Strem * but WITHOUT ANY WARRANTY; without even the implied warranty of 13*78befb69Strem * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14*78befb69Strem * GNU General Public License for more details. 15*78befb69Strem * 16*78befb69Strem * You should have received a copy of the GNU General Public License 17*78befb69Strem * along with this program; if not, write to the Free Software 18*78befb69Strem * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19*78befb69Strem * 20*78befb69Strem */ 21*78befb69Strem 22*78befb69Strem #ifndef __MX27_REGS_RTC_H__ 23*78befb69Strem #define __MX27_REGS_RTC_H__ 24*78befb69Strem 25*78befb69Strem #ifndef __ASSEMBLY__ 26*78befb69Strem struct rtc_regs { 27*78befb69Strem u32 hourmin; 28*78befb69Strem u32 seconds; 29*78befb69Strem u32 alrm_hm; 30*78befb69Strem u32 alrm_sec; 31*78befb69Strem u32 rtcctl; 32*78befb69Strem u32 rtcisr; 33*78befb69Strem u32 rtcienr; 34*78befb69Strem u32 stpwch; 35*78befb69Strem u32 dayr; 36*78befb69Strem u32 dayalarm; 37*78befb69Strem }; 38*78befb69Strem #endif /* __ASSEMBLY__*/ 39*78befb69Strem 40*78befb69Strem #endif /* __MX28_REGS_RTC_H__ */ 41