forked from Minki/linux
e308cb835c
Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
* Marvell Armada 370 / Armada XP Ethernet Controller (NETA)
|
|
|
|
Required properties:
|
|
- compatible: "marvell,armada-370-neta" or "marvell,armada-xp-neta".
|
|
- reg: address and length of the register set for the device.
|
|
- interrupts: interrupt for the device
|
|
- phy: See ethernet.txt file in the same directory.
|
|
- phy-mode: See ethernet.txt file in the same directory
|
|
- clocks: List of clocks for this device. At least one clock is
|
|
mandatory for the core clock. If several clocks are given, then the
|
|
clock-names property must be used to identify them.
|
|
|
|
Optional properties:
|
|
- tx-csum-limit: maximum mtu supported by port that allow TX checksum.
|
|
Value is presented in bytes. If not used, by default 1600B is set for
|
|
"marvell,armada-370-neta" and 9800B for others.
|
|
- clock-names: List of names corresponding to clocks property; shall be
|
|
"core" for core clock and "bus" for the optional bus clock.
|
|
|
|
|
|
Example:
|
|
|
|
ethernet@d0070000 {
|
|
compatible = "marvell,armada-370-neta";
|
|
reg = <0xd0070000 0x2500>;
|
|
interrupts = <8>;
|
|
clocks = <&gate_clk 4>;
|
|
tx-csum-limit = <9800>
|
|
status = "okay";
|
|
phy = <&phy0>;
|
|
phy-mode = "rgmii-id";
|
|
};
|