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