xref: /linux/Documentation/devicetree/bindings/arm/qcom.yaml (revision dbbccb3db122558b35ecb4c87a86bbad37c80862)
19d3ef77fSRob Herring# SPDX-License-Identifier: GPL-2.0
29d3ef77fSRob Herring%YAML 1.2
39d3ef77fSRob Herring---
404dbd865SRob Herring$id: http://devicetree.org/schemas/arm/qcom.yaml#
59d3ef77fSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
69d3ef77fSRob Herring
79d3ef77fSRob Herringtitle: QCOM device tree bindings
89d3ef77fSRob Herring
99d3ef77fSRob Herringmaintainers:
109d3ef77fSRob Herring  - Stephen Boyd <sboyd@codeaurora.org>
119d3ef77fSRob Herring
129d3ef77fSRob Herringdescription: |
139d3ef77fSRob Herring  Some qcom based bootloaders identify the dtb blob based on a set of
149d3ef77fSRob Herring  device properties like SoC and platform and revisions of those components.
159d3ef77fSRob Herring  To support this scheme, we encode this information into the board compatible
169d3ef77fSRob Herring  string.
179d3ef77fSRob Herring
189d3ef77fSRob Herring  Each board must specify a top-level board compatible string with the following
199d3ef77fSRob Herring  format:
209d3ef77fSRob Herring
219d3ef77fSRob Herring  	compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]"
229d3ef77fSRob Herring
239d3ef77fSRob Herring  The 'SoC' and 'board' elements are required. All other elements are optional.
249d3ef77fSRob Herring
259d3ef77fSRob Herring  The 'SoC' element must be one of the following strings:
269d3ef77fSRob Herring
279d3ef77fSRob Herring        apq8016
2821f3cbf6SLuca Weiss        apq8026
299d3ef77fSRob Herring        apq8074
309d3ef77fSRob Herring        apq8084
319d3ef77fSRob Herring        apq8096
322f0c17faSSricharan R        ipq6018
33f1cbee2dSRajendra Nayak        ipq8074
34f1cbee2dSRajendra Nayak        mdm9615
35ef537057SBartosz Dudziak        msm8226
369d3ef77fSRob Herring        msm8916
379d3ef77fSRob Herring        msm8974
389d3ef77fSRob Herring        msm8992
399d3ef77fSRob Herring        msm8994
409d3ef77fSRob Herring        msm8996
410bc14d4aSBhupesh Sharma        sa8155p
42a1793920SBjorn Andersson        sa8540p
43f1cbee2dSRajendra Nayak        sc7180
4436dc1681SRajendra Nayak        sc7280
45a1793920SBjorn Andersson        sc8180x
46a1793920SBjorn Andersson        sc8280xp
47aab86bbbSAlexey Minnekhanov        sdm630
48cb898d5eSLuca Weiss        sdm632
49aab86bbbSAlexey Minnekhanov        sdm660
509d3ef77fSRob Herring        sdm845
5171935423SVinod Koul        sdx55
5261339f36SVamsi krishna Lanka        sdx65
538ceb1db0SLuca Weiss        sm7225
541534fac3SBhupesh Sharma        sm8150
55152a1b4cSManivannan Sadhasivam        sm8250
562c1b8ebeSVinod Koul        sm8350
570e57fe4dSVinod Koul        sm8450
589d3ef77fSRob Herring
599d3ef77fSRob Herring  The 'board' element must be one of the following strings:
609d3ef77fSRob Herring
610bc14d4aSBhupesh Sharma        adp
629d3ef77fSRob Herring        cdp
632f0c17faSSricharan R        cp01-c1
649d3ef77fSRob Herring        dragonboard
659d3ef77fSRob Herring        hk01
665f854f09SGokul Sriram Palanisamy        hk10-c1
675f854f09SGokul Sriram Palanisamy        hk10-c2
68f1cbee2dSRajendra Nayak        idp
69f1cbee2dSRajendra Nayak        liquid
70f1cbee2dSRajendra Nayak        mtp
71b72160faSStephan Gerhold        qrd
72f1cbee2dSRajendra Nayak        sbc
739d3ef77fSRob Herring
749d3ef77fSRob Herring  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
759d3ef77fSRob Herring  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
769d3ef77fSRob Herring  as v1. If all versions of the 'board_version' elements match, then a
779d3ef77fSRob Herring  wildcard '*' should be used, e.g. 'v*'.
789d3ef77fSRob Herring
799d3ef77fSRob Herring  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
809d3ef77fSRob Herring
819d3ef77fSRob Herring  Examples:
829d3ef77fSRob Herring
839d3ef77fSRob Herring  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
849d3ef77fSRob Herring
859d3ef77fSRob Herring  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
869d3ef77fSRob Herring  2.1.
879d3ef77fSRob Herring
889d3ef77fSRob Herring  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
899d3ef77fSRob Herring
909d3ef77fSRob Herring  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
919d3ef77fSRob Herring  foundry 2.
929d3ef77fSRob Herring
93*dbbccb3dSDouglas Anderson  There are many devices in the list below that run the standard ChromeOS
94*dbbccb3dSDouglas Anderson  bootloader setup and use the open source depthcharge bootloader to boot the
95*dbbccb3dSDouglas Anderson  OS. These devices do not use the scheme described above. For details, see:
96*dbbccb3dSDouglas Anderson  https://docs.kernel.org/arm/google/chromebook-boot-flow.html
97*dbbccb3dSDouglas Anderson
989d3ef77fSRob Herringproperties:
99c34095faSRob Herring  $nodename:
100c34095faSRob Herring    const: "/"
1019d3ef77fSRob Herring  compatible:
1029d3ef77fSRob Herring    oneOf:
1039d3ef77fSRob Herring      - items:
1049d3ef77fSRob Herring          - enum:
1059d3ef77fSRob Herring              - qcom,apq8016-sbc
1069d3ef77fSRob Herring          - const: qcom,apq8016
1079d3ef77fSRob Herring
1089d3ef77fSRob Herring      - items:
1099d3ef77fSRob Herring          - enum:
110b736cedcSLuca Weiss              - asus,sparrow
1115e4aac2cSLuca Weiss              - lg,lenok
11221f3cbf6SLuca Weiss          - const: qcom,apq8026
11321f3cbf6SLuca Weiss
11421f3cbf6SLuca Weiss      - items:
11521f3cbf6SLuca Weiss          - enum:
1169304af37SDavid Heidelberg              - asus,nexus7-flo
1175ac80a76SDavid Heidelberg              - lg,nexus4-mako
1189304af37SDavid Heidelberg              - sony,xperia-yuga
1199d3ef77fSRob Herring              - qcom,apq8064-cm-qs600
1209d3ef77fSRob Herring              - qcom,apq8064-ifc6410
1219d3ef77fSRob Herring          - const: qcom,apq8064
1229d3ef77fSRob Herring
1239d3ef77fSRob Herring      - items:
1249d3ef77fSRob Herring          - enum:
1259d3ef77fSRob Herring              - qcom,apq8074-dragonboard
1269d3ef77fSRob Herring          - const: qcom,apq8074
1279d3ef77fSRob Herring
1289d3ef77fSRob Herring      - items:
1299d3ef77fSRob Herring          - enum:
1309d3ef77fSRob Herring              - qcom,apq8060-dragonboard
1319d3ef77fSRob Herring              - qcom,msm8660-surf
1329d3ef77fSRob Herring          - const: qcom,msm8660
1339d3ef77fSRob Herring
1349d3ef77fSRob Herring      - items:
1359d3ef77fSRob Herring          - enum:
1369d3ef77fSRob Herring              - qcom,apq8084-mtp
1379d3ef77fSRob Herring              - qcom,apq8084-sbc
1389d3ef77fSRob Herring          - const: qcom,apq8084
1399d3ef77fSRob Herring
1409d3ef77fSRob Herring      - items:
1419d3ef77fSRob Herring          - enum:
142ef537057SBartosz Dudziak              - samsung,s3ve3g
143ef537057SBartosz Dudziak          - const: qcom,msm8226
144ef537057SBartosz Dudziak
145ef537057SBartosz Dudziak      - items:
146ef537057SBartosz Dudziak          - enum:
1479d3ef77fSRob Herring              - qcom,msm8960-cdp
1489d3ef77fSRob Herring          - const: qcom,msm8960
1499d3ef77fSRob Herring
1509d3ef77fSRob Herring      - items:
151e5dad30bSRob Herring          - enum:
152e5dad30bSRob Herring              - fairphone,fp2
153e5dad30bSRob Herring              - lge,hammerhead
1549304af37SDavid Heidelberg              - samsung,klte
155e5dad30bSRob Herring              - sony,xperia-amami
156e5dad30bSRob Herring              - sony,xperia-castor
157e5dad30bSRob Herring              - sony,xperia-honami
158e5dad30bSRob Herring          - const: qcom,msm8974
159e5dad30bSRob Herring
160e5dad30bSRob Herring      - items:
161e9dd2f72SVinod Koul          - enum:
162e9dd2f72SVinod Koul              - alcatel,idol347
1639d3ef77fSRob Herring          - const: qcom,msm8916-mtp/1
1649d3ef77fSRob Herring          - const: qcom,msm8916-mtp
1659d3ef77fSRob Herring          - const: qcom,msm8916
1669d3ef77fSRob Herring
1679d3ef77fSRob Herring      - items:
168b72160faSStephan Gerhold          - enum:
169b72160faSStephan Gerhold              - longcheer,l8150
170b72160faSStephan Gerhold              - samsung,a3u-eur
171b72160faSStephan Gerhold              - samsung,a5u-eur
172b72160faSStephan Gerhold          - const: qcom,msm8916
173b72160faSStephan Gerhold
174b72160faSStephan Gerhold      - items:
1759ad3c08fSVinod Koul          - enum:
1769ad3c08fSVinod Koul              - sony,karin_windy
1779ad3c08fSVinod Koul              - sony,karin-row
1789ad3c08fSVinod Koul              - sony,satsuki-row
1799ad3c08fSVinod Koul              - sony,sumire-row
1809ad3c08fSVinod Koul              - sony,suzuran-row
1819ad3c08fSVinod Koul              - qcom,msm8994
1829ad3c08fSVinod Koul          - const: qcom,apq8094
1839ad3c08fSVinod Koul
1849ad3c08fSVinod Koul      - items:
185134cfc55SYassine Oudjana          - enum:
186134cfc55SYassine Oudjana              - arrow,apq8096-db820c
187134cfc55SYassine Oudjana              - inforce,ifc6640
188134cfc55SYassine Oudjana          - const: qcom,apq8096-sbc
189134cfc55SYassine Oudjana          - const: qcom,apq8096
190134cfc55SYassine Oudjana
191134cfc55SYassine Oudjana      - items:
192134cfc55SYassine Oudjana          - enum:
193134cfc55SYassine Oudjana              - qcom,msm8996-mtp
194134cfc55SYassine Oudjana              - sony,dora-row
195134cfc55SYassine Oudjana              - sony,kagura-row
196134cfc55SYassine Oudjana              - sony,keyaki-row
197134cfc55SYassine Oudjana              - xiaomi,gemini
198134cfc55SYassine Oudjana              - xiaomi,scorpio
199134cfc55SYassine Oudjana          - const: qcom,msm8996
2009d3ef77fSRob Herring
2019d3ef77fSRob Herring      - items:
2025732bea6SRob Herring          - enum:
2033f38ac6fSDavid Heidelberg              - qcom,ipq4019-ap-dk01.1-c1
2045732bea6SRob Herring              - qcom,ipq4019-ap-dk04.1-c3
2055732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c1
2065732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c2
2075732bea6SRob Herring              - qcom,ipq4019-dk04.1-c1
2089d3ef77fSRob Herring          - const: qcom,ipq4019
2099d3ef77fSRob Herring
2109d3ef77fSRob Herring      - items:
2119d3ef77fSRob Herring          - enum:
2129d3ef77fSRob Herring              - qcom,ipq8064-ap148
2139d3ef77fSRob Herring          - const: qcom,ipq8064
2149d3ef77fSRob Herring
2159d3ef77fSRob Herring      - items:
2169d3ef77fSRob Herring          - enum:
2179d3ef77fSRob Herring              - qcom,ipq8074-hk01
2185f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c1
2195f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c2
2209d3ef77fSRob Herring          - const: qcom,ipq8074
2219d3ef77fSRob Herring
222f1cbee2dSRajendra Nayak      - items:
223f1cbee2dSRajendra Nayak          - enum:
224f1cbee2dSRajendra Nayak              - qcom,sc7180-idp
225f1cbee2dSRajendra Nayak          - const: qcom,sc7180
2262f0c17faSSricharan R
2272f0c17faSSricharan R      - items:
2282f0c17faSSricharan R          - enum:
2297a21328bSRajendra Nayak              - qcom,sc7280-crd
23036dc1681SRajendra Nayak              - qcom,sc7280-idp
23114fec168SRajendra Nayak              - qcom,sc7280-idp2
2327a21328bSRajendra Nayak              - google,hoglin
23314fec168SRajendra Nayak              - google,piglin
23417bf8dfaSRajendra Nayak              - google,senor
23536dc1681SRajendra Nayak          - const: qcom,sc7280
23636dc1681SRajendra Nayak
23736dc1681SRajendra Nayak      - items:
23836dc1681SRajendra Nayak          - enum:
239a1793920SBjorn Andersson              - lenovo,flex-5g
240a1793920SBjorn Andersson              - microsoft,surface-prox
241a1793920SBjorn Andersson              - qcom,sc8180x-primus
242a1793920SBjorn Andersson          - const: qcom,sc8180x
243a1793920SBjorn Andersson
244a1793920SBjorn Andersson      - items:
245a1793920SBjorn Andersson          - enum:
246a1793920SBjorn Andersson              - qcom,sc8280xp-qrd
247a1793920SBjorn Andersson          - const: qcom,sc8280xp
248a1793920SBjorn Andersson
249a1793920SBjorn Andersson      - items:
250a1793920SBjorn Andersson          - enum:
251cb898d5eSLuca Weiss              - fairphone,fp3
252cb898d5eSLuca Weiss          - const: qcom,sdm632
253cb898d5eSLuca Weiss
254cb898d5eSLuca Weiss      - items:
255cb898d5eSLuca Weiss          - enum:
256aab86bbbSAlexey Minnekhanov              - xiaomi,lavender
257aab86bbbSAlexey Minnekhanov          - const: qcom,sdm660
258aab86bbbSAlexey Minnekhanov
259aab86bbbSAlexey Minnekhanov      - items:
260aab86bbbSAlexey Minnekhanov          - enum:
26171935423SVinod Koul              - qcom,sdx55-mtp
262222ed6a2SManivannan Sadhasivam              - qcom,sdx55-telit-fn980-tlb
263328008f4SManivannan Sadhasivam              - qcom,sdx55-t55
26471935423SVinod Koul          - const: qcom,sdx55
26571935423SVinod Koul
26671935423SVinod Koul      - items:
26771935423SVinod Koul          - enum:
26861339f36SVamsi krishna Lanka              - qcom,sdx65-mtp
26961339f36SVamsi krishna Lanka          - const: qcom,sdx65
27061339f36SVamsi krishna Lanka
27161339f36SVamsi krishna Lanka      - items:
27261339f36SVamsi krishna Lanka          - enum:
273ddfb3fc4SVinod Koul              - qcom,ipq6018-cp01
2742f0c17faSSricharan R              - qcom,ipq6018-cp01-c1
2752f0c17faSSricharan R          - const: qcom,ipq6018
2762f0c17faSSricharan R
277152a1b4cSManivannan Sadhasivam      - items:
278152a1b4cSManivannan Sadhasivam          - enum:
2790bc14d4aSBhupesh Sharma              - qcom,sa8155p-adp
2800bc14d4aSBhupesh Sharma          - const: qcom,sa8155p
2810bc14d4aSBhupesh Sharma
2820bc14d4aSBhupesh Sharma      - items:
2830bc14d4aSBhupesh Sharma          - enum:
284a1793920SBjorn Andersson              - qcom,sa8295p-adp
285a1793920SBjorn Andersson          - const: qcom,sa8540p
286a1793920SBjorn Andersson
287a1793920SBjorn Andersson      - items:
288a1793920SBjorn Andersson          - enum:
2898ceb1db0SLuca Weiss              - fairphone,fp4
2908ceb1db0SLuca Weiss          - const: qcom,sm7225
2918ceb1db0SLuca Weiss
2928ceb1db0SLuca Weiss      - items:
2938ceb1db0SLuca Weiss          - enum:
2941534fac3SBhupesh Sharma              - qcom,sm8150-mtp
2951534fac3SBhupesh Sharma          - const: qcom,sm8150
2961534fac3SBhupesh Sharma
2971534fac3SBhupesh Sharma      - items:
2981534fac3SBhupesh Sharma          - enum:
299152a1b4cSManivannan Sadhasivam              - qcom,qrb5165-rb5
300152a1b4cSManivannan Sadhasivam              - qcom,sm8250-mtp
301152a1b4cSManivannan Sadhasivam          - const: qcom,sm8250
302152a1b4cSManivannan Sadhasivam
3032c1b8ebeSVinod Koul      - items:
3042c1b8ebeSVinod Koul          - enum:
305c07ea1b4SBjorn Andersson              - qcom,sm8350-hdk
3062c1b8ebeSVinod Koul              - qcom,sm8350-mtp
3072c1b8ebeSVinod Koul          - const: qcom,sm8350
3082c1b8ebeSVinod Koul
3090e57fe4dSVinod Koul      - items:
3100e57fe4dSVinod Koul          - enum:
31142d3ce71SVinod Koul              - qcom,sm8450-hdk
3120e57fe4dSVinod Koul              - qcom,sm8450-qrd
3130e57fe4dSVinod Koul          - const: qcom,sm8450
3140e57fe4dSVinod Koul
31562298364SRob HerringadditionalProperties: true
31662298364SRob Herring
3179d3ef77fSRob Herring...
318