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-msm8939.h
22  - dt-bindings/clock/qcom,gcc-msm8953.h
23  - dt-bindings/reset/qcom,gcc-msm8939.h
24  - dt-bindings/clock/qcom,gcc-msm8660.h
25  - dt-bindings/reset/qcom,gcc-msm8660.h
26  - dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
27  - dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
28  - dt-bindings/clock/qcom,gcc-mdm9607.h
29  - dt-bindings/clock/qcom,gcc-mdm9615.h
30  - dt-bindings/reset/qcom,gcc-mdm9615.h
31  - dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
32
33allOf:
34  - $ref: "qcom,gcc.yaml#"
35
36properties:
37  compatible:
38    enum:
39      - qcom,gcc-ipq4019
40      - qcom,gcc-ipq6018
41      - qcom,gcc-mdm9607
42      - qcom,gcc-msm8226
43      - qcom,gcc-msm8660
44      - qcom,gcc-msm8916
45      - qcom,gcc-msm8939
46      - qcom,gcc-msm8953
47      - qcom,gcc-msm8960
48      - qcom,gcc-msm8974
49      - qcom,gcc-msm8974pro
50      - qcom,gcc-msm8974pro-ac
51      - qcom,gcc-mdm9615
52      - qcom,gcc-sdm630
53      - qcom,gcc-sdm660
54
55required:
56  - compatible
57
58unevaluatedProperties: false
59
60examples:
61  # Example for GCC for MSM8960:
62  - |
63    clock-controller@900000 {
64      compatible = "qcom,gcc-msm8960";
65      reg = <0x900000 0x4000>;
66      #clock-cells = <1>;
67      #reset-cells = <1>;
68      #power-domain-cells = <1>;
69    };
70...
71