xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sdm660.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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-sdm660.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller
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 SDM630, SDM636 and SDM660
16
17  See also::
18    include/dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
19
20$ref: qcom,gcc.yaml#
21
22properties:
23  compatible:
24    enum:
25      - qcom,gcc-sdm630
26      - qcom,gcc-sdm660
27
28  clocks:
29    items:
30      - description: XO source
31      - description: Sleep clock source
32
33  clock-names:
34    items:
35      - const: xo
36      - const: sleep_clk
37
38  power-domains:
39    maxItems: 1
40
41required:
42  - compatible
43
44unevaluatedProperties: false
45
46examples:
47  # Example for GCC for SDM660:
48  - |
49    #include <dt-bindings/clock/qcom,rpmh.h>
50    clock-controller@100000 {
51        compatible = "qcom,gcc-sdm660";
52        reg = <0x00100000 0x94000>;
53        #clock-cells = <1>;
54        #reset-cells = <1>;
55        #power-domain-cells = <1>;
56
57        clock-names = "xo", "sleep_clk";
58        clocks = <&xo_board>,
59                 <&sleep_clk>;
60    };
61...
62