xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-ipq6018.yaml (revision 56b17de1e8360fe131d425de20b5e75ff3ea897c)
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-ipq6018.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on IPQ6018
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <quic_tdas@quicinc.com>
12  - Robert Marko <robimarko@gmail.com>
13
14description: |
15  Qualcomm global clock control module provides the clocks, resets and power
16  domains on IPQ6018.
17
18  See also::
19    include/dt-bindings/clock/qcom,gcc-ipq6018.h
20    include/dt-bindings/reset/qcom,gcc-ipq6018.h
21
22allOf:
23  - $ref: qcom,gcc.yaml#
24
25properties:
26  compatible:
27    const: qcom,gcc-ipq6018
28
29  clocks:
30    items:
31      - description: board XO clock
32      - description: sleep clock
33
34  clock-names:
35    items:
36      - const: xo
37      - const: sleep_clk
38
39required:
40  - compatible
41  - clocks
42  - clock-names
43
44unevaluatedProperties: false
45
46examples:
47  - |
48    clock-controller@1800000 {
49      compatible = "qcom,gcc-ipq6018";
50      reg = <0x01800000 0x80000>;
51      clocks = <&xo>, <&sleep_clk>;
52      clock-names = "xo", "sleep_clk";
53      #clock-cells = <1>;
54      #power-domain-cells = <1>;
55      #reset-cells = <1>;
56    };
57...
58