mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 10:01:56 +00:00
f522a975a8
The mvneta driver supports the Ethernet IP found in the Armada 370, XP,
380 and 385 SoCs. Since at least one more hardware feature is available
for the Armada XP SoCs then a way to identify them is needed.
This patch introduces a new compatible string "marvell,armada-xp-neta".
Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Fixes: c5aff18204
("net: mvneta: driver for Marvell Armada 370/XP network unit")
Cc: <stable@vger.kernel.org> # v3.8+
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
625 B
Plaintext
22 lines
625 B
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: a pointer to the reference clock for this device.
|
|
|
|
Example:
|
|
|
|
ethernet@d0070000 {
|
|
compatible = "marvell,armada-370-neta";
|
|
reg = <0xd0070000 0x2500>;
|
|
interrupts = <8>;
|
|
clocks = <&gate_clk 4>;
|
|
status = "okay";
|
|
phy = <&phy0>;
|
|
phy-mode = "rgmii-id";
|
|
};
|