Sophgo SG2042 SoC Reset Controller

Schema identifier ($id): "http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml#"

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

Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "sophgo,sg2044-reset"

Item 2

Exact value (const): "sophgo,sg2042-reset"

Rule 2

Allowed values (enum): "sophgo,cv1800b-reset", "sophgo,sg2042-reset"

reg — required here #

Maximum number of items (maxItems): 1

#reset-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

rstgen: reset-controller@c00 {
    compatible = "sophgo,sg2042-reset";
    reg = <0xc00 0xc>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page