scrm44xx.h 985 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * OMAP44xx SCRM registers and bitfields
  4. *
  5. * Copyright (C) 2010 Texas Instruments, Inc.
  6. *
  7. * Benoit Cousson ([email protected])
  8. *
  9. * This file is automatically generated from the OMAP hardware databases.
  10. * We respectfully ask that any modifications to this file be coordinated
  11. * with the public [email protected] mailing list and the
  12. * authors above to ensure that the autogeneration scripts are kept
  13. * up-to-date with the file contents.
  14. */
  15. #ifndef __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
  16. #define __ARCH_ARM_MACH_OMAP2_SCRM_44XX_H
  17. #define OMAP4_SCRM_BASE 0x4a30a000
  18. #define OMAP44XX_SCRM_REGADDR(reg) \
  19. OMAP2_L4_IO_ADDRESS(OMAP4_SCRM_BASE + (reg))
  20. /* Registers offset */
  21. #define OMAP4_SCRM_CLKSETUPTIME OMAP44XX_SCRM_REGADDR(0x0100)
  22. /* CLKSETUPTIME */
  23. #define OMAP4_DOWNTIME_SHIFT 16
  24. #define OMAP4_DOWNTIME_MASK (0x3f << 16)
  25. #define OMAP4_SETUPTIME_SHIFT 0
  26. #define OMAP4_SETUPTIME_MASK (0xfff << 0)
  27. #endif