1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-other.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <tdas@codeaurora.org>
12
13description: |
14  Qualcomm global clock control module which supports the clocks, resets and
15  power domains.
16
17  See also:
18  - dt-bindings/clock/qcom,gcc-ipq4019.h
19  - dt-bindings/clock/qcom,gcc-ipq6018.h
20  - dt-bindings/reset/qcom,gcc-ipq6018.h
21  - dt-bindings/clock/qcom,gcc-msm8953.h
22  - dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
23  - dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
24  - dt-bindings/clock/qcom,gcc-mdm9607.h
25  - dt-bindings/clock/qcom,gcc-mdm9615.h
26  - dt-bindings/reset/qcom,gcc-mdm9615.h
27  - dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
28
29allOf:
30  - $ref: "qcom,gcc.yaml#"
31
32properties:
33  compatible:
34    enum:
35      - qcom,gcc-ipq4019
36      - qcom,gcc-ipq6018
37      - qcom,gcc-mdm9607
38      - qcom,gcc-msm8226
39      - qcom,gcc-msm8953
40      - qcom,gcc-msm8974
41      - qcom,gcc-msm8974pro
42      - qcom,gcc-msm8974pro-ac
43      - qcom,gcc-mdm9615
44      - qcom,gcc-sdm630
45      - qcom,gcc-sdm660
46
47required:
48  - compatible
49
50unevaluatedProperties: false
51
52examples:
53  # Example for GCC for MSM8974:
54  - |
55    clock-controller@900000 {
56      compatible = "qcom,gcc-msm8974";
57      reg = <0x900000 0x4000>;
58      #clock-cells = <1>;
59      #reset-cells = <1>;
60      #power-domain-cells = <1>;
61    };
62...
63