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-msm8974
48      - qcom,gcc-msm8974pro
49      - qcom,gcc-msm8974pro-ac
50      - qcom,gcc-mdm9615
51      - qcom,gcc-sdm630
52      - qcom,gcc-sdm660
53
54required:
55  - compatible
56
57unevaluatedProperties: false
58
59examples:
60  # Example for GCC for MSM8974:
61  - |
62    clock-controller@900000 {
63      compatible = "qcom,gcc-msm8974";
64      reg = <0x900000 0x4000>;
65      #clock-cells = <1>;
66      #reset-cells = <1>;
67      #power-domain-cells = <1>;
68    };
69...
70