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-msm8994.h
33  - dt-bindings/clock/qcom,gcc-mdm9607.h
34  - dt-bindings/clock/qcom,gcc-mdm9615.h
35  - dt-bindings/reset/qcom,gcc-mdm9615.h
36  - dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
37
38properties:
39  compatible:
40    enum:
41      - qcom,gcc-apq8084
42      - qcom,gcc-ipq4019
43      - qcom,gcc-ipq6018
44      - qcom,gcc-ipq8064
45      - qcom,gcc-mdm9607
46      - qcom,gcc-msm8226
47      - qcom,gcc-msm8660
48      - qcom,gcc-msm8916
49      - qcom,gcc-msm8939
50      - qcom,gcc-msm8953
51      - qcom,gcc-msm8960
52      - qcom,gcc-msm8974
53      - qcom,gcc-msm8974pro
54      - qcom,gcc-msm8974pro-ac
55      - qcom,gcc-msm8994
56      - qcom,gcc-mdm9615
57      - qcom,gcc-sdm630
58      - qcom,gcc-sdm660
59
60  '#clock-cells':
61    const: 1
62
63  '#reset-cells':
64    const: 1
65
66  '#power-domain-cells':
67    const: 1
68
69  reg:
70    maxItems: 1
71
72  protected-clocks:
73    description:
74      Protected clock specifier list as per common clock binding.
75
76required:
77  - compatible
78  - reg
79  - '#clock-cells'
80  - '#reset-cells'
81  - '#power-domain-cells'
82
83additionalProperties: false
84
85examples:
86  # Example for GCC for MSM8960:
87  - |
88    clock-controller@900000 {
89      compatible = "qcom,gcc-msm8960";
90      reg = <0x900000 0x4000>;
91      #clock-cells = <1>;
92      #reset-cells = <1>;
93      #power-domain-cells = <1>;
94    };
95...
96