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