omap_hwmod_2xxx_3xxx_ipblock_data.c 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. /*
  2. * omap_hwmod_2xxx_3xxx_ipblock_data.c - common IP block data for OMAP2/3
  3. *
  4. * Copyright (C) 2011 Nokia Corporation
  5. * Paul Walmsley
  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 version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #include <plat/omap_hwmod.h>
  12. #include <plat/serial.h>
  13. #include <mach/irqs.h>
  14. #include "omap_hwmod_common_data.h"
  15. struct omap_hwmod_irq_info omap2_timer1_mpu_irqs[] = {
  16. { .irq = 37, },
  17. { .irq = -1 }
  18. };
  19. struct omap_hwmod_irq_info omap2_timer2_mpu_irqs[] = {
  20. { .irq = 38, },
  21. { .irq = -1 }
  22. };
  23. struct omap_hwmod_irq_info omap2_timer3_mpu_irqs[] = {
  24. { .irq = 39, },
  25. { .irq = -1 }
  26. };
  27. struct omap_hwmod_irq_info omap2_timer4_mpu_irqs[] = {
  28. { .irq = 40, },
  29. { .irq = -1 }
  30. };
  31. struct omap_hwmod_irq_info omap2_timer5_mpu_irqs[] = {
  32. { .irq = 41, },
  33. { .irq = -1 }
  34. };
  35. struct omap_hwmod_irq_info omap2_timer6_mpu_irqs[] = {
  36. { .irq = 42, },
  37. { .irq = -1 }
  38. };
  39. struct omap_hwmod_irq_info omap2_timer7_mpu_irqs[] = {
  40. { .irq = 43, },
  41. { .irq = -1 }
  42. };
  43. struct omap_hwmod_irq_info omap2_timer8_mpu_irqs[] = {
  44. { .irq = 44, },
  45. { .irq = -1 }
  46. };
  47. struct omap_hwmod_irq_info omap2_timer9_mpu_irqs[] = {
  48. { .irq = 45, },
  49. { .irq = -1 }
  50. };
  51. struct omap_hwmod_irq_info omap2_timer10_mpu_irqs[] = {
  52. { .irq = 46, },
  53. { .irq = -1 }
  54. };
  55. struct omap_hwmod_irq_info omap2_timer11_mpu_irqs[] = {
  56. { .irq = 47, },
  57. { .irq = -1 }
  58. };
  59. struct omap_hwmod_irq_info omap2_uart1_mpu_irqs[] = {
  60. { .irq = INT_24XX_UART1_IRQ, },
  61. { .irq = -1 }
  62. };
  63. struct omap_hwmod_irq_info omap2_uart2_mpu_irqs[] = {
  64. { .irq = INT_24XX_UART2_IRQ, },
  65. { .irq = -1 }
  66. };
  67. struct omap_hwmod_irq_info omap2_uart3_mpu_irqs[] = {
  68. { .irq = INT_24XX_UART3_IRQ, },
  69. { .irq = -1 }
  70. };
  71. struct omap_hwmod_irq_info omap2_dispc_irqs[] = {
  72. { .irq = 25 },
  73. { .irq = -1 }
  74. };
  75. struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs[] = {
  76. { .irq = INT_24XX_I2C1_IRQ, },
  77. { .irq = -1 }
  78. };
  79. struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs[] = {
  80. { .irq = INT_24XX_I2C2_IRQ, },
  81. { .irq = -1 }
  82. };
  83. struct omap_hwmod_irq_info omap2_gpio1_irqs[] = {
  84. { .irq = 29 }, /* INT_24XX_GPIO_BANK1 */
  85. { .irq = -1 }
  86. };
  87. struct omap_hwmod_irq_info omap2_gpio2_irqs[] = {
  88. { .irq = 30 }, /* INT_24XX_GPIO_BANK2 */
  89. { .irq = -1 }
  90. };
  91. struct omap_hwmod_irq_info omap2_gpio3_irqs[] = {
  92. { .irq = 31 }, /* INT_24XX_GPIO_BANK3 */
  93. { .irq = -1 }
  94. };
  95. struct omap_hwmod_irq_info omap2_gpio4_irqs[] = {
  96. { .irq = 32 }, /* INT_24XX_GPIO_BANK4 */
  97. { .irq = -1 }
  98. };
  99. struct omap_hwmod_irq_info omap2_dma_system_irqs[] = {
  100. { .name = "0", .irq = 12 }, /* INT_24XX_SDMA_IRQ0 */
  101. { .name = "1", .irq = 13 }, /* INT_24XX_SDMA_IRQ1 */
  102. { .name = "2", .irq = 14 }, /* INT_24XX_SDMA_IRQ2 */
  103. { .name = "3", .irq = 15 }, /* INT_24XX_SDMA_IRQ3 */
  104. { .irq = -1 }
  105. };
  106. struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs[] = {
  107. { .irq = 65 },
  108. { .irq = -1 }
  109. };
  110. struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs[] = {
  111. { .irq = 66 },
  112. { .irq = -1 }
  113. };