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