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