dt-bindings: Remove "status" from examples
[linux-block.git] / Documentation / devicetree / bindings / net / marvell-armada-370-neta.txt
CommitLineData
2636ac3c 1* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)
c5aff182
TP
2
3Required properties:
4091fb95 4- compatible: could be one of the following:
2636ac3c
MW
5 "marvell,armada-370-neta"
6 "marvell,armada-xp-neta"
7 "marvell,armada-3700-neta"
c5aff182
TP
8- reg: address and length of the register set for the device.
9- interrupts: interrupt for the device
e8f08ee0
SS
10- phy: See ethernet.txt file in the same directory.
11- phy-mode: See ethernet.txt file in the same directory
e308cb83
JZ
12- clocks: List of clocks for this device. At least one clock is
13 mandatory for the core clock. If several clocks are given, then the
14 clock-names property must be used to identify them.
c5aff182 15
9110ee07
MW
16Optional properties:
17- tx-csum-limit: maximum mtu supported by port that allow TX checksum.
18 Value is presented in bytes. If not used, by default 1600B is set for
19 "marvell,armada-370-neta" and 9800B for others.
e308cb83
JZ
20- clock-names: List of names corresponding to clocks property; shall be
21 "core" for core clock and "bus" for the optional bus clock.
22
9110ee07 23
dc35a10f
MW
24Optional properties (valid only for Armada XP/38x):
25
26- buffer-manager: a phandle to a buffer manager node. Please refer to
27 Documentation/devicetree/bindings/net/marvell-neta-bm.txt
28- bm,pool-long: ID of a pool, that will accept all packets of a size
29 higher than 'short' pool's threshold (if set) and up to MTU value.
30 Obligatory, when the port is supposed to use hardware
31 buffer management.
32- bm,pool-short: ID of a pool, that will be used for accepting
33 packets of a size lower than given threshold. If not set, the port
34 will use a single 'long' pool for all packets, as defined above.
35
c5aff182
TP
36Example:
37
dc35a10f 38ethernet@70000 {
c5aff182 39 compatible = "marvell,armada-370-neta";
dc35a10f 40 reg = <0x70000 0x2500>;
c5aff182 41 interrupts = <8>;
189dd626 42 clocks = <&gate_clk 4>;
9110ee07 43 tx-csum-limit = <9800>
c5aff182
TP
44 phy = <&phy0>;
45 phy-mode = "rgmii-id";
dc35a10f
MW
46 buffer-manager = <&bm>;
47 bm,pool-long = <0>;
48 bm,pool-short = <1>;
c5aff182 49};