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