xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-msm8994.yaml (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8994.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on MSM8994
8
9maintainers:
10  - Konrad Dybcio <konradybcio@kernel.org>
11
12description: |
13  Qualcomm global clock control module provides the clocks, resets and power
14  domains on MSM8994 and MSM8992.
15
16  See also:: include/dt-bindings/clock/qcom,gcc-msm8994.h
17
18properties:
19  compatible:
20    enum:
21      - qcom,gcc-msm8992
22      - qcom,gcc-msm8994
23
24  clocks:
25    items:
26      - description: Board XO source
27      - description: Sleep clock source
28
29  clock-names:
30    items:
31      - const: xo
32      - const: sleep
33
34required:
35  - compatible
36  - clocks
37  - clock-names
38  - '#power-domain-cells'
39
40allOf:
41  - $ref: qcom,gcc.yaml#
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    clock-controller@300000 {
48      compatible = "qcom,gcc-msm8994";
49      reg = <0x00300000 0x90000>;
50      clocks = <&xo_board>, <&sleep_clk>;
51      clock-names = "xo", "sleep";
52      #clock-cells = <1>;
53      #reset-cells = <1>;
54      #power-domain-cells = <1>;
55    };
56
57...
58