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 on SC7180
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <quic_tdas@quicinc.com>
12
13description: |
14  Qualcomm global clock control module provides the clocks, resets and power
15  domains on SC7180.
16
17  See also:: include/dt-bindings/clock/qcom,gcc-sc7180.h
18
19properties:
20  compatible:
21    const: qcom,gcc-sc7180
22
23  clocks:
24    items:
25      - description: Board XO source
26      - description: Board active XO source
27      - description: Sleep clock source
28
29  clock-names:
30    items:
31      - const: bi_tcxo
32      - const: bi_tcxo_ao
33      - const: sleep_clk
34
35  power-domains:
36    items:
37      - description: CX domain
38
39required:
40  - compatible
41  - clocks
42  - clock-names
43
44allOf:
45  - $ref: qcom,gcc.yaml#
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/clock/qcom,rpmh.h>
52    #include <dt-bindings/power/qcom-rpmpd.h>
53
54    clock-controller@100000 {
55      compatible = "qcom,gcc-sc7180";
56      reg = <0x00100000 0x1f0000>;
57      clocks = <&rpmhcc RPMH_CXO_CLK>,
58               <&rpmhcc RPMH_CXO_CLK_A>,
59               <&sleep_clk>;
60      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
61      power-domains = <&rpmhpd SC7180_CX>;
62      #clock-cells = <1>;
63      #reset-cells = <1>;
64      #power-domain-cells = <1>;
65    };
66...
67