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