alarmProcessingDataOperation.c 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /*
  2. * omap_hwmod_2xxx_interconnect_data.c - common interconnect data for OMAP2xxx
  3. *
  4. * Copyright (C) 2009-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. * XXX handle crossbar/shared link difference for L3?
  12. * XXX these should be marked initdata for multi-OMAP kernels
  13. */
  14. #include <asm/sizes.h>
  15. #include "omap_hwmod.h"
  16. #include "l3_2xxx.h"
  17. #include "l4_2xxx.h"
  18. #include "serial.h"
  19. #include "omap_hwmod_common_data.h"
  20. static struct omap_hwmod_addr_space omap2xxx_uart1_addr_space[] = {
  21. {
  22. .pa_start = OMAP2_UART1_BASE,
  23. .pa_end = OMAP2_UART1_BASE + SZ_8K - 1,
  24. .flags = ADDR_MAP_ON_INIT | ADDR_TYPE_RT,
  25. },
  26. { }
  27. };
  28. static struct omap_hwmod_addr_space omap2xxx_uart2_addr_space[] = {
  29. {
  30. .pa_start = OMAP2_UART2_BASE,
  31. .pa_end = OMAP2_UART2_BASE + SZ_1K - 1,
  32. .flags = ADDR_MAP_ON_INIT | ADDR_TYPE_RT,
  33. },
  34. { }
  35. };
  36. static struct omap_hwmod_addr_space omap2xxx_uart3_addr_space[] = {
  37. {
  38. .pa_start = OMAP2_UART3_BASE,
  39. .pa_end = OMAP2_UART3_BASE + SZ_1K - 1,
  40. .flags = ADDR_MAP_ON_INIT | ADDR_TYPE_RT,
  41. },
  42. { }
  43. };
  44. static struct omap_hwmod_addr_space omap2xxx_timer2_addrs[] = {
  45. {
  46. .pa_start = 0x4802a000,
  47. .pa_end = 0x4802a000 + SZ_1K - 1,
  48. .flags = ADDR_TYPE_RT
  49. },
  50. { }
  51. };
  52. static struct omap_hwmod_addr_space omap2xxx_timer3_addrs[] = {
  53. {
  54. .pa_start = 0x48078000,
  55. .pa_end = 0x48078000 + SZ_1K - 1,
  56. .flags = ADDR_TYPE_RT
  57. },
  58. { }
  59. };
  60. static struct omap_hwmod_addr_space omap2xxx_timer4_addrs[] = {
  61. {
  62. .pa_start = 0x4807a000,
  63. .pa_end = 0x4807a000 + SZ_1K - 1,
  64. .flags = ADDR_TYPE_RT
  65. },
  66. { }
  67. };
  68. static struct omap_hwmod_addr_space omap2xxx_timer5_addrs[] = {
  69. {
  70. .pa_start = 0x4807c000,
  71. .pa_end = 0x4807c000 + SZ_1K - 1,
  72. .flags = ADDR_TYPE_RT
  73. },
  74. { }
  75. };
  76. static struct omap_hwmod_addr_space omap2xxx_timer6_addrs[] = {
  77. {
  78. .pa_start = 0x4807e000,
  79. .pa_end = 0x4807e000 + SZ_1K - 1,
  80. .flags = ADDR_TYPE_RT
  81. },
  82. { }
  83. };
  84. static struct omap_hwmod_addr_space omap2xxx_timer7_addrs[] = {
  85. {
  86. .pa_start = 0x48080000,
  87. .pa_end = 0x48080000 + SZ_1K - 1,
  88. .flags = ADDR_TYPE_RT
  89. },
  90. { }
  91. };
  92. static struct omap_hwmod_addr_space omap2xxx_timer8_addrs[] = {
  93. {
  94. .pa_start = 0x48082000,
  95. .pa_end = 0x48082000 + SZ_1K - 1,
  96. .flags = ADDR_TYPE_RT
  97. },
  98. { }
  99. };
  100. static struct omap_hwmod_addr_space omap2xxx_timer9_addrs[] = {
  101. {
  102. .pa_start = 0x48084000,
  103. .pa_end = 0x48084000 + SZ_1K - 1,
  104. .flags = ADDR_TYPE_RT
  105. },
  106. { }
  107. };
  108. struct omap_hwmod_addr_space omap2xxx_mcbsp2_addrs[] = {
  109. {
  110. .name = "mpu",
  111. .pa_start = 0x48076000,
  112. .pa_end = 0x480760ff,
  113. .flags = ADDR_TYPE_RT
  114. },
  115. { }
  116. };
  117. static struct omap_hwmod_addr_space omap2_rng_addr_space[] = {
  118. {
  119. .pa_start = 0x480a0000,
  120. .pa_end = 0x480a004f,
  121. .flags = ADDR_TYPE_RT
  122. },
  123. { }
  124. };