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