freq.h 750 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * include/asm-sh/cpu-sh4/freq.h
  3. *
  4. * Copyright (C) 2002, 2003 Paul Mundt
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #ifndef __ASM_CPU_SH4_FREQ_H
  11. #define __ASM_CPU_SH4_FREQ_H
  12. #if defined(CONFIG_CPU_SUBTYPE_SH73180) || defined(CONFIG_CPU_SUBTYPE_SH7722)
  13. #define FRQCR 0xa4150000
  14. #elif defined(CONFIG_CPU_SUBTYPE_SH7780)
  15. #define FRQCR 0xffc80000
  16. #elif defined(CONFIG_CPU_SUBTYPE_SH7785)
  17. #define FRQCR0 0xffc80000
  18. #define FRQCR1 0xffc80004
  19. #define FRQMR1 0xffc80014
  20. #else
  21. #define FRQCR 0xffc00000
  22. #endif
  23. #define MIN_DIVISOR_NR 0
  24. #define MAX_DIVISOR_NR 3
  25. #endif /* __ASM_CPU_SH4_FREQ_H */