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