regs-icoll.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Freescale STMP378X: clock registers definitions
  3. *
  4. * Embedded Alley Solutions, Inc <source@embeddedalley.com>
  5. *
  6. * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
  7. * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
  8. */
  9. /*
  10. * The code contained herein is licensed under the GNU General Public
  11. * License. You may obtain a copy of the GNU General Public License
  12. * Version 2 or later at the following locations:
  13. *
  14. * http://www.opensource.org/licenses/gpl-license.html
  15. * http://www.gnu.org/copyleft/gpl.html
  16. */
  17. #ifndef _INCLUDE_ASM_ARCH_REGS_ICOLL_H
  18. #define _INCLUDE_ASM_ARCH_REGS_ICOLL_H
  19. #include <mach/stmp3xxx_regs.h>
  20. #define REGS_ICOLL_BASE (REGS_BASE + 0x00000000)
  21. HW_REGISTER(HW_ICOLL_VECTOR, REGS_ICOLL_BASE, 0x00)
  22. HW_REGISTER_WO(HW_ICOLL_LEVELACK, REGS_ICOLL_BASE, 0x10)
  23. HW_REGISTER(HW_ICOLL_CTRL, REGS_ICOLL_BASE, 0x20)
  24. #define BM_ICOLL_CTRL_CLKGATE 0x40000000
  25. #define BM_ICOLL_CTRL_SFTRST 0x80000000
  26. HW_REGISTER_RO(HW_ICOLL_STAT, REGS_ICOLL_BASE, 0x30)
  27. HW_REGISTER_INDEXED(HW_ICOLL_PRIORITYn, REGS_ICOLL_BASE, 0x60, 0x10)
  28. #endif /* _INCLUDE_ASM_ARCH_REGS_CLKCTRL_H */