xref: /linux/Documentation/devicetree/bindings/arm/qcom.yaml (revision 0e57fe4d11e59a9625b30be18b84aa69e32f0c37)
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
42f1cbee2dSRajendra Nayak        sc7180
4336dc1681SRajendra Nayak        sc7280
44aab86bbbSAlexey Minnekhanov        sdm630
45aab86bbbSAlexey Minnekhanov        sdm660
469d3ef77fSRob Herring        sdm845
4771935423SVinod Koul        sdx55
4861339f36SVamsi krishna Lanka        sdx65
498ceb1db0SLuca Weiss        sm7225
501534fac3SBhupesh Sharma        sm8150
51152a1b4cSManivannan Sadhasivam        sm8250
522c1b8ebeSVinod Koul        sm8350
53*0e57fe4dSVinod Koul        sm8450
549d3ef77fSRob Herring
559d3ef77fSRob Herring  The 'board' element must be one of the following strings:
569d3ef77fSRob Herring
570bc14d4aSBhupesh Sharma        adp
589d3ef77fSRob Herring        cdp
592f0c17faSSricharan R        cp01-c1
609d3ef77fSRob Herring        dragonboard
619d3ef77fSRob Herring        hk01
625f854f09SGokul Sriram Palanisamy        hk10-c1
635f854f09SGokul Sriram Palanisamy        hk10-c2
64f1cbee2dSRajendra Nayak        idp
65f1cbee2dSRajendra Nayak        liquid
66f1cbee2dSRajendra Nayak        mtp
67b72160faSStephan Gerhold        qrd
68f1cbee2dSRajendra Nayak        sbc
699d3ef77fSRob Herring
709d3ef77fSRob Herring  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
719d3ef77fSRob Herring  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
729d3ef77fSRob Herring  as v1. If all versions of the 'board_version' elements match, then a
739d3ef77fSRob Herring  wildcard '*' should be used, e.g. 'v*'.
749d3ef77fSRob Herring
759d3ef77fSRob Herring  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
769d3ef77fSRob Herring
779d3ef77fSRob Herring  Examples:
789d3ef77fSRob Herring
799d3ef77fSRob Herring  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
809d3ef77fSRob Herring
819d3ef77fSRob Herring  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
829d3ef77fSRob Herring  2.1.
839d3ef77fSRob Herring
849d3ef77fSRob Herring  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
859d3ef77fSRob Herring
869d3ef77fSRob Herring  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
879d3ef77fSRob Herring  foundry 2.
889d3ef77fSRob Herring
899d3ef77fSRob Herringproperties:
90c34095faSRob Herring  $nodename:
91c34095faSRob Herring    const: "/"
929d3ef77fSRob Herring  compatible:
939d3ef77fSRob Herring    oneOf:
949d3ef77fSRob Herring      - items:
959d3ef77fSRob Herring          - enum:
969d3ef77fSRob Herring              - qcom,apq8016-sbc
979d3ef77fSRob Herring          - const: qcom,apq8016
989d3ef77fSRob Herring
999d3ef77fSRob Herring      - items:
1009d3ef77fSRob Herring          - enum:
1015e4aac2cSLuca Weiss              - lg,lenok
10221f3cbf6SLuca Weiss          - const: qcom,apq8026
10321f3cbf6SLuca Weiss
10421f3cbf6SLuca Weiss      - items:
10521f3cbf6SLuca Weiss          - enum:
1069304af37SDavid Heidelberg              - asus,nexus7-flo
1075ac80a76SDavid Heidelberg              - lg,nexus4-mako
1089304af37SDavid Heidelberg              - sony,xperia-yuga
1099d3ef77fSRob Herring              - qcom,apq8064-cm-qs600
1109d3ef77fSRob Herring              - qcom,apq8064-ifc6410
1119d3ef77fSRob Herring          - const: qcom,apq8064
1129d3ef77fSRob Herring
1139d3ef77fSRob Herring      - items:
1149d3ef77fSRob Herring          - enum:
1159d3ef77fSRob Herring              - qcom,apq8074-dragonboard
1169d3ef77fSRob Herring          - const: qcom,apq8074
1179d3ef77fSRob Herring
1189d3ef77fSRob Herring      - items:
1199d3ef77fSRob Herring          - enum:
1209d3ef77fSRob Herring              - qcom,apq8060-dragonboard
1219d3ef77fSRob Herring              - qcom,msm8660-surf
1229d3ef77fSRob Herring          - const: qcom,msm8660
1239d3ef77fSRob Herring
1249d3ef77fSRob Herring      - items:
1259d3ef77fSRob Herring          - enum:
1269d3ef77fSRob Herring              - qcom,apq8084-mtp
1279d3ef77fSRob Herring              - qcom,apq8084-sbc
1289d3ef77fSRob Herring          - const: qcom,apq8084
1299d3ef77fSRob Herring
1309d3ef77fSRob Herring      - items:
1319d3ef77fSRob Herring          - enum:
132ef537057SBartosz Dudziak              - samsung,s3ve3g
133ef537057SBartosz Dudziak          - const: qcom,msm8226
134ef537057SBartosz Dudziak
135ef537057SBartosz Dudziak      - items:
136ef537057SBartosz Dudziak          - enum:
1379d3ef77fSRob Herring              - qcom,msm8960-cdp
1389d3ef77fSRob Herring          - const: qcom,msm8960
1399d3ef77fSRob Herring
1409d3ef77fSRob Herring      - items:
141e5dad30bSRob Herring          - enum:
142e5dad30bSRob Herring              - fairphone,fp2
143e5dad30bSRob Herring              - lge,hammerhead
1449304af37SDavid Heidelberg              - samsung,klte
145e5dad30bSRob Herring              - sony,xperia-amami
146e5dad30bSRob Herring              - sony,xperia-castor
147e5dad30bSRob Herring              - sony,xperia-honami
148e5dad30bSRob Herring          - const: qcom,msm8974
149e5dad30bSRob Herring
150e5dad30bSRob Herring      - items:
151e9dd2f72SVinod Koul          - enum:
152e9dd2f72SVinod Koul              - alcatel,idol347
1539d3ef77fSRob Herring          - const: qcom,msm8916-mtp/1
1549d3ef77fSRob Herring          - const: qcom,msm8916-mtp
1559d3ef77fSRob Herring          - const: qcom,msm8916
1569d3ef77fSRob Herring
1579d3ef77fSRob Herring      - items:
158b72160faSStephan Gerhold          - enum:
159b72160faSStephan Gerhold              - longcheer,l8150
160b72160faSStephan Gerhold              - samsung,a3u-eur
161b72160faSStephan Gerhold              - samsung,a5u-eur
162b72160faSStephan Gerhold          - const: qcom,msm8916
163b72160faSStephan Gerhold
164b72160faSStephan Gerhold      - items:
1659ad3c08fSVinod Koul          - enum:
1669ad3c08fSVinod Koul              - sony,karin_windy
1679ad3c08fSVinod Koul              - sony,karin-row
1689ad3c08fSVinod Koul              - sony,satsuki-row
1699ad3c08fSVinod Koul              - sony,sumire-row
1709ad3c08fSVinod Koul              - sony,suzuran-row
1719ad3c08fSVinod Koul              - qcom,msm8994
1729ad3c08fSVinod Koul          - const: qcom,apq8094
1739ad3c08fSVinod Koul
1749ad3c08fSVinod Koul      - items:
1759d3ef77fSRob Herring          - const: qcom,msm8996-mtp
1769d3ef77fSRob Herring
1779d3ef77fSRob Herring      - items:
1785732bea6SRob Herring          - enum:
1793f38ac6fSDavid Heidelberg              - qcom,ipq4019-ap-dk01.1-c1
1805732bea6SRob Herring              - qcom,ipq4019-ap-dk04.1-c3
1815732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c1
1825732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c2
1835732bea6SRob Herring              - qcom,ipq4019-dk04.1-c1
1849d3ef77fSRob Herring          - const: qcom,ipq4019
1859d3ef77fSRob Herring
1869d3ef77fSRob Herring      - items:
1879d3ef77fSRob Herring          - enum:
1889d3ef77fSRob Herring              - qcom,ipq8064-ap148
1899d3ef77fSRob Herring          - const: qcom,ipq8064
1909d3ef77fSRob Herring
1919d3ef77fSRob Herring      - items:
1929d3ef77fSRob Herring          - enum:
1939d3ef77fSRob Herring              - qcom,ipq8074-hk01
1945f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c1
1955f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c2
1969d3ef77fSRob Herring          - const: qcom,ipq8074
1979d3ef77fSRob Herring
198f1cbee2dSRajendra Nayak      - items:
199f1cbee2dSRajendra Nayak          - enum:
200f1cbee2dSRajendra Nayak              - qcom,sc7180-idp
201f1cbee2dSRajendra Nayak          - const: qcom,sc7180
2022f0c17faSSricharan R
2032f0c17faSSricharan R      - items:
2042f0c17faSSricharan R          - enum:
20536dc1681SRajendra Nayak              - qcom,sc7280-idp
20614fec168SRajendra Nayak              - qcom,sc7280-idp2
20714fec168SRajendra Nayak              - google,piglin
20817bf8dfaSRajendra Nayak              - google,senor
20936dc1681SRajendra Nayak          - const: qcom,sc7280
21036dc1681SRajendra Nayak
21136dc1681SRajendra Nayak      - items:
21236dc1681SRajendra Nayak          - enum:
213aab86bbbSAlexey Minnekhanov              - xiaomi,lavender
214aab86bbbSAlexey Minnekhanov          - const: qcom,sdm660
215aab86bbbSAlexey Minnekhanov
216aab86bbbSAlexey Minnekhanov      - items:
217aab86bbbSAlexey Minnekhanov          - enum:
21871935423SVinod Koul              - qcom,sdx55-mtp
219222ed6a2SManivannan Sadhasivam              - qcom,sdx55-telit-fn980-tlb
220328008f4SManivannan Sadhasivam              - qcom,sdx55-t55
22171935423SVinod Koul          - const: qcom,sdx55
22271935423SVinod Koul
22371935423SVinod Koul      - items:
22471935423SVinod Koul          - enum:
22561339f36SVamsi krishna Lanka              - qcom,sdx65-mtp
22661339f36SVamsi krishna Lanka          - const: qcom,sdx65
22761339f36SVamsi krishna Lanka
22861339f36SVamsi krishna Lanka      - items:
22961339f36SVamsi krishna Lanka          - enum:
230ddfb3fc4SVinod Koul              - qcom,ipq6018-cp01
2312f0c17faSSricharan R              - qcom,ipq6018-cp01-c1
2322f0c17faSSricharan R          - const: qcom,ipq6018
2332f0c17faSSricharan R
234152a1b4cSManivannan Sadhasivam      - items:
235152a1b4cSManivannan Sadhasivam          - enum:
2360bc14d4aSBhupesh Sharma              - qcom,sa8155p-adp
2370bc14d4aSBhupesh Sharma          - const: qcom,sa8155p
2380bc14d4aSBhupesh Sharma
2390bc14d4aSBhupesh Sharma      - items:
2400bc14d4aSBhupesh Sharma          - enum:
2418ceb1db0SLuca Weiss              - fairphone,fp4
2428ceb1db0SLuca Weiss          - const: qcom,sm7225
2438ceb1db0SLuca Weiss
2448ceb1db0SLuca Weiss      - items:
2458ceb1db0SLuca Weiss          - enum:
2461534fac3SBhupesh Sharma              - qcom,sm8150-mtp
2471534fac3SBhupesh Sharma          - const: qcom,sm8150
2481534fac3SBhupesh Sharma
2491534fac3SBhupesh Sharma      - items:
2501534fac3SBhupesh Sharma          - enum:
251152a1b4cSManivannan Sadhasivam              - qcom,qrb5165-rb5
252152a1b4cSManivannan Sadhasivam              - qcom,sm8250-mtp
253152a1b4cSManivannan Sadhasivam          - const: qcom,sm8250
254152a1b4cSManivannan Sadhasivam
2552c1b8ebeSVinod Koul      - items:
2562c1b8ebeSVinod Koul          - enum:
257c07ea1b4SBjorn Andersson              - qcom,sm8350-hdk
2582c1b8ebeSVinod Koul              - qcom,sm8350-mtp
2592c1b8ebeSVinod Koul          - const: qcom,sm8350
2602c1b8ebeSVinod Koul
261*0e57fe4dSVinod Koul      - items:
262*0e57fe4dSVinod Koul          - enum:
263*0e57fe4dSVinod Koul              - qcom,sm8450-qrd
264*0e57fe4dSVinod Koul          - const: qcom,sm8450
265*0e57fe4dSVinod Koul
26662298364SRob HerringadditionalProperties: true
26762298364SRob Herring
2689d3ef77fSRob Herring...
269