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