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 
9 #include <stdint.h>
10 
11 #include <qti_plat.h>
12 
13 #define QTI_JTAG_ID_REG                         0x786130
14 #define QTI_SOC_VERSION_MASK                    U(0xFFFF)
15 #define QTI_SOC_REVISION_REG                    0x1FC8000
16 #define QTI_SOC_REVISION_MASK                   U(0xFFFF)
17 #define QTI_JTAG_ID_SHIFT                       12
18 #define QTI_JTAG_ID_SC7180                      U(0x012C)
19 #define QTI_JTAG_ID_SC7180P                     U(0x0195)
20 #define QTI_CHIPINFO_ID_SC7180                  U(0x01A9)
21 #define QTI_CHIPINFO_ID_SC7180P                 U(0x01EF)
22 #define QTI_DEFAULT_CHIPINFO_ID                 U(0xFFFF)
23 
24 static const chip_id_info_t g_map_jtag_chipinfo_id[] = {
25 	{QTI_JTAG_ID_SC7180, QTI_CHIPINFO_ID_SC7180},
26 	{QTI_JTAG_ID_SC7180P, QTI_CHIPINFO_ID_SC7180P},
27 };
28 #endif /* QTI_MAP_CHIPINFO_H */
29