1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc.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-apq8084.h
19  - dt-bindings/reset/qcom,gcc-apq8084.h
20  - dt-bindings/clock/qcom,gcc-ipq4019.h
21  - dt-bindings/clock/qcom,gcc-ipq6018.h
22  - dt-bindings/reset/qcom,gcc-ipq6018.h
23  - dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
24  - dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064)
25  - dt-bindings/clock/qcom,gcc-msm8939.h
26  - dt-bindings/clock/qcom,gcc-msm8953.h
27  - dt-bindings/reset/qcom,gcc-msm8939.h
28  - dt-bindings/clock/qcom,gcc-msm8660.h
29  - dt-bindings/reset/qcom,gcc-msm8660.h
30  - dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
31  - dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
32  - dt-bindings/clock/qcom,gcc-mdm9607.h
33  - dt-bindings/clock/qcom,gcc-mdm9615.h
34  - dt-bindings/reset/qcom,gcc-mdm9615.h
35  - dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
36
37properties:
38  compatible:
39    enum:
40      - qcom,gcc-apq8084
41      - qcom,gcc-ipq4019
42      - qcom,gcc-ipq6018
43      - qcom,gcc-ipq8064
44      - qcom,gcc-mdm9607
45      - qcom,gcc-msm8226
46      - qcom,gcc-msm8660
47      - qcom,gcc-msm8916
48      - qcom,gcc-msm8939
49      - qcom,gcc-msm8953
50      - qcom,gcc-msm8960
51      - qcom,gcc-msm8974
52      - qcom,gcc-msm8974pro
53      - qcom,gcc-msm8974pro-ac
54      - qcom,gcc-mdm9615
55      - qcom,gcc-sdm630
56      - qcom,gcc-sdm660
57
58  '#clock-cells':
59    const: 1
60
61  '#reset-cells':
62    const: 1
63
64  '#power-domain-cells':
65    const: 1
66
67  reg:
68    maxItems: 1
69
70  protected-clocks:
71    description:
72      Protected clock specifier list as per common clock binding.
73
74required:
75  - compatible
76  - reg
77  - '#clock-cells'
78  - '#reset-cells'
79  - '#power-domain-cells'
80
81additionalProperties: false
82
83examples:
84  # Example for GCC for MSM8960:
85  - |
86    clock-controller@900000 {
87      compatible = "qcom,gcc-msm8960";
88      reg = <0x900000 0x4000>;
89      #clock-cells = <1>;
90      #reset-cells = <1>;
91      #power-domain-cells = <1>;
92    };
93...
94