1/*	$NetBSD: qcom,ids.h,v 1.1.1.1 2026/01/18 05:21:28 skrll Exp $	*/
2
3/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
4/*
5 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2022 Linaro Ltd
7 * Author: Krzysztof Kozlowski <krzk@kernel.org> based on previous work of Kumar Gala.
8 */
9#ifndef _DT_BINDINGS_ARM_QCOM_IDS_H
10#define _DT_BINDINGS_ARM_QCOM_IDS_H
11
12/*
13 * The MSM chipset and hardware revision used by Qualcomm bootloaders, DTS for
14 * older chipsets (qcom,msm-id) and in socinfo driver:
15 */
16#define QCOM_ID_MSM8260			70
17#define QCOM_ID_MSM8660			71
18#define QCOM_ID_APQ8060			86
19#define QCOM_ID_MSM8960			87
20#define QCOM_ID_APQ8064			109
21#define QCOM_ID_MSM8930			116
22#define QCOM_ID_MSM8630			117
23#define QCOM_ID_MSM8230			118
24#define QCOM_ID_APQ8030			119
25#define QCOM_ID_MSM8627			120
26#define QCOM_ID_MSM8227			121
27#define QCOM_ID_MSM8660A		122
28#define QCOM_ID_MSM8260A		123
29#define QCOM_ID_APQ8060A		124
30#define QCOM_ID_MSM8974			126
31#define QCOM_ID_MSM8225			127
32#define QCOM_ID_MSM8625			129
33#define QCOM_ID_MPQ8064			130
34#define QCOM_ID_MSM8960AB		138
35#define QCOM_ID_APQ8060AB		139
36#define QCOM_ID_MSM8260AB		140
37#define QCOM_ID_MSM8660AB		141
38#define QCOM_ID_MSM8930AA		142
39#define QCOM_ID_MSM8630AA		143
40#define QCOM_ID_MSM8230AA		144
41#define QCOM_ID_MSM8626			145
42#define QCOM_ID_MSM8610			147
43#define QCOM_ID_APQ8064AB		153
44#define QCOM_ID_MSM8930AB		154
45#define QCOM_ID_MSM8630AB		155
46#define QCOM_ID_MSM8230AB		156
47#define QCOM_ID_APQ8030AB		157
48#define QCOM_ID_MSM8226			158
49#define QCOM_ID_MSM8526			159
50#define QCOM_ID_APQ8030AA		160
51#define QCOM_ID_MSM8110			161
52#define QCOM_ID_MSM8210			162
53#define QCOM_ID_MSM8810			163
54#define QCOM_ID_MSM8212			164
55#define QCOM_ID_MSM8612			165
56#define QCOM_ID_MSM8112			166
57#define QCOM_ID_MSM8125			167
58#define QCOM_ID_MSM8225Q		168
59#define QCOM_ID_MSM8625Q		169
60#define QCOM_ID_MSM8125Q		170
61#define QCOM_ID_APQ8064AA		172
62#define QCOM_ID_APQ8084			178
63#define QCOM_ID_MSM8130			179
64#define QCOM_ID_MSM8130AA		180
65#define QCOM_ID_MSM8130AB		181
66#define QCOM_ID_MSM8627AA		182
67#define QCOM_ID_MSM8227AA		183
68#define QCOM_ID_APQ8074			184
69#define QCOM_ID_MSM8274			185
70#define QCOM_ID_MSM8674			186
71#define QCOM_ID_MDM9635			187
72#define QCOM_ID_MSM8974PRO_AC		194
73#define QCOM_ID_MSM8126			198
74#define QCOM_ID_APQ8026			199
75#define QCOM_ID_MSM8926			200
76#define QCOM_ID_IPQ8062			201
77#define QCOM_ID_IPQ8064			202
78#define QCOM_ID_IPQ8066			203
79#define QCOM_ID_IPQ8068			204
80#define QCOM_ID_MSM8326			205
81#define QCOM_ID_MSM8916			206
82#define QCOM_ID_MSM8994			207
83#define QCOM_ID_APQ8074PRO_AA		208
84#define QCOM_ID_APQ8074PRO_AB		209
85#define QCOM_ID_APQ8074PRO_AC		210
86#define QCOM_ID_MSM8274PRO_AA		211
87#define QCOM_ID_MSM8274PRO_AB		212
88#define QCOM_ID_MSM8274PRO_AC		213
89#define QCOM_ID_MSM8674PRO_AA		214
90#define QCOM_ID_MSM8674PRO_AB		215
91#define QCOM_ID_MSM8674PRO_AC		216
92#define QCOM_ID_MSM8974PRO_AA		217
93#define QCOM_ID_MSM8974PRO_AB		218
94#define QCOM_ID_APQ8028			219
95#define QCOM_ID_MSM8128			220
96#define QCOM_ID_MSM8228			221
97#define QCOM_ID_MSM8528			222
98#define QCOM_ID_MSM8628			223
99#define QCOM_ID_MSM8928			224
100#define QCOM_ID_MSM8510			225
101#define QCOM_ID_MSM8512			226
102#define QCOM_ID_MSM8936			233
103#define QCOM_ID_MDM9640			234
104#define QCOM_ID_MSM8939			239
105#define QCOM_ID_APQ8036			240
106#define QCOM_ID_APQ8039			241
107#define QCOM_ID_MSM8236			242
108#define QCOM_ID_MSM8636			243
109#define QCOM_ID_MSM8909			245
110#define QCOM_ID_MSM8996			246
111#define QCOM_ID_APQ8016			247
112#define QCOM_ID_MSM8216			248
113#define QCOM_ID_MSM8116			249
114#define QCOM_ID_MSM8616			250
115#define QCOM_ID_MSM8992			251
116#define QCOM_ID_APQ8092			252
117#define QCOM_ID_APQ8094			253
118#define QCOM_ID_MSM8209			258
119#define QCOM_ID_MSM8208			259
120#define QCOM_ID_MDM9209			260
121#define QCOM_ID_MDM9309			261
122#define QCOM_ID_MDM9609			262
123#define QCOM_ID_MSM8239			263
124#define QCOM_ID_MSM8952			264
125#define QCOM_ID_APQ8009			265
126#define QCOM_ID_MSM8956			266
127#define QCOM_ID_MSM8929			268
128#define QCOM_ID_MSM8629			269
129#define QCOM_ID_MSM8229			270
130#define QCOM_ID_APQ8029			271
131#define QCOM_ID_APQ8056			274
132#define QCOM_ID_MSM8609			275
133#define QCOM_ID_APQ8076			277
134#define QCOM_ID_MSM8976			278
135#define QCOM_ID_MDM9650			279
136#define QCOM_ID_IPQ8065			280
137#define QCOM_ID_IPQ8069			281
138#define QCOM_ID_MDM9655			283
139#define QCOM_ID_MDM9250			284
140#define QCOM_ID_MDM9255			285
141#define QCOM_ID_MDM9350			286
142#define QCOM_ID_APQ8052			289
143#define QCOM_ID_MDM9607			290
144#define QCOM_ID_APQ8096			291
145#define QCOM_ID_MSM8998			292
146#define QCOM_ID_MSM8953			293
147#define QCOM_ID_MSM8937			294
148#define QCOM_ID_APQ8037			295
149#define QCOM_ID_MDM8207			296
150#define QCOM_ID_MDM9207			297
151#define QCOM_ID_MDM9307			298
152#define QCOM_ID_MDM9628			299
153#define QCOM_ID_MSM8909W		300
154#define QCOM_ID_APQ8009W		301
155#define QCOM_ID_MSM8996L		302
156#define QCOM_ID_MSM8917			303
157#define QCOM_ID_APQ8053			304
158#define QCOM_ID_MSM8996SG		305
159#define QCOM_ID_APQ8017			307
160#define QCOM_ID_MSM8217			308
161#define QCOM_ID_MSM8617			309
162#define QCOM_ID_MSM8996AU		310
163#define QCOM_ID_APQ8096AU		311
164#define QCOM_ID_APQ8096SG		312
165#define QCOM_ID_MSM8940			313
166#define QCOM_ID_SDX201			314
167#define QCOM_ID_SDM660			317
168#define QCOM_ID_SDM630			318
169#define QCOM_ID_APQ8098			319
170#define QCOM_ID_MSM8920			320
171#define QCOM_ID_SDM845			321
172#define QCOM_ID_MDM9206			322
173#define QCOM_ID_IPQ8074			323
174#define QCOM_ID_SDA660			324
175#define QCOM_ID_SDM658			325
176#define QCOM_ID_SDA658			326
177#define QCOM_ID_SDA630			327
178#define QCOM_ID_MSM8905			331
179#define QCOM_ID_SDX202			333
180#define QCOM_ID_SDM670			336
181#define QCOM_ID_SDM450			338
182#define QCOM_ID_SM8150			339
183#define QCOM_ID_SDA845			341
184#define QCOM_ID_IPQ8072			342
185#define QCOM_ID_IPQ8076			343
186#define QCOM_ID_IPQ8078			344
187#define QCOM_ID_SDM636			345
188#define QCOM_ID_SDA636			346
189#define QCOM_ID_SDM632			349
190#define QCOM_ID_SDA632			350
191#define QCOM_ID_SDA450			351
192#define QCOM_ID_SDM439			353
193#define QCOM_ID_SDM429			354
194#define QCOM_ID_SM8250			356
195#define QCOM_ID_SA8155			362
196#define QCOM_ID_SDA439			363
197#define QCOM_ID_SDA429			364
198#define QCOM_ID_SM7150			365
199#define QCOM_ID_SM7150P			366
200#define QCOM_ID_IPQ8070			375
201#define QCOM_ID_IPQ8071			376
202#define QCOM_ID_QM215			386
203#define QCOM_ID_IPQ8072A		389
204#define QCOM_ID_IPQ8074A		390
205#define QCOM_ID_IPQ8076A		391
206#define QCOM_ID_IPQ8078A		392
207#define QCOM_ID_SM6125			394
208#define QCOM_ID_IPQ8070A		395
209#define QCOM_ID_IPQ8071A		396
210#define QCOM_ID_IPQ8172			397
211#define QCOM_ID_IPQ8173			398
212#define QCOM_ID_IPQ8174			399
213#define QCOM_ID_IPQ6018			402
214#define QCOM_ID_IPQ6028			403
215#define QCOM_ID_SDM429W			416
216#define QCOM_ID_SM4250			417
217#define QCOM_ID_IPQ6000			421
218#define QCOM_ID_IPQ6010			422
219#define QCOM_ID_SC7180			425
220#define QCOM_ID_SM6350			434
221#define QCOM_ID_QCM2150			436
222#define QCOM_ID_SDA429W			437
223#define QCOM_ID_SM8350			439
224#define QCOM_ID_QCM2290			441
225#define QCOM_ID_SM7125			443
226#define QCOM_ID_SM6115			444
227#define QCOM_ID_IPQ5010			446
228#define QCOM_ID_IPQ5018			447
229#define QCOM_ID_IPQ5028			448
230#define QCOM_ID_SC8280XP		449
231#define QCOM_ID_IPQ6005			453
232#define QCOM_ID_QRB5165			455
233#define QCOM_ID_SM8450			457
234#define QCOM_ID_SM7225			459
235#define QCOM_ID_SA8295P			460
236#define QCOM_ID_SA8540P			461
237#define QCOM_ID_QCM4290			469
238#define QCOM_ID_QCS4290			470
239#define QCOM_ID_SM7325			475
240#define QCOM_ID_SM8450_2		480
241#define QCOM_ID_SM8450_3		482
242#define QCOM_ID_SC7280			487
243#define QCOM_ID_SC7180P			495
244#define QCOM_ID_QCM6490			497
245#define QCOM_ID_SM7325P			499
246#define QCOM_ID_IPQ5000			503
247#define QCOM_ID_IPQ0509			504
248#define QCOM_ID_IPQ0518			505
249#define QCOM_ID_SM6375			507
250#define QCOM_ID_IPQ9514			510
251#define QCOM_ID_IPQ9550			511
252#define QCOM_ID_IPQ9554			512
253#define QCOM_ID_IPQ9570			513
254#define QCOM_ID_IPQ9574			514
255#define QCOM_ID_SM8550			519
256#define QCOM_ID_IPQ5016			520
257#define QCOM_ID_IPQ9510			521
258#define QCOM_ID_QRB4210			523
259#define QCOM_ID_QRB2210			524
260#define QCOM_ID_SM8475			530
261#define QCOM_ID_SM8475P			531
262#define QCOM_ID_SA8775P			534
263#define QCOM_ID_QRU1000			539
264#define QCOM_ID_SM8475_2		540
265#define QCOM_ID_QDU1000			545
266#define QCOM_ID_X1E80100		555
267#define QCOM_ID_SM8650			557
268#define QCOM_ID_SM4450			568
269#define QCOM_ID_QDU1010			587
270#define QCOM_ID_QRU1032			588
271#define QCOM_ID_QRU1052			589
272#define QCOM_ID_QRU1062			590
273#define QCOM_ID_IPQ5332			592
274#define QCOM_ID_IPQ5322			593
275#define QCOM_ID_IPQ5312			594
276#define QCOM_ID_IPQ5302			595
277#define QCOM_ID_QCS8550			603
278#define QCOM_ID_QCM8550			604
279#define QCOM_ID_IPQ5300			624
280#define QCOM_ID_IPQ5321			650
281#define QCOM_ID_QCS8300			674
282#define QCOM_ID_QCS8275			675
283
284/*
285 * The board type and revision information, used by Qualcomm bootloaders and
286 * DTS for older chipsets (qcom,board-id):
287 */
288#define QCOM_BOARD_ID(a, major, minor) \
289	(((major & 0xff) << 16) | ((minor & 0xff) << 8) | QCOM_BOARD_ID_##a)
290
291#define QCOM_BOARD_ID_MTP			8
292#define QCOM_BOARD_ID_DRAGONBOARD		10
293#define QCOM_BOARD_ID_QRD			11
294#define QCOM_BOARD_ID_SBC			24
295
296#endif /* _DT_BINDINGS_ARM_QCOM_IDS_H */
297