regs-gpio.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* linux/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h
  2. *
  3. * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * S5P64X0 - GPIO register definitions
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __ASM_ARCH_REGS_GPIO_H
  13. #define __ASM_ARCH_REGS_GPIO_H __FILE__
  14. #include <mach/map.h>
  15. /* Base addresses for each of the banks */
  16. #define S5P64X0_GPA_BASE (S5P_VA_GPIO + 0x0000)
  17. #define S5P64X0_GPB_BASE (S5P_VA_GPIO + 0x0020)
  18. #define S5P64X0_GPC_BASE (S5P_VA_GPIO + 0x0040)
  19. #define S5P64X0_GPF_BASE (S5P_VA_GPIO + 0x00A0)
  20. #define S5P64X0_GPG_BASE (S5P_VA_GPIO + 0x00C0)
  21. #define S5P64X0_GPH_BASE (S5P_VA_GPIO + 0x00E0)
  22. #define S5P64X0_GPI_BASE (S5P_VA_GPIO + 0x0100)
  23. #define S5P64X0_GPJ_BASE (S5P_VA_GPIO + 0x0120)
  24. #define S5P64X0_GPN_BASE (S5P_VA_GPIO + 0x0830)
  25. #define S5P64X0_GPP_BASE (S5P_VA_GPIO + 0x0160)
  26. #define S5P64X0_GPR_BASE (S5P_VA_GPIO + 0x0290)
  27. #define S5P6450_GPD_BASE (S5P_VA_GPIO + 0x0060)
  28. #define S5P6450_GPK_BASE (S5P_VA_GPIO + 0x0140)
  29. #define S5P6450_GPQ_BASE (S5P_VA_GPIO + 0x0180)
  30. #define S5P6450_GPS_BASE (S5P_VA_GPIO + 0x0300)
  31. #endif /* __ASM_ARCH_REGS_GPIO_H */