1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-sc7180.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for SC7180
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 on SC7180.
16
17  See also:
18  - dt-bindings/clock/qcom,gcc-sc7180.h
19
20properties:
21  compatible:
22    const: qcom,gcc-sc7180
23
24  clocks:
25    items:
26      - description: Board XO source
27      - description: Board active XO source
28      - description: Sleep clock source
29
30  clock-names:
31    items:
32      - const: bi_tcxo
33      - const: bi_tcxo_ao
34      - const: sleep_clk
35
36required:
37  - compatible
38  - clocks
39  - clock-names
40
41allOf:
42  - $ref: qcom,gcc.yaml#
43
44unevaluatedProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/qcom,rpmh.h>
49    clock-controller@100000 {
50      compatible = "qcom,gcc-sc7180";
51      reg = <0x00100000 0x1f0000>;
52      clocks = <&rpmhcc RPMH_CXO_CLK>,
53               <&rpmhcc RPMH_CXO_CLK_A>,
54               <&sleep_clk>;
55      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
56      #clock-cells = <1>;
57      #reset-cells = <1>;
58      #power-domain-cells = <1>;
59    };
60...
61