freq.h 448 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0
  2. *
  3. * include/asm-sh/cpu-sh3/freq.h
  4. *
  5. * Copyright (C) 2002, 2003 Paul Mundt
  6. */
  7. #ifndef __ASM_CPU_SH3_FREQ_H
  8. #define __ASM_CPU_SH3_FREQ_H
  9. #ifdef CONFIG_CPU_SUBTYPE_SH7712
  10. #define FRQCR 0xA415FF80
  11. #else
  12. #define FRQCR 0xffffff80
  13. #endif
  14. #define MIN_DIVISOR_NR 0
  15. #define MAX_DIVISOR_NR 4
  16. #define FRQCR_CKOEN 0x0100
  17. #define FRQCR_PLLEN 0x0080
  18. #define FRQCR_PSTBY 0x0040
  19. #endif /* __ASM_CPU_SH3_FREQ_H */