arm64: dts: marvell: 7040-db: enable the SFP port
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 21 Sep 2017 07:54:09 +0000 (09:54 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 22 Sep 2017 12:03:48 +0000 (14:03 +0200)
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@free-electrons.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts

index 6e932a92cc8ad573e92bc611c7ca9c9bc79d6d1b..8588c6de3c8e5fa5f1f6036d26351c50060abc56 100644 (file)
        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 */