blob: 7303e20886f3c92c200e0dbb132f8e190b83cab6 [file] [log] [blame]
Bharath N89084c82022-11-01 17:57:17 +05301/*
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
9#include <stdint.h>
10
11#include <qti_plat.h>
12
13#define QTI_JTAG_ID_REG 0x786130
14#define QTI_JTAG_ID_SHIFT 12
15#define QTI_JTAG_ID_SC7280 U(0x0193)
16#define QTI_JTAG_ID_SC7280P U(0x01EB)
17#define QTI_JTAG_ID_SC8270 U(0x01E3)
18#define QTI_JTAG_ID_SC8270P U(0x020A)
19#define QTI_JTAG_ID_SC7270P U(0x0215)
20#define QTI_CHIPINFO_ID_SC7280 U(0x01E7)
21#define QTI_CHIPINFO_ID_SC7280P U(0x0222)
22#define QTI_CHIPINFO_ID_SC8270 U(0x0229)
23#define QTI_CHIPINFO_ID_SC8270P U(0x0233)
24#define QTI_CHIPINFO_ID_SC7270P U(0x0237)
25#define QTI_DEFAULT_CHIPINFO_ID U(0xFFFF)
26
27static const chip_id_info_t g_map_jtag_chipinfo_id[] = {
28 {QTI_JTAG_ID_SC7280, QTI_CHIPINFO_ID_SC7280},
29 {QTI_JTAG_ID_SC7280P, QTI_CHIPINFO_ID_SC7280P},
30 {QTI_JTAG_ID_SC8270, QTI_CHIPINFO_ID_SC8270},
31 {QTI_JTAG_ID_SC8270P, QTI_CHIPINFO_ID_SC8270P},
32 {QTI_JTAG_ID_SC7270P, QTI_CHIPINFO_ID_SC7270P},
33};
34#endif /* QTI_MAP_CHIPINFO_H */