xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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/reset/qcom,gcc-msm8939.h
27  - dt-bindings/clock/qcom,gcc-msm8660.h
28  - dt-bindings/reset/qcom,gcc-msm8660.h
29  - dt-bindings/clock/qcom,gcc-msm8974.h
30  - dt-bindings/reset/qcom,gcc-msm8974.h
31  - dt-bindings/clock/qcom,gcc-msm8994.h
32  - dt-bindings/clock/qcom,gcc-mdm9615.h
33  - dt-bindings/reset/qcom,gcc-mdm9615.h
34  - dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
35  - dt-bindings/clock/qcom,gcc-sdm845.h
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-msm8660
45      - qcom,gcc-msm8916
46      - qcom,gcc-msm8939
47      - qcom,gcc-msm8960
48      - qcom,gcc-msm8974
49      - qcom,gcc-msm8974pro
50      - qcom,gcc-msm8974pro-ac
51      - qcom,gcc-msm8994
52      - qcom,gcc-mdm9615
53      - qcom,gcc-sdm630
54      - qcom,gcc-sdm660
55      - qcom,gcc-sdm845
56
57  '#clock-cells':
58    const: 1
59
60  '#reset-cells':
61    const: 1
62
63  '#power-domain-cells':
64    const: 1
65
66  reg:
67    maxItems: 1
68
69  protected-clocks:
70    description:
71      Protected clock specifier list as per common clock binding.
72
73required:
74  - compatible
75  - reg
76  - '#clock-cells'
77  - '#reset-cells'
78  - '#power-domain-cells'
79
80additionalProperties: false
81
82examples:
83  # Example for GCC for MSM8960:
84  - |
85    clock-controller@900000 {
86      compatible = "qcom,gcc-msm8960";
87      reg = <0x900000 0x4000>;
88      #clock-cells = <1>;
89      #reset-cells = <1>;
90      #power-domain-cells = <1>;
91    };
92...
93