QMan Private Memory Nodes

Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,qman-fqd.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

QMan requires two contiguous range of physical memory used for the backing store for QMan Frame Queue Descriptor (FQD) and Packed Frame Descriptor Record (PFDR). This memory is reserved/allocated as a node under the /reserved-memory node.

BMan requires a contiguous range of physical memory used for the backing store for BMan Free Buffer Proxy Records (FBPR). This memory is reserved/allocated as a node under the /reserved-memory node.

The QMan FQD memory node must be named "qman-fqd" The QMan PFDR memory node must be named "qman-pfdr" The BMan FBPR memory node must be named "bman-fbpr"

The following constraints are relevant to the FQD and PFDR private memory:
  - The size must be 2^(size + 1), with size = 11..29. That is 4 KiB to
    1 GiB
  - The alignment must be a muliptle of the memory size

The size of the FQD and PFDP must be chosen by observing the hardware features configured via the Reset Configuration Word (RCW) and that are relevant to a specific board (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports, etc.). The size configured in the DT must reflect the hardware capabilities and not the specific needs of an application

For additional details about reserved memory regions see reserved-memory/reserved-memory.yaml in dtschema project.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^(qman-fqd|qman-pfdr|bman-fbpr)+$"

compatible — required here #

Allowed values (enum): "fsl,qman-fqd", "fsl,qman-pfdr", "fsl,bman-fbpr"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/reserved-memory/reserved-memory.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    qman-fqd {
        compatible = "fsl,qman-fqd";
        size = <0 0x400000>;
        alignment = <0 0x400000>;
        no-map;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page