Allwinner A31 Peripheral Reset Controller

Schema identifier ($id): "http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun6i-a31-ahb1-reset", "allwinner,sun6i-a31-clock-reset"

Required in this object (required): "compatible", "reg"

Properties and child nodes (properties) #

#reset-cells — required here #

Exact value (const): 1

This additional argument passed to that reset controller is the offset of the bit controlling this particular reset line in the register.

compatible — required here #

Allowed values (enum): "allwinner,sun6i-a31-ahb1-reset", "allwinner,sun6i-a31-clock-reset"

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

ahb1_rst: reset@1c202c0 {
    #reset-cells = <1>;
    compatible = "allwinner,sun6i-a31-ahb1-reset";
    reg = <0x01c202c0 0xc>;
};
apbs_rst: reset@80014b0 {
    #reset-cells = <1>;
    compatible = "allwinner,sun6i-a31-clock-reset";
    reg = <0x080014b0 0x4>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 23: The PRCM on the A31 and A23 will have the reg property missing,

Line 24: since it's set at the upper level node, and will be validated by

Line 25: PRCM's schema. Make sure we only validate standalone nodes.

Edit this page