Marvell Armada 380/XP Buffer Manager (BM)
Schema identifier ($id): "http://devicetree.org/schemas/net/marvell,armada-380-neta-bm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marcin Wojtas <marcin.s.wojtas@gmail.com>"
In order to see how to hook the BM to a given ethernet port, please refer to Documentation/devicetree/bindings/net/marvell,armada-370-neta.yaml.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "marvell,armada-380-neta-bm"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
internal-mem — required here #
Phandle to internal SRAM region
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Properties matching a name pattern (patternProperties) #
^pool[0-3],capacity$ — name matches this regular expression #
size of external buffer pointers' ring maintained in DRAM for pool 0-3
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 128
Maximum value (maximum): 16352
^pool[0-3],pkt-size$ — name matches this regular expression #
maximum packet size for a short buffer pool entry (pool 0-3)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "clocks", "internal-mem"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
bm@c8000 {
compatible = "marvell,armada-380-neta-bm";
reg = <0xc8000 0xac>;
clocks = <&gateclk 13>;
internal-mem = <&bm_bppi>;
pool2,capacity = <4096>;
pool1,pkt-size = <512>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)