File Index
Files and directories
Sign in
FILE

sophgo,cv1800-clk.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/clock/sophgo,cv1800-clk.yaml 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/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    oneOf:
15      - enum:
16          - sophgo,cv1800b-clk
17          - sophgo,cv1812h-clk
18          - sophgo,sg2000-clk
19      - items:
20          - const: sophgo,sg2002-clk
21          - const: sophgo,sg2000-clk
22      - const: sophgo,cv1800-clk
23        deprecated: true
24      - const: sophgo,cv1810-clk
25        deprecated: true
26
27  reg:
28    maxItems: 1
29
30  clocks:
31    maxItems: 1
32
33  "#clock-cells":
34    const: 1
35    description:
36      See <dt-bindings/clock/sophgo,cv1800.h> for valid indices.
37
38required:
39  - compatible
40  - reg
41  - clocks
42  - "#clock-cells"
43
44additionalProperties: false
45
46examples:
47  - |
48    clock-controller@3002000 {
49        compatible = "sophgo,cv1800-clk";
50        reg = <0x03002000 0x1000>;
51        clocks = <&osc>;
52        #clock-cells = <1>;
53    };
54
55...
~/ Read-only file preview.