commandProcessing.c 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*
  2. * R8A7740 processor support
  3. *
  4. * Copyright (C) 2011 Renesas Solutions Corp.
  5. * Copyright (C) 2011 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; version 2 of the License.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #include <linux/kernel.h>
  21. #include <linux/init.h>
  22. #include <linux/interrupt.h>
  23. #include <linux/irq.h>
  24. #include <linux/io.h>
  25. #include <linux/sh_intc.h>
  26. #include <mach/intc.h>
  27. #include <mach/irqs.h>
  28. #include <asm/mach-types.h>
  29. #include <asm/mach/arch.h>
  30. /*
  31. * INTCA
  32. */
  33. enum {
  34. UNUSED_INTCA = 0,
  35. /* interrupt sources INTCA */
  36. DIRC,
  37. ATAPI,
  38. IIC1_ALI, IIC1_TACKI, IIC1_WAITI, IIC1_DTEI,
  39. AP_ARM_COMMTX, AP_ARM_COMMRX,
  40. MFI, MFIS,
  41. BBIF1, BBIF2,
  42. USBHSDMAC,
  43. USBF_OUL_SOF, USBF_IXL_INT,
  44. SGX540,
  45. CMT1_0, CMT1_1, CMT1_2, CMT1_3,
  46. CMT2,
  47. CMT3,
  48. KEYSC,
  49. SCIFA0, SCIFA1, SCIFA2, SCIFA3,
  50. MSIOF2, MSIOF1,
  51. SCIFA4, SCIFA5, SCIFB,
  52. FLCTL_FLSTEI, FLCTL_FLTENDI, FLCTL_FLTREQ0I, FLCTL_FLTREQ1I,
  53. SDHI0_0, SDHI0_1, SDHI0_2, SDHI0_3,
  54. SDHI1_0, SDHI1_1, SDHI1_2, SDHI1_3,
  55. AP_ARM_L2CINT,
  56. IRDA,
  57. TPU0,
  58. SCIFA6, SCIFA7,
  59. GbEther,
  60. ICBS0,
  61. DDM,
  62. SDHI2_0, SDHI2_1, SDHI2_2, SDHI2_3,
  63. RWDT0,
  64. DMAC1_1_DEI0, DMAC1_1_DEI1, DMAC1_1_DEI2, DMAC1_1_DEI3,
  65. DMAC1_2_DEI4, DMAC1_2_DEI5, DMAC1_2_DADERR,
  66. DMAC2_1_DEI0, DMAC2_1_DEI1, DMAC2_1_DEI2, DMAC2_1_DEI3,
  67. DMAC2_2_DEI4, DMAC2_2_DEI5, DMAC2_2_DADERR,
  68. DMAC3_1_DEI0, DMAC3_1_DEI1, DMAC3_1_DEI2, DMAC3_1_DEI3,
  69. DMAC3_2_DEI4, DMAC3_2_DEI5, DMAC3_2_DADERR,
  70. SHWYSTAT_RT, SHWYSTAT_HS, SHWYSTAT_COM,
  71. HDMI,
  72. USBH_INT, USBH_OHCI, USBH_EHCI, USBH_PME, USBH_BIND,
  73. RSPI_OVRF, RSPI_SPTEF, RSPI_SPRF,
  74. SPU2_0, SPU2_1,
  75. FSI, FMSI,
  76. HDMI_SSS, HDMI_KEY,
  77. IPMMU,
  78. AP_ARM_CTIIRQ, AP_ARM_PMURQ,
  79. MFIS2,
  80. CPORTR2S,
  81. CMT14, CMT15,
  82. MMCIF_0, MMCIF_1, MMCIF_2,
  83. SIM_ERI, SIM_RXI, SIM_TXI, SIM_TEI,
  84. STPRO_0, STPRO_1, STPRO_2, STPRO_3, STPRO_4,
  85. /* interrupt groups INTCA */
  86. DMAC1_1, DMAC1_2,
  87. DMAC2_1, DMAC2_2,
  88. DMAC3_1, DMAC3_2,
  89. AP_ARM1, AP_ARM2,
  90. SDHI0, SDHI1, SDHI2,
  91. SHWYSTAT,
  92. USBF, USBH1, USBH2,
  93. RSPI, SPU2, FLCTL, IIC1,
  94. };