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