1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/qcom.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: QCOM
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description: |
13  Some qcom based bootloaders identify the dtb blob based on a set of
14  device properties like SoC and platform and revisions of those components.
15  To support this scheme, we encode this information into the board compatible
16  string.
17
18  Each board must specify a top-level board compatible string with the following
19  format:
20
21  	compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]"
22
23  The 'SoC' and 'board' elements are required. All other elements are optional.
24
25  The 'SoC' element must be one of the following strings:
26
27        apq8016
28        apq8026
29        apq8074
30        apq8084
31        apq8096
32        ipq6018
33        ipq8074
34        mdm9615
35        msm8226
36        msm8916
37        msm8974
38        msm8992
39        msm8994
40        msm8996
41        msm8998
42        qcs404
43        sa8155p
44        sa8540p
45        sc7180
46        sc7280
47        sc8180x
48        sc8280xp
49        sda660
50        sdm630
51        sdm632
52        sdm636
53        sdm660
54        sdm845
55        sdx55
56        sdx65
57        sm6125
58        sm6350
59        sm7225
60        sm8150
61        sm8250
62        sm8350
63        sm8450
64
65  The 'board' element must be one of the following strings:
66
67        adp
68        cdp
69        cp01-c1
70        dragonboard
71        hk01
72        hk10-c1
73        hk10-c2
74        idp
75        liquid
76        mtp
77        qrd
78        sbc
79
80  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
81  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
82  as v1. If all versions of the 'board_version' elements match, then a
83  wildcard '*' should be used, e.g. 'v*'.
84
85  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
86
87  Examples:
88
89  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
90
91  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
92  2.1.
93
94  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
95
96  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
97  foundry 2.
98
99  There are many devices in the list below that run the standard ChromeOS
100  bootloader setup and use the open source depthcharge bootloader to boot the
101  OS. These devices do not use the scheme described above. For details, see:
102  https://docs.kernel.org/arm/google/chromebook-boot-flow.html
103
104properties:
105  $nodename:
106    const: "/"
107  compatible:
108    oneOf:
109      - items:
110          - enum:
111              - qcom,apq8016-sbc
112          - const: qcom,apq8016
113
114      - items:
115          - enum:
116              - asus,sparrow
117              - lg,lenok
118          - const: qcom,apq8026
119
120      - items:
121          - enum:
122              - asus,nexus7-flo
123              - lg,nexus4-mako
124              - sony,xperia-yuga
125              - qcom,apq8064-cm-qs600
126              - qcom,apq8064-ifc6410
127          - const: qcom,apq8064
128
129      - items:
130          - enum:
131              - qcom,apq8074-dragonboard
132          - const: qcom,apq8074
133
134      - items:
135          - enum:
136              - qcom,apq8060-dragonboard
137              - qcom,msm8660-surf
138          - const: qcom,msm8660
139
140      - items:
141          - enum:
142              - qcom,apq8084-mtp
143              - qcom,apq8084-sbc
144          - const: qcom,apq8084
145
146      - items:
147          - enum:
148              - samsung,s3ve3g
149          - const: qcom,msm8226
150
151      - items:
152          - enum:
153              - qcom,msm8960-cdp
154          - const: qcom,msm8960
155
156      - items:
157          - enum:
158              - fairphone,fp2
159              - lge,hammerhead
160              - samsung,klte
161              - sony,xperia-amami
162              - sony,xperia-castor
163              - sony,xperia-honami
164          - const: qcom,msm8974
165
166      - items:
167          - const: qcom,msm8916-mtp
168          - const: qcom,msm8916-mtp/1
169          - const: qcom,msm8916
170
171      - items:
172          - enum:
173              - alcatel,idol347
174              - asus,z00l
175              - huawei,g7
176              - longcheer,l8910
177              - samsung,a3u-eur
178              - samsung,a5u-eur
179              - samsung,e5
180              - samsung,e7
181              - samsung,grandmax
182              - samsung,j5
183              - samsung,serranove
184              - wingtech,wt88047
185          - const: qcom,msm8916
186
187      - items:
188          - const: longcheer,l8150
189          - const: qcom,msm8916-v1-qrd/9-v1
190          - const: qcom,msm8916
191
192      - items:
193          - enum:
194              - lg,bullhead
195              - microsoft,talkman
196              - xiaomi,libra
197          - const: qcom,msm8992
198
199      - items:
200          - enum:
201              - sony,karin_windy
202          - const: qcom,apq8094
203
204      - items:
205          - enum:
206              - huawei,angler
207              - microsoft,cityman
208              - sony,ivy-row
209              - sony,karin-row
210              - sony,satsuki-row
211              - sony,sumire-row
212              - sony,suzuran-row
213          - const: qcom,msm8994
214
215      - items:
216          - enum:
217              - arrow,apq8096-db820c
218              - inforce,ifc6640
219          - const: qcom,apq8096-sbc
220          - const: qcom,apq8096
221
222      - items:
223          - enum:
224              - qcom,msm8996-mtp
225              - sony,dora-row
226              - sony,kagura-row
227              - sony,keyaki-row
228              - xiaomi,gemini
229              - xiaomi,natrium
230              - xiaomi,scorpio
231          - const: qcom,msm8996
232
233      - items:
234          - enum:
235              - asus,novago-tp370ql
236              - fxtec,pro1
237              - hp,envy-x2
238              - lenovo,miix-630
239              - oneplus,cheeseburger
240              - oneplus,dumpling
241              - qcom,msm8998-mtp
242              - sony,xperia-lilac
243              - sony,xperia-maple
244              - sony,xperia-poplar
245          - const: qcom,msm8998
246
247      - items:
248          - enum:
249              - qcom,ipq4019-ap-dk01.1-c1
250              - qcom,ipq4019-ap-dk04.1-c3
251              - qcom,ipq4019-ap-dk07.1-c1
252              - qcom,ipq4019-ap-dk07.1-c2
253              - qcom,ipq4019-dk04.1-c1
254          - const: qcom,ipq4019
255
256      - items:
257          - enum:
258              - qcom,ipq8064-ap148
259          - const: qcom,ipq8064
260
261      - items:
262          - enum:
263              - qcom,ipq8074-hk01
264              - qcom,ipq8074-hk10-c1
265              - qcom,ipq8074-hk10-c2
266          - const: qcom,ipq8074
267
268      - description: Qualcomm Technologies, Inc. SC7180 IDP
269        items:
270          - enum:
271              - qcom,sc7180-idp
272          - const: qcom,sc7180
273
274      - description: HP Chromebook x2 11c (rev1 - 2)
275        items:
276          - const: google,coachz-rev1
277          - const: google,coachz-rev2
278          - const: qcom,sc7180
279
280      - description: HP Chromebook x2 11c (newest rev)
281        items:
282          - const: google,coachz
283          - const: qcom,sc7180
284
285      - description: HP Chromebook x2 11c with LTE (rev1 - 2)
286        items:
287          - const: google,coachz-rev1-sku0
288          - const: google,coachz-rev2-sku0
289          - const: qcom,sc7180
290
291      - description: HP Chromebook x2 11c with LTE (newest rev)
292        items:
293          - const: google,coachz-sku0
294          - const: qcom,sc7180
295
296      - description: Lenovo Chromebook Duet 5 13 (rev2)
297        items:
298          - const: google,homestar-rev2
299          - const: google,homestar-rev23
300          - const: qcom,sc7180
301
302      - description: Lenovo Chromebook Duet 5 13 (rev3)
303        items:
304          - const: google,homestar-rev3
305          - const: qcom,sc7180
306
307      - description: Lenovo Chromebook Duet 5 13 (newest rev)
308        items:
309          - const: google,homestar
310          - const: qcom,sc7180
311
312      - description: Google Kingoftown (rev0)
313        items:
314          - const: google,kingoftown-rev0
315          - const: qcom,sc7180
316
317      - description: Google Kingoftown (newest rev)
318        items:
319          - const: google,kingoftown
320          - const: qcom,sc7180
321
322      - description: Acer Chromebook Spin 513 (rev0)
323        items:
324          - const: google,lazor-rev0
325          - const: qcom,sc7180
326
327      - description: Acer Chromebook Spin 513 (rev1 - 2)
328        items:
329          - const: google,lazor-rev1
330          - const: google,lazor-rev2
331          - const: qcom,sc7180
332
333      - description: Acer Chromebook Spin 513 (rev3 - 8)
334        items:
335          - const: google,lazor-rev3
336          - const: google,lazor-rev4
337          - const: google,lazor-rev5
338          - const: google,lazor-rev6
339          - const: google,lazor-rev7
340          - const: google,lazor-rev8
341          - const: qcom,sc7180
342
343      - description: Acer Chromebook Spin 513 (newest rev)
344        items:
345          - const: google,lazor
346          - const: qcom,sc7180
347
348      - description: Acer Chromebook Spin 513 with KB Backlight (rev1 - 2)
349        items:
350          - const: google,lazor-rev1-sku2
351          - const: google,lazor-rev2-sku2
352          - const: qcom,sc7180
353
354      - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 8)
355        items:
356          - const: google,lazor-rev3-sku2
357          - const: google,lazor-rev4-sku2
358          - const: google,lazor-rev5-sku2
359          - const: google,lazor-rev6-sku2
360          - const: google,lazor-rev7-sku2
361          - const: google,lazor-rev8-sku2
362          - const: qcom,sc7180
363
364      - description: Acer Chromebook Spin 513 with KB Backlight (newest rev)
365        items:
366          - const: google,lazor-sku2
367          - const: qcom,sc7180
368
369      - description: Acer Chromebook Spin 513 with LTE (rev1 - 2)
370        items:
371          - const: google,lazor-rev1-sku0
372          - const: google,lazor-rev2-sku0
373          - const: qcom,sc7180
374
375      - description: Acer Chromebook Spin 513 with LTE (rev3 - 8)
376        items:
377          - const: google,lazor-rev3-sku0
378          - const: google,lazor-rev4-sku0
379          - const: google,lazor-rev5-sku0
380          - const: google,lazor-rev6-sku0
381          - const: google,lazor-rev7-sku0
382          - const: google,lazor-rev8-sku0
383          - const: qcom,sc7180
384
385      - description: Acer Chromebook Spin 513 with LTE (newest rev)
386        items:
387          - const: google,lazor-sku0
388          - const: qcom,sc7180
389
390      - description: Acer Chromebook 511 (rev4 - rev8)
391        items:
392          - const: google,lazor-rev4-sku4
393          - const: google,lazor-rev5-sku4
394          - const: google,lazor-rev6-sku4
395          - const: google,lazor-rev7-sku4
396          - const: google,lazor-rev8-sku4
397          - const: qcom,sc7180
398
399      - description: Acer Chromebook 511 (newest rev)
400        items:
401          - const: google,lazor-sku4
402          - const: qcom,sc7180
403
404      - description: Acer Chromebook 511 without Touchscreen (rev4)
405        items:
406          - const: google,lazor-rev4-sku5
407          - const: qcom,sc7180
408
409      - description: Acer Chromebook 511 without Touchscreen (rev5 - rev8)
410        items:
411          - const: google,lazor-rev5-sku5
412          - const: google,lazor-rev5-sku6
413          - const: google,lazor-rev6-sku6
414          - const: google,lazor-rev7-sku6
415          - const: google,lazor-rev8-sku6
416          - const: qcom,sc7180
417
418      - description: Acer Chromebook 511 without Touchscreen (newest rev)
419        items:
420          - const: google,lazor-sku6
421          - const: qcom,sc7180
422
423      - description: Google Mrbland with AUO panel (rev0)
424        items:
425          - const: google,mrbland-rev0-sku0
426          - const: qcom,sc7180
427
428      - description: Google Mrbland with AUO panel (newest rev)
429        items:
430          - const: google,mrbland-sku1536
431          - const: qcom,sc7180
432
433      - description: Google Mrbland with BOE panel (rev0)
434        items:
435          - const: google,mrbland-rev0-sku16
436          - const: qcom,sc7180
437
438      - description: Google Mrbland with BOE panel (newest rev)
439        items:
440          - const: google,mrbland-sku1024
441          - const: google,mrbland-sku768
442          - const: qcom,sc7180
443
444      - description: Google Pazquel with Parade (newest rev)
445        items:
446          - const: google,pazquel-sku5
447          - const: qcom,sc7180
448
449      - description: Google Pazquel with TI (newest rev)
450        items:
451          - const: google,pazquel-sku1
452          - const: qcom,sc7180
453
454      - description: Google Pazquel with LTE and Parade (newest rev)
455        items:
456          - const: google,pazquel-sku6
457          - const: google,pazquel-sku4
458          - const: qcom,sc7180
459
460      - description: Google Pazquel with LTE and TI (newest rev)
461        items:
462          - const: google,pazquel-sku0
463          - const: google,pazquel-sku2
464          - const: qcom,sc7180
465
466      - description: Sharp Dynabook Chromebook C1 (rev1)
467        items:
468          - const: google,pompom-rev1
469          - const: qcom,sc7180
470
471      - description: Sharp Dynabook Chromebook C1 (rev2)
472        items:
473          - const: google,pompom-rev2
474          - const: qcom,sc7180
475
476      - description: Sharp Dynabook Chromebook C1 (newest rev)
477        items:
478          - const: google,pompom
479          - const: qcom,sc7180
480
481      - description: Sharp Dynabook Chromebook C1 with LTE (rev1)
482        items:
483          - const: google,pompom-rev1-sku0
484          - const: qcom,sc7180
485
486      - description: Sharp Dynabook Chromebook C1 with LTE (rev2)
487        items:
488          - const: google,pompom-rev2-sku0
489          - const: qcom,sc7180
490
491      - description: Sharp Dynabook Chromebook C1 with LTE (newest rev)
492        items:
493          - const: google,pompom-sku0
494          - const: qcom,sc7180
495
496      - description: Google Quackingstick (newest rev)
497        items:
498          - const: google,quackingstick-sku1537
499          - const: qcom,sc7180
500
501      - description: Google Quackingstick with LTE (newest rev)
502        items:
503          - const: google,quackingstick-sku1536
504          - const: qcom,sc7180
505
506      - description: Google Trogdor (newest rev)
507        items:
508          - const: google,trogdor
509          - const: qcom,sc7180
510
511      - description: Google Trogdor with LTE (newest rev)
512        items:
513          - const: google,trogdor-sku0
514          - const: qcom,sc7180
515
516      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (rev0)
517        items:
518          - const: google,wormdingler-rev0-sku16
519          - const: qcom,sc7180
520
521      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (newest rev)
522        items:
523          - const: google,wormdingler-sku1024
524          - const: qcom,sc7180
525
526      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel and rt5682s (newest rev)
527        items:
528          - const: google,wormdingler-sku1025
529          - const: qcom,sc7180
530
531      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (rev0)
532        items:
533          - const: google,wormdingler-rev0-sku0
534          - const: qcom,sc7180
535
536      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (newest rev)
537        items:
538          - const: google,wormdingler-sku0
539          - const: qcom,sc7180
540
541      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel and rt5682s (newest rev)
542        items:
543          - const: google,wormdingler-sku1
544          - const: qcom,sc7180
545
546      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - 4)
547        items:
548          - const: qcom,sc7280-crd
549          - const: google,hoglin-rev3
550          - const: google,hoglin-rev4
551          - const: google,piglin-rev3
552          - const: google,piglin-rev4
553          - const: qcom,sc7280
554
555      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (newest rev)
556        items:
557          - const: google,zoglin
558          - const: google,hoglin
559          - const: qcom,sc7280
560
561      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform
562        items:
563          - const: qcom,sc7280-idp
564          - const: google,senor
565          - const: qcom,sc7280
566
567      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform
568        items:
569          - const: qcom,sc7280-idp2
570          - const: google,piglin
571          - const: qcom,sc7280
572
573      - description: Google Evoker (newest rev)
574        items:
575          - const: google,evoker
576          - const: qcom,sc7280
577
578      - description: Google Herobrine (newest rev)
579        items:
580          - const: google,herobrine
581          - const: qcom,sc7280
582
583      - description: Google Villager (rev0)
584        items:
585          - const: google,villager-rev0
586          - const: qcom,sc7280
587
588      - description: Google Villager (newest rev)
589        items:
590          - const: google,villager
591          - const: qcom,sc7280
592
593      - description: Google Villager with LTE (newest rev)
594        items:
595          - const: google,villager-sku512
596          - const: qcom,sc7280
597
598      - items:
599          - enum:
600              - lenovo,flex-5g
601              - microsoft,surface-prox
602              - qcom,sc8180x-primus
603          - const: qcom,sc8180x
604
605      - items:
606          - enum:
607              - lenovo,thinkpad-x13s
608              - qcom,sc8280xp-crd
609              - qcom,sc8280xp-qrd
610          - const: qcom,sc8280xp
611
612      - items:
613          - enum:
614              - sony,discovery-row
615              - sony,kirin-row
616              - sony,pioneer-row
617              - sony,voyager-row
618          - const: qcom,sdm630
619
620      - items:
621          - enum:
622              - inforce,ifc6560
623          - const: qcom,sda660
624
625      - items:
626          - enum:
627              - fairphone,fp3
628          - const: qcom,sdm632
629
630      - items:
631          - enum:
632              - sony,mermaid-row
633          - const: qcom,sdm636
634
635      - items:
636          - enum:
637              - xiaomi,lavender
638          - const: qcom,sdm660
639
640      - items:
641          - enum:
642              - qcom,sdx55-mtp
643              - qcom,sdx55-telit-fn980-tlb
644              - qcom,sdx55-t55
645          - const: qcom,sdx55
646
647      - items:
648          - enum:
649              - qcom,sdx65-mtp
650          - const: qcom,sdx65
651
652      - items:
653          - enum:
654              - qcom,ipq6018-cp01
655              - qcom,ipq6018-cp01-c1
656          - const: qcom,ipq6018
657
658      - items:
659          - enum:
660              - qcom,qcs404-evb-1000
661              - qcom,qcs404-evb-4000
662          - const: qcom,qcs404-evb
663          - const: qcom,qcs404
664
665      - items:
666          - enum:
667              - qcom,sa8155p-adp
668          - const: qcom,sa8155p
669
670      - items:
671          - enum:
672              - qcom,sa8295p-adp
673          - const: qcom,sa8540p
674
675      - items:
676          - enum:
677              - lenovo,yoga-c630
678              - lg,judyln
679              - lg,judyp
680              - oneplus,enchilada
681              - oneplus,fajita
682              - qcom,sdm845-mtp
683              - shift,axolotl
684              - samsung,w737
685              - sony,akari-row
686              - sony,akatsuki-row
687              - sony,apollo-row
688              - thundercomm,db845c
689              - xiaomi,beryllium
690              - xiaomi,polaris
691          - const: qcom,sdm845
692
693      - items:
694          - enum:
695              - sony,pdx201
696          - const: qcom,sm6125
697
698      - items:
699          - enum:
700              - sony,pdx213
701          - const: qcom,sm6350
702
703      - items:
704          - enum:
705              - fairphone,fp4
706          - const: qcom,sm7225
707
708      - items:
709          - enum:
710              - microsoft,surface-duo
711              - qcom,sm8150-hdk
712              - qcom,sm8150-mtp
713              - sony,bahamut-generic
714              - sony,griffin-generic
715          - const: qcom,sm8150
716
717      - items:
718          - enum:
719              - qcom,qrb5165-rb5
720              - qcom,sm8250-hdk
721              - qcom,sm8250-mtp
722              - sony,pdx203-generic
723              - sony,pdx206-generic
724          - const: qcom,sm8250
725
726      - items:
727          - enum:
728              - microsoft,surface-duo2
729              - qcom,sm8350-hdk
730              - qcom,sm8350-mtp
731              - sony,pdx214-generic
732              - sony,pdx215-generic
733          - const: qcom,sm8350
734
735      - items:
736          - enum:
737              - qcom,sm8450-hdk
738              - qcom,sm8450-qrd
739              - sony,pdx223
740          - const: qcom,sm8450
741
742additionalProperties: true
743
744...
745