home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-ppc / mk48t59.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  658 b   |  28 lines

  1. /*
  2.  * Registers for the mk48t59 real-time-clock
  3.  */
  4.  
  5. #ifndef _PPC_MK48T59_H
  6. #define _PPC_MK48T59_H
  7.  
  8. /* RTC Offsets */
  9.  
  10. #define MK48T59_RTC_SECONDS        0x1FF9
  11. #define MK48T59_RTC_MINUTES        0x1FFA
  12. #define MK48T59_RTC_HOURS        0x1FFB
  13. #define MK48T59_RTC_DAY_OF_WEEK        0x1FFC
  14. #define MK48T59_RTC_DAY_OF_MONTH    0x1FFD
  15. #define MK48T59_RTC_MONTH        0x1FFE
  16. #define MK48T59_RTC_YEAR        0x1FFF
  17.  
  18. #define MK48T59_RTC_CONTROLA        0x1FF8
  19. #define MK48T59_RTC_CA_WRITE        0x80
  20. #define MK48T59_RTC_CA_READ        0x40
  21. #define MK48T59_RTC_CA_CALIB_SIGN    0x20
  22. #define MK48T59_RTC_CA_CALIB_MASK    0x1f
  23.  
  24. #define MK48T59_RTC_CONTROLB        0x1FF9
  25. #define MK48T59_RTC_CB_STOP        0x80
  26.  
  27. #endif /* _PPC_MK48T59_H */
  28.