Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
trem | 3c4ff1f | 2012-08-08 07:04:46 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Freescale i.MX27 RTC Register Definitions |
| 4 | * |
| 5 | * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr> |
trem | 3c4ff1f | 2012-08-08 07:04:46 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __MX27_REGS_RTC_H__ |
| 9 | #define __MX27_REGS_RTC_H__ |
| 10 | |
| 11 | #ifndef __ASSEMBLY__ |
| 12 | struct rtc_regs { |
| 13 | u32 hourmin; |
| 14 | u32 seconds; |
| 15 | u32 alrm_hm; |
| 16 | u32 alrm_sec; |
| 17 | u32 rtcctl; |
| 18 | u32 rtcisr; |
| 19 | u32 rtcienr; |
| 20 | u32 stpwch; |
| 21 | u32 dayr; |
| 22 | u32 dayalarm; |
| 23 | }; |
Simon Glass | 559f1a8 | 2020-05-10 11:40:12 -0600 | [diff] [blame] | 24 | #endif /* __ASSEMBLY__ */ |
trem | 3c4ff1f | 2012-08-08 07:04:46 +0000 | [diff] [blame] | 25 | |
| 26 | #endif /* __MX28_REGS_RTC_H__ */ |