About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / marvell-armada-370-neta.txt




Custom Search

Based on kernel version 4.7.2. Page generated on 2016-08-22 22:42 EST.

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

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.