hardware.h 716 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/arm/mach-ep93xx/include/mach/hardware.h
  3. */
  4. #ifndef __ASM_ARCH_HARDWARE_H
  5. #define __ASM_ARCH_HARDWARE_H
  6. #include <mach/platform.h>
  7. /*
  8. * The EP93xx has two external crystal oscillators. To generate the
  9. * required high-frequency clocks, the processor uses two phase-locked-
  10. * loops (PLLs) to multiply the incoming external clock signal to much
  11. * higher frequencies that are then divided down by programmable dividers
  12. * to produce the needed clocks. The PLLs operate independently of one
  13. * another.
  14. */
  15. #define EP93XX_EXT_CLK_RATE 14745600
  16. #define EP93XX_EXT_RTC_RATE 32768
  17. #define EP93XX_KEYTCHCLK_DIV4 (EP93XX_EXT_CLK_RATE / 4)
  18. #define EP93XX_KEYTCHCLK_DIV16 (EP93XX_EXT_CLK_RATE / 16)
  19. #endif