qti_map_chipinfo.h 987 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef QTI_MAP_CHIPINFO_H
  7. #define QTI_MAP_CHIPINFO_H
  8. #include <stdint.h>
  9. #include <qti_plat.h>
  10. #define QTI_JTAG_ID_REG 0x786130
  11. #define QTI_SOC_VERSION_MASK U(0xFFFF)
  12. #define QTI_SOC_REVISION_REG 0x1FC8000
  13. #define QTI_SOC_REVISION_MASK U(0xFFFF)
  14. #define QTI_JTAG_ID_SHIFT 12
  15. #define QTI_JTAG_ID_SC7180 U(0x012C)
  16. #define QTI_JTAG_ID_SC7180P U(0x0195)
  17. #define QTI_CHIPINFO_ID_SC7180 U(0x01A9)
  18. #define QTI_CHIPINFO_ID_SC7180P U(0x01EF)
  19. #define QTI_DEFAULT_CHIPINFO_ID U(0xFFFF)
  20. static const chip_id_info_t g_map_jtag_chipinfo_id[] = {
  21. {QTI_JTAG_ID_SC7180, QTI_CHIPINFO_ID_SC7180},
  22. {QTI_JTAG_ID_SC7180P, QTI_CHIPINFO_ID_SC7180P},
  23. };
  24. #endif /* QTI_MAP_CHIPINFO_H */