Broadcom FlexRM Ring Manager

Schema identifier ($id): "http://devicetree.org/schemas/mailbox/brcm,iproc-flexrm-mbox.yaml#"

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

Maintainers (maintainers): "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"

The Broadcom FlexRM ring manager provides a set of rings which can be used to submit work to offload engines. An SoC may have multiple FlexRM hardware blocks. There is one device tree entry per FlexRM block. The FlexRM driver will create a mailbox-controller instance for given FlexRM hardware block where each mailbox channel is a separate FlexRM ring.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "brcm,iproc-flexrm-mbox"

reg — required here #

Maximum number of items (maxItems): 1

msi-parent — required here #

Maximum number of items (maxItems): 1

#mbox-cells — required here #

The 1st cell is the mailbox channel number. The 2nd cell contains MSI completion threshold. This is the number of completion messages for which FlexRM will inject one MSI interrupt to CPU. The 3rd cell contains MSI timer value representing time for which FlexRM will wait to accumulate N completion messages where N is the value specified by 2nd cell above. If FlexRM does not get required number of completion messages in time specified by this cell then it will inject one MSI interrupt to CPU provided at least one completion message is available.

Exact value (const): 3

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "msi-parent", "#mbox-cells"

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

false

Not allowed by this rule.

Examples (examples) #

mailbox@67000000 {
    compatible = "brcm,iproc-flexrm-mbox";
    reg = <0x67000000 0x200000>;
    msi-parent = <&gic_its 0x7f00>;
    #mbox-cells = <3>;
    dma-coherent;
};

Source notes #

Annotations retained from the schema source

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

Edit this page