xref: /aosp_15_r20/external/coreboot/src/soc/qualcomm/sc7280/include/soc/socinfo.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * CHIPINFO_PARTNUM_*
5  *
6  * Definitions of part number/JTAG-ID fields.
7  */
8 #define CHIPINFO_PARTNUM_SM_KODIAK		0x192
9 #define CHIPINFO_PARTNUM_SC_KODIAK_CHROME	0x193
10 #define CHIPINFO_PARTNUM_SC_KODIAK_WINDOWS	0x194
11 #define CHIPINFO_PARTNUM_QCM_KODIAK		0x197
12 #define CHIPINFO_PARTNUM_QCS_KODIAK		0x198
13 #define CHIPINFO_PARTNUM_SMP_KODIAK		0x1A1
14 #define CHIPINFO_PARTNUM_SM_KODIAK_LTE_ONLY	0x1B5
15 #define CHIPINFO_PARTNUM_SCP_KODIAK		0x1EB
16 #define CHIPINFO_PARTNUM_SC_8CGEN3		0x1E3
17 #define CHIPINFO_PARTNUM_SCP_8CGEN3		0x20A
18 #define CHIPINFO_PARTNUM_KODIAK_SCP_7CGEN3	0x215
19 #define CHIPINFO_PARTNUM_QCS_KODIAK_LITE	0x20F
20 #define CHIPINFO_PARTNUM_QCM_KODIAK_LITE	0x20E
21 
22 
23 #define DEVICE_ID                       0xFFFF
24 
25 struct chipinfo {
26 	uint16_t jtagid : 14;
27 	uint16_t modem  : 1;
28 	uint16_t pro    : 1;
29 };
30 
31 uint16_t socinfo_modem_supported(void);
32 uint16_t socinfo_pro_part(void);
33