regs-rtc.h 448 B

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