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 */ 1456abffc7SStephan Gerhold #define QCOM_ID_MSM8260 70 1556abffc7SStephan Gerhold #define QCOM_ID_MSM8660 71 1656abffc7SStephan Gerhold #define QCOM_ID_APQ8060 86 17a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8960 87 18a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8064 109 1956abffc7SStephan Gerhold #define QCOM_ID_MSM8930 116 2056abffc7SStephan Gerhold #define QCOM_ID_MSM8630 117 2156abffc7SStephan Gerhold #define QCOM_ID_MSM8230 118 2256abffc7SStephan Gerhold #define QCOM_ID_APQ8030 119 2356abffc7SStephan Gerhold #define QCOM_ID_MSM8627 120 2456abffc7SStephan 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 2956abffc7SStephan Gerhold #define QCOM_ID_MSM8225 127 3056abffc7SStephan 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 3656abffc7SStephan Gerhold #define QCOM_ID_MSM8930AA 142 3756abffc7SStephan Gerhold #define QCOM_ID_MSM8630AA 143 3856abffc7SStephan 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 4256abffc7SStephan Gerhold #define QCOM_ID_MSM8930AB 154 4356abffc7SStephan Gerhold #define QCOM_ID_MSM8630AB 155 4456abffc7SStephan Gerhold #define QCOM_ID_MSM8230AB 156 4556abffc7SStephan Gerhold #define QCOM_ID_APQ8030AB 157 46a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8226 158 47a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8526 159 4856abffc7SStephan 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 5556abffc7SStephan 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 6156abffc7SStephan Gerhold #define QCOM_ID_MSM8130 179 6256abffc7SStephan Gerhold #define QCOM_ID_MSM8130AA 180 6356abffc7SStephan Gerhold #define QCOM_ID_MSM8130AB 181 6456abffc7SStephan Gerhold #define QCOM_ID_MSM8627AA 182 6556abffc7SStephan 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 6956abffc7SStephan 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 74d615ef0cSChristian Marangi #define QCOM_ID_IPQ8062 201 75d615ef0cSChristian Marangi #define QCOM_ID_IPQ8064 202 76d615ef0cSChristian Marangi #define QCOM_ID_IPQ8066 203 77d615ef0cSChristian Marangi #define QCOM_ID_IPQ8068 204 78a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8326 205 79a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8916 206 80a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8994 207 81a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AA 208 82a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AB 209 83a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8074PRO_AC 210 84a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AA 211 85a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AB 212 86a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8274PRO_AC 213 87a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AA 214 88a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AB 215 89a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8674PRO_AC 216 90a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974PRO_AA 217 91a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8974PRO_AB 218 92a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8028 219 93a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8128 220 94a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8228 221 95a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8528 222 96a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8628 223 97a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8928 224 98a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8510 225 99a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8512 226 100a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8936 233 10156abffc7SStephan Gerhold #define QCOM_ID_MDM9640 234 102a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8939 239 103a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8036 240 104a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8039 241 10556abffc7SStephan Gerhold #define QCOM_ID_MSM8236 242 10656abffc7SStephan Gerhold #define QCOM_ID_MSM8636 243 10756abffc7SStephan Gerhold #define QCOM_ID_MSM8909 245 108a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996 246 109a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8016 247 110a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8216 248 111a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8116 249 112a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8616 250 113a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8992 251 11456abffc7SStephan Gerhold #define QCOM_ID_APQ8092 252 115a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8094 253 11656abffc7SStephan Gerhold #define QCOM_ID_MSM8209 258 11756abffc7SStephan Gerhold #define QCOM_ID_MSM8208 259 11856abffc7SStephan Gerhold #define QCOM_ID_MDM9209 260 11956abffc7SStephan Gerhold #define QCOM_ID_MDM9309 261 12056abffc7SStephan Gerhold #define QCOM_ID_MDM9609 262 12156abffc7SStephan Gerhold #define QCOM_ID_MSM8239 263 12256abffc7SStephan Gerhold #define QCOM_ID_MSM8952 264 12356abffc7SStephan Gerhold #define QCOM_ID_APQ8009 265 124484d7b40SAngeloGioacchino Del Regno #define QCOM_ID_MSM8956 266 12556abffc7SStephan Gerhold #define QCOM_ID_MSM8929 268 12656abffc7SStephan Gerhold #define QCOM_ID_MSM8629 269 12756abffc7SStephan Gerhold #define QCOM_ID_MSM8229 270 12856abffc7SStephan Gerhold #define QCOM_ID_APQ8029 271 12956abffc7SStephan Gerhold #define QCOM_ID_APQ8056 274 13056abffc7SStephan Gerhold #define QCOM_ID_MSM8609 275 13156abffc7SStephan Gerhold #define QCOM_ID_APQ8076 277 132484d7b40SAngeloGioacchino Del Regno #define QCOM_ID_MSM8976 278 13356abffc7SStephan Gerhold #define QCOM_ID_MDM9650 279 134d615ef0cSChristian Marangi #define QCOM_ID_IPQ8065 280 135d615ef0cSChristian Marangi #define QCOM_ID_IPQ8069 281 13656abffc7SStephan Gerhold #define QCOM_ID_MDM9655 283 13756abffc7SStephan Gerhold #define QCOM_ID_MDM9250 284 13856abffc7SStephan Gerhold #define QCOM_ID_MDM9255 285 13956abffc7SStephan Gerhold #define QCOM_ID_MDM9350 286 14056abffc7SStephan Gerhold #define QCOM_ID_APQ8052 289 141a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9607 290 142a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096 291 143a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8998 292 144a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8953 293 14556abffc7SStephan Gerhold #define QCOM_ID_MSM8937 294 14656abffc7SStephan Gerhold #define QCOM_ID_APQ8037 295 147a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM8207 296 148a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9207 297 149a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9307 298 150a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9628 299 15156abffc7SStephan Gerhold #define QCOM_ID_MSM8909W 300 15256abffc7SStephan Gerhold #define QCOM_ID_APQ8009W 301 15356abffc7SStephan Gerhold #define QCOM_ID_MSM8996L 302 15456abffc7SStephan Gerhold #define QCOM_ID_MSM8917 303 155a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8053 304 156a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996SG 305 15756abffc7SStephan Gerhold #define QCOM_ID_APQ8017 307 15856abffc7SStephan Gerhold #define QCOM_ID_MSM8217 308 15956abffc7SStephan Gerhold #define QCOM_ID_MSM8617 309 160a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MSM8996AU 310 161a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096AU 311 162a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8096SG 312 16356abffc7SStephan Gerhold #define QCOM_ID_MSM8940 313 16456abffc7SStephan Gerhold #define QCOM_ID_SDX201 314 165a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM660 317 166a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM630 318 167a79a4b30SKrzysztof Kozlowski #define QCOM_ID_APQ8098 319 16856abffc7SStephan Gerhold #define QCOM_ID_MSM8920 320 169a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM845 321 170a79a4b30SKrzysztof Kozlowski #define QCOM_ID_MDM9206 322 171a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8074 323 172a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA660 324 173a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM658 325 174a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA658 326 175a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA630 327 17656abffc7SStephan Gerhold #define QCOM_ID_MSM8905 331 17756abffc7SStephan Gerhold #define QCOM_ID_SDX202 333 178a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM450 338 17987f67727SBhupesh Sharma #define QCOM_ID_SM8150 339 180a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA845 341 181a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8072 342 182a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8076 343 183a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8078 344 184a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM636 345 185a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA636 346 186a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDM632 349 187a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA632 350 188a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SDA450 351 18956abffc7SStephan Gerhold #define QCOM_ID_SDM439 353 19056abffc7SStephan Gerhold #define QCOM_ID_SDM429 354 191a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8250 356 19287f67727SBhupesh Sharma #define QCOM_ID_SA8155 362 19356abffc7SStephan Gerhold #define QCOM_ID_SDA439 363 19456abffc7SStephan Gerhold #define QCOM_ID_SDA429 364 195a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8070 375 196a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8071 376 19756abffc7SStephan Gerhold #define QCOM_ID_QM215 386 198a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8072A 389 199a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8074A 390 200a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8076A 391 201a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8078A 392 202a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6125 394 203a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8070A 395 204a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ8071A 396 205a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6018 402 206a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6028 403 20756abffc7SStephan Gerhold #define QCOM_ID_SDM429W 416 20867d1af1cSBhupesh Sharma #define QCOM_ID_SM4250 417 209a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6000 421 210a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6010 422 211a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7180 425 212a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6350 434 21356abffc7SStephan Gerhold #define QCOM_ID_QCM2150 436 21456abffc7SStephan Gerhold #define QCOM_ID_SDA429W 437 215a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8350 439 21667d1af1cSBhupesh Sharma #define QCOM_ID_SM6115 444 217a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC8280XP 449 218a79a4b30SKrzysztof Kozlowski #define QCOM_ID_IPQ6005 453 219a79a4b30SKrzysztof Kozlowski #define QCOM_ID_QRB5165 455 220a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450 457 221a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM7225 459 222a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SA8295P 460 223a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SA8540P 461 22467d1af1cSBhupesh Sharma #define QCOM_ID_QCM4290 469 22567d1af1cSBhupesh Sharma #define QCOM_ID_QCS4290 470 226a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450_2 480 227a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM8450_3 482 228a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7280 487 229a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SC7180P 495 230a79a4b30SKrzysztof Kozlowski #define QCOM_ID_SM6375 507 231147f6534SAbel Vesa #define QCOM_ID_SM8550 519 2323b1611f2SMelody Olvera #define QCOM_ID_QRU1000 539 2333b1611f2SMelody Olvera #define QCOM_ID_QDU1000 545 2343b1611f2SMelody Olvera #define QCOM_ID_QDU1010 587 2353b1611f2SMelody Olvera #define QCOM_ID_QRU1032 588 2363b1611f2SMelody Olvera #define QCOM_ID_QRU1052 589 2373b1611f2SMelody Olvera #define QCOM_ID_QRU1062 590 238*4ad66c3fSKathiravan T #define QCOM_ID_IPQ5332 592 239*4ad66c3fSKathiravan T #define QCOM_ID_IPQ5322 593 240a79a4b30SKrzysztof Kozlowski 241a79a4b30SKrzysztof Kozlowski /* 242a79a4b30SKrzysztof Kozlowski * The board type and revision information, used by Qualcomm bootloaders and 243a79a4b30SKrzysztof Kozlowski * DTS for older chipsets (qcom,board-id): 244a79a4b30SKrzysztof Kozlowski */ 245a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID(a, major, minor) \ 246a79a4b30SKrzysztof Kozlowski (((major & 0xff) << 16) | ((minor & 0xff) << 8) | QCOM_BOARD_ID_##a) 247a79a4b30SKrzysztof Kozlowski 248a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_MTP 8 249a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_DRAGONBOARD 10 2508b949c0eSStephan Gerhold #define QCOM_BOARD_ID_QRD 11 251a79a4b30SKrzysztof Kozlowski #define QCOM_BOARD_ID_SBC 24 252a79a4b30SKrzysztof Kozlowski 253a79a4b30SKrzysztof Kozlowski #endif /* _DT_BINDINGS_ARM_QCOM_IDS_H */ 254