arm64: dts: marvell: 7040-db: describe the 10G interface as fixed-link
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 17 May 2018 08:29:39 +0000 (10:29 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 17 May 2018 12:21:17 +0000 (14:21 +0200)
This patch adds a fixed-link node to the 10G interface of the 7040-db
board. This is required as the mvpp2 driver now uses phylink. The best
solution would have been to describe the SFP cage but they are not
wired correctly, and thus unusable, so we chose to use fixed-link
instead.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts

index d6bec058a30a2c847115678e3721dfbf6cdb09d1..412efdb46e7cd6e524b0aa112e7d5f3687faecd3 100644 (file)
        phy-mode = "10gbase-kr";
        /* Generic PHY, providing serdes lanes */
        phys = <&cp0_comphy2 0>;
+
+       fixed-link {
+               speed = <10000>;
+               full-duplex;
+       };
 };
 
 &cp0_eth1 {