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.13.3. Page generated on 2017-09-23 13:55 EST.

1	* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)
2	
3	Required 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	- reg: address and length of the register set for the device.
9	- interrupts: interrupt for the device
10	- phy: See ethernet.txt file in the same directory.
11	- phy-mode: See ethernet.txt file in the same directory
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.
15	
16	Optional 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.
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	
23	
24	Optional 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	
36	Example:
37	
38	ethernet@70000 {
39		compatible = "marvell,armada-370-neta";
40		reg = <0x70000 0x2500>;
41		interrupts = <8>;
42		clocks = <&gate_clk 4>;
43		tx-csum-limit = <9800>
44		status = "okay";
45		phy = <&phy0>;
46		phy-mode = "rgmii-id";
47		buffer-manager = <&bm>;
48		bm,pool-long = <0>;
49		bm,pool-short = <1>;
50	};
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.