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