1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/marvell,armada-370-neta.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Marvell Armada 370/XP/3700/AC5 Ethernet Controller (NETA) 8 9maintainers: 10 - Marcin Wojtas <marcin.s.wojtas@gmail.com> 11 12allOf: 13 - $ref: /schemas/net/ethernet-controller.yaml# 14 15properties: 16 compatible: 17 enum: 18 - marvell,armada-370-neta 19 - marvell,armada-xp-neta 20 - marvell,armada-3700-neta 21 - marvell,armada-ac5-neta 22 23 reg: 24 maxItems: 1 25 26 interrupts: 27 maxItems: 1 28 29 clocks: 30 minItems: 1 31 maxItems: 2 32 33 clock-names: 34 minItems: 1 35 items: 36 - const: core 37 - const: bus 38 39 phys: 40 maxItems: 1 41 42 tx-csum-limit: 43 description: Maximum MTU in bytes for Tx checksum offload; default is 1600 for 44 armada-370-neta and 9800 for others. 45 $ref: /schemas/types.yaml#/definitions/uint32 46 47 buffer-manager: 48 description: Phandle to hardware buffer manager. 49 $ref: /schemas/types.yaml#/definitions/phandle 50 51 bm,pool-long: 52 description: Pool ID for packets larger than the short threshold. 53 $ref: /schemas/types.yaml#/definitions/uint32 54 55 bm,pool-short: 56 description: Pool ID for packets smaller than the long threshold. 57 $ref: /schemas/types.yaml#/definitions/uint32 58 59required: 60 - compatible 61 - reg 62 - clocks 63 64unevaluatedProperties: false 65 66examples: 67 - | 68 ethernet@70000 { 69 compatible = "marvell,armada-370-neta"; 70 reg = <0x70000 0x2500>; 71 interrupts = <8>; 72 clocks = <&gate_clk 4>; 73 tx-csum-limit = <9800>; 74 phy = <&phy0>; 75 phy-mode = "rgmii-id"; 76 buffer-manager = <&bm>; 77 bm,pool-long = <0>; 78 bm,pool-short = <1>; 79 }; 80