regs-gcr.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * arch/arm/mach-w90x900/include/mach/regs-gcr.h
  3. *
  4. * Copyright (c) 2010 Nuvoton technology corporation
  5. * All rights reserved.
  6. *
  7. * Wan ZongShun <mcuos.com@gmail.com>
  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 as published by
  11. * the Free Software Foundation; either version 2 of the License, or
  12. * (at your option) any later version.
  13. *
  14. */
  15. #ifndef __ASM_ARCH_REGS_GCR_H
  16. #define __ASM_ARCH_REGS_GCR_H
  17. /* Global control registers */
  18. #define GCR_BA W90X900_VA_GCR
  19. #define REG_PDID (GCR_BA+0x000)
  20. #define REG_PWRON (GCR_BA+0x004)
  21. #define REG_ARBCON (GCR_BA+0x008)
  22. #define REG_MFSEL (GCR_BA+0x00C)
  23. #define REG_EBIDPE (GCR_BA+0x010)
  24. #define REG_LCDDPE (GCR_BA+0x014)
  25. #define REG_GPIOCPE (GCR_BA+0x018)
  26. #define REG_GPIODPE (GCR_BA+0x01C)
  27. #define REG_GPIOEPE (GCR_BA+0x020)
  28. #define REG_GPIOFPE (GCR_BA+0x024)
  29. #define REG_GPIOGPE (GCR_BA+0x028)
  30. #define REG_GPIOHPE (GCR_BA+0x02C)
  31. #define REG_GPIOIPE (GCR_BA+0x030)
  32. #define REG_GTMP1 (GCR_BA+0x034)
  33. #define REG_GTMP2 (GCR_BA+0x038)
  34. #define REG_GTMP3 (GCR_BA+0x03C)
  35. #endif /* __ASM_ARCH_REGS_GCR_H */