regs-rtc.h 447 B

123456789101112131415161718192021222324252627
  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. #ifndef __MX27_REGS_RTC_H__
  9. #define __MX27_REGS_RTC_H__
  10. #ifndef __ASSEMBLY__
  11. struct rtc_regs {
  12. u32 hourmin;
  13. u32 seconds;
  14. u32 alrm_hm;
  15. u32 alrm_sec;
  16. u32 rtcctl;
  17. u32 rtcisr;
  18. u32 rtcienr;
  19. u32 stpwch;
  20. u32 dayr;
  21. u32 dayalarm;
  22. };
  23. #endif /* __ASSEMBLY__*/
  24. #endif /* __MX28_REGS_RTC_H__ */