QorIQ DPAA Queue Manager Portals
Schema identifier ($id): "http://devicetree.org/schemas/soc/fsl/fsl,qman-portal.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Portals are memory mapped interfaces to QMan that allow low-latency, lock-less interaction by software running on processor cores, accelerators and network interfaces with the QMan
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,qman-portal"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,ls1043-qman-portal","fsl,ls1046-qman-portal","fsl,qman-portal-1.2.0"Item 2
Exact value (
const):"fsl,qman-portal"
reg — required here #
Array item rules (items) #
Item 1
the cache-enabled region of the portal
Item 2
the cache-inhibited region of the portal
interrupts — required here #
Maximum number of items (maxItems): 1
fsl,liodn — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 2
See pamu.txt. Two LIODN(s). DQRR LIODN (DLIODN) and Frame LIODN (FLIODN)
fsl,iommu-parent — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
See pamu.txt.
fsl,qman-channel-id — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
qman channel id.
cell-index — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The hardware index of the channel. This can also be determined by dividing any of the channel's 8 work queue IDs by 8 In addition to these properties the qman-portals should have sub-nodes to represent the HW devices/portals that are connected to the software portal described here
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^(fman0|fman1|pme|crypto)+$ — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
fsl,liodn — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
See pamu.txt, PAMU property used for static LIODN assignment
fsl,iommu-parent — not listed as required here
See pamu.txt, PAMU property used for dynamic LIODN assignment
dev-handle — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle to the particular hardware device that this portal is connected to.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
qman-portal@0 {
compatible = "fsl,qman-portal-1.2.0", "fsl,qman-portal";
reg = <0 0x4000>, <0x100000 0x1000>;
interrupts = <104 IRQ_TYPE_EDGE_FALLING 0 0>;
fsl,liodn = <1 2>;
fsl,qman-channel-id = <0>;
fman0 {
fsl,liodn = <0x21>;
dev-handle = <&fman0>;
};
fman1 {
fsl,liodn = <0xa1>;
dev-handle = <&fman1>;
};
crypto {
fsl,liodn = <0x41 0x66>;
dev-handle = <&crypto>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)