xref: /freebsd/sys/contrib/device-tree/Bindings/firmware/qcom,scm.txt (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1c66ec88fSEmmanuel VadotQCOM Secure Channel Manager (SCM)
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotQualcomm processors include an interface to communicate to the secure firmware.
4c66ec88fSEmmanuel VadotThis interface allows for clients to request different types of actions.  These
5c66ec88fSEmmanuel Vadotcan include CPU power up/down, HDCP requests, loading of firmware, and other
6c66ec88fSEmmanuel Vadotassorted actions.
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel VadotRequired properties:
9c66ec88fSEmmanuel Vadot- compatible: must contain one of the following:
10c66ec88fSEmmanuel Vadot * "qcom,scm-apq8064"
11c66ec88fSEmmanuel Vadot * "qcom,scm-apq8084"
12c66ec88fSEmmanuel Vadot * "qcom,scm-ipq4019"
13c66ec88fSEmmanuel Vadot * "qcom,scm-ipq806x"
14c66ec88fSEmmanuel Vadot * "qcom,scm-ipq8074"
155956d97fSEmmanuel Vadot * "qcom,scm-mdm9607"
168cc087a1SEmmanuel Vadot * "qcom,scm-msm8226"
17c66ec88fSEmmanuel Vadot * "qcom,scm-msm8660"
18c66ec88fSEmmanuel Vadot * "qcom,scm-msm8916"
198cc087a1SEmmanuel Vadot * "qcom,scm-msm8953"
20c66ec88fSEmmanuel Vadot * "qcom,scm-msm8960"
21c66ec88fSEmmanuel Vadot * "qcom,scm-msm8974"
22d5b0e70fSEmmanuel Vadot * "qcom,scm-msm8976"
23c66ec88fSEmmanuel Vadot * "qcom,scm-msm8994"
24c66ec88fSEmmanuel Vadot * "qcom,scm-msm8996"
25c66ec88fSEmmanuel Vadot * "qcom,scm-msm8998"
26*b97ee269SEmmanuel Vadot * "qcom,scm-qcs404"
27c66ec88fSEmmanuel Vadot * "qcom,scm-sc7180"
282eb4d8dcSEmmanuel Vadot * "qcom,scm-sc7280"
29*b97ee269SEmmanuel Vadot * "qcom,scm-sm6125"
30c66ec88fSEmmanuel Vadot * "qcom,scm-sdm845"
312eb4d8dcSEmmanuel Vadot * "qcom,scm-sdx55"
32*b97ee269SEmmanuel Vadot * "qcom,scm-sdx65"
33e67e8565SEmmanuel Vadot * "qcom,scm-sm6350"
34c66ec88fSEmmanuel Vadot * "qcom,scm-sm8150"
355def4c47SEmmanuel Vadot * "qcom,scm-sm8250"
365def4c47SEmmanuel Vadot * "qcom,scm-sm8350"
37e67e8565SEmmanuel Vadot * "qcom,scm-sm8450"
38c66ec88fSEmmanuel Vadot and:
39c66ec88fSEmmanuel Vadot * "qcom,scm"
40c66ec88fSEmmanuel Vadot- clocks: Specifies clocks needed by the SCM interface, if any:
41c66ec88fSEmmanuel Vadot * core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660" and
42c66ec88fSEmmanuel Vadot   "qcom,scm-msm8960"
43c66ec88fSEmmanuel Vadot * core, iface and bus clocks required for "qcom,scm-apq8084",
44d5b0e70fSEmmanuel Vadot   "qcom,scm-msm8916", "qcom,scm-msm8953", "qcom,scm-msm8974" and "qcom,scm-msm8976"
45c66ec88fSEmmanuel Vadot- clock-names: Must contain "core" for the core clock, "iface" for the interface
46c66ec88fSEmmanuel Vadot  clock and "bus" for the bus clock per the requirements of the compatible.
47c66ec88fSEmmanuel Vadot- qcom,dload-mode: phandle to the TCSR hardware block and offset of the
48c66ec88fSEmmanuel Vadot		   download mode control register (optional)
49*b97ee269SEmmanuel Vadot- interconnects: Specifies the bandwidth requirements of the SCM interface (optional)
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel VadotExample for MSM8916:
52c66ec88fSEmmanuel Vadot
53c66ec88fSEmmanuel Vadot	firmware {
54c66ec88fSEmmanuel Vadot		scm {
55c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8916", "qcom,scm";
56c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_CLK> ,
57c66ec88fSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
58c66ec88fSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AHB_CLK>;
59c66ec88fSEmmanuel Vadot			clock-names = "core", "bus", "iface";
60c66ec88fSEmmanuel Vadot		};
61c66ec88fSEmmanuel Vadot	};
62