xref: /linux/Documentation/devicetree/bindings/arm/qcom.yaml (revision 7bf421f44549cd0bca32bd0b4cf6e4cfe5b4f865)
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        cdp
95        dragonboard
96        idp
97        liquid
98        mtp
99        qrd
100        rb2
101        ride
102        sbc
103        x100
104
105  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
106  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
107  as v1. If all versions of the 'board_version' elements match, then a
108  wildcard '*' should be used, e.g. 'v*'.
109
110  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
111
112  Examples:
113
114  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
115
116  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
117  2.1.
118
119  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
120
121  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
122  foundry 2.
123
124  There are many devices in the list below that run the standard ChromeOS
125  bootloader setup and use the open source depthcharge bootloader to boot the
126  OS. These devices do not use the scheme described above. For details, see:
127  https://docs.kernel.org/arch/arm/google/chromebook-boot-flow.html
128
129properties:
130  $nodename:
131    const: "/"
132  compatible:
133    oneOf:
134      - items:
135          - enum:
136              - qcom,apq8016-sbc
137          - const: qcom,apq8016
138
139      - items:
140          - enum:
141              - asus,sparrow
142              - huawei,sturgeon
143              - lg,lenok
144              - samsung,matisse-wifi
145          - const: qcom,apq8026
146
147      - items:
148          - enum:
149              - asus,nexus7-flo
150              - lg,nexus4-mako
151              - sony,xperia-yuga
152              - qcom,apq8064-cm-qs600
153              - qcom,apq8064-ifc6410
154          - const: qcom,apq8064
155
156      - items:
157          - enum:
158              - qcom,apq8074-dragonboard
159          - const: qcom,apq8074
160
161      - items:
162          - enum:
163              - qcom,apq8060-dragonboard
164              - qcom,msm8660-surf
165          - const: qcom,msm8660
166
167      - items:
168          - enum:
169              - qcom,apq8084-mtp
170              - qcom,apq8084-sbc
171          - const: qcom,apq8084
172
173      - items:
174          - enum:
175              - microsoft,dempsey
176              - microsoft,makepeace
177              - microsoft,moneypenny
178              - samsung,s3ve3g
179          - const: qcom,msm8226
180
181      - items:
182          - enum:
183              - microsoft,superman-lte
184              - microsoft,tesla
185          - const: qcom,msm8926
186          - const: qcom,msm8226
187
188      - items:
189          - enum:
190              - huawei,kiwi
191              - longcheer,l9100
192              - samsung,a7
193              - sony,kanuti-tulip
194              - square,apq8039-t2
195          - const: qcom,msm8939
196
197      - items:
198          - enum:
199              - sony,kugo-row
200              - sony,suzu-row
201          - const: qcom,msm8956
202
203      - items:
204          - enum:
205              - qcom,msm8960-cdp
206              - samsung,expressatt
207          - const: qcom,msm8960
208
209      - items:
210          - enum:
211              - lge,hammerhead
212              - sony,xperia-amami
213              - sony,xperia-honami
214          - const: qcom,msm8974
215
216      - items:
217          - enum:
218              - fairphone,fp2
219              - oneplus,bacon
220              - samsung,klte
221              - sony,xperia-castor
222          - const: qcom,msm8974pro
223          - const: qcom,msm8974
224
225      - items:
226          - const: qcom,msm8916-mtp
227          - const: qcom,msm8916-mtp/1
228          - const: qcom,msm8916
229
230      - items:
231          - enum:
232              - acer,a1-724
233              - alcatel,idol347
234              - asus,z00l
235              - gplus,fl8005a
236              - huawei,g7
237              - longcheer,l8910
238              - samsung,a3u-eur
239              - samsung,a5u-eur
240              - samsung,e5
241              - samsung,e7
242              - samsung,grandmax
243              - samsung,gt510
244              - samsung,gt58
245              - samsung,j5
246              - samsung,j5x
247              - samsung,serranove
248              - thwc,uf896
249              - thwc,ufi001c
250              - wingtech,wt88047
251              - yiming,uz801-v3
252          - const: qcom,msm8916
253
254      - items:
255          - const: longcheer,l8150
256          - const: qcom,msm8916-v1-qrd/9-v1
257          - const: qcom,msm8916
258
259      - items:
260          - enum:
261              - htc,memul
262          - const: qcom,msm8926
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          - const: qcom,sm8250
1017
1018      - items:
1019          - enum:
1020              - microsoft,surface-duo2
1021              - qcom,sm8350-hdk
1022              - qcom,sm8350-mtp
1023              - sony,pdx214-generic
1024              - sony,pdx215-generic
1025          - const: qcom,sm8350
1026
1027      - items:
1028          - enum:
1029              - qcom,sm8450-hdk
1030              - qcom,sm8450-qrd
1031              - sony,pdx223
1032              - sony,pdx224
1033          - const: qcom,sm8450
1034
1035      - items:
1036          - enum:
1037              - qcom,sm8550-mtp
1038              - qcom,sm8550-qrd
1039          - const: qcom,sm8550
1040
1041  # Board compatibles go above
1042
1043  qcom,msm-id:
1044    $ref: /schemas/types.yaml#/definitions/uint32-matrix
1045    minItems: 1
1046    maxItems: 8
1047    items:
1048      items:
1049        - description: |
1050            MSM chipset ID - an exact match value consisting of two bitfields::
1051             - bits 0-15  - The unique MSM chipset ID
1052             - bits 16-31 - Reserved; should be 0
1053        - description: |
1054            Hardware revision ID - a chipset specific 32-bit ID representing
1055            the version of the chipset.  It is best a match value - the
1056            bootloader will look for the closest possible match.
1057    deprecated: true
1058    description:
1059      The MSM chipset and hardware revision used Qualcomm bootloaders.  It
1060      can optionally be an array of these to indicate multiple hardware that
1061      use the same device tree.  It is expected that the bootloader will use
1062      this information at boot-up to decide which device tree to use when given
1063      multiple device trees, some of which may not be compatible with the
1064      actual hardware.  It is the bootloader's responsibility to pass the
1065      correct device tree to the kernel.
1066      The property is deprecated.
1067
1068  qcom,board-id:
1069    $ref: /schemas/types.yaml#/definitions/uint32-matrix
1070    minItems: 1
1071    maxItems: 8
1072    oneOf:
1073      - items:
1074          - items:
1075              - description: |
1076                  Board ID consisting of three bitfields::
1077                    - bits 31-24 - Unused
1078                    - bits 23-16 - Platform Version Major
1079                    - bits 15-8  - Platform Version Minor
1080                    - bits 7-0   - Platform Type
1081                  Platform Type field is an exact match value.  The
1082                  Platform Major/Minor field is a best match.  The bootloader will
1083                  look for the closest possible match.
1084              - description: |
1085                  Subtype ID unique to a Platform Type/Chipset ID.  For a given
1086                  Platform Type, there will typically only be a single board and the
1087                  subtype_id will be 0.  However in some cases board variants may
1088                  need to be distinguished by different subtype_id values.
1089      - items:
1090          # OnePlus uses a variant of board-id with four elements:
1091          - items:
1092              - const: 8
1093              - const: 0
1094              - description: OnePlus board ID
1095              - description: OnePlus subtype ID
1096    deprecated: true
1097    description:
1098      The board type and revision information.  It can optionally be an array
1099      of these to indicate multiple boards that use the same device tree.  It
1100      is expected that the bootloader will use this information at boot-up to
1101      decide which device tree to use when given multiple device trees, some of
1102      which may not be compatible with the actual hardware.  It is the
1103      bootloader's responsibility to pass the correct device tree to the
1104      kernel
1105      The property is deprecated.
1106
1107allOf:
1108  # Explicit allow-list for older SoCs. The legacy properties are not allowed
1109  # on newer SoCs.
1110  - if:
1111      properties:
1112        compatible:
1113          contains:
1114            enum:
1115              - qcom,apq8026
1116              - qcom,apq8094
1117              - qcom,apq8096
1118              - qcom,msm8939
1119              - qcom,msm8953
1120              - qcom,msm8956
1121              - qcom,msm8992
1122              - qcom,msm8994
1123              - qcom,msm8996
1124              - qcom,msm8998
1125              - qcom,sdm450
1126              - qcom,sdm630
1127              - qcom,sdm632
1128              - qcom,sdm636
1129              - qcom,sdm845
1130              - qcom,sdx55
1131              - qcom,sdx65
1132              - qcom,sdx75
1133              - qcom,sm4250
1134              - qcom,sm6115
1135              - qcom,sm6125
1136              - qcom,sm6350
1137              - qcom,sm7125
1138              - qcom,sm7225
1139              - qcom,sm8150
1140              - qcom,sm8250
1141    then:
1142      properties:
1143        qcom,board-id: true
1144        qcom,msm-id: true
1145    else:
1146      properties:
1147        qcom,board-id: false
1148        qcom,msm-id: false
1149
1150  - if:
1151      properties:
1152        compatible:
1153          contains:
1154            enum:
1155              - oneplus,cheeseburger
1156              - oneplus,dumpling
1157              - oneplus,enchilada
1158              - oneplus,fajita
1159              - oneplus,oneplus3
1160              - oneplus,oneplus3t
1161    then:
1162      properties:
1163        qcom,board-id:
1164          items:
1165            minItems: 4
1166    else:
1167      properties:
1168        qcom,board-id:
1169          items:
1170            maxItems: 2
1171
1172additionalProperties: true
1173
1174...
1175