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