defBF514.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. * File: include/asm-blackfin/mach-bf518/defBF514.h
  3. * Based on:
  4. * Author:
  5. *
  6. * Created:
  7. * Description:
  8. *
  9. * Rev:
  10. *
  11. * Modified:
  12. *
  13. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  14. *
  15. * This program is free software; you can redistribute it and/or modify
  16. * it under the terms of the GNU General Public License as published by
  17. * the Free Software Foundation; either version 2, or (at your option)
  18. * any later version.
  19. *
  20. * This program is distributed in the hope that it will be useful,
  21. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. * GNU General Public License for more details.
  24. *
  25. * You should have received a copy of the GNU General Public License
  26. * along with this program; see the file COPYING.
  27. * If not, write to the Free Software Foundation,
  28. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  29. */
  30. #ifndef _DEF_BF514_H
  31. #define _DEF_BF514_H
  32. /* Include all Core registers and bit definitions */
  33. #include <asm/def_LPBlackfin.h>
  34. /* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF514 */
  35. /* Include defBF51x_base.h for the set of #defines that are common to all ADSP-BF51x processors */
  36. #include "defBF51x_base.h"
  37. /* The following are the #defines needed by ADSP-BF514 that are not in the common header */
  38. /* SDH Registers */
  39. #define SDH_PWR_CTL 0xFFC03900 /* SDH Power Control */
  40. #define SDH_CLK_CTL 0xFFC03904 /* SDH Clock Control */
  41. #define SDH_ARGUMENT 0xFFC03908 /* SDH Argument */
  42. #define SDH_COMMAND 0xFFC0390C /* SDH Command */
  43. #define SDH_RESP_CMD 0xFFC03910 /* SDH Response Command */
  44. #define SDH_RESPONSE0 0xFFC03914 /* SDH Response0 */
  45. #define SDH_RESPONSE1 0xFFC03918 /* SDH Response1 */
  46. #define SDH_RESPONSE2 0xFFC0391C /* SDH Response2 */
  47. #define SDH_RESPONSE3 0xFFC03920 /* SDH Response3 */
  48. #define SDH_DATA_TIMER 0xFFC03924 /* SDH Data Timer */
  49. #define SDH_DATA_LGTH 0xFFC03928 /* SDH Data Length */
  50. #define SDH_DATA_CTL 0xFFC0392C /* SDH Data Control */
  51. #define SDH_DATA_CNT 0xFFC03930 /* SDH Data Counter */
  52. #define SDH_STATUS 0xFFC03934 /* SDH Status */
  53. #define SDH_STATUS_CLR 0xFFC03938 /* SDH Status Clear */
  54. #define SDH_MASK0 0xFFC0393C /* SDH Interrupt0 Mask */
  55. #define SDH_MASK1 0xFFC03940 /* SDH Interrupt1 Mask */
  56. #define SDH_FIFO_CNT 0xFFC03948 /* SDH FIFO Counter */
  57. #define SDH_FIFO 0xFFC03980 /* SDH Data FIFO */
  58. #define SDH_E_STATUS 0xFFC039C0 /* SDH Exception Status */
  59. #define SDH_E_MASK 0xFFC039C4 /* SDH Exception Mask */
  60. #define SDH_CFG 0xFFC039C8 /* SDH Configuration */
  61. #define SDH_RD_WAIT_EN 0xFFC039CC /* SDH Read Wait Enable */
  62. #define SDH_PID0 0xFFC039D0 /* SDH Peripheral Identification0 */
  63. #define SDH_PID1 0xFFC039D4 /* SDH Peripheral Identification1 */
  64. #define SDH_PID2 0xFFC039D8 /* SDH Peripheral Identification2 */
  65. #define SDH_PID3 0xFFC039DC /* SDH Peripheral Identification3 */
  66. #define SDH_PID4 0xFFC039E0 /* SDH Peripheral Identification4 */
  67. #define SDH_PID5 0xFFC039E4 /* SDH Peripheral Identification5 */
  68. #define SDH_PID6 0xFFC039E8 /* SDH Peripheral Identification6 */
  69. #define SDH_PID7 0xFFC039EC /* SDH Peripheral Identification7 */
  70. /* Removable Storage Interface Registers */
  71. #define RSI_PWR_CONTROL 0xFFC03800 /* RSI Power Control Register */
  72. #define RSI_CLK_CONTROL 0xFFC03804 /* RSI Clock Control Register */
  73. #define RSI_ARGUMENT 0xFFC03808 /* RSI Argument Register */
  74. #define RSI_COMMAND 0xFFC0380C /* RSI Command Register */
  75. #define RSI_RESP_CMD 0xFFC03810 /* RSI Response Command Register */
  76. #define RSI_RESPONSE0 0xFFC03814 /* RSI Response Register */
  77. #define RSI_RESPONSE1 0xFFC03818 /* RSI Response Register */
  78. #define RSI_RESPONSE2 0xFFC0381C /* RSI Response Register */
  79. #define RSI_RESPONSE3 0xFFC03820 /* RSI Response Register */
  80. #define RSI_DATA_TIMER 0xFFC03824 /* RSI Data Timer Register */
  81. #define RSI_DATA_LGTH 0xFFC03828 /* RSI Data Length Register */
  82. #define RSI_DATA_CONTROL 0xFFC0382C /* RSI Data Control Register */
  83. #define RSI_DATA_CNT 0xFFC03830 /* RSI Data Counter Register */
  84. #define RSI_STATUS 0xFFC03834 /* RSI Status Register */
  85. #define RSI_STATUSCL 0xFFC03838 /* RSI Status Clear Register */
  86. #define RSI_MASK0 0xFFC0383C /* RSI Interrupt 0 Mask Register */
  87. #define RSI_MASK1 0xFFC03840 /* RSI Interrupt 1 Mask Register */
  88. #define RSI_FIFO_CNT 0xFFC03848 /* RSI FIFO Counter Register */
  89. #define RSI_CEATA_CONTROL 0xFFC0384C /* RSI CEATA Register */
  90. #define RSI_FIFO 0xFFC03880 /* RSI Data FIFO Register */
  91. #define RSI_ESTAT 0xFFC038C0 /* RSI Exception Status Register */
  92. #define RSI_EMASK 0xFFC038C4 /* RSI Exception Mask Register */
  93. #define RSI_CONFIG 0xFFC038C8 /* RSI Configuration Register */
  94. #define RSI_RD_WAIT_EN 0xFFC038CC /* RSI Read Wait Enable Register */
  95. #define RSI_PID0 0xFFC03FE0 /* RSI Peripheral ID Register 0 */
  96. #define RSI_PID1 0xFFC03FE4 /* RSI Peripheral ID Register 1 */
  97. #define RSI_PID2 0xFFC03FE8 /* RSI Peripheral ID Register 2 */
  98. #define RSI_PID3 0xFFC03FEC /* RSI Peripheral ID Register 3 */
  99. #define RSI_PID4 0xFFC03FF0 /* RSI Peripheral ID Register 4 */
  100. #define RSI_PID5 0xFFC03FF4 /* RSI Peripheral ID Register 5 */
  101. #define RSI_PID6 0xFFC03FF8 /* RSI Peripheral ID Register 6 */
  102. #define RSI_PID7 0xFFC03FFC /* RSI Peripheral ID Register 7 */
  103. #endif /* _DEF_BF514_H */