xref: /linux/include/dt-bindings/arm/qcom,ids.h (revision a79a4b3097bc28b0b617c4994c9fe4a4e1d00096)
1*a79a4b30SKrzysztof Kozlowski /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
2*a79a4b30SKrzysztof Kozlowski /*
3*a79a4b30SKrzysztof Kozlowski  * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4*a79a4b30SKrzysztof Kozlowski  * Copyright (c) 2022 Linaro Ltd
5*a79a4b30SKrzysztof Kozlowski  * Author: Krzysztof Kozlowski <krzk@kernel.org> based on previous work of Kumar Gala.
6*a79a4b30SKrzysztof Kozlowski  */
7*a79a4b30SKrzysztof Kozlowski #ifndef _DT_BINDINGS_ARM_QCOM_IDS_H
8*a79a4b30SKrzysztof Kozlowski #define _DT_BINDINGS_ARM_QCOM_IDS_H
9*a79a4b30SKrzysztof Kozlowski 
10*a79a4b30SKrzysztof Kozlowski /*
11*a79a4b30SKrzysztof Kozlowski  * The MSM chipset and hardware revision used by Qualcomm bootloaders, DTS for
12*a79a4b30SKrzysztof Kozlowski  * older chipsets (qcom,msm-id) and in socinfo driver:
13*a79a4b30SKrzysztof Kozlowski  */
14*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8960			87
15*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8064			109
16*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8660A		122
17*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8260A		123
18*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8060A		124
19*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974			126
20*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MPQ8064			130
21*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8960AB		138
22*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8060AB		139
23*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8260AB		140
24*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8660AB		141
25*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8626			145
26*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8610			147
27*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8064AB		153
28*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8226			158
29*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8526			159
30*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8110			161
31*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8210			162
32*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8810			163
33*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8212			164
34*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8612			165
35*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8112			166
36*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8225Q		168
37*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8625Q		169
38*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8125Q		170
39*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8064AA		172
40*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8084			178
41*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074			184
42*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274			185
43*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674			186
44*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974PRO_AC		194
45*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8126			198
46*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8026			199
47*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8926			200
48*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8326			205
49*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8916			206
50*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8994			207
51*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AA		208
52*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AB		209
53*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AC		210
54*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AA		211
55*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AB		212
56*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AC		213
57*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AA		214
58*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AB		215
59*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AC		216
60*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974PRO_AA		217
61*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974PRO_AB		218
62*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8028			219
63*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8128			220
64*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8228			221
65*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8528			222
66*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8628			223
67*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8928			224
68*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8510			225
69*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8512			226
70*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8936			233
71*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8939			239
72*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8036			240
73*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8039			241
74*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996			246
75*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8016			247
76*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8216			248
77*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8116			249
78*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8616			250
79*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8992			251
80*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8094			253
81*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9607			290
82*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096			291
83*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8998			292
84*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8953			293
85*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM8207			296
86*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9207			297
87*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9307			298
88*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9628			299
89*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8053			304
90*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996SG		305
91*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996AU		310
92*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096AU		311
93*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096SG		312
94*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM660			317
95*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM630			318
96*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8098			319
97*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM845			321
98*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9206			322
99*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8074			323
100*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA660			324
101*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM658			325
102*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA658			326
103*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA630			327
104*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM450			338
105*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA845			341
106*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8072			342
107*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8076			343
108*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8078			344
109*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM636			345
110*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA636			346
111*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM632			349
112*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA632			350
113*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA450			351
114*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8250			356
115*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8070			375
116*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8071			376
117*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8072A		389
118*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8074A		390
119*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8076A		391
120*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8078A		392
121*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6125			394
122*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8070A		395
123*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8071A		396
124*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6018			402
125*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6028			403
126*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6000			421
127*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6010			422
128*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7180			425
129*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6350			434
130*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8350			439
131*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC8280XP		449
132*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6005			453
133*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_QRB5165			455
134*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450			457
135*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM7225			459
136*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SA8295P			460
137*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SA8540P			461
138*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450_2		480
139*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450_3		482
140*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7280			487
141*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7180P			495
142*a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6375			507
143*a79a4b30SKrzysztof Kozlowski 
144*a79a4b30SKrzysztof Kozlowski /*
145*a79a4b30SKrzysztof Kozlowski  * The board type and revision information, used by Qualcomm bootloaders and
146*a79a4b30SKrzysztof Kozlowski  * DTS for older chipsets (qcom,board-id):
147*a79a4b30SKrzysztof Kozlowski  */
148*a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID(a, major, minor) \
149*a79a4b30SKrzysztof Kozlowski 	(((major & 0xff) << 16) | ((minor & 0xff) << 8) | QCOM_BOARD_ID_##a)
150*a79a4b30SKrzysztof Kozlowski 
151*a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_MTP			8
152*a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_DRAGONBOARD		10
153*a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_SBC			24
154*a79a4b30SKrzysztof Kozlowski 
155*a79a4b30SKrzysztof Kozlowski #endif /* _DT_BINDINGS_ARM_QCOM_IDS_H */
156