Marvell Armada 370/XP/3700/AC5 Ethernet Controller (NETA)

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

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

Maintainers (maintainers): "Marcin Wojtas <marcin.s.wojtas@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/net/ethernet-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,armada-370-neta", "marvell,armada-xp-neta", "marvell,armada-3700-neta", "marvell,armada-ac5-neta"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "bus"

phys — not listed as required here #

Maximum number of items (maxItems): 1

tx-csum-limit — not listed as required here #

Maximum MTU in bytes for Tx checksum offload; default is 1600 for armada-370-neta and 9800 for others.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

buffer-manager — not listed as required here #

Phandle to hardware buffer manager.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

bm,pool-long — not listed as required here #

Pool ID for packets larger than the short threshold.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

bm,pool-short — not listed as required here #

Pool ID for packets smaller than the long threshold.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ethernet@70000 {
    compatible = "marvell,armada-370-neta";
    reg = <0x70000 0x2500>;
    interrupts = <8>;
    clocks = <&gate_clk 4>;
    tx-csum-limit = <9800>;
    phy = <&phy0>;
    phy-mode = "rgmii-id";
    buffer-manager = <&bm>;
    bm,pool-long = <0>;
    bm,pool-short = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page