anubis-map.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* arch/arm/mach-s3c2410/include/mach/anubis-map.h
  2. *
  3. * Copyright (c) 2005 Simtec Electronics
  4. * http://www.simtec.co.uk/products/
  5. * Ben Dooks <ben@simtec.co.uk>
  6. *
  7. * ANUBIS - Memory map definitions
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. /* needs arch/map.h including with this */
  14. #ifndef __ASM_ARCH_ANUBISMAP_H
  15. #define __ASM_ARCH_ANUBISMAP_H
  16. /* start peripherals off after the S3C2410 */
  17. #define ANUBIS_IOADDR(x) (S3C2410_ADDR((x) + 0x01800000))
  18. #define ANUBIS_PA_CPLD (S3C2410_CS1 | (1<<26))
  19. /* we put the CPLD registers next, to get them out of the way */
  20. #define ANUBIS_VA_CTRL1 ANUBIS_IOADDR(0x00000000) /* 0x01800000 */
  21. #define ANUBIS_PA_CTRL1 (ANUBIS_PA_CPLD)
  22. #define ANUBIS_VA_IDREG ANUBIS_IOADDR(0x00300000) /* 0x01B00000 */
  23. #define ANUBIS_PA_IDREG (ANUBIS_PA_CPLD + (3<<23))
  24. #define ANUBIS_IDEPRI ANUBIS_IOADDR(0x01000000)
  25. #define ANUBIS_IDEPRIAUX ANUBIS_IOADDR(0x01100000)
  26. #define ANUBIS_IDESEC ANUBIS_IOADDR(0x01200000)
  27. #define ANUBIS_IDESECAUX ANUBIS_IOADDR(0x01300000)
  28. #endif /* __ASM_ARCH_ANUBISMAP_H */