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,sm7150-gcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on SM7150
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11  - Danila Tikhonov <danila@jiaxyga.com>
12  - David Wronek <davidwronek@gmail.com>
13
14description: |
15  Qualcomm global clock control module provides the clocks, resets and power
16  domains on SM7150
17
18  See also:: include/dt-bindings/clock/qcom,sm7150-gcc.h
19
20properties:
21  compatible:
22    const: qcom,sm7150-gcc
23
24  clocks:
25    items:
26      - description: Board XO source
27      - description: Board XO Active-Only source
28      - description: Sleep clock source
29
30required:
31  - compatible
32  - clocks
33
34allOf:
35  - $ref: qcom,gcc.yaml#
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/clock/qcom,rpmh.h>
42    clock-controller@100000 {
43      compatible = "qcom,sm7150-gcc";
44      reg = <0x00100000 0x001f0000>;
45      clocks = <&rpmhcc RPMH_CXO_CLK>,
46               <&rpmhcc RPMH_CXO_CLK_A>,
47               <&sleep_clk>;
48      #clock-cells = <1>;
49      #reset-cells = <1>;
50      #power-domain-cells = <1>;
51    };
52...
53