hardware.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Author: RidgeRun, Inc. Greg Lonnon <glonnon@ridgerun.com>
  3. * Reorganized for Linux-2.6 by Tony Lindgren <tony@atomide.com>
  4. * and Dirk Behme <dirk.behme@de.bosch.com>
  5. * Rewritten by: <linux@telechips.com>
  6. * Description: Hardware definitions for TCC8300 processors and boards
  7. *
  8. * Copyright (C) 2001 RidgeRun, Inc.
  9. * Copyright (C) 2008-2009 Telechips
  10. *
  11. * Modifications for mainline (C) 2009 Hans J. Koch <hjk@linutronix.de>
  12. *
  13. * Licensed under the terms of the GNU Pulic License version 2.
  14. */
  15. #ifndef __ASM_ARCH_TCC_HARDWARE_H
  16. #define __ASM_ARCH_TCC_HARDWARE_H
  17. #include <asm/sizes.h>
  18. #ifndef __ASSEMBLER__
  19. #include <asm/types.h>
  20. #endif
  21. #include <mach/io.h>
  22. /*
  23. * ----------------------------------------------------------------------------
  24. * Clocks
  25. * ----------------------------------------------------------------------------
  26. */
  27. #define CLKGEN_REG_BASE 0xfffece00
  28. #define ARM_CKCTL (CLKGEN_REG_BASE + 0x0)
  29. #define ARM_IDLECT1 (CLKGEN_REG_BASE + 0x4)
  30. #define ARM_IDLECT2 (CLKGEN_REG_BASE + 0x8)
  31. #define ARM_EWUPCT (CLKGEN_REG_BASE + 0xC)
  32. #define ARM_RSTCT1 (CLKGEN_REG_BASE + 0x10)
  33. #define ARM_RSTCT2 (CLKGEN_REG_BASE + 0x14)
  34. #define ARM_SYSST (CLKGEN_REG_BASE + 0x18)
  35. #define ARM_IDLECT3 (CLKGEN_REG_BASE + 0x24)
  36. /* DPLL control registers */
  37. #define DPLL_CTL 0xfffecf00
  38. #endif /* __ASM_ARCH_TCC_HARDWARE_H */