1 Qualcomm Global Clock & Reset Controller Binding
2 ------------------------------------------------
5 - compatible : shall contain only one of the following:
17 "qcom,gcc-msm8974pro-ac"
28 - reg : shall contain base register location and length
29 - #clock-cells : shall contain 1
30 - #reset-cells : shall contain 1
33 - #power-domain-cells : shall contain 1
34 - Qualcomm TSENS (thermal sensor device) on some devices can
35 be part of GCC and hence the TSENS properties can also be
36 part of the GCC/clock-controller node.
37 For more details on the TSENS properties please refer
38 Documentation/devicetree/bindings/thermal/qcom-tsens.txt
39 - protected-clocks : Protected clock specifier list as per common clock
43 - clocks: a list of phandles and clock-specifier pairs,
44 one for each entry in clock-names.
45 - clock-names: "bi_tcxo" (required)
46 "sleep_clk" (optional)
47 "aud_ref_clock" (optional)
50 clock-controller@900000 {
51 compatible = "qcom,gcc-msm8960";
52 reg = <0x900000 0x4000>;
55 #power-domain-cells = <1>;
58 Example of GCC with TSENS properties:
59 clock-controller@900000 {
60 compatible = "qcom,gcc-apq8064";
61 reg = <0x00900000 0x4000>;
62 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
63 nvmem-cell-names = "calib", "calib_backup";
66 #thermal-sensor-cells = <1>;
69 Example of GCC with protected-clocks properties:
70 clock-controller@100000 {
71 compatible = "qcom,gcc-sdm845";
72 reg = <0x100000 0x1f0000>;
75 #power-domain-cells = <1>;
76 protected-clocks = <GCC_QSPI_CORE_CLK>,
77 <GCC_QSPI_CORE_CLK_SRC>,
78 <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
79 <GCC_LPASS_Q6_AXI_CLK>,
83 Example of GCC with clocks
84 gcc: clock-controller@100000 {
85 compatible = "qcom,gcc-sm8150";
86 reg = <0x00100000 0x1f0000>;
89 #power-domain-cells = <1>;
90 clock-names = "bi_tcxo",
92 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,