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-qcm2290.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for QCM2290
8
9maintainers:
10  - Shawn Guo <shawn.guo@linaro.org>
11
12description: |
13  Qualcomm global clock control module which supports the clocks, resets
14  and power domains on QCM2290.
15
16  See also:
17  - dt-bindings/clock/qcom,gcc-qcm2290.h
18
19properties:
20  compatible:
21    const: qcom,gcc-qcm2290
22
23  clocks:
24    items:
25      - description: Board XO source
26      - description: Sleep clock source
27
28  clock-names:
29    items:
30      - const: bi_tcxo
31      - const: sleep_clk
32
33required:
34  - compatible
35  - clocks
36  - clock-names
37
38allOf:
39  - $ref: qcom,gcc.yaml#
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/qcom,rpmcc.h>
46    clock-controller@1400000 {
47        compatible = "qcom,gcc-qcm2290";
48        reg = <0x01400000 0x1f0000>;
49        #clock-cells = <1>;
50        #reset-cells = <1>;
51        #power-domain-cells = <1>;
52        clock-names = "bi_tcxo", "sleep_clk";
53        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
54    };
55...
56