regs-irq.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * arch/arm/mach-nuc93x/include/mach/regs-irq.h
  3. *
  4. * Copyright (c) 2008 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_IRQ_H
  16. #define ___ASM_ARCH_REGS_IRQ_H
  17. /* Advance Interrupt Controller (AIC) Registers */
  18. #define AIC_BA NUC93X_VA_IRQ
  19. #define REG_AIC_IRQSC (AIC_BA+0x80)
  20. #define REG_AIC_GEN (AIC_BA+0x84)
  21. #define REG_AIC_GASR (AIC_BA+0x88)
  22. #define REG_AIC_GSCR (AIC_BA+0x8C)
  23. #define REG_AIC_IRSR (AIC_BA+0x100)
  24. #define REG_AIC_IASR (AIC_BA+0x104)
  25. #define REG_AIC_ISR (AIC_BA+0x108)
  26. #define REG_AIC_IPER (AIC_BA+0x10C)
  27. #define REG_AIC_ISNR (AIC_BA+0x110)
  28. #define REG_AIC_IMR (AIC_BA+0x114)
  29. #define REG_AIC_OISR (AIC_BA+0x118)
  30. #define REG_AIC_MECR (AIC_BA+0x120)
  31. #define REG_AIC_MDCR (AIC_BA+0x124)
  32. #define REG_AIC_SSCR (AIC_BA+0x128)
  33. #define REG_AIC_SCCR (AIC_BA+0x12C)
  34. #define REG_AIC_EOSCR (AIC_BA+0x130)
  35. #define AIC_IPER (0x10C)
  36. #define AIC_ISNR (0x110)
  37. #endif /* ___ASM_ARCH_REGS_IRQ_H */