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        sc7180
43        sc7280
44        sdm630
45        sdm660
46        sdm845
47        sdx55
48        sdx65
49        sm7225
50        sm8150
51        sm8250
52        sm8350
53
54  The 'board' element must be one of the following strings:
55
56        adp
57        cdp
58        cp01-c1
59        dragonboard
60        hk01
61        hk10-c1
62        hk10-c2
63        idp
64        liquid
65        mtp
66        qrd
67        sbc
68
69  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
70  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
71  as v1. If all versions of the 'board_version' elements match, then a
72  wildcard '*' should be used, e.g. 'v*'.
73
74  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
75
76  Examples:
77
78  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
79
80  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
81  2.1.
82
83  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
84
85  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
86  foundry 2.
87
88properties:
89  $nodename:
90    const: "/"
91  compatible:
92    oneOf:
93      - items:
94          - enum:
95              - qcom,apq8016-sbc
96          - const: qcom,apq8016
97
98      - items:
99          - enum:
100              - lg,lenok
101          - const: qcom,apq8026
102
103      - items:
104          - enum:
105              - asus,nexus7-flo
106              - lg,nexus4-mako
107              - sony,xperia-yuga
108              - qcom,apq8064-cm-qs600
109              - qcom,apq8064-ifc6410
110          - const: qcom,apq8064
111
112      - items:
113          - enum:
114              - qcom,apq8074-dragonboard
115          - const: qcom,apq8074
116
117      - items:
118          - enum:
119              - qcom,apq8060-dragonboard
120              - qcom,msm8660-surf
121          - const: qcom,msm8660
122
123      - items:
124          - enum:
125              - qcom,apq8084-mtp
126              - qcom,apq8084-sbc
127          - const: qcom,apq8084
128
129      - items:
130          - enum:
131              - samsung,s3ve3g
132          - const: qcom,msm8226
133
134      - items:
135          - enum:
136              - qcom,msm8960-cdp
137          - const: qcom,msm8960
138
139      - items:
140          - enum:
141              - fairphone,fp2
142              - lge,hammerhead
143              - samsung,klte
144              - sony,xperia-amami
145              - sony,xperia-castor
146              - sony,xperia-honami
147          - const: qcom,msm8974
148
149      - items:
150          - enum:
151              - alcatel,idol347
152          - const: qcom,msm8916-mtp/1
153          - const: qcom,msm8916-mtp
154          - const: qcom,msm8916
155
156      - items:
157          - enum:
158              - longcheer,l8150
159              - samsung,a3u-eur
160              - samsung,a5u-eur
161          - const: qcom,msm8916
162
163      - items:
164          - enum:
165              - sony,karin_windy
166              - sony,karin-row
167              - sony,satsuki-row
168              - sony,sumire-row
169              - sony,suzuran-row
170              - qcom,msm8994
171          - const: qcom,apq8094
172
173      - items:
174          - const: qcom,msm8996-mtp
175
176      - items:
177          - enum:
178              - qcom,ipq4019-ap-dk01.1-c1
179              - qcom,ipq4019-ap-dk04.1-c3
180              - qcom,ipq4019-ap-dk07.1-c1
181              - qcom,ipq4019-ap-dk07.1-c2
182              - qcom,ipq4019-dk04.1-c1
183          - const: qcom,ipq4019
184
185      - items:
186          - enum:
187              - qcom,ipq8064-ap148
188          - const: qcom,ipq8064
189
190      - items:
191          - enum:
192              - qcom,ipq8074-hk01
193              - qcom,ipq8074-hk10-c1
194              - qcom,ipq8074-hk10-c2
195          - const: qcom,ipq8074
196
197      - items:
198          - enum:
199              - qcom,sc7180-idp
200          - const: qcom,sc7180
201
202      - items:
203          - enum:
204              - qcom,sc7280-idp
205              - qcom,sc7280-idp2
206              - google,piglin
207              - google,senor
208          - const: qcom,sc7280
209
210      - items:
211          - enum:
212              - xiaomi,lavender
213          - const: qcom,sdm660
214
215      - items:
216          - enum:
217              - qcom,sdx55-mtp
218              - qcom,sdx55-telit-fn980-tlb
219              - qcom,sdx55-t55
220          - const: qcom,sdx55
221
222      - items:
223          - enum:
224              - qcom,sdx65-mtp
225          - const: qcom,sdx65
226
227      - items:
228          - enum:
229              - qcom,ipq6018-cp01
230              - qcom,ipq6018-cp01-c1
231          - const: qcom,ipq6018
232
233      - items:
234          - enum:
235              - qcom,sa8155p-adp
236          - const: qcom,sa8155p
237
238      - items:
239          - enum:
240              - fairphone,fp4
241          - const: qcom,sm7225
242
243      - items:
244          - enum:
245              - qcom,sm8150-mtp
246          - const: qcom,sm8150
247
248      - items:
249          - enum:
250              - qcom,qrb5165-rb5
251              - qcom,sm8250-mtp
252          - const: qcom,sm8250
253
254      - items:
255          - enum:
256              - qcom,sm8350-hdk
257              - qcom,sm8350-mtp
258          - const: qcom,sm8350
259
260additionalProperties: true
261
262...
263