summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/qcom,qcs404-turingcc.yaml
blob: 033e010754a26bd03e02a364b0a6f36d87a3af62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,qcs404-turingcc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Turing Clock & Reset Controller on QCS404

maintainers:
  - Bjorn Andersson <andersson@kernel.org>

properties:
  compatible:
    const: qcom,qcs404-turingcc

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  '#clock-cells':
    const: 1

  '#reset-cells':
    const: 1

required:
  - compatible
  - reg
  - clocks
  - '#clock-cells'
  - '#reset-cells'

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/qcom,gcc-qcs404.h>
    clock-controller@800000 {
        compatible = "qcom,qcs404-turingcc";
        reg = <0x00800000 0x30000>;
        clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;

        #clock-cells = <1>;
        #reset-cells = <1>;
    };