regs-apbc.h 661 B

1234567891011121314151617181920212223
  1. /*
  2. * Application Peripheral Bus Clock Unit
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __ASM_MACH_REGS_APBC_H
  9. #define __ASM_MACH_REGS_APBC_H
  10. #include "addr-map.h"
  11. /* Common APB clock register bit definitions */
  12. #define APBC_APBCLK (1 << 0) /* APB Bus Clock Enable */
  13. #define APBC_FNCLK (1 << 1) /* Functional Clock Enable */
  14. #define APBC_RST (1 << 2) /* Reset Generation */
  15. /* Functional Clock Selection Mask */
  16. #define APBC_FNCLKSEL(x) (((x) & 0xf) << 4)
  17. #endif /* __ASM_MACH_REGS_APBC_H */