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