Allwinner A23 RSB

Schema identifier ($id): "http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml#"

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

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

Properties and child nodes (properties) #

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun8i-a23-rsb"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun8i-a83t-rsb", "allwinner,sun50i-h616-rsb"

Item 2

Exact value (const): "allwinner,sun8i-a23-rsb"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

clock-frequency — not listed as required here #

Minimum value (minimum): 1

Maximum value (maximum): 20000000

Properties matching a name pattern (patternProperties) #

@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

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

Examples (examples) #

rsb@1f03400 {
    compatible = "allwinner,sun8i-a23-rsb";
    reg = <0x01f03400 0x400>;
    interrupts = <0 39 4>;
    clocks = <&apb0_gates 3>;
    clock-frequency = <3000000>;
    resets = <&apb0_rst 3>;
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@3e3 {
        reg = <0x3e3>;

        /* ... */
    };
};

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page