1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/bindings/clock/qcom,gcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Global Clock & Reset Controller Binding
10 - Stephen Boyd <sboyd@kernel.org>
11 - Taniya Das <tdas@codeaurora.org>
14 Qualcomm global clock control module which supports the clocks, resets and
30 - qcom,gcc-msm8974pro-ac
46 - description: Board XO source
47 - description: Board active XO source
48 - description: Sleep clock source
64 '#power-domain-cells':
74 Qualcomm TSENS (thermal sensor device) on some devices can
75 be part of GCC and hence the TSENS properties can also be part
76 of the GCC/clock-controller node.
77 For more details on the TSENS properties please refer
78 Documentation/devicetree/bindings/thermal/qcom-tsens.txt
84 Names for each nvmem-cells specified.
89 'thermal-sensor-cells':
94 Protected clock specifier list as per common clock binding
101 - '#power-domain-cells'
107 const: qcom,gcc-apq8064
113 - '#thermal-sensor-cells'
130 # Example for GCC for MSM8960:
132 clock-controller@900000 {
133 compatible = "qcom,gcc-msm8960";
134 reg = <0x900000 0x4000>;
137 #power-domain-cells = <1>;
141 # Example of GCC with TSENS properties:
143 clock-controller@900000 {
144 compatible = "qcom,gcc-apq8064";
145 reg = <0x00900000 0x4000>;
146 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
147 nvmem-cell-names = "calib", "calib_backup";
150 #power-domain-cells = <1>;
151 #thermal-sensor-cells = <1>;
154 # Example of GCC with protected-clocks properties:
156 clock-controller@100000 {
157 compatible = "qcom,gcc-sdm845";
158 reg = <0x100000 0x1f0000>;
159 protected-clocks = <187>, <188>, <189>, <190>, <191>;
162 #power-domain-cells = <1>;
165 # Example of GCC with clock node properties for SM8150:
167 clock-controller@100000 {
168 compatible = "qcom,gcc-sm8150";
169 reg = <0x00100000 0x1f0000>;
170 clocks = <&rpmhcc 0>, <&rpmhcc 1>, <&sleep_clk>;
171 clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
174 #power-domain-cells = <1>;
177 # Example of GCC with clock nodes properties for SC7180:
179 clock-controller@100000 {
180 compatible = "qcom,gcc-sc7180";
181 reg = <0x100000 0x1f0000>;
182 clocks = <&rpmhcc 0>, <&rpmhcc 1>;
183 clock-names = "bi_tcxo", "bi_tcxo_ao";
186 #power-domain-cells = <1>;