Marvell Prestera DFX server

Schema identifier ($id): "http://devicetree.org/schemas/net/marvell,dfx-server.yaml#"

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

Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "marvell,dfx-server"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "marvell,dfx-server"

Item 2

Exact value (const): "simple-bus"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

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

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

Value type (type): "object"

Examples (examples) #


#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
bus@0 {
    reg = <0 0>;
    #address-cells = <2>;
    #size-cells = <1>;

    dfx-bus@ac000000 {
        compatible = "marvell,dfx-server", "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;
        ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
        reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 42: The DFX server may expose clocks described as subnodes

Edit this page