Allwinner A64 Display Engine Bus

Schema identifier ($id): "http://devicetree.org/schemas/bus/allwinner,sun50i-a64-de2.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) #

$nodename — not listed as required here #

String pattern (pattern): "^bus(@[0-9a-f]+)?$"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "allwinner,sun50i-a64-de2"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun50i-h6-de3"

Item 2

Exact value (const): "allwinner,sun50i-a64-de2"

reg — required here #

Maximum number of items (maxItems): 1

allwinner,sram — required here #

The SRAM that needs to be claimed to access the display engine bus.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

phandle to SRAM

Item 2

register value for device

ranges — required here #

true — No constraints added by this property rule.

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", "#address-cells", "#size-cells", "ranges", "allwinner,sram"

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

false

Not allowed by this rule.

Examples (examples) #

bus@1000000 {
    compatible = "allwinner,sun50i-a64-de2";
    reg = <0x1000000 0x400000>;
    allwinner,sram = <&de2_sram 1>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x1000000 0x400000>;

    display_clocks: clock@0 {
        compatible = "allwinner,sun50i-a64-de2-clk";
        reg = <0x0 0x100000>;
        clocks = <&ccu 52>, <&ccu 99>;
        clock-names = "bus", "mod";
        resets = <&ccu 30>;
        #clock-cells = <1>;
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 46: All other properties should be child nodes with unit-address and 'reg'

Edit this page