freq.h 588 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * include/asm-sh/cpu-sh3/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_SH3_FREQ_H
  11. #define __ASM_CPU_SH3_FREQ_H
  12. #ifdef CONFIG_CPU_SUBTYPE_SH7712
  13. #define FRQCR 0xA415FF80
  14. #else
  15. #define FRQCR 0xffffff80
  16. #endif
  17. #define MIN_DIVISOR_NR 0
  18. #define MAX_DIVISOR_NR 4
  19. #define FRQCR_CKOEN 0x0100
  20. #define FRQCR_PLLEN 0x0080
  21. #define FRQCR_PSTBY 0x0040
  22. #endif /* __ASM_CPU_SH3_FREQ_H */