regs-timer.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * arch/arm/mach-w90x900/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. * Based on arch/arm/mach-s3c2410/include/mach/regs-timer.h
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. */
  17. #ifndef __ASM_ARCH_REGS_TIMER_H
  18. #define __ASM_ARCH_REGS_TIMER_H
  19. /* Timer Registers */
  20. #define TMR_BA W90X900_VA_TIMER
  21. #define REG_TCSR0 (TMR_BA+0x00)
  22. #define REG_TCSR1 (TMR_BA+0x04)
  23. #define REG_TICR0 (TMR_BA+0x08)
  24. #define REG_TICR1 (TMR_BA+0x0C)
  25. #define REG_TDR0 (TMR_BA+0x10)
  26. #define REG_TDR1 (TMR_BA+0x14)
  27. #define REG_TISR (TMR_BA+0x18)
  28. #define REG_WTCR (TMR_BA+0x1C)
  29. #define REG_TCSR2 (TMR_BA+0x20)
  30. #define REG_TCSR3 (TMR_BA+0x24)
  31. #define REG_TICR2 (TMR_BA+0x28)
  32. #define REG_TICR3 (TMR_BA+0x2C)
  33. #define REG_TDR2 (TMR_BA+0x30)
  34. #define REG_TDR3 (TMR_BA+0x34)
  35. #define REG_TCSR4 (TMR_BA+0x40)
  36. #define REG_TICR4 (TMR_BA+0x48)
  37. #define REG_TDR4 (TMR_BA+0x50)
  38. #endif /* __ASM_ARCH_REGS_TIMER_H */