regs-timer.h 759 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * arch/arm/mach-nuc93x/include/mach/regs-timer.h
  3. *
  4. * Copyright (c) 2008 Nuvoton technology corporation
  5. * All rights reserved.
  6. *
  7. * Wan ZongShun <mcuos.com@gmail.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. */
  15. #ifndef __ASM_ARCH_REGS_TIMER_H
  16. #define __ASM_ARCH_REGS_TIMER_H
  17. /* Timer Registers */
  18. #define TMR_BA NUC93X_VA_TIMER
  19. #define REG_TCSR0 (TMR_BA+0x00)
  20. #define REG_TICR0 (TMR_BA+0x08)
  21. #define REG_TDR0 (TMR_BA+0x10)
  22. #define REG_TISR (TMR_BA+0x18)
  23. #define REG_WTCR (TMR_BA+0x1C)
  24. #endif /* __ASM_ARCH_REGS_TIMER_H */