cdef_LPBlackfin.h 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /************************************************************************
  2. *
  3. * cdef_LPBlackfin.h
  4. *
  5. * (c) Copyright 2002-2003 Analog Devices, Inc. All rights reserved.
  6. *
  7. ************************************************************************/
  8. #ifndef _CDEF_LPBLACKFIN_H
  9. #define _CDEF_LPBLACKFIN_H
  10. #if !defined(__ADSPLPBLACKFIN__)
  11. #warning cdef_LPBlackfin.h should only be included for 532 compatible chips.
  12. #endif
  13. #include <asm/arch-common/def_LPBlackfin.h>
  14. /* Cache & SRAM Memory */
  15. #define pSRAM_BASE_ADDRESS ((volatile void **)SRAM_BASE_ADDRESS)
  16. #define pDMEM_CONTROL ((volatile unsigned long *)DMEM_CONTROL)
  17. #define pDCPLB_STATUS ((volatile unsigned long *)DCPLB_STATUS)
  18. #define pDCPLB_FAULT_ADDR ((volatile void **)DCPLB_FAULT_ADDR)
  19. #define pDCPLB_ADDR0 ((volatile void **)DCPLB_ADDR0)
  20. #define pDCPLB_ADDR1 ((volatile void **)DCPLB_ADDR1)
  21. #define pDCPLB_ADDR2 ((volatile void **)DCPLB_ADDR2)
  22. #define pDCPLB_ADDR3 ((volatile void **)DCPLB_ADDR3)
  23. #define pDCPLB_ADDR4 ((volatile void **)DCPLB_ADDR4)
  24. #define pDCPLB_ADDR5 ((volatile void **)DCPLB_ADDR5)
  25. #define pDCPLB_ADDR6 ((volatile void **)DCPLB_ADDR6)
  26. #define pDCPLB_ADDR7 ((volatile void **)DCPLB_ADDR7)
  27. #define pDCPLB_ADDR8 ((volatile void **)DCPLB_ADDR8)
  28. #define pDCPLB_ADDR9 ((volatile void **)DCPLB_ADDR9)
  29. #define pDCPLB_ADDR10 ((volatile void **)DCPLB_ADDR10)
  30. #define pDCPLB_ADDR11 ((volatile void **)DCPLB_ADDR11)
  31. #define pDCPLB_ADDR12 ((volatile void **)DCPLB_ADDR12)
  32. #define pDCPLB_ADDR13 ((volatile void **)DCPLB_ADDR13)
  33. #define pDCPLB_ADDR14 ((volatile void **)DCPLB_ADDR14)
  34. #define pDCPLB_ADDR15 ((volatile void **)DCPLB_ADDR15)
  35. #define pDCPLB_DATA0 ((volatile unsigned long *)DCPLB_DATA0)
  36. #define pDCPLB_DATA1 ((volatile unsigned long *)DCPLB_DATA1)
  37. #define pDCPLB_DATA2 ((volatile unsigned long *)DCPLB_DATA2)
  38. #define pDCPLB_DATA3 ((volatile unsigned long *)DCPLB_DATA3)
  39. #define pDCPLB_DATA4 ((volatile unsigned long *)DCPLB_DATA4)
  40. #define pDCPLB_DATA5 ((volatile unsigned long *)DCPLB_DATA5)
  41. #define pDCPLB_DATA6 ((volatile unsigned long *)DCPLB_DATA6)
  42. #define pDCPLB_DATA7 ((volatile unsigned long *)DCPLB_DATA7)
  43. #define pDCPLB_DATA8 ((volatile unsigned long *)DCPLB_DATA8)
  44. #define pDCPLB_DATA9 ((volatile unsigned long *)DCPLB_DATA9)
  45. #define pDCPLB_DATA10 ((volatile unsigned long *)DCPLB_DATA10)
  46. #define pDCPLB_DATA11 ((volatile unsigned long *)DCPLB_DATA11)
  47. #define pDCPLB_DATA12 ((volatile unsigned long *)DCPLB_DATA12)
  48. #define pDCPLB_DATA13 ((volatile unsigned long *)DCPLB_DATA13)
  49. #define pDCPLB_DATA14 ((volatile unsigned long *)DCPLB_DATA14)
  50. #define pDCPLB_DATA15 ((volatile unsigned long *)DCPLB_DATA15)
  51. #define pDTEST_COMMAND ((volatile unsigned long *)DTEST_COMMAND)
  52. #define pDTEST_DATA0 ((volatile unsigned long *)DTEST_DATA0)
  53. #define pDTEST_DATA1 ((volatile unsigned long *)DTEST_DATA1)
  54. #define pIMEM_CONTROL ((volatile unsigned long *)IMEM_CONTROL)
  55. #define pICPLB_STATUS ((volatile unsigned long *)ICPLB_STATUS)
  56. #define pICPLB_FAULT_ADDR ((volatile void **)ICPLB_FAULT_ADDR)
  57. #define pICPLB_ADDR0 ((volatile void **)ICPLB_ADDR0)
  58. #define pICPLB_ADDR1 ((volatile void **)ICPLB_ADDR1)
  59. #define pICPLB_ADDR2 ((volatile void **)ICPLB_ADDR2)
  60. #define pICPLB_ADDR3 ((volatile void **)ICPLB_ADDR3)
  61. #define pICPLB_ADDR4 ((volatile void **)ICPLB_ADDR4)
  62. #define pICPLB_ADDR5 ((volatile void **)ICPLB_ADDR5)
  63. #define pICPLB_ADDR6 ((volatile void **)ICPLB_ADDR6)
  64. #define pICPLB_ADDR7 ((volatile void **)ICPLB_ADDR7)
  65. #define pICPLB_ADDR8 ((volatile void **)ICPLB_ADDR8)
  66. #define pICPLB_ADDR9 ((volatile void **)ICPLB_ADDR9)
  67. #define pICPLB_ADDR10 ((volatile void **)ICPLB_ADDR10)
  68. #define pICPLB_ADDR11 ((volatile void **)ICPLB_ADDR11)
  69. #define pICPLB_ADDR12 ((volatile void **)ICPLB_ADDR12)
  70. #define pICPLB_ADDR13 ((volatile void **)ICPLB_ADDR13)
  71. #define pICPLB_ADDR14 ((volatile void **)ICPLB_ADDR14)
  72. #define pICPLB_ADDR15 ((volatile void **)ICPLB_ADDR15)
  73. #define pICPLB_DATA0 ((volatile unsigned long *)ICPLB_DATA0)
  74. #define pICPLB_DATA1 ((volatile unsigned long *)ICPLB_DATA1)
  75. #define pICPLB_DATA2 ((volatile unsigned long *)ICPLB_DATA2)
  76. #define pICPLB_DATA3 ((volatile unsigned long *)ICPLB_DATA3)
  77. #define pICPLB_DATA4 ((volatile unsigned long *)ICPLB_DATA4)
  78. #define pICPLB_DATA5 ((volatile unsigned long *)ICPLB_DATA5)
  79. #define pICPLB_DATA6 ((volatile unsigned long *)ICPLB_DATA6)
  80. #define pICPLB_DATA7 ((volatile unsigned long *)ICPLB_DATA7)
  81. #define pICPLB_DATA8 ((volatile unsigned long *)ICPLB_DATA8)
  82. #define pICPLB_DATA9 ((volatile unsigned long *)ICPLB_DATA9)
  83. #define pICPLB_DATA10 ((volatile unsigned long *)ICPLB_DATA10)
  84. #define pICPLB_DATA11 ((volatile unsigned long *)ICPLB_DATA11)
  85. #define pICPLB_DATA12 ((volatile unsigned long *)ICPLB_DATA12)
  86. #define pICPLB_DATA13 ((volatile unsigned long *)ICPLB_DATA13)
  87. #define pICPLB_DATA14 ((volatile unsigned long *)ICPLB_DATA14)
  88. #define pICPLB_DATA15 ((volatile unsigned long *)ICPLB_DATA15)
  89. #define pITEST_COMMAND ((volatile unsigned long *)ITEST_COMMAND)
  90. #define pITEST_DATA0 ((volatile unsigned long *)ITEST_DATA0)
  91. #define pITEST_DATA1 ((volatile unsigned long *)ITEST_DATA1)
  92. /* Event/Interrupt Registers */
  93. #define pEVT0 ((volatile void **)EVT0)
  94. #define pEVT1 ((volatile void **)EVT1)
  95. #define pEVT2 ((volatile void **)EVT2)
  96. #define pEVT3 ((volatile void **)EVT3)
  97. #define pEVT4 ((volatile void **)EVT4)
  98. #define pEVT5 ((volatile void **)EVT5)
  99. #define pEVT6 ((volatile void **)EVT6)
  100. #define pEVT7 ((volatile void **)EVT7)
  101. #define pEVT8 ((volatile void **)EVT8)
  102. #define pEVT9 ((volatile void **)EVT9)
  103. #define pEVT10 ((volatile void **)EVT10)
  104. #define pEVT11 ((volatile void **)EVT11)
  105. #define pEVT12 ((volatile void **)EVT12)
  106. #define pEVT13 ((volatile void **)EVT13)
  107. #define pEVT14 ((volatile void **)EVT14)
  108. #define pEVT15 ((volatile void **)EVT15)
  109. #define pIMASK ((volatile unsigned long *)IMASK)
  110. #define pIPEND ((volatile unsigned long *)IPEND)
  111. #define pILAT ((volatile unsigned long *)ILAT)
  112. /* Core Timer Registers */
  113. #define pTCNTL ((volatile unsigned long *)TCNTL)
  114. #define pTPERIOD ((volatile unsigned long *)TPERIOD)
  115. #define pTSCALE ((volatile unsigned long *)TSCALE)
  116. #define pTCOUNT ((volatile unsigned long *)TCOUNT)
  117. /* Debug/MP/Emulation Registers */
  118. #define pDSPID ((volatile unsigned long *)DSPID)
  119. #define pDBGCTL ((volatile unsigned long *)DBGCTL)
  120. #define pDBGSTAT ((volatile unsigned long *)DBGSTAT)
  121. #define pEMUDAT ((volatile unsigned long *)EMUDAT)
  122. /* Trace Buffer Registers */
  123. #define pTBUFCTL ((volatile unsigned long *)TBUFCTL)
  124. #define pTBUFSTAT ((volatile unsigned long *)TBUFSTAT)
  125. #define pTBUF ((volatile void **)TBUF)
  126. /* Watch Point Control Registers */
  127. #define pWPIACTL ((volatile unsigned long *)WPIACTL)
  128. #define pWPIA0 ((volatile void **)WPIA0)
  129. #define pWPIA1 ((volatile void **)WPIA1)
  130. #define pWPIA2 ((volatile void **)WPIA2)
  131. #define pWPIA3 ((volatile void **)WPIA3)
  132. #define pWPIA4 ((volatile void **)WPIA4)
  133. #define pWPIA5 ((volatile void **)WPIA5)
  134. #define pWPIACNT0 ((volatile unsigned long *)WPIACNT0)
  135. #define pWPIACNT1 ((volatile unsigned long *)WPIACNT1)
  136. #define pWPIACNT2 ((volatile unsigned long *)WPIACNT2)
  137. #define pWPIACNT3 ((volatile unsigned long *)WPIACNT3)
  138. #define pWPIACNT4 ((volatile unsigned long *)WPIACNT4)
  139. #define pWPIACNT5 ((volatile unsigned long *)WPIACNT5)
  140. #define pWPDACTL ((volatile unsigned long *)WPDACTL)
  141. #define pWPDA0 ((volatile void **)WPDA0)
  142. #define pWPDA1 ((volatile void **)WPDA1)
  143. #define pWPDACNT0 ((volatile unsigned long *)WPDACNT0)
  144. #define pWPDACNT1 ((volatile unsigned long *)WPDACNT1)
  145. #define pWPSTAT ((volatile unsigned long *)WPSTAT)
  146. /* Performance Monitor Registers */
  147. #define pPFCTL ((volatile unsigned long *)PFCTL)
  148. #define pPFCNTR0 ((volatile unsigned long *)PFCNTR0)
  149. #define pPFCNTR1 ((volatile unsigned long *)PFCNTR1)
  150. #endif /* _CDEF_LPBLACKFIN_H */