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