Sophgo CV1800/SG2000 Series Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inochi Amaoto <inochiama@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "sophgo,cv1800b-clk", "sophgo,cv1812h-clk", "sophgo,sg2000-clk"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "sophgo,sg2002-clk"

Item 2

Exact value (const): "sophgo,sg2000-clk"

Rule 3

Exact value (const): "sophgo,cv1800-clk"

Deprecated (deprecated): true

Rule 4

Exact value (const): "sophgo,cv1810-clk"

Deprecated (deprecated): true

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/sophgo,cv1800.h> for valid indices.

Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@3002000 {
    compatible = "sophgo,cv1800-clk";
    reg = <0x03002000 0x1000>;
    clocks = <&osc>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page