xref: /linux/Documentation/devicetree/bindings/arm/qcom.yaml (revision cb898d5e59b41a268dcf4dbef31d651c393dfbae)
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
45*cb898d5eSLuca Weiss        sdm632
46aab86bbbSAlexey Minnekhanov        sdm660
479d3ef77fSRob Herring        sdm845
4871935423SVinod Koul        sdx55
4961339f36SVamsi krishna Lanka        sdx65
508ceb1db0SLuca Weiss        sm7225
511534fac3SBhupesh Sharma        sm8150
523b338c9aSVamsi krishna Lanka        sdx65
53152a1b4cSManivannan Sadhasivam        sm8250
542c1b8ebeSVinod Koul        sm8350
550e57fe4dSVinod Koul        sm8450
569d3ef77fSRob Herring
579d3ef77fSRob Herring  The 'board' element must be one of the following strings:
589d3ef77fSRob Herring
590bc14d4aSBhupesh Sharma        adp
609d3ef77fSRob Herring        cdp
612f0c17faSSricharan R        cp01-c1
629d3ef77fSRob Herring        dragonboard
639d3ef77fSRob Herring        hk01
645f854f09SGokul Sriram Palanisamy        hk10-c1
655f854f09SGokul Sriram Palanisamy        hk10-c2
66f1cbee2dSRajendra Nayak        idp
67f1cbee2dSRajendra Nayak        liquid
68f1cbee2dSRajendra Nayak        mtp
69b72160faSStephan Gerhold        qrd
70f1cbee2dSRajendra Nayak        sbc
719d3ef77fSRob Herring
729d3ef77fSRob Herring  The 'soc_version' and 'board_version' elements take the form of v<Major>.<Minor>
739d3ef77fSRob Herring  where the minor number may be omitted when it's zero, i.e.  v1.0 is the same
749d3ef77fSRob Herring  as v1. If all versions of the 'board_version' elements match, then a
759d3ef77fSRob Herring  wildcard '*' should be used, e.g. 'v*'.
769d3ef77fSRob Herring
779d3ef77fSRob Herring  The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
789d3ef77fSRob Herring
799d3ef77fSRob Herring  Examples:
809d3ef77fSRob Herring
819d3ef77fSRob Herring  	"qcom,msm8916-v1-cdp-pm8916-v2.1"
829d3ef77fSRob Herring
839d3ef77fSRob Herring  A CDP board with an msm8916 SoC, version 1 paired with a pm8916 PMIC of version
849d3ef77fSRob Herring  2.1.
859d3ef77fSRob Herring
869d3ef77fSRob Herring  	"qcom,apq8074-v2.0-2-dragonboard/1-v0.1"
879d3ef77fSRob Herring
889d3ef77fSRob Herring  A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
899d3ef77fSRob Herring  foundry 2.
909d3ef77fSRob Herring
919d3ef77fSRob Herringproperties:
92c34095faSRob Herring  $nodename:
93c34095faSRob Herring    const: "/"
949d3ef77fSRob Herring  compatible:
959d3ef77fSRob Herring    oneOf:
969d3ef77fSRob Herring      - items:
979d3ef77fSRob Herring          - enum:
989d3ef77fSRob Herring              - qcom,apq8016-sbc
999d3ef77fSRob Herring          - const: qcom,apq8016
1009d3ef77fSRob Herring
1019d3ef77fSRob Herring      - items:
1029d3ef77fSRob Herring          - enum:
1035e4aac2cSLuca Weiss              - lg,lenok
10421f3cbf6SLuca Weiss          - const: qcom,apq8026
10521f3cbf6SLuca Weiss
10621f3cbf6SLuca Weiss      - items:
10721f3cbf6SLuca Weiss          - enum:
1089304af37SDavid Heidelberg              - asus,nexus7-flo
1095ac80a76SDavid Heidelberg              - lg,nexus4-mako
1109304af37SDavid Heidelberg              - sony,xperia-yuga
1119d3ef77fSRob Herring              - qcom,apq8064-cm-qs600
1129d3ef77fSRob Herring              - qcom,apq8064-ifc6410
1139d3ef77fSRob Herring          - const: qcom,apq8064
1149d3ef77fSRob Herring
1159d3ef77fSRob Herring      - items:
1169d3ef77fSRob Herring          - enum:
1179d3ef77fSRob Herring              - qcom,apq8074-dragonboard
1189d3ef77fSRob Herring          - const: qcom,apq8074
1199d3ef77fSRob Herring
1209d3ef77fSRob Herring      - items:
1219d3ef77fSRob Herring          - enum:
1229d3ef77fSRob Herring              - qcom,apq8060-dragonboard
1239d3ef77fSRob Herring              - qcom,msm8660-surf
1249d3ef77fSRob Herring          - const: qcom,msm8660
1259d3ef77fSRob Herring
1269d3ef77fSRob Herring      - items:
1279d3ef77fSRob Herring          - enum:
1289d3ef77fSRob Herring              - qcom,apq8084-mtp
1299d3ef77fSRob Herring              - qcom,apq8084-sbc
1309d3ef77fSRob Herring          - const: qcom,apq8084
1319d3ef77fSRob Herring
1329d3ef77fSRob Herring      - items:
1339d3ef77fSRob Herring          - enum:
134ef537057SBartosz Dudziak              - samsung,s3ve3g
135ef537057SBartosz Dudziak          - const: qcom,msm8226
136ef537057SBartosz Dudziak
137ef537057SBartosz Dudziak      - items:
138ef537057SBartosz Dudziak          - enum:
1399d3ef77fSRob Herring              - qcom,msm8960-cdp
1409d3ef77fSRob Herring          - const: qcom,msm8960
1419d3ef77fSRob Herring
1429d3ef77fSRob Herring      - items:
143e5dad30bSRob Herring          - enum:
144e5dad30bSRob Herring              - fairphone,fp2
145e5dad30bSRob Herring              - lge,hammerhead
1469304af37SDavid Heidelberg              - samsung,klte
147e5dad30bSRob Herring              - sony,xperia-amami
148e5dad30bSRob Herring              - sony,xperia-castor
149e5dad30bSRob Herring              - sony,xperia-honami
150e5dad30bSRob Herring          - const: qcom,msm8974
151e5dad30bSRob Herring
152e5dad30bSRob Herring      - items:
153e9dd2f72SVinod Koul          - enum:
154e9dd2f72SVinod Koul              - alcatel,idol347
1559d3ef77fSRob Herring          - const: qcom,msm8916-mtp/1
1569d3ef77fSRob Herring          - const: qcom,msm8916-mtp
1579d3ef77fSRob Herring          - const: qcom,msm8916
1589d3ef77fSRob Herring
1599d3ef77fSRob Herring      - items:
160b72160faSStephan Gerhold          - enum:
161b72160faSStephan Gerhold              - longcheer,l8150
162b72160faSStephan Gerhold              - samsung,a3u-eur
163b72160faSStephan Gerhold              - samsung,a5u-eur
164b72160faSStephan Gerhold          - const: qcom,msm8916
165b72160faSStephan Gerhold
166b72160faSStephan Gerhold      - items:
1679ad3c08fSVinod Koul          - enum:
1689ad3c08fSVinod Koul              - sony,karin_windy
1699ad3c08fSVinod Koul              - sony,karin-row
1709ad3c08fSVinod Koul              - sony,satsuki-row
1719ad3c08fSVinod Koul              - sony,sumire-row
1729ad3c08fSVinod Koul              - sony,suzuran-row
1739ad3c08fSVinod Koul              - qcom,msm8994
1749ad3c08fSVinod Koul          - const: qcom,apq8094
1759ad3c08fSVinod Koul
1769ad3c08fSVinod Koul      - items:
177134cfc55SYassine Oudjana          - enum:
178134cfc55SYassine Oudjana              - arrow,apq8096-db820c
179134cfc55SYassine Oudjana              - inforce,ifc6640
180134cfc55SYassine Oudjana          - const: qcom,apq8096-sbc
181134cfc55SYassine Oudjana          - const: qcom,apq8096
182134cfc55SYassine Oudjana
183134cfc55SYassine Oudjana      - items:
184134cfc55SYassine Oudjana          - enum:
185134cfc55SYassine Oudjana              - qcom,msm8996-mtp
186134cfc55SYassine Oudjana              - sony,dora-row
187134cfc55SYassine Oudjana              - sony,kagura-row
188134cfc55SYassine Oudjana              - sony,keyaki-row
189134cfc55SYassine Oudjana              - xiaomi,gemini
190134cfc55SYassine Oudjana              - xiaomi,scorpio
191134cfc55SYassine Oudjana          - const: qcom,msm8996
1929d3ef77fSRob Herring
1939d3ef77fSRob Herring      - items:
1945732bea6SRob Herring          - enum:
1953f38ac6fSDavid Heidelberg              - qcom,ipq4019-ap-dk01.1-c1
1965732bea6SRob Herring              - qcom,ipq4019-ap-dk04.1-c3
1975732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c1
1985732bea6SRob Herring              - qcom,ipq4019-ap-dk07.1-c2
1995732bea6SRob Herring              - qcom,ipq4019-dk04.1-c1
2009d3ef77fSRob Herring          - const: qcom,ipq4019
2019d3ef77fSRob Herring
2029d3ef77fSRob Herring      - items:
2039d3ef77fSRob Herring          - enum:
2049d3ef77fSRob Herring              - qcom,ipq8064-ap148
2059d3ef77fSRob Herring          - const: qcom,ipq8064
2069d3ef77fSRob Herring
2079d3ef77fSRob Herring      - items:
2089d3ef77fSRob Herring          - enum:
2099d3ef77fSRob Herring              - qcom,ipq8074-hk01
2105f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c1
2115f854f09SGokul Sriram Palanisamy              - qcom,ipq8074-hk10-c2
2129d3ef77fSRob Herring          - const: qcom,ipq8074
2139d3ef77fSRob Herring
214f1cbee2dSRajendra Nayak      - items:
215f1cbee2dSRajendra Nayak          - enum:
216f1cbee2dSRajendra Nayak              - qcom,sc7180-idp
217f1cbee2dSRajendra Nayak          - const: qcom,sc7180
2182f0c17faSSricharan R
2192f0c17faSSricharan R      - items:
2202f0c17faSSricharan R          - enum:
2217a21328bSRajendra Nayak              - qcom,sc7280-crd
22236dc1681SRajendra Nayak              - qcom,sc7280-idp
22314fec168SRajendra Nayak              - qcom,sc7280-idp2
2247a21328bSRajendra Nayak              - google,hoglin
22514fec168SRajendra Nayak              - google,piglin
22617bf8dfaSRajendra Nayak              - google,senor
22736dc1681SRajendra Nayak          - const: qcom,sc7280
22836dc1681SRajendra Nayak
22936dc1681SRajendra Nayak      - items:
23036dc1681SRajendra Nayak          - enum:
231*cb898d5eSLuca Weiss              - fairphone,fp3
232*cb898d5eSLuca Weiss          - const: qcom,sdm632
233*cb898d5eSLuca Weiss
234*cb898d5eSLuca Weiss      - items:
235*cb898d5eSLuca Weiss          - enum:
236aab86bbbSAlexey Minnekhanov              - xiaomi,lavender
237aab86bbbSAlexey Minnekhanov          - const: qcom,sdm660
238aab86bbbSAlexey Minnekhanov
239aab86bbbSAlexey Minnekhanov      - items:
240aab86bbbSAlexey Minnekhanov          - enum:
24171935423SVinod Koul              - qcom,sdx55-mtp
242222ed6a2SManivannan Sadhasivam              - qcom,sdx55-telit-fn980-tlb
243328008f4SManivannan Sadhasivam              - qcom,sdx55-t55
24471935423SVinod Koul          - const: qcom,sdx55
24571935423SVinod Koul
24671935423SVinod Koul      - items:
24771935423SVinod Koul          - enum:
24861339f36SVamsi krishna Lanka              - qcom,sdx65-mtp
24961339f36SVamsi krishna Lanka          - const: qcom,sdx65
25061339f36SVamsi krishna Lanka
25161339f36SVamsi krishna Lanka      - items:
25261339f36SVamsi krishna Lanka          - enum:
2533b338c9aSVamsi krishna Lanka              - qcom,sdx65-mtp
2543b338c9aSVamsi krishna Lanka          - const: qcom,sdx65
2553b338c9aSVamsi krishna Lanka
2563b338c9aSVamsi krishna Lanka      - items:
2573b338c9aSVamsi krishna Lanka          - enum:
258ddfb3fc4SVinod Koul              - qcom,ipq6018-cp01
2592f0c17faSSricharan R              - qcom,ipq6018-cp01-c1
2602f0c17faSSricharan R          - const: qcom,ipq6018
2612f0c17faSSricharan R
262152a1b4cSManivannan Sadhasivam      - items:
263152a1b4cSManivannan Sadhasivam          - enum:
2640bc14d4aSBhupesh Sharma              - qcom,sa8155p-adp
2650bc14d4aSBhupesh Sharma          - const: qcom,sa8155p
2660bc14d4aSBhupesh Sharma
2670bc14d4aSBhupesh Sharma      - items:
2680bc14d4aSBhupesh Sharma          - enum:
2698ceb1db0SLuca Weiss              - fairphone,fp4
2708ceb1db0SLuca Weiss          - const: qcom,sm7225
2718ceb1db0SLuca Weiss
2728ceb1db0SLuca Weiss      - items:
2738ceb1db0SLuca Weiss          - enum:
2741534fac3SBhupesh Sharma              - qcom,sm8150-mtp
2751534fac3SBhupesh Sharma          - const: qcom,sm8150
2761534fac3SBhupesh Sharma
2771534fac3SBhupesh Sharma      - items:
2781534fac3SBhupesh Sharma          - enum:
279152a1b4cSManivannan Sadhasivam              - qcom,qrb5165-rb5
280152a1b4cSManivannan Sadhasivam              - qcom,sm8250-mtp
281152a1b4cSManivannan Sadhasivam          - const: qcom,sm8250
282152a1b4cSManivannan Sadhasivam
2832c1b8ebeSVinod Koul      - items:
2842c1b8ebeSVinod Koul          - enum:
285c07ea1b4SBjorn Andersson              - qcom,sm8350-hdk
2862c1b8ebeSVinod Koul              - qcom,sm8350-mtp
2872c1b8ebeSVinod Koul          - const: qcom,sm8350
2882c1b8ebeSVinod Koul
2890e57fe4dSVinod Koul      - items:
2900e57fe4dSVinod Koul          - enum:
29142d3ce71SVinod Koul              - qcom,sm8450-hdk
2920e57fe4dSVinod Koul              - qcom,sm8450-qrd
2930e57fe4dSVinod Koul          - const: qcom,sm8450
2940e57fe4dSVinod Koul
29562298364SRob HerringadditionalProperties: true
29662298364SRob Herring
2979d3ef77fSRob Herring...
298