xref: /freebsd/sys/contrib/device-tree/Bindings/arm/qcom.yaml (revision 9f44a47fd07924afc035991af15d84e6585dea4f)
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  - 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,j5
180              - samsung,serranove
181              - wingtech,wt88047
182          - const: qcom,msm8916
183
184      - items:
185          - const: longcheer,l8150
186          - const: qcom,msm8916-v1-qrd/9-v1
187          - const: qcom,msm8916
188
189      - items:
190          - enum:
191              - lg,bullhead
192              - microsoft,talkman
193              - xiaomi,libra
194          - const: qcom,msm8992
195
196      - items:
197          - enum:
198              - sony,karin_windy
199          - const: qcom,apq8094
200
201      - items:
202          - enum:
203              - huawei,angler
204              - microsoft,cityman
205              - sony,ivy-row
206              - sony,karin-row
207              - sony,satsuki-row
208              - sony,sumire-row
209              - sony,suzuran-row
210          - const: qcom,msm8994
211
212      - items:
213          - enum:
214              - arrow,apq8096-db820c
215              - inforce,ifc6640
216          - const: qcom,apq8096-sbc
217          - const: qcom,apq8096
218
219      - items:
220          - enum:
221              - qcom,msm8996-mtp
222              - sony,dora-row
223              - sony,kagura-row
224              - sony,keyaki-row
225              - xiaomi,gemini
226              - xiaomi,natrium
227              - xiaomi,scorpio
228          - const: qcom,msm8996
229
230      - items:
231          - enum:
232              - asus,novago-tp370ql
233              - fxtec,pro1
234              - hp,envy-x2
235              - lenovo,miix-630
236              - oneplus,cheeseburger
237              - oneplus,dumpling
238              - qcom,msm8998-mtp
239              - sony,xperia-lilac
240              - sony,xperia-maple
241              - sony,xperia-poplar
242          - const: qcom,msm8998
243
244      - items:
245          - enum:
246              - qcom,ipq4019-ap-dk01.1-c1
247              - qcom,ipq4019-ap-dk04.1-c3
248              - qcom,ipq4019-ap-dk07.1-c1
249              - qcom,ipq4019-ap-dk07.1-c2
250              - qcom,ipq4019-dk04.1-c1
251          - const: qcom,ipq4019
252
253      - items:
254          - enum:
255              - qcom,ipq8064-ap148
256          - const: qcom,ipq8064
257
258      - items:
259          - enum:
260              - qcom,ipq8074-hk01
261              - qcom,ipq8074-hk10-c1
262              - qcom,ipq8074-hk10-c2
263          - const: qcom,ipq8074
264
265      - description: Qualcomm Technologies, Inc. SC7180 IDP
266        items:
267          - enum:
268              - qcom,sc7180-idp
269          - const: qcom,sc7180
270
271      - description: HP Chromebook x2 11c (rev1 - 2)
272        items:
273          - const: google,coachz-rev1
274          - const: google,coachz-rev2
275          - const: qcom,sc7180
276
277      - description: HP Chromebook x2 11c (newest rev)
278        items:
279          - const: google,coachz
280          - const: qcom,sc7180
281
282      - description: HP Chromebook x2 11c with LTE (rev1 - 2)
283        items:
284          - const: google,coachz-rev1-sku0
285          - const: google,coachz-rev2-sku0
286          - const: qcom,sc7180
287
288      - description: HP Chromebook x2 11c with LTE (newest rev)
289        items:
290          - const: google,coachz-sku0
291          - const: qcom,sc7180
292
293      - description: Lenovo Chromebook Duet 5 13 (rev2)
294        items:
295          - const: google,homestar-rev2
296          - const: google,homestar-rev23
297          - const: qcom,sc7180
298
299      - description: Lenovo Chromebook Duet 5 13 (rev3)
300        items:
301          - const: google,homestar-rev3
302          - const: qcom,sc7180
303
304      - description: Lenovo Chromebook Duet 5 13 (newest rev)
305        items:
306          - const: google,homestar
307          - const: qcom,sc7180
308
309      - description: Google Kingoftown (rev0)
310        items:
311          - const: google,kingoftown-rev0
312          - const: qcom,sc7180
313
314      - description: Google Kingoftown (newest rev)
315        items:
316          - const: google,kingoftown
317          - const: qcom,sc7180
318
319      - description: Acer Chromebook Spin 513 (rev0)
320        items:
321          - const: google,lazor-rev0
322          - const: qcom,sc7180
323
324      - description: Acer Chromebook Spin 513 (rev1 - 2)
325        items:
326          - const: google,lazor-rev1
327          - const: google,lazor-rev2
328          - const: qcom,sc7180
329
330      - description: Acer Chromebook Spin 513 (rev3 - 8)
331        items:
332          - const: google,lazor-rev3
333          - const: google,lazor-rev4
334          - const: google,lazor-rev5
335          - const: google,lazor-rev6
336          - const: google,lazor-rev7
337          - const: google,lazor-rev8
338          - const: qcom,sc7180
339
340      - description: Acer Chromebook Spin 513 (newest rev)
341        items:
342          - const: google,lazor
343          - const: qcom,sc7180
344
345      - description: Acer Chromebook Spin 513 with KB Backlight (rev1 - 2)
346        items:
347          - const: google,lazor-rev1-sku2
348          - const: google,lazor-rev2-sku2
349          - const: qcom,sc7180
350
351      - description: Acer Chromebook Spin 513 with KB Backlight (rev3 - 8)
352        items:
353          - const: google,lazor-rev3-sku2
354          - const: google,lazor-rev4-sku2
355          - const: google,lazor-rev5-sku2
356          - const: google,lazor-rev6-sku2
357          - const: google,lazor-rev7-sku2
358          - const: google,lazor-rev8-sku2
359          - const: qcom,sc7180
360
361      - description: Acer Chromebook Spin 513 with KB Backlight (newest rev)
362        items:
363          - const: google,lazor-sku2
364          - const: qcom,sc7180
365
366      - description: Acer Chromebook Spin 513 with LTE (rev1 - 2)
367        items:
368          - const: google,lazor-rev1-sku0
369          - const: google,lazor-rev2-sku0
370          - const: qcom,sc7180
371
372      - description: Acer Chromebook Spin 513 with LTE (rev3 - 8)
373        items:
374          - const: google,lazor-rev3-sku0
375          - const: google,lazor-rev4-sku0
376          - const: google,lazor-rev5-sku0
377          - const: google,lazor-rev6-sku0
378          - const: google,lazor-rev7-sku0
379          - const: google,lazor-rev8-sku0
380          - const: qcom,sc7180
381
382      - description: Acer Chromebook Spin 513 with LTE (newest rev)
383        items:
384          - const: google,lazor-sku0
385          - const: qcom,sc7180
386
387      - description: Acer Chromebook 511 (rev4 - rev8)
388        items:
389          - const: google,lazor-rev4-sku4
390          - const: google,lazor-rev5-sku4
391          - const: google,lazor-rev6-sku4
392          - const: google,lazor-rev7-sku4
393          - const: google,lazor-rev8-sku4
394          - const: qcom,sc7180
395
396      - description: Acer Chromebook 511 (newest rev)
397        items:
398          - const: google,lazor-sku4
399          - const: qcom,sc7180
400
401      - description: Acer Chromebook 511 without Touchscreen (rev4)
402        items:
403          - const: google,lazor-rev4-sku5
404          - const: qcom,sc7180
405
406      - description: Acer Chromebook 511 without Touchscreen (rev5 - rev8)
407        items:
408          - const: google,lazor-rev5-sku5
409          - const: google,lazor-rev5-sku6
410          - const: google,lazor-rev6-sku6
411          - const: google,lazor-rev7-sku6
412          - const: google,lazor-rev8-sku6
413          - const: qcom,sc7180
414
415      - description: Acer Chromebook 511 without Touchscreen (newest rev)
416        items:
417          - const: google,lazor-sku6
418          - const: qcom,sc7180
419
420      - description: Google Mrbland with AUO panel (rev0)
421        items:
422          - const: google,mrbland-rev0-sku0
423          - const: qcom,sc7180
424
425      - description: Google Mrbland with AUO panel (newest rev)
426        items:
427          - const: google,mrbland-sku1536
428          - const: qcom,sc7180
429
430      - description: Google Mrbland with BOE panel (rev0)
431        items:
432          - const: google,mrbland-rev0-sku16
433          - const: qcom,sc7180
434
435      - description: Google Mrbland with BOE panel (newest rev)
436        items:
437          - const: google,mrbland-sku1024
438          - const: google,mrbland-sku768
439          - const: qcom,sc7180
440
441      - description: Google Pazquel with Parade (newest rev)
442        items:
443          - const: google,pazquel-sku5
444          - const: qcom,sc7180
445
446      - description: Google Pazquel with TI (newest rev)
447        items:
448          - const: google,pazquel-sku1
449          - const: qcom,sc7180
450
451      - description: Google Pazquel with LTE and Parade (newest rev)
452        items:
453          - const: google,pazquel-sku4
454          - const: qcom,sc7180
455
456      - description: Google Pazquel with LTE and TI (newest rev)
457        items:
458          - const: google,pazquel-sku0
459          - const: google,pazquel-sku2
460          - const: qcom,sc7180
461
462      - description: Sharp Dynabook Chromebook C1 (rev1)
463        items:
464          - const: google,pompom-rev1
465          - const: qcom,sc7180
466
467      - description: Sharp Dynabook Chromebook C1 (rev2)
468        items:
469          - const: google,pompom-rev2
470          - const: qcom,sc7180
471
472      - description: Sharp Dynabook Chromebook C1 (newest rev)
473        items:
474          - const: google,pompom
475          - const: qcom,sc7180
476
477      - description: Sharp Dynabook Chromebook C1 with LTE (rev1)
478        items:
479          - const: google,pompom-rev1-sku0
480          - const: qcom,sc7180
481
482      - description: Sharp Dynabook Chromebook C1 with LTE (rev2)
483        items:
484          - const: google,pompom-rev2-sku0
485          - const: qcom,sc7180
486
487      - description: Sharp Dynabook Chromebook C1 with LTE (newest rev)
488        items:
489          - const: google,pompom-sku0
490          - const: qcom,sc7180
491
492      - description: Google Quackingstick (newest rev)
493        items:
494          - const: google,quackingstick-sku1537
495          - const: qcom,sc7180
496
497      - description: Google Quackingstick with LTE (newest rev)
498        items:
499          - const: google,quackingstick-sku1536
500          - const: qcom,sc7180
501
502      - description: Google Trogdor (newest rev)
503        items:
504          - const: google,trogdor
505          - const: qcom,sc7180
506
507      - description: Google Trogdor with LTE (newest rev)
508        items:
509          - const: google,trogdor-sku0
510          - const: qcom,sc7180
511
512      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (rev0)
513        items:
514          - const: google,wormdingler-rev0-sku16
515          - const: qcom,sc7180
516
517      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel (newest rev)
518        items:
519          - const: google,wormdingler-sku1024
520          - const: qcom,sc7180
521
522      - description: Lenovo IdeaPad Chromebook Duet 3 with BOE panel and rt5682s (newest rev)
523        items:
524          - const: google,wormdingler-sku1025
525          - const: qcom,sc7180
526
527      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (rev0)
528        items:
529          - const: google,wormdingler-rev0-sku0
530          - const: qcom,sc7180
531
532      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel (newest rev)
533        items:
534          - const: google,wormdingler-sku0
535          - const: qcom,sc7180
536
537      - description: Lenovo IdeaPad Chromebook Duet 3 with INX panel and rt5682s (newest rev)
538        items:
539          - const: google,wormdingler-sku1
540          - const: qcom,sc7180
541
542      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - 4)
543        items:
544          - const: qcom,sc7280-crd
545          - const: google,hoglin-rev3
546          - const: google,hoglin-rev4
547          - const: google,piglin-rev3
548          - const: google,piglin-rev4
549          - const: qcom,sc7280
550
551      - description: Qualcomm Technologies, Inc. sc7280 CRD platform (newest rev)
552        items:
553          - const: google,hoglin
554          - const: qcom,sc7280
555
556      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU1 platform
557        items:
558          - const: qcom,sc7280-idp
559          - const: google,senor
560          - const: qcom,sc7280
561
562      - description: Qualcomm Technologies, Inc. sc7280 IDP SKU2 platform
563        items:
564          - const: qcom,sc7280-idp2
565          - const: google,piglin
566          - const: qcom,sc7280
567
568      - description: Google Herobrine (newest rev)
569        items:
570          - const: google,herobrine
571          - const: qcom,sc7280
572
573      - description: Google Villager (newest rev)
574        items:
575          - const: google,villager
576          - const: qcom,sc7280
577
578      - items:
579          - enum:
580              - lenovo,flex-5g
581              - microsoft,surface-prox
582              - qcom,sc8180x-primus
583          - const: qcom,sc8180x
584
585      - items:
586          - enum:
587              - lenovo,thinkpad-x13s
588              - qcom,sc8280xp-crd
589              - qcom,sc8280xp-qrd
590          - const: qcom,sc8280xp
591
592      - items:
593          - enum:
594              - sony,discovery-row
595              - sony,kirin-row
596              - sony,pioneer-row
597              - sony,voyager-row
598          - const: qcom,sdm630
599
600      - items:
601          - enum:
602              - inforce,ifc6560
603          - const: qcom,sda660
604
605      - items:
606          - enum:
607              - fairphone,fp3
608          - const: qcom,sdm632
609
610      - items:
611          - enum:
612              - sony,mermaid-row
613          - const: qcom,sdm636
614
615      - items:
616          - enum:
617              - xiaomi,lavender
618          - const: qcom,sdm660
619
620      - items:
621          - enum:
622              - qcom,sdx55-mtp
623              - qcom,sdx55-telit-fn980-tlb
624              - qcom,sdx55-t55
625          - const: qcom,sdx55
626
627      - items:
628          - enum:
629              - qcom,sdx65-mtp
630          - const: qcom,sdx65
631
632      - items:
633          - enum:
634              - qcom,ipq6018-cp01
635              - qcom,ipq6018-cp01-c1
636          - const: qcom,ipq6018
637
638      - items:
639          - enum:
640              - qcom,qcs404-evb-1000
641              - qcom,qcs404-evb-4000
642          - const: qcom,qcs404-evb
643          - const: qcom,qcs404
644
645      - items:
646          - enum:
647              - qcom,sa8155p-adp
648          - const: qcom,sa8155p
649
650      - items:
651          - enum:
652              - qcom,sa8295p-adp
653          - const: qcom,sa8540p
654
655      - items:
656          - enum:
657              - lenovo,yoga-c630
658              - lg,judyln
659              - lg,judyp
660              - oneplus,enchilada
661              - oneplus,fajita
662              - qcom,sdm845-mtp
663              - shift,axolotl
664              - samsung,w737
665              - sony,akari-row
666              - sony,akatsuki-row
667              - sony,apollo-row
668              - thundercomm,db845c
669              - xiaomi,beryllium
670              - xiaomi,polaris
671          - const: qcom,sdm845
672
673      - items:
674          - enum:
675              - sony,pdx201
676          - const: qcom,sm6125
677
678      - items:
679          - enum:
680              - sony,pdx213
681          - const: qcom,sm6350
682
683      - items:
684          - enum:
685              - fairphone,fp4
686          - const: qcom,sm7225
687
688      - items:
689          - enum:
690              - microsoft,surface-duo
691              - qcom,sm8150-hdk
692              - qcom,sm8150-mtp
693              - sony,bahamut-generic
694              - sony,griffin-generic
695          - const: qcom,sm8150
696
697      - items:
698          - enum:
699              - qcom,qrb5165-rb5
700              - qcom,sm8250-hdk
701              - qcom,sm8250-mtp
702              - sony,pdx203-generic
703              - sony,pdx206-generic
704          - const: qcom,sm8250
705
706      - items:
707          - enum:
708              - microsoft,surface-duo2
709              - qcom,sm8350-hdk
710              - qcom,sm8350-mtp
711              - sony,pdx214-generic
712              - sony,pdx215-generic
713          - const: qcom,sm8350
714
715      - items:
716          - enum:
717              - qcom,sm8450-hdk
718              - qcom,sm8450-qrd
719          - const: qcom,sm8450
720
721additionalProperties: true
722
723...
724