xref: /freebsd/sys/contrib/device-tree/Bindings/firmware/qcom,scm.txt (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
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"
15c66ec88fSEmmanuel Vadot * "qcom,scm-msm8660"
16c66ec88fSEmmanuel Vadot * "qcom,scm-msm8916"
17c66ec88fSEmmanuel Vadot * "qcom,scm-msm8960"
18c66ec88fSEmmanuel Vadot * "qcom,scm-msm8974"
19c66ec88fSEmmanuel Vadot * "qcom,scm-msm8994"
20c66ec88fSEmmanuel Vadot * "qcom,scm-msm8996"
21c66ec88fSEmmanuel Vadot * "qcom,scm-msm8998"
22c66ec88fSEmmanuel Vadot * "qcom,scm-sc7180"
23c66ec88fSEmmanuel Vadot * "qcom,scm-sdm845"
24c66ec88fSEmmanuel Vadot * "qcom,scm-sm8150"
25*5def4c47SEmmanuel Vadot * "qcom,scm-sm8250"
26*5def4c47SEmmanuel Vadot * "qcom,scm-sm8350"
27c66ec88fSEmmanuel Vadot and:
28c66ec88fSEmmanuel Vadot * "qcom,scm"
29c66ec88fSEmmanuel Vadot- clocks: Specifies clocks needed by the SCM interface, if any:
30c66ec88fSEmmanuel Vadot * core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660" and
31c66ec88fSEmmanuel Vadot   "qcom,scm-msm8960"
32c66ec88fSEmmanuel Vadot * core, iface and bus clocks required for "qcom,scm-apq8084",
33c66ec88fSEmmanuel Vadot   "qcom,scm-msm8916" and "qcom,scm-msm8974"
34c66ec88fSEmmanuel Vadot- clock-names: Must contain "core" for the core clock, "iface" for the interface
35c66ec88fSEmmanuel Vadot  clock and "bus" for the bus clock per the requirements of the compatible.
36c66ec88fSEmmanuel Vadot- qcom,dload-mode: phandle to the TCSR hardware block and offset of the
37c66ec88fSEmmanuel Vadot		   download mode control register (optional)
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel VadotExample for MSM8916:
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot	firmware {
42c66ec88fSEmmanuel Vadot		scm {
43c66ec88fSEmmanuel Vadot			compatible = "qcom,msm8916", "qcom,scm";
44c66ec88fSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_CLK> ,
45c66ec88fSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
46c66ec88fSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AHB_CLK>;
47c66ec88fSEmmanuel Vadot			clock-names = "core", "bus", "iface";
48c66ec88fSEmmanuel Vadot		};
49c66ec88fSEmmanuel Vadot	};
50