regs-gpio.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* linux/arch/arm/plat-s3c64xx/include/mach/regs-gpio.h
  2. *
  3. * Copyright 2008 Openmoko, Inc.
  4. * Copyright 2008 Simtec Electronics
  5. * Ben Dooks <ben@simtec.co.uk>
  6. * http://armlinux.simtec.co.uk/
  7. *
  8. * S3C64XX - GPIO register definitions
  9. */
  10. #ifndef __ASM_PLAT_S3C64XX_REGS_GPIO_H
  11. #define __ASM_PLAT_S3C64XX_REGS_GPIO_H __FILE__
  12. /* Base addresses for each of the banks */
  13. #define S3C64XX_GPA_BASE (S3C64XX_VA_GPIO + 0x0000)
  14. #define S3C64XX_GPB_BASE (S3C64XX_VA_GPIO + 0x0020)
  15. #define S3C64XX_GPC_BASE (S3C64XX_VA_GPIO + 0x0040)
  16. #define S3C64XX_GPD_BASE (S3C64XX_VA_GPIO + 0x0060)
  17. #define S3C64XX_GPE_BASE (S3C64XX_VA_GPIO + 0x0080)
  18. #define S3C64XX_GPF_BASE (S3C64XX_VA_GPIO + 0x00A0)
  19. #define S3C64XX_GPG_BASE (S3C64XX_VA_GPIO + 0x00C0)
  20. #define S3C64XX_GPH_BASE (S3C64XX_VA_GPIO + 0x00E0)
  21. #define S3C64XX_GPI_BASE (S3C64XX_VA_GPIO + 0x0100)
  22. #define S3C64XX_GPJ_BASE (S3C64XX_VA_GPIO + 0x0120)
  23. #define S3C64XX_GPK_BASE (S3C64XX_VA_GPIO + 0x0800)
  24. #define S3C64XX_GPL_BASE (S3C64XX_VA_GPIO + 0x0810)
  25. #define S3C64XX_GPM_BASE (S3C64XX_VA_GPIO + 0x0820)
  26. #define S3C64XX_GPN_BASE (S3C64XX_VA_GPIO + 0x0830)
  27. #define S3C64XX_GPO_BASE (S3C64XX_VA_GPIO + 0x0140)
  28. #define S3C64XX_GPP_BASE (S3C64XX_VA_GPIO + 0x0160)
  29. #define S3C64XX_GPQ_BASE (S3C64XX_VA_GPIO + 0x0180)
  30. #endif /* __ASM_PLAT_S3C64XX_REGS_GPIO_H */