arm64: dts: marvell: 8040-db: enable the SFP ports
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 21 Sep 2017 07:54:10 +0000 (09:54 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 22 Sep 2017 12:03:54 +0000 (14:03 +0200)
This patch enables the SFP ports on the Armada 8040 DB as these ports
are 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-8040-db.dts

index 2a9b68ea73924e38c210d27e32ad6c041a93948b..2e794188d7ab038aa3757ff3300608000cf2312f 100644 (file)
        status = "okay";
 };
 
+&cpm_eth0 {
+       status = "okay";
+       phy-mode = "10gbase-kr";
+};
+
 &cpm_eth2 {
        status = "okay";
        phy = <&phy1>;
        status = "okay";
 };
 
+&cps_eth0 {
+       status = "okay";
+       phy-mode = "10gbase-kr";
+};
+
 &cps_eth1 {
        status = "okay";
        phy = <&phy0>;