arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / devicetree / bindings / clock / qcom,gcc-sdm660.yaml
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
7 title: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller
8
9 maintainers:
10   - Stephen Boyd <sboyd@kernel.org>
11   - Taniya Das <quic_tdas@quicinc.com>
12
13 description: |
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
22 properties:
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
41 required:
42   - compatible
43
44 unevaluatedProperties: false
45
46 examples:
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 ...