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 Binding for MSM8994
8
9maintainers:
10  - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12description: |
13  Qualcomm global clock control module which supports the clocks, resets and
14  power domains on MSM8994 and MSM8992.
15
16  See also:
17  - dt-bindings/clock/qcom,gcc-msm8994.h
18
19properties:
20  compatible:
21    enum:
22      - qcom,gcc-msm8992
23      - qcom,gcc-msm8994
24
25  clocks:
26    items:
27      - description: Board XO source
28      - description: Sleep clock source
29
30  clock-names:
31    items:
32      - const: xo
33      - const: sleep
34
35required:
36  - compatible
37  - clocks
38  - clock-names
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