modem_reg_base.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifndef __MODEM_REG_BASE_H__
  2. #define __MODEM_REG_BASE_H__
  3. /* ============================================================ */
  4. /* Modem 1 part */
  5. /* ============================================================ */
  6. /* MD peripheral register: MD bank8; AP bank2 */
  7. #define CLDMA_AP_BASE 0x200F0000
  8. #define CLDMA_AP_LENGTH 0x3000
  9. #define CLDMA_MD_BASE 0x200E0000
  10. #define CLDMA_MD_LENGTH 0x3000
  11. #define MD_BOOT_VECTOR 0x20190000
  12. #define MD_BOOT_VECTOR_KEY 0x2019379C
  13. #define MD_BOOT_VECTOR_EN 0x20195488
  14. #define MD_RGU_BASE 0x20050000
  15. #define MD_GLOBAL_CON0 0x20000450
  16. #define MD_GLOBAL_CON0_CLDMA_BIT 12
  17. /* #define MD_PEER_WAKEUP 0x20030B00 */
  18. #define MD_BUS_STATUS_BASE 0x20000000
  19. #define MD_BUS_STATUS_LENGTH 0x468
  20. #define MD_PC_MONITOR_BASE 0x201F0000
  21. #define MD_PC_MONITOR_LENGTH 0x114
  22. #define MD_TOPSM_STATUS_BASE 0x20030000
  23. #define MD_TOPSM_STATUS_LENGTH 0xBFF
  24. #define MD_PLL_BASE 0x20120000
  25. #define MD_PLL_LENGTH 0x800
  26. #define MD_OST_STATUS_BASE 0x20040000
  27. #define MD_OST_STATUS_LENGTH 0x1FF
  28. /* #define _MD_CCIF0_BASE (AP_CCIF0_BASE+0x1000) */
  29. #define CCIF_SRAM_SIZE 512
  30. /* ============================================================ */
  31. /* Modem 2 part */
  32. /* ============================================================ */
  33. #define MD2_BOOT_VECTOR 0x30190000
  34. #define MD2_BOOT_VECTOR_KEY 0x3019379C
  35. #define MD2_BOOT_VECTOR_EN 0x30195488
  36. #define MD2_BOOT_VECTOR_VALUE 0x00000000
  37. #define MD2_BOOT_VECTOR_KEY_VALUE 0x3567C766
  38. #define MD2_BOOT_VECTOR_EN_VALUE 0xA3B66175
  39. #define MD2_RGU_BASE 0x30050000
  40. #define APCCIF1_SRAM_SIZE 512
  41. /*
  42. * ============================================================
  43. * Modem 3 part
  44. * ============================================================
  45. * need modify, haow
  46. */
  47. #define MD3_BOOT_VECTOR 0x30190000
  48. #define MD3_BOOT_VECTOR_KEY 0x3019379C
  49. #define MD3_BOOT_VECTOR_EN 0x30195488
  50. #define MD3_BOOT_VECTOR_VALUE 0x00000000
  51. #define MD3_BOOT_VECTOR_KEY_VALUE 0x3567C766
  52. #define MD3_BOOT_VECTOR_EN_VALUE 0xA3B66175
  53. #define MD3_RGU_BASE 0x30050000
  54. #define APCCIF1_SRAM_SIZE 512
  55. #endif /* __MODEM_REG_BASE_H__ */