xref: /linux/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sophgo CV1800/SG2000 Series Clock Controller
8
9maintainers:
10  - Inochi Amaoto <inochiama@outlook.com>
11
12properties:
13  compatible:
14    enum:
15      - sophgo,cv1800-clk
16      - sophgo,cv1810-clk
17      - sophgo,sg2000-clk
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  "#clock-cells":
26    const: 1
27    description:
28      See <dt-bindings/clock/sophgo,cv1800.h> for valid indices.
29
30required:
31  - compatible
32  - reg
33  - clocks
34  - "#clock-cells"
35
36additionalProperties: false
37
38examples:
39  - |
40    clock-controller@3002000 {
41        compatible = "sophgo,cv1800-clk";
42        reg = <0x03002000 0x1000>;
43        clocks = <&osc>;
44        #clock-cells = <1>;
45    };
46
47...
48