map-s3c.h 839 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2008 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * S3C24XX - Memory map definitions
  7. */
  8. #ifndef __ASM_PLAT_MAP_S3C_H
  9. #define __ASM_PLAT_MAP_S3C_H __FILE__
  10. #include "map.h"
  11. /*
  12. * GPIO ports
  13. *
  14. * the calculation for the VA of this must ensure that
  15. * it is the same distance apart from the UART in the
  16. * phsyical address space, as the initial mapping for the IO
  17. * is done as a 1:1 mapping. This puts it (currently) at
  18. * 0xFA800000, which is not in the way of any current mapping
  19. * by the base system.
  20. */
  21. #define S3C64XX_VA_GPIO S3C_ADDR_CPU(0x00000000)
  22. #define S3C64XX_VA_MODEM S3C_ADDR_CPU(0x00100000)
  23. #define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000)
  24. #define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
  25. #include "map-s5p.h"
  26. #endif /* __ASM_PLAT_MAP_S3C_H */