hardware.h 1004 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * This file contains the hardware definitions of the Freescale STMP3XXX
  3. *
  4. * Copyright (C) 2005 Sigmatel Inc
  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 __ASM_ARCH_HARDWARE_H
  18. #define __ASM_ARCH_HARDWARE_H
  19. /*
  20. * Where in virtual memory the IO devices (timers, system controllers
  21. * and so on)
  22. */
  23. #define IO_BASE 0xF0000000 /* VA of IO */
  24. #define IO_SIZE 0x00100000 /* How much? */
  25. #define IO_START 0x80000000 /* PA of IO */
  26. /* macro to get at IO space when running virtually */
  27. #define IO_ADDRESS(x) (((x) & 0x000fffff) | IO_BASE)
  28. #endif