at91.h 751 B

123456789101112131415161718192021222324
  1. /*
  2. * This header provides constants for AT91 pmc status.
  3. *
  4. * The constants defined in this header are being used in dts.
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. #ifndef _DT_BINDINGS_CLK_AT91_H
  9. #define _DT_BINDINGS_CLK_AT91_H
  10. #define AT91_PMC_MOSCS 0 /* MOSCS Flag */
  11. #define AT91_PMC_LOCKA 1 /* PLLA Lock */
  12. #define AT91_PMC_LOCKB 2 /* PLLB Lock */
  13. #define AT91_PMC_MCKRDY 3 /* Master Clock */
  14. #define AT91_PMC_LOCKU 6 /* UPLL Lock */
  15. #define AT91_PMC_PCKRDY(id) (8 + (id)) /* Programmable Clock */
  16. #define AT91_PMC_MOSCSELS 16 /* Main Oscillator Selection */
  17. #define AT91_PMC_MOSCRCS 17 /* Main On-Chip RC */
  18. #define AT91_PMC_CFDEV 18 /* Clock Failure Detector Event */
  19. #define AT91_PMC_GCKRDY 24 /* Generated Clocks */
  20. #endif