1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/qcom.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: QCOM
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description: |
13  Some qcom based bootloaders identify the dtb blob based on a set of
14  device properties like SoC and platform and revisions of those components.
15  To support this scheme, we encode this information into the board compatible
16  string.
17
18  Each board must specify a top-level board compatible string with the following
19  format:
20
21  	compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]"
22
23  The 'SoC' and 'board' elements are required. All other elements are optional.
24
25  The 'SoC' element must be one of the following strings:
26
27        apq8016
28        apq8026
29        apq8074
30        apq8084
31        apq8096
32        ipq4018
33        ipq6018
34        ipq8074
35        mdm9615
36        msm8226
37        msm8916
38        msm8956
39        msm8974
40        msm8976
41        msm8992
42        msm8994
43        msm8996
44        msm8998
45        qcs404
46        qdu1000
47        qru1000
48        sa8155p
49        sa8540p
50        sc7180
51        sc7280
52        sc8180x
53        sc8280xp
54        sda660
55        sdm630
56        sdm632
57        sdm636
58        sdm660
59        sdm670
60        sdm845
61        sdx55
62        sdx65
63        sm4250
64        sm6115
65        sm6125
66        sm6350
67        sm6375
68        sm7225
69        sm8150
70        sm8250
71        sm8350
72        sm8450
73
74  The 'board' element must be one of the following strings:
75
76        adp
77        cdp
78        cp01-c1
79        dragonboard
80        hk01
81        hk10-c1
82        hk10-c2
83        idp
84        liquid
85        mtp
86        qrd
87        sbc
88        x100
89
90  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
91  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
92  as v1. If all versions of the 'board_version' elements match, then a
93  wildcard '*' should be used, e.g. 'v*'.
94
95  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
96
97  Examples:
98
99  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
100
101  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
102  2.1.
103
104  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
105
106  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
107  foundry 2.
108
109  There are many devices in the list below that run the standard ChromeOS
110  bootloader setup and use the open source depthcharge bootloader to boot the
111  OS. These devices do not use the scheme described above. For details, see:
112  https://docs.kernel.org/arm/google/chromebook-boot-flow.html
113
114properties:
115  $nodename:
116    const: "/"
117  compatible:
118    oneOf:
119      - items:
120          - enum:
121              - qcom,apq8016-sbc
122          - const: qcom,apq8016
123
124      - items:
125          - enum:
126              - asus,sparrow
127              - huawei,sturgeon
128              - lg,lenok
129              - samsung,matisse-wifi
130          - const: qcom,apq8026
131
132      - items:
133          - enum:
134              - asus,nexus7-flo
135              - lg,nexus4-mako
136              - sony,xperia-yuga
137              - qcom,apq8064-cm-qs600
138              - qcom,apq8064-ifc6410
139          - const: qcom,apq8064
140
141      - items:
142          - enum:
143              - qcom,apq8074-dragonboard
144          - const: qcom,apq8074
145
146      - items:
147          - enum:
148              - qcom,apq8060-dragonboard
149              - qcom,msm8660-surf
150          - const: qcom,msm8660
151
152      - items:
153          - enum:
154              - qcom,apq8084-mtp
155              - qcom,apq8084-sbc
156          - const: qcom,apq8084
157
158      - items:
159          - enum:
160              - samsung,s3ve3g
161          - const: qcom,msm8226
162
163      - items:
164          - enum:
165              - sony,kugo-row
166              - sony,suzu-row
167          - const: qcom,msm8956
168
169      - items:
170          - enum:
171              - qcom,msm8960-cdp
172          - const: qcom,msm8960
173
174      - items:
175          - enum:
176              - lge,hammerhead
177              - sony,xperia-amami
178              - sony,xperia-honami
179          - const: qcom,msm8974
180
181      - items:
182          - enum:
183              - fairphone,fp2
184              - oneplus,bacon
185              - samsung,klte
186              - sony,xperia-castor
187          - const: qcom,msm8974pro
188          - const: qcom,msm8974
189
190      - items:
191          - const: qcom,msm8916-mtp
192          - const: qcom,msm8916-mtp/1
193          - const: qcom,msm8916
194
195      - items:
196          - enum:
197              - alcatel,idol347
198              - asus,z00l
199              - huawei,g7
200              - longcheer,l8910
201              - samsung,a3u-eur
202              - samsung,a5u-eur
203              - samsung,e5
204              - samsung,e7
205              - samsung,grandmax
206              - samsung,j5
207              - samsung,serranove
208              - wingtech,wt88047
209          - const: qcom,msm8916
210
211      - items:
212          - const: longcheer,l8150
213          - const: qcom,msm8916-v1-qrd/9-v1
214          - const: qcom,msm8916
215
216      - items:
217          - enum:
218              - lg,bullhead
219              - microsoft,talkman
220              - xiaomi,libra
221          - const: qcom,msm8992
222
223      - items:
224          - enum:
225              - sony,karin_windy
226          - const: qcom,apq8094
227
228      - items:
229          - enum:
230              - huawei,angler
231              - microsoft,cityman
232              - sony,ivy-row
233              - sony,karin-row
234              - sony,satsuki-row
235              - sony,sumire-row
236              - sony,suzuran-row
237          - const: qcom,msm8994
238
239      - items:
240          - enum:
241              - arrow,apq8096-db820c
242              - inforce,ifc6640
243          - const: qcom,apq8096-sbc
244          - const: qcom,apq8096
245
246      - items:
247          - enum:
248              - oneplus,oneplus3
249              - oneplus,oneplus3t
250              - qcom,msm8996-mtp
251              - sony,dora-row
252              - sony,kagura-row
253              - sony,keyaki-row
254              - xiaomi,gemini
255          - const: qcom,msm8996
256
257      - items:
258          - enum:
259              - xiaomi,natrium
260              - xiaomi,scorpio
261          - const: qcom,msm8996pro
262          - const: qcom,msm8996
263
264      - items:
265          - enum:
266              - asus,novago-tp370ql
267              - fxtec,pro1
268              - hp,envy-x2
269              - lenovo,miix-630
270              - oneplus,cheeseburger
271              - oneplus,dumpling
272              - qcom,msm8998-mtp
273              - sony,xperia-lilac
274              - sony,xperia-maple
275              - sony,xperia-poplar
276              - xiaomi,sagit
277          - const: qcom,msm8998
278
279      - items:
280          - enum:
281              - 8dev,jalapeno
282              - alfa-network,ap120c-ac
283          - const: qcom,ipq4018
284
285      - items:
286          - enum:
287              - qcom,ipq4019-ap-dk01.1-c1
288              - qcom,ipq4019-ap-dk04.1-c3
289              - qcom,ipq4019-ap-dk07.1-c1
290              - qcom,ipq4019-ap-dk07.1-c2
291              - qcom,ipq4019-dk04.1-c1
292          - const: qcom,ipq4019
293
294      - items:
295          - enum:
296              - mikrotik,rb3011
297              - qcom,ipq8064-ap148
298          - const: qcom,ipq8064
299
300      - items:
301          - enum:
302              - qcom,ipq8074-hk01
303              - qcom,ipq8074-hk10-c1
304              - qcom,ipq8074-hk10-c2
305          - const: qcom,ipq8074
306
307      - description: Sierra Wireless MangOH Green with WP8548 Module
308        items:
309          - const: swir,mangoh-green-wp8548
310          - const: swir,wp8548
311          - const: qcom,mdm9615
312
313      - description: Qualcomm Technologies, Inc. Distributed Unit 1000 platform
314        items:
315          - enum:
316              - qcom,qdu1000-idp
317              - qcom,qdu1000-x100
318          - const: qcom,qdu1000
319
320      - description: Qualcomm Technologies, Inc. Radio Unit 1000 platform
321        items:
322          - enum:
323              - qcom,qru1000-idp
324          - const: qcom,qru1000
325
326      - description: Qualcomm Technologies, Inc. SC7180 IDP
327        items:
328          - enum:
329              - qcom,sc7180-idp
330          - const: qcom,sc7180
331
332      - description: HP Chromebook x2 11c (rev1 - 2)
333        items:
334          - const: google,coachz-rev1
335          - const: google,coachz-rev2
336          - const: qcom,sc7180
337
338      - description: HP Chromebook x2 11c (newest rev)
339        items:
340          - const: google,coachz
341          - const: qcom,sc7180
342
343      - description: HP Chromebook x2 11c with LTE (rev1 - 2)
344        items:
345          - const: google,coachz-rev1-sku0
346          - const: google,coachz-rev2-sku0
347          - const: qcom,sc7180
348
349      - description: HP Chromebook x2 11c with LTE (newest rev)
350        items:
351          - const: google,coachz-sku0
352          - const: qcom,sc7180
353
354      - description: Lenovo Chromebook Duet 5 13 (rev2)
355        items:
356          - const: google,homestar-rev2
357          - const: google,homestar-rev23
358          - const: qcom,sc7180
359
360      - description: Lenovo Chromebook Duet 5 13 (rev3)
361        items:
362          - const: google,homestar-rev3
363          - const: qcom,sc7180
364
365      - description: Lenovo Chromebook Duet 5 13 (newest rev)
366        items:
367          - const: google,homestar
368          - const: qcom,sc7180
369
370      - description: Google Kingoftown (rev0)
371        items:
372          - const: google,kingoftown-rev0
373          - const: qcom,sc7180
374
375      - description: Google Kingoftown (newest rev)
376        items:
377          - const: google,kingoftown
378          - const: qcom,sc7180
379
380      - description: Acer Chromebook Spin 513 (rev0)
381        items:
382          - const: google,lazor-rev0
383          - const: qcom,sc7180
384
385      - description: Acer Chromebook Spin 513 (rev1 - 2)
386        items:
387          - const: google,lazor-rev1
388          - const: google,lazor-rev2
389          - const: qcom,sc7180
390
391      - description: Acer Chromebook Spin 513 (rev3 - 8)
392        items:
393          - const: google,lazor-rev3
394          - const: google,lazor-rev4
395          - const: google,lazor-rev5
396          - const: google,lazor-rev6
397          - const: google,lazor-rev7
398          - const: google,lazor-rev8
399          - const: qcom,sc7180
400
401      - description: Acer Chromebook Spin 513 (newest rev)
402        items:
403          - const: google,lazor
404          - const: qcom,sc7180
405
406      - description: Acer Chromebook Spin 513 with KB Backlight (rev1 - 2)
407        items:
408          - const: google,lazor-rev1-sku2
409          - const: google,lazor-rev2-sku2
410          - const: qcom,sc7180
411
412      - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 8)
413        items:
414          - const: google,lazor-rev3-sku2
415          - const: google,lazor-rev4-sku2
416          - const: google,lazor-rev5-sku2
417          - const: google,lazor-rev6-sku2
418          - const: google,lazor-rev7-sku2
419          - const: google,lazor-rev8-sku2
420          - const: qcom,sc7180
421
422      - description: Acer Chromebook Spin 513 with KB Backlight (newest rev)
423        items:
424          - const: google,lazor-sku2
425          - const: qcom,sc7180
426
427      - description: Acer Chromebook Spin 513 with LTE (rev1 - 2)
428        items:
429          - const: google,lazor-rev1-sku0
430          - const: google,lazor-rev2-sku0
431          - const: qcom,sc7180
432
433      - description: Acer Chromebook Spin 513 with LTE (rev3 - 8)
434        items:
435          - const: google,lazor-rev3-sku0
436          - const: google,lazor-rev4-sku0
437          - const: google,lazor-rev5-sku0
438          - const: google,lazor-rev6-sku0
439          - const: google,lazor-rev7-sku0
440          - const: google,lazor-rev8-sku0
441          - const: qcom,sc7180
442
443      - description: Acer Chromebook Spin 513 with LTE (newest rev)
444        items:
445          - const: google,lazor-sku0
446          - const: qcom,sc7180
447
448      - description: Acer Chromebook 511 (rev4 - rev8)
449        items:
450          - const: google,lazor-rev4-sku4
451          - const: google,lazor-rev5-sku4
452          - const: google,lazor-rev6-sku4
453          - const: google,lazor-rev7-sku4
454          - const: google,lazor-rev8-sku4
455          - const: qcom,sc7180
456
457      - description: Acer Chromebook 511 (newest rev)
458        items:
459          - const: google,lazor-sku4
460          - const: qcom,sc7180
461
462      - description: Acer Chromebook 511 without Touchscreen (rev4)
463        items:
464          - const: google,lazor-rev4-sku5
465          - const: qcom,sc7180
466
467      - description: Acer Chromebook 511 without Touchscreen (rev5 - rev8)
468        items:
469          - const: google,lazor-rev5-sku5
470          - const: google,lazor-rev5-sku6
471          - const: google,lazor-rev6-sku6
472          - const: google,lazor-rev7-sku6
473          - const: google,lazor-rev8-sku6
474          - const: qcom,sc7180
475
476      - description: Acer Chromebook 511 without Touchscreen (newest rev)
477        items:
478          - const: google,lazor-sku6
479          - const: qcom,sc7180
480
481      - description: Google Mrbland with AUO panel (rev0)
482        items:
483          - const: google,mrbland-rev0-sku0
484          - const: qcom,sc7180
485
486      - description: Google Mrbland with AUO panel (newest rev)
487        items:
488          - const: google,mrbland-sku1536
489          - const: qcom,sc7180
490
491      - description: Google Mrbland with BOE panel (rev0)
492        items:
493          - const: google,mrbland-rev0-sku16
494          - const: qcom,sc7180
495
496      - description: Google Mrbland with BOE panel (newest rev)
497        items:
498          - const: google,mrbland-sku1024
499          - const: google,mrbland-sku768
500          - const: qcom,sc7180
501
502      - description: Google Pazquel with Parade (newest rev)
503        items:
504          - const: google,pazquel-sku5
505          - const: qcom,sc7180
506
507      - description: Google Pazquel with TI (newest rev)
508        items:
509          - const: google,pazquel-sku1
510          - const: qcom,sc7180
511
512      - description: Google Pazquel with LTE and Parade (newest rev)
513        items:
514          - const: google,pazquel-sku6
515          - const: google,pazquel-sku4
516          - const: qcom,sc7180
517
518      - description: Google Pazquel with LTE and TI (newest rev)
519        items:
520          - const: google,pazquel-sku0
521          - const: google,pazquel-sku2
522          - const: qcom,sc7180
523
524      - description: Google Pazquel360 with LTE (newest rev)
525        items:
526          - const: google,pazquel-sku22
527          - const: google,pazquel-sku20
528          - const: qcom,sc7180
529
530      - description: Google Pazquel360 with WiFi (newest rev)
531        items:
532          - const: google,pazquel-sku21
533          - const: qcom,sc7180
534
535      - description: Sharp Dynabook Chromebook C1 (rev1)
536        items:
537          - const: google,pompom-rev1
538          - const: qcom,sc7180
539
540      - description: Sharp Dynabook Chromebook C1 (rev2)
541        items:
542          - const: google,pompom-rev2
543          - const: qcom,sc7180
544
545      - description: Sharp Dynabook Chromebook C1 (newest rev)
546        items:
547          - const: google,pompom
548          - const: qcom,sc7180
549
550      - description: Sharp Dynabook Chromebook C1 with LTE (rev1)
551        items:
552          - const: google,pompom-rev1-sku0
553          - const: qcom,sc7180
554
555      - description: Sharp Dynabook Chromebook C1 with LTE (rev2)
556        items:
557          - const: google,pompom-rev2-sku0
558          - const: qcom,sc7180
559
560      - description: Sharp Dynabook Chromebook C1 with LTE (newest rev)
561        items:
562          - const: google,pompom-sku0
563          - const: qcom,sc7180
564
565      - description: Google Quackingstick (newest rev)
566        items:
567          - const: google,quackingstick-sku1537
568          - const: qcom,sc7180
569
570      - description: Google Quackingstick with LTE (newest rev)
571        items:
572          - const: google,quackingstick-sku1536
573          - const: qcom,sc7180
574
575      - description: Google Trogdor (newest rev)
576        items:
577          - const: google,trogdor
578          - const: qcom,sc7180
579
580      - description: Google Trogdor with LTE (newest rev)
581        items:
582          - const: google,trogdor-sku0
583          - const: qcom,sc7180
584
585      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (rev0)
586        items:
587          - const: google,wormdingler-rev0-sku16
588          - const: qcom,sc7180
589
590      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (newest rev)
591        items:
592          - const: google,wormdingler-sku1024
593          - const: qcom,sc7180
594
595      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel and rt5682s (newest rev)
596        items:
597          - const: google,wormdingler-sku1025
598          - const: qcom,sc7180
599
600      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (rev0)
601        items:
602          - const: google,wormdingler-rev0-sku0
603          - const: qcom,sc7180
604
605      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (newest rev)
606        items:
607          - const: google,wormdingler-sku0
608          - const: qcom,sc7180
609
610      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel and rt5682s (newest rev)
611        items:
612          - const: google,wormdingler-sku1
613          - const: qcom,sc7180
614
615      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - 4)
616        items:
617          - const: qcom,sc7280-crd
618          - const: google,hoglin-rev3
619          - const: google,hoglin-rev4
620          - const: google,piglin-rev3
621          - const: google,piglin-rev4
622          - const: qcom,sc7280
623
624      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (newest rev)
625        items:
626          - const: google,zoglin
627          - const: google,hoglin
628          - const: qcom,sc7280
629
630      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform
631        items:
632          - const: qcom,sc7280-idp
633          - const: google,senor
634          - const: qcom,sc7280
635
636      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform
637        items:
638          - const: qcom,sc7280-idp2
639          - const: google,piglin
640          - const: qcom,sc7280
641
642      - description: Google Evoker (newest rev)
643        items:
644          - const: google,evoker
645          - const: qcom,sc7280
646
647      - description: Google Evoker with LTE (newest rev)
648        items:
649          - const: google,evoker-sku512
650          - const: qcom,sc7280
651
652      - description: Google Herobrine (newest rev)
653        items:
654          - const: google,herobrine
655          - const: qcom,sc7280
656
657      - description: Google Villager (rev0)
658        items:
659          - const: google,villager-rev0
660          - const: qcom,sc7280
661
662      - description: Google Villager (newest rev)
663        items:
664          - const: google,villager
665          - const: qcom,sc7280
666
667      - description: Google Villager with LTE (newest rev)
668        items:
669          - const: google,villager-sku512
670          - const: qcom,sc7280
671
672      - description: Google Zombie (newest rev)
673        items:
674          - const: google,zombie
675          - const: qcom,sc7280
676
677      - description: Google Zombie with LTE (newest rev)
678        items:
679          - const: google,zombie-sku512
680          - const: qcom,sc7280
681
682      - items:
683          - enum:
684              - lenovo,flex-5g
685              - microsoft,surface-prox
686              - qcom,sc8180x-primus
687          - const: qcom,sc8180x
688
689      - items:
690          - enum:
691              - lenovo,thinkpad-x13s
692              - qcom,sc8280xp-crd
693              - qcom,sc8280xp-qrd
694          - const: qcom,sc8280xp
695
696      - items:
697          - enum:
698              - sony,discovery-row
699              - sony,kirin-row
700              - sony,pioneer-row
701              - sony,voyager-row
702          - const: qcom,sdm630
703
704      - items:
705          - enum:
706              - inforce,ifc6560
707          - const: qcom,sda660
708
709      - items:
710          - enum:
711              - fairphone,fp3
712          - const: qcom,sdm632
713
714      - items:
715          - enum:
716              - sony,mermaid-row
717          - const: qcom,sdm636
718
719      - items:
720          - enum:
721              - xiaomi,lavender
722          - const: qcom,sdm660
723
724      - items:
725          - enum:
726              - google,sargo
727          - const: qcom,sdm670
728
729      - items:
730          - enum:
731              - qcom,sdx55-mtp
732              - qcom,sdx55-telit-fn980-tlb
733              - qcom,sdx55-t55
734          - const: qcom,sdx55
735
736      - items:
737          - enum:
738              - qcom,sdx65-mtp
739          - const: qcom,sdx65
740
741      - items:
742          - enum:
743              - qcom,ipq6018-cp01
744              - qcom,ipq6018-cp01-c1
745          - const: qcom,ipq6018
746
747      - items:
748          - enum:
749              - qcom,qcs404-evb-1000
750              - qcom,qcs404-evb-4000
751          - const: qcom,qcs404-evb
752          - const: qcom,qcs404
753
754      - items:
755          - enum:
756              - qcom,sa8155p-adp
757          - const: qcom,sa8155p
758
759      - items:
760          - enum:
761              - qcom,sa8295p-adp
762              - qcom,sa8540p-ride
763          - const: qcom,sa8540p
764
765      - items:
766          - enum:
767              - google,cheza
768              - google,cheza-rev1
769              - google,cheza-rev2
770              - lenovo,yoga-c630
771              - lg,judyln
772              - lg,judyp
773              - oneplus,enchilada
774              - oneplus,fajita
775              - qcom,sdm845-mtp
776              - shift,axolotl
777              - samsung,starqltechn
778              - samsung,w737
779              - sony,akari-row
780              - sony,akatsuki-row
781              - sony,apollo-row
782              - thundercomm,db845c
783              - xiaomi,beryllium
784              - xiaomi,beryllium-ebbg
785              - xiaomi,polaris
786          - const: qcom,sdm845
787
788      - items:
789          - enum:
790              - oneplus,billie2
791          - const: qcom,sm4250
792
793      - items:
794          - enum:
795              - sony,pdx201
796          - const: qcom,sm6125
797
798      - items:
799          - enum:
800              - sony,pdx213
801          - const: qcom,sm6350
802
803      - items:
804          - enum:
805              - sony,pdx225
806          - const: qcom,sm6375
807
808      - items:
809          - enum:
810              - fairphone,fp4
811          - const: qcom,sm7225
812
813      - items:
814          - enum:
815              - microsoft,surface-duo
816              - qcom,sm8150-hdk
817              - qcom,sm8150-mtp
818              - sony,bahamut-generic
819              - sony,griffin-generic
820          - const: qcom,sm8150
821
822      - items:
823          - enum:
824              - qcom,qrb5165-rb5
825              - qcom,sm8250-hdk
826              - qcom,sm8250-mtp
827              - sony,pdx203-generic
828              - sony,pdx206-generic
829          - const: qcom,sm8250
830
831      - items:
832          - enum:
833              - microsoft,surface-duo2
834              - qcom,sm8350-hdk
835              - qcom,sm8350-mtp
836              - sony,pdx214-generic
837              - sony,pdx215-generic
838          - const: qcom,sm8350
839
840      - items:
841          - enum:
842              - qcom,sm8450-hdk
843              - qcom,sm8450-qrd
844              - sony,pdx223
845              - sony,pdx224
846          - const: qcom,sm8450
847
848  # Board compatibles go above
849
850  qcom,msm-id:
851    $ref: /schemas/types.yaml#/definitions/uint32-matrix
852    minItems: 1
853    maxItems: 8
854    items:
855      items:
856        - description: |
857            MSM chipset ID - an exact match value consisting of two bitfields::
858             - bits 0-15  - The unique MSM chipset ID
859             - bits 16-31 - Reserved; should be 0
860        - description: |
861            Hardware revision ID - a chipset specific 32-bit ID representing
862            the version of the chipset.  It is best a match value - the
863            bootloader will look for the closest possible match.
864    deprecated: true
865    description:
866      The MSM chipset and hardware revision used Qualcomm bootloaders.  It
867      can optionally be an array of these to indicate multiple hardware that
868      use the same device tree.  It is expected that the bootloader will use
869      this information at boot-up to decide which device tree to use when given
870      multiple device trees, some of which may not be compatible with the
871      actual hardware.  It is the bootloader's responsibility to pass the
872      correct device tree to the kernel.
873      The property is deprecated.
874
875  qcom,board-id:
876    $ref: /schemas/types.yaml#/definitions/uint32-matrix
877    minItems: 1
878    maxItems: 8
879    oneOf:
880      - items:
881          - items:
882              - description: |
883                  Board ID consisting of three bitfields::
884                    - bits 31-24 - Unused
885                    - bits 23-16 - Platform Version Major
886                    - bits 15-8  - Platform Version Minor
887                    - bits 7-0   - Platform Type
888                  Platform Type field is an exact match value.  The
889                  Platform Major/Minor field is a best match.  The bootloader will
890                  look for the closest possible match.
891              - description: |
892                  Subtype ID unique to a Platform Type/Chipset ID.  For a given
893                  Platform Type, there will typically only be a single board and the
894                  subtype_id will be 0.  However in some cases board variants may
895                  need to be distinguished by different subtype_id values.
896      - items:
897          # OnePlus uses a variant of board-id with four elements:
898          - items:
899              - const: 8
900              - const: 0
901              - description: OnePlus board ID
902              - description: OnePlus subtype ID
903    deprecated: true
904    description:
905      The board type and revision information.  It can optionally be an array
906      of these to indicate multiple boards that use the same device tree.  It
907      is expected that the bootloader will use this information at boot-up to
908      decide which device tree to use when given multiple device trees, some of
909      which may not be compatible with the actual hardware.  It is the
910      bootloader's responsibility to pass the correct device tree to the
911      kernel
912      The property is deprecated.
913
914allOf:
915  # Explicit allow-list for older SoCs. The legacy properties are not allowed
916  # on newer SoCs.
917  - if:
918      properties:
919        compatible:
920          contains:
921            enum:
922              - qcom,apq8026
923              - qcom,apq8094
924              - qcom,apq8096
925              - qcom,msm8992
926              - qcom,msm8994
927              - qcom,msm8996
928              - qcom,msm8998
929              - qcom,sdm630
930              - qcom,sdm632
931              - qcom,sdm845
932              - qcom,sdx55
933              - qcom,sdx65
934              - qcom,sm6125
935              - qcom,sm6350
936              - qcom,sm7225
937              - qcom,sm8150
938              - qcom,sm8250
939    then:
940      properties:
941        qcom,board-id: true
942        qcom,msm-id: true
943    else:
944      properties:
945        qcom,board-id: false
946        qcom,msm-id: false
947
948  - if:
949      properties:
950        compatible:
951          contains:
952            enum:
953              - oneplus,cheeseburger
954              - oneplus,dumpling
955              - oneplus,enchilada
956              - oneplus,fajita
957    then:
958      properties:
959        qcom,board-id:
960          items:
961            minItems: 4
962    else:
963      properties:
964        qcom,board-id:
965          items:
966            maxItems: 2
967
968additionalProperties: true
969
970...
971