[PATCH v2 3/4] arm64: dts: marvell: 7040-db: enable the SFP port

Antoine Tenart antoine.tenart at free-electrons.com
Thu Sep 21 00:54:09 PDT 2017


This patch enables the SFP port on the Armada 7040 DB as this port
is now supported by the PPv2 driver (since the PHY is now optional).

Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
Tested-by: Marcin Wojtas <mw at semihalf.com>
---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
index 06a7ea549a8f..7457b2ea9c4e 100644
--- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
@@ -215,6 +215,14 @@
 	status = "okay";
 };
 
+&cpm_eth0 {
+	status = "okay";
+	/* Network PHY */
+	phy-mode = "10gbase-kr";
+	/* Generic PHY, providing serdes lanes */
+	phys = <&cpm_comphy2 0>;
+};
+
 &cpm_eth1 {
 	status = "okay";
 	/* Network PHY */
-- 
2.13.5




More information about the linux-arm-kernel mailing list