Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / arm / qcom.yaml
blobc97d4a580f47b0b1674b9f43b62e3d780f21a8cf
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#
7 title: QCOM device tree bindings
9 maintainers:
10   - Stephen Boyd <sboyd@codeaurora.org>
12 description: |
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.
18   Each board must specify a top-level board compatible string with the following
19   format:
21         compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]"
23   The 'SoC' and 'board' elements are required. All other elements are optional.
25   The 'SoC' element must be one of the following strings:
27         apq8016
28         apq8074
29         apq8084
30         apq8096
31         ipq6018
32         ipq8074
33         mdm9615
34         msm8916
35         msm8974
36         msm8992
37         msm8994
38         msm8996
39         sc7180
40         sdm630
41         sdm660
42         sdm845
43         sm8250
45   The 'board' element must be one of the following strings:
47         cdp
48         cp01-c1
49         dragonboard
50         hk01
51         hk10-c1
52         hk10-c2
53         idp
54         liquid
55         mtp
56         qrd
57         sbc
59   The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
60   where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
61   as v1. If all versions of the 'board_version' elements match, then a
62   wildcard '*' should be used, e.g. 'v*'.
64   The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
66   Examples:
68         "qcom,msm8916-v1-cdp-pm8916-v2.1"
70   A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
71   2.1.
73         "qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
75   A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
76   foundry 2.
78 properties:
79   $nodename:
80     const: "/"
81   compatible:
82     oneOf:
83       - items:
84           - enum:
85               - qcom,apq8016-sbc
86           - const: qcom,apq8016
88       - items:
89           - enum:
90               - qcom,apq8064-cm-qs600
91               - qcom,apq8064-ifc6410
92           - const: qcom,apq8064
94       - items:
95           - enum:
96               - qcom,apq8074-dragonboard
97           - const: qcom,apq8074
99       - items:
100           - enum:
101               - qcom,apq8060-dragonboard
102               - qcom,msm8660-surf
103           - const: qcom,msm8660
105       - items:
106           - enum:
107               - qcom,apq8084-mtp
108               - qcom,apq8084-sbc
109           - const: qcom,apq8084
111       - items:
112           - enum:
113               - qcom,msm8960-cdp
114           - const: qcom,msm8960
116       - items:
117           - enum:
118               - fairphone,fp2
119               - lge,hammerhead
120               - sony,xperia-amami
121               - sony,xperia-castor
122               - sony,xperia-honami
123           - const: qcom,msm8974
125       - items:
126           - const: qcom,msm8916-mtp/1
127           - const: qcom,msm8916-mtp
128           - const: qcom,msm8916
130       - items:
131           - enum:
132               - longcheer,l8150
133               - samsung,a3u-eur
134               - samsung,a5u-eur
135           - const: qcom,msm8916
137       - items:
138           - const: qcom,msm8996-mtp
140       - items:
141           - enum:
142               - qcom,ipq4019-ap-dk04.1-c3
143               - qcom,ipq4019-ap-dk07.1-c1
144               - qcom,ipq4019-ap-dk07.1-c2
145               - qcom,ipq4019-dk04.1-c1
146           - const: qcom,ipq4019
148       - items:
149           - enum:
150               - qcom,ipq8064-ap148
151           - const: qcom,ipq8064
153       - items:
154           - enum:
155               - qcom,ipq8074-hk01
156               - qcom,ipq8074-hk10-c1
157               - qcom,ipq8074-hk10-c2
158           - const: qcom,ipq8074
160       - items:
161           - enum:
162               - qcom,sc7180-idp
163           - const: qcom,sc7180
165       - items:
166           - enum:
167               - xiaomi,lavender
168           - const: qcom,sdm660
170       - items:
171           - enum:
172               - qcom,ipq6018-cp01-c1
173           - const: qcom,ipq6018
175       - items:
176           - enum:
177               - qcom,qrb5165-rb5
178               - qcom,sm8250-mtp
179           - const: qcom,sm8250
181 additionalProperties: true