xref: /openbmc/linux/Documentation/devicetree/bindings/arm/qcom.yaml (revision 36a7b63f069630e854beb305e99c151cddd3b8e5)
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 device tree bindings
8
9maintainers:
10  - Stephen Boyd <sboyd@codeaurora.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        sa8155p
42        sa8540p
43        sc7180
44        sc7280
45        sc8180x
46        sc8280xp
47        sda660
48        sdm630
49        sdm632
50        sdm660
51        sdm845
52        sdx55
53        sdx65
54        sm7225
55        sm8150
56        sm8250
57        sm8350
58        sm8450
59
60  The 'board' element must be one of the following strings:
61
62        adp
63        cdp
64        cp01-c1
65        dragonboard
66        hk01
67        hk10-c1
68        hk10-c2
69        idp
70        liquid
71        mtp
72        qrd
73        sbc
74
75  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
76  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
77  as v1. If all versions of the 'board_version' elements match, then a
78  wildcard '*' should be used, e.g. 'v*'.
79
80  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
81
82  Examples:
83
84  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
85
86  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
87  2.1.
88
89  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
90
91  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
92  foundry 2.
93
94  There are many devices in the list below that run the standard ChromeOS
95  bootloader setup and use the open source depthcharge bootloader to boot the
96  OS. These devices do not use the scheme described above. For details, see:
97  https://docs.kernel.org/arm/google/chromebook-boot-flow.html
98
99properties:
100  $nodename:
101    const: "/"
102  compatible:
103    oneOf:
104      - items:
105          - enum:
106              - qcom,apq8016-sbc
107          - const: qcom,apq8016
108
109      - items:
110          - enum:
111              - asus,sparrow
112              - lg,lenok
113          - const: qcom,apq8026
114
115      - items:
116          - enum:
117              - asus,nexus7-flo
118              - lg,nexus4-mako
119              - sony,xperia-yuga
120              - qcom,apq8064-cm-qs600
121              - qcom,apq8064-ifc6410
122          - const: qcom,apq8064
123
124      - items:
125          - enum:
126              - qcom,apq8074-dragonboard
127          - const: qcom,apq8074
128
129      - items:
130          - enum:
131              - qcom,apq8060-dragonboard
132              - qcom,msm8660-surf
133          - const: qcom,msm8660
134
135      - items:
136          - enum:
137              - qcom,apq8084-mtp
138              - qcom,apq8084-sbc
139          - const: qcom,apq8084
140
141      - items:
142          - enum:
143              - samsung,s3ve3g
144          - const: qcom,msm8226
145
146      - items:
147          - enum:
148              - qcom,msm8960-cdp
149          - const: qcom,msm8960
150
151      - items:
152          - enum:
153              - fairphone,fp2
154              - lge,hammerhead
155              - samsung,klte
156              - sony,xperia-amami
157              - sony,xperia-castor
158              - sony,xperia-honami
159          - const: qcom,msm8974
160
161      - items:
162          - enum:
163              - alcatel,idol347
164          - const: qcom,msm8916-mtp/1
165          - const: qcom,msm8916-mtp
166          - const: qcom,msm8916
167
168      - items:
169          - enum:
170              - longcheer,l8150
171              - samsung,a3u-eur
172              - samsung,a5u-eur
173          - const: qcom,msm8916
174
175      - items:
176          - enum:
177              - sony,karin_windy
178              - sony,karin-row
179              - sony,satsuki-row
180              - sony,sumire-row
181              - sony,suzuran-row
182              - qcom,msm8994
183          - const: qcom,apq8094
184
185      - items:
186          - enum:
187              - arrow,apq8096-db820c
188              - inforce,ifc6640
189          - const: qcom,apq8096-sbc
190          - const: qcom,apq8096
191
192      - items:
193          - enum:
194              - qcom,msm8996-mtp
195              - sony,dora-row
196              - sony,kagura-row
197              - sony,keyaki-row
198              - xiaomi,gemini
199              - xiaomi,scorpio
200          - const: qcom,msm8996
201
202      - items:
203          - enum:
204              - qcom,ipq4019-ap-dk01.1-c1
205              - qcom,ipq4019-ap-dk04.1-c3
206              - qcom,ipq4019-ap-dk07.1-c1
207              - qcom,ipq4019-ap-dk07.1-c2
208              - qcom,ipq4019-dk04.1-c1
209          - const: qcom,ipq4019
210
211      - items:
212          - enum:
213              - qcom,ipq8064-ap148
214          - const: qcom,ipq8064
215
216      - items:
217          - enum:
218              - qcom,ipq8074-hk01
219              - qcom,ipq8074-hk10-c1
220              - qcom,ipq8074-hk10-c2
221          - const: qcom,ipq8074
222
223      - description: Qualcomm Technologies, Inc. SC7180 IDP
224        items:
225          - enum:
226              - qcom,sc7180-idp
227          - const: qcom,sc7180
228
229      - description: HP Chromebook x2 11c (rev1 - 2)
230        items:
231          - const: google,coachz-rev1
232          - const: google,coachz-rev2
233          - const: qcom,sc7180
234
235      - description: HP Chromebook x2 11c (newest rev)
236        items:
237          - const: google,coachz
238          - const: qcom,sc7180
239
240      - description: HP Chromebook x2 11c with LTE (rev1 - 2)
241        items:
242          - const: google,coachz-rev1-sku0
243          - const: google,coachz-rev2-sku0
244          - const: qcom,sc7180
245
246      - description: HP Chromebook x2 11c with LTE (newest rev)
247        items:
248          - const: google,coachz-sku0
249          - const: qcom,sc7180
250
251      - description: Lenovo Chromebook Duet 5 13 (rev2)
252        items:
253          - const: google,homestar-rev2
254          - const: google,homestar-rev23
255          - const: qcom,sc7180
256
257      - description: Lenovo Chromebook Duet 5 13 (rev3)
258        items:
259          - const: google,homestar-rev3
260          - const: qcom,sc7180
261
262      - description: Lenovo Chromebook Duet 5 13 (newest rev)
263        items:
264          - const: google,homestar
265          - const: qcom,sc7180
266
267      - description: Google Kingoftown (rev0)
268        items:
269          - const: google,kingoftown-rev0
270          - const: qcom,sc7180
271
272      - description: Google Kingoftown (newest rev)
273        items:
274          - const: google,kingoftown
275          - const: qcom,sc7180
276
277      - description: Acer Chromebook Spin 513 (rev0)
278        items:
279          - const: google,lazor-rev0
280          - const: qcom,sc7180
281
282      - description: Acer Chromebook Spin 513 (rev1 - 2)
283        items:
284          - const: google,lazor-rev1
285          - const: google,lazor-rev2
286          - const: qcom,sc7180
287
288      - description: Acer Chromebook Spin 513 (rev3 - 8)
289        items:
290          - const: google,lazor-rev3
291          - const: google,lazor-rev4
292          - const: google,lazor-rev5
293          - const: google,lazor-rev6
294          - const: google,lazor-rev7
295          - const: google,lazor-rev8
296          - const: qcom,sc7180
297
298      - description: Acer Chromebook Spin 513 (newest rev)
299        items:
300          - const: google,lazor
301          - const: qcom,sc7180
302
303      - description: Acer Chromebook Spin 513 with KB Backlight (rev1 - 2)
304        items:
305          - const: google,lazor-rev1-sku2
306          - const: google,lazor-rev2-sku2
307          - const: qcom,sc7180
308
309      - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 8)
310        items:
311          - const: google,lazor-rev3-sku2
312          - const: google,lazor-rev4-sku2
313          - const: google,lazor-rev5-sku2
314          - const: google,lazor-rev6-sku2
315          - const: google,lazor-rev7-sku2
316          - const: google,lazor-rev8-sku2
317          - const: qcom,sc7180
318
319      - description: Acer Chromebook Spin 513 with KB Backlight (newest rev)
320        items:
321          - const: google,lazor-sku2
322          - const: qcom,sc7180
323
324      - description: Acer Chromebook Spin 513 with LTE (rev1 - 2)
325        items:
326          - const: google,lazor-rev1-sku0
327          - const: google,lazor-rev2-sku0
328          - const: qcom,sc7180
329
330      - description: Acer Chromebook Spin 513 with LTE (rev3 - 8)
331        items:
332          - const: google,lazor-rev3-sku0
333          - const: google,lazor-rev4-sku0
334          - const: google,lazor-rev5-sku0
335          - const: google,lazor-rev6-sku0
336          - const: google,lazor-rev7-sku0
337          - const: google,lazor-rev8-sku0
338          - const: qcom,sc7180
339
340      - description: Acer Chromebook Spin 513 with LTE (newest rev)
341        items:
342          - const: google,lazor-sku0
343          - const: qcom,sc7180
344
345      - description: Acer Chromebook 511 (rev4 - rev8)
346        items:
347          - const: google,lazor-rev4-sku4
348          - const: google,lazor-rev5-sku4
349          - const: google,lazor-rev6-sku4
350          - const: google,lazor-rev7-sku4
351          - const: google,lazor-rev8-sku4
352          - const: qcom,sc7180
353
354      - description: Acer Chromebook 511 (newest rev)
355        items:
356          - const: google,lazor-sku4
357          - const: qcom,sc7180
358
359      - description: Acer Chromebook 511 without Touchscreen (rev4)
360        items:
361          - const: google,lazor-rev4-sku5
362          - const: qcom,sc7180
363
364      - description: Acer Chromebook 511 without Touchscreen (rev5 - rev8)
365        items:
366          - const: google,lazor-rev5-sku5
367          - const: google,lazor-rev5-sku6
368          - const: google,lazor-rev6-sku6
369          - const: google,lazor-rev7-sku6
370          - const: google,lazor-rev8-sku6
371          - const: qcom,sc7180
372
373      - description: Acer Chromebook 511 without Touchscreen (newest rev)
374        items:
375          - const: google,lazor-sku6
376          - const: qcom,sc7180
377
378      - description: Google Mrbland with AUO panel (rev0)
379        items:
380          - const: google,mrbland-rev0-sku0
381          - const: qcom,sc7180
382
383      - description: Google Mrbland with AUO panel (newest rev)
384        items:
385          - const: google,mrbland-sku1536
386          - const: qcom,sc7180
387
388      - description: Google Mrbland with BOE panel (rev0)
389        items:
390          - const: google,mrbland-rev0-sku16
391          - const: qcom,sc7180
392
393      - description: Google Mrbland with BOE panel (newest rev)
394        items:
395          - const: google,mrbland-sku1024
396          - const: google,mrbland-sku768
397          - const: qcom,sc7180
398
399      - description: Google Pazquel with Parade (newest rev)
400        items:
401          - const: google,pazquel-sku5
402          - const: qcom,sc7180
403
404      - description: Google Pazquel with TI (newest rev)
405        items:
406          - const: google,pazquel-sku1
407          - const: qcom,sc7180
408
409      - description: Google Pazquel with LTE and Parade (newest rev)
410        items:
411          - const: google,pazquel-sku4
412          - const: qcom,sc7180
413
414      - description: Google Pazquel with LTE and TI (newest rev)
415        items:
416          - const: google,pazquel-sku0
417          - const: google,pazquel-sku2
418          - const: qcom,sc7180
419
420      - description: Sharp Dynabook Chromebook C1 (rev1)
421        items:
422          - const: google,pompom-rev1
423          - const: qcom,sc7180
424
425      - description: Sharp Dynabook Chromebook C1 (rev2)
426        items:
427          - const: google,pompom-rev2
428          - const: qcom,sc7180
429
430      - description: Sharp Dynabook Chromebook C1 (newest rev)
431        items:
432          - const: google,pompom
433          - const: qcom,sc7180
434
435      - description: Sharp Dynabook Chromebook C1 with LTE (rev1)
436        items:
437          - const: google,pompom-rev1-sku0
438          - const: qcom,sc7180
439
440      - description: Sharp Dynabook Chromebook C1 with LTE (rev2)
441        items:
442          - const: google,pompom-rev2-sku0
443          - const: qcom,sc7180
444
445      - description: Sharp Dynabook Chromebook C1 with LTE (newest rev)
446        items:
447          - const: google,pompom-sku0
448          - const: qcom,sc7180
449
450      - description: Google Quackingstick (newest rev)
451        items:
452          - const: google,quackingstick-sku1537
453          - const: qcom,sc7180
454
455      - description: Google Quackingstick with LTE (newest rev)
456        items:
457          - const: google,quackingstick-sku1536
458          - const: qcom,sc7180
459
460      - description: Google Trogdor (newest rev)
461        items:
462          - const: google,trogdor
463          - const: qcom,sc7180
464
465      - description: Google Trogdor with LTE (newest rev)
466        items:
467          - const: google,trogdor-sku0
468          - const: qcom,sc7180
469
470      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (rev0)
471        items:
472          - const: google,wormdingler-rev0-sku16
473          - const: qcom,sc7180
474
475      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (newest rev)
476        items:
477          - const: google,wormdingler-sku1024
478          - const: qcom,sc7180
479
480      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel and rt5682s (newest rev)
481        items:
482          - const: google,wormdingler-sku1025
483          - const: qcom,sc7180
484
485      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (rev0)
486        items:
487          - const: google,wormdingler-rev0-sku0
488          - const: qcom,sc7180
489
490      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (newest rev)
491        items:
492          - const: google,wormdingler-sku0
493          - const: qcom,sc7180
494
495      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel and rt5682s (newest rev)
496        items:
497          - const: google,wormdingler-sku1
498          - const: qcom,sc7180
499
500      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - 4)
501        items:
502          - const: qcom,sc7280-crd
503          - const: google,hoglin-rev3
504          - const: google,hoglin-rev4
505          - const: google,piglin-rev3
506          - const: google,piglin-rev4
507          - const: qcom,sc7280
508
509      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (newest rev)
510        items:
511          - const: google,hoglin
512          - const: qcom,sc7280
513
514      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform
515        items:
516          - const: qcom,sc7280-idp
517          - const: google,senor
518          - const: qcom,sc7280
519
520      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform
521        items:
522          - const: qcom,sc7280-idp2
523          - const: google,piglin
524          - const: qcom,sc7280
525
526      - description: Google Herobrine (newest rev)
527        items:
528          - const: google,herobrine
529          - const: qcom,sc7280
530
531      - description: Google Villager (newest rev)
532        items:
533          - const: google,villager
534          - const: qcom,sc7280
535
536      - items:
537          - enum:
538              - lenovo,flex-5g
539              - microsoft,surface-prox
540              - qcom,sc8180x-primus
541          - const: qcom,sc8180x
542
543      - items:
544          - enum:
545              - lenovo,thinkpad-x13s
546              - qcom,sc8280xp-crd
547              - qcom,sc8280xp-qrd
548          - const: qcom,sc8280xp
549
550      - items:
551          - enum:
552              - inforce,ifc6560
553          - const: qcom,sda660
554
555      - items:
556          - enum:
557              - fairphone,fp3
558          - const: qcom,sdm632
559
560      - items:
561          - enum:
562              - xiaomi,lavender
563          - const: qcom,sdm660
564
565      - items:
566          - enum:
567              - qcom,sdx55-mtp
568              - qcom,sdx55-telit-fn980-tlb
569              - qcom,sdx55-t55
570          - const: qcom,sdx55
571
572      - items:
573          - enum:
574              - qcom,sdx65-mtp
575          - const: qcom,sdx65
576
577      - items:
578          - enum:
579              - qcom,ipq6018-cp01
580              - qcom,ipq6018-cp01-c1
581          - const: qcom,ipq6018
582
583      - items:
584          - enum:
585              - qcom,sa8155p-adp
586          - const: qcom,sa8155p
587
588      - items:
589          - enum:
590              - qcom,sa8295p-adp
591          - const: qcom,sa8540p
592
593      - items:
594          - enum:
595              - fairphone,fp4
596          - const: qcom,sm7225
597
598      - items:
599          - enum:
600              - qcom,sm8150-mtp
601          - const: qcom,sm8150
602
603      - items:
604          - enum:
605              - qcom,qrb5165-rb5
606              - qcom,sm8250-mtp
607          - const: qcom,sm8250
608
609      - items:
610          - enum:
611              - qcom,sm8350-hdk
612              - qcom,sm8350-mtp
613          - const: qcom,sm8350
614
615      - items:
616          - enum:
617              - qcom,sm8450-hdk
618              - qcom,sm8450-qrd
619          - const: qcom,sm8450
620
621additionalProperties: true
622
623...
624