Skip to content

Commit f522a97

Browse files
simonguinotdavem330
authored andcommitted
net: mvneta: introduce compatible string "marvell, armada-xp-neta"
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: c5aff18 ("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>
1 parent 279c6c7 commit f522a97

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
* Marvell Armada 370 / Armada XP Ethernet Controller (NETA)
22

33
Required properties:
4-
- compatible: should be "marvell,armada-370-neta".
4+
- compatible: "marvell,armada-370-neta" or "marvell,armada-xp-neta".
55
- reg: address and length of the register set for the device.
66
- interrupts: interrupt for the device
77
- phy: See ethernet.txt file in the same directory.

drivers/net/ethernet/marvell/mvneta.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3185,6 +3185,7 @@ static int mvneta_remove(struct platform_device *pdev)
31853185

31863186
static const struct of_device_id mvneta_match[] = {
31873187
{ .compatible = "marvell,armada-370-neta" },
3188+
{ .compatible = "marvell,armada-xp-neta" },
31883189
{ }
31893190
};
31903191
MODULE_DEVICE_TABLE(of, mvneta_match);

0 commit comments

Comments
 (0)