mx6q.h 1014 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved.
  3. * Copyright 2011 Linaro Ltd.
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. #ifndef __MACH_MX6Q_H__
  13. #define __MACH_MX6Q_H__
  14. #define MX6Q_IO_P2V(x) IMX_IO_P2V(x)
  15. #define MX6Q_IO_ADDRESS(x) IOMEM(MX6Q_IO_P2V(x))
  16. /*
  17. * The following are the blocks that need to be statically mapped.
  18. * For other blocks, the base address really should be retrieved from
  19. * device tree.
  20. */
  21. #define MX6Q_SCU_BASE_ADDR 0x00a00000
  22. #define MX6Q_SCU_SIZE 0x1000
  23. #define MX6Q_CCM_BASE_ADDR 0x020c4000
  24. #define MX6Q_CCM_SIZE 0x4000
  25. #define MX6Q_ANATOP_BASE_ADDR 0x020c8000
  26. #define MX6Q_ANATOP_SIZE 0x1000
  27. #define MX6Q_UART4_BASE_ADDR 0x021f0000
  28. #define MX6Q_UART4_SIZE 0x4000
  29. #endif /* __MACH_MX6Q_H__ */