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