11c46589dSDavid Heidelberg# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 21c46589dSDavid Heidelberg%YAML 1.2 31c46589dSDavid Heidelberg--- 41c46589dSDavid Heidelberg$id: http://devicetree.org/schemas/firmware/qcom,scm.yaml# 51c46589dSDavid Heidelberg$schema: http://devicetree.org/meta-schemas/core.yaml# 61c46589dSDavid Heidelberg 71c46589dSDavid Heidelbergtitle: QCOM Secure Channel Manager (SCM) 81c46589dSDavid Heidelberg 91c46589dSDavid Heidelbergdescription: | 101c46589dSDavid Heidelberg Qualcomm processors include an interface to communicate to the secure firmware. 111c46589dSDavid Heidelberg This interface allows for clients to request different types of actions. 121c46589dSDavid Heidelberg These can include CPU power up/down, HDCP requests, loading of firmware, 131c46589dSDavid Heidelberg and other assorted actions. 141c46589dSDavid Heidelberg 151c46589dSDavid Heidelbergmaintainers: 161c46589dSDavid Heidelberg - Bjorn Andersson <bjorn.andersson@linaro.org> 171c46589dSDavid Heidelberg - Robert Marko <robimarko@gmail.com> 181c46589dSDavid Heidelberg - Guru Das Srinagesh <quic_gurus@quicinc.com> 191c46589dSDavid Heidelberg 201c46589dSDavid Heidelbergproperties: 211c46589dSDavid Heidelberg compatible: 221c46589dSDavid Heidelberg items: 231c46589dSDavid Heidelberg - enum: 241c46589dSDavid Heidelberg - qcom,scm-apq8064 251c46589dSDavid Heidelberg - qcom,scm-apq8084 261c46589dSDavid Heidelberg - qcom,scm-ipq4019 271c46589dSDavid Heidelberg - qcom,scm-ipq6018 281c46589dSDavid Heidelberg - qcom,scm-ipq806x 291c46589dSDavid Heidelberg - qcom,scm-ipq8074 301c46589dSDavid Heidelberg - qcom,scm-mdm9607 311c46589dSDavid Heidelberg - qcom,scm-msm8226 321c46589dSDavid Heidelberg - qcom,scm-msm8660 331c46589dSDavid Heidelberg - qcom,scm-msm8916 341c46589dSDavid Heidelberg - qcom,scm-msm8953 351c46589dSDavid Heidelberg - qcom,scm-msm8960 361c46589dSDavid Heidelberg - qcom,scm-msm8974 371c46589dSDavid Heidelberg - qcom,scm-msm8976 381c46589dSDavid Heidelberg - qcom,scm-msm8994 391c46589dSDavid Heidelberg - qcom,scm-msm8996 401c46589dSDavid Heidelberg - qcom,scm-msm8998 411c46589dSDavid Heidelberg - qcom,scm-sc7180 421c46589dSDavid Heidelberg - qcom,scm-sc7280 431c46589dSDavid Heidelberg - qcom,scm-sc8280xp 44aa9f4740SRichard Acayan - qcom,scm-sdm670 451c46589dSDavid Heidelberg - qcom,scm-sdm845 461c46589dSDavid Heidelberg - qcom,scm-sdx55 471c46589dSDavid Heidelberg - qcom,scm-sdx65 48f2567b73SAdam Skladowski - qcom,scm-sm6115 491c46589dSDavid Heidelberg - qcom,scm-sm6125 501c46589dSDavid Heidelberg - qcom,scm-sm6350 51fa2d6ed1SKonrad Dybcio - qcom,scm-sm6375 521c46589dSDavid Heidelberg - qcom,scm-sm8150 531c46589dSDavid Heidelberg - qcom,scm-sm8250 541c46589dSDavid Heidelberg - qcom,scm-sm8350 551c46589dSDavid Heidelberg - qcom,scm-sm8450 561c46589dSDavid Heidelberg - qcom,scm-qcs404 571c46589dSDavid Heidelberg - const: qcom,scm 581c46589dSDavid Heidelberg 591c46589dSDavid Heidelberg clocks: 601c46589dSDavid Heidelberg minItems: 1 611c46589dSDavid Heidelberg maxItems: 3 621c46589dSDavid Heidelberg 631c46589dSDavid Heidelberg clock-names: 641c46589dSDavid Heidelberg minItems: 1 651c46589dSDavid Heidelberg maxItems: 3 661c46589dSDavid Heidelberg 671c46589dSDavid Heidelberg interconnects: 681c46589dSDavid Heidelberg maxItems: 1 691c46589dSDavid Heidelberg 701c46589dSDavid Heidelberg interconnect-names: 711c46589dSDavid Heidelberg maxItems: 1 721c46589dSDavid Heidelberg 731c46589dSDavid Heidelberg '#reset-cells': 741c46589dSDavid Heidelberg const: 1 751c46589dSDavid Heidelberg 761c46589dSDavid Heidelberg qcom,dload-mode: 771c46589dSDavid Heidelberg $ref: /schemas/types.yaml#/definitions/phandle-array 781c46589dSDavid Heidelberg items: 791c46589dSDavid Heidelberg - items: 801c46589dSDavid Heidelberg - description: phandle to TCSR hardware block 811c46589dSDavid Heidelberg - description: offset of the download mode control register 821c46589dSDavid Heidelberg description: TCSR hardware block 831c46589dSDavid Heidelberg 841c46589dSDavid HeidelbergallOf: 85*c5b8840cSKrzysztof Kozlowski # Clocks 86*c5b8840cSKrzysztof Kozlowski - if: 87*c5b8840cSKrzysztof Kozlowski properties: 88*c5b8840cSKrzysztof Kozlowski compatible: 89*c5b8840cSKrzysztof Kozlowski contains: 90*c5b8840cSKrzysztof Kozlowski enum: 91*c5b8840cSKrzysztof Kozlowski - qcom,scm-apq8064 92*c5b8840cSKrzysztof Kozlowski - qcom,scm-apq8084 93*c5b8840cSKrzysztof Kozlowski - qcom,scm-mdm9607 94*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8226 95*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8660 96*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8916 97*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8953 98*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8960 99*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8974 100*c5b8840cSKrzysztof Kozlowski - qcom,scm-msm8976 101*c5b8840cSKrzysztof Kozlowski - qcom,scm-sm6375 102*c5b8840cSKrzysztof Kozlowski then: 103*c5b8840cSKrzysztof Kozlowski required: 104*c5b8840cSKrzysztof Kozlowski - clocks 105*c5b8840cSKrzysztof Kozlowski - clock-names 106*c5b8840cSKrzysztof Kozlowski else: 107*c5b8840cSKrzysztof Kozlowski properties: 108*c5b8840cSKrzysztof Kozlowski clock-names: false 109*c5b8840cSKrzysztof Kozlowski clocks: false 110*c5b8840cSKrzysztof Kozlowski 1111c46589dSDavid Heidelberg - if: 1121c46589dSDavid Heidelberg properties: 1131c46589dSDavid Heidelberg compatible: 1141c46589dSDavid Heidelberg contains: 1151c46589dSDavid Heidelberg enum: 1161c46589dSDavid Heidelberg - qcom,scm-apq8064 1171c46589dSDavid Heidelberg - qcom,scm-msm8660 1181c46589dSDavid Heidelberg - qcom,scm-msm8960 119fa2d6ed1SKonrad Dybcio - qcom,scm-sm6375 1201c46589dSDavid Heidelberg then: 1211c46589dSDavid Heidelberg properties: 1221c46589dSDavid Heidelberg clock-names: 1231c46589dSDavid Heidelberg items: 1241c46589dSDavid Heidelberg - const: core 1251c46589dSDavid Heidelberg 1261c46589dSDavid Heidelberg clocks: 1271c46589dSDavid Heidelberg maxItems: 1 1281c46589dSDavid Heidelberg 1291c46589dSDavid Heidelberg - if: 1301c46589dSDavid Heidelberg properties: 1311c46589dSDavid Heidelberg compatible: 1321c46589dSDavid Heidelberg contains: 1331c46589dSDavid Heidelberg enum: 1341c46589dSDavid Heidelberg - qcom,scm-apq8084 1351c46589dSDavid Heidelberg - qcom,scm-mdm9607 1368f3945a9SKrzysztof Kozlowski - qcom,scm-msm8226 1371c46589dSDavid Heidelberg - qcom,scm-msm8916 1381c46589dSDavid Heidelberg - qcom,scm-msm8953 1391c46589dSDavid Heidelberg - qcom,scm-msm8974 1401c46589dSDavid Heidelberg - qcom,scm-msm8976 1411c46589dSDavid Heidelberg then: 1421c46589dSDavid Heidelberg properties: 1431c46589dSDavid Heidelberg clock-names: 1441c46589dSDavid Heidelberg items: 1451c46589dSDavid Heidelberg - const: core 1461c46589dSDavid Heidelberg - const: bus 1471c46589dSDavid Heidelberg - const: iface 1481c46589dSDavid Heidelberg 1491c46589dSDavid Heidelberg clocks: 1501c46589dSDavid Heidelberg minItems: 3 1511c46589dSDavid Heidelberg maxItems: 3 1521c46589dSDavid Heidelberg 153*c5b8840cSKrzysztof Kozlowski # Interconnects 154*c5b8840cSKrzysztof Kozlowski - if: 155*c5b8840cSKrzysztof Kozlowski not: 156*c5b8840cSKrzysztof Kozlowski properties: 157*c5b8840cSKrzysztof Kozlowski compatible: 158*c5b8840cSKrzysztof Kozlowski contains: 159*c5b8840cSKrzysztof Kozlowski enum: 160*c5b8840cSKrzysztof Kozlowski - qcom,scm-sm8450 161*c5b8840cSKrzysztof Kozlowski then: 162*c5b8840cSKrzysztof Kozlowski properties: 163*c5b8840cSKrzysztof Kozlowski interconnects: false 1641c46589dSDavid Heidelberg 1651c46589dSDavid Heidelbergrequired: 1661c46589dSDavid Heidelberg - compatible 1671c46589dSDavid Heidelberg 1681c46589dSDavid HeidelbergadditionalProperties: false 1691c46589dSDavid Heidelberg 1701c46589dSDavid Heidelbergexamples: 1711c46589dSDavid Heidelberg - | 1721c46589dSDavid Heidelberg #include <dt-bindings/clock/qcom,gcc-msm8916.h> 1731c46589dSDavid Heidelberg 1741c46589dSDavid Heidelberg firmware { 1751c46589dSDavid Heidelberg scm { 1761c46589dSDavid Heidelberg compatible = "qcom,scm-msm8916", "qcom,scm"; 1771c46589dSDavid Heidelberg clocks = <&gcc GCC_CRYPTO_CLK>, 1781c46589dSDavid Heidelberg <&gcc GCC_CRYPTO_AXI_CLK>, 1791c46589dSDavid Heidelberg <&gcc GCC_CRYPTO_AHB_CLK>; 1801c46589dSDavid Heidelberg clock-names = "core", "bus", "iface"; 1811c46589dSDavid Heidelberg }; 1821c46589dSDavid Heidelberg }; 183