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-sc8180x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for SC8180x
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description: |
13  Qualcomm global clock control module which supports the clocks, resets and
14  power domains on SC8180x.
15
16  See also:
17  - dt-bindings/clock/qcom,gcc-sc8180x.h
18
19properties:
20  compatible:
21    const: qcom,gcc-sc8180x
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
35required:
36  - compatible
37  - clocks
38  - clock-names
39
40allOf:
41  - $ref: qcom,gcc.yaml#
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/clock/qcom,rpmh.h>
48    clock-controller@100000 {
49      compatible = "qcom,gcc-sc8180x";
50      reg = <0x00100000 0x1f0000>;
51      clocks = <&rpmhcc RPMH_CXO_CLK>,
52               <&rpmhcc RPMH_CXO_CLK_A>,
53               <&sleep_clk>;
54      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
55      #clock-cells = <1>;
56      #reset-cells = <1>;
57      #power-domain-cells = <1>;
58    };
59...
60