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