51 lines · plain
1* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)2 3Required properties:4- compatible: could be one of the following:5 "marvell,armada-370-neta"6 "marvell,armada-xp-neta"7 "marvell,armada-3700-neta"8 "marvell,armada-ac5-neta"9- reg: address and length of the register set for the device.10- interrupts: interrupt for the device11- phy: See ethernet.txt file in the same directory.12- phy-mode: See ethernet.txt file in the same directory13- clocks: List of clocks for this device. At least one clock is14 mandatory for the core clock. If several clocks are given, then the15 clock-names property must be used to identify them.16 17Optional properties:18- tx-csum-limit: maximum mtu supported by port that allow TX checksum.19 Value is presented in bytes. If not used, by default 1600B is set for20 "marvell,armada-370-neta" and 9800B for others.21- clock-names: List of names corresponding to clocks property; shall be22 "core" for core clock and "bus" for the optional bus clock.23- phys: comphy for the ethernet port, see ../phy/phy-bindings.txt24 25Optional properties (valid only for Armada XP/38x):26 27- buffer-manager: a phandle to a buffer manager node. Please refer to28 Documentation/devicetree/bindings/net/marvell-neta-bm.txt29- bm,pool-long: ID of a pool, that will accept all packets of a size30 higher than 'short' pool's threshold (if set) and up to MTU value.31 Obligatory, when the port is supposed to use hardware32 buffer management.33- bm,pool-short: ID of a pool, that will be used for accepting34 packets of a size lower than given threshold. If not set, the port35 will use a single 'long' pool for all packets, as defined above.36 37Example:38 39ethernet@70000 {40 compatible = "marvell,armada-370-neta";41 reg = <0x70000 0x2500>;42 interrupts = <8>;43 clocks = <&gate_clk 4>;44 tx-csum-limit = <9800>45 phy = <&phy0>;46 phy-mode = "rgmii-id";47 buffer-manager = <&bm>;48 bm,pool-long = <0>;49 bm,pool-short = <1>;50};51