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