xref: /openbmc/linux/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt (revision 781095f903f398148cd0b646d3984234a715f29e)
1* Marvell Armada 370 / Armada XP Ethernet Controller (NETA)
2
3Required 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
13Optional 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
21Example:
22
23ethernet@d0070000 {
24	compatible = "marvell,armada-370-neta";
25	reg = <0xd0070000 0x2500>;
26	interrupts = <8>;
27	clocks = <&gate_clk 4>;
28	tx-csum-limit = <9800>
29	status = "okay";
30	phy = <&phy0>;
31	phy-mode = "rgmii-id";
32};
33