regs-apbc.h 515 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Application Peripheral Bus Clock Unit
  4. */
  5. #ifndef __ASM_MACH_REGS_APBC_H
  6. #define __ASM_MACH_REGS_APBC_H
  7. #include "addr-map.h"
  8. /* Common APB clock register bit definitions */
  9. #define APBC_APBCLK (1 << 0) /* APB Bus Clock Enable */
  10. #define APBC_FNCLK (1 << 1) /* Functional Clock Enable */
  11. #define APBC_RST (1 << 2) /* Reset Generation */
  12. /* Functional Clock Selection Mask */
  13. #define APBC_FNCLKSEL(x) (((x) & 0xf) << 4)
  14. #endif /* __ASM_MACH_REGS_APBC_H */