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