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