OSDN Git Service

arm64: dts: marvell: 8040-db: describe the 10G interfaces as fixed-link
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 17 May 2018 08:29:38 +0000 (10:29 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 17 May 2018 12:21:12 +0000 (14:21 +0200)
This patch adds a fixed-link node to both 10G interfaces of the 8040-db
board. This is required as the mvpp2 driver now uses phylink. The best
solution would have been to describe the SFP cages 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-8040-db.dts

index 5689fb2..1bac437 100644 (file)
 &cp0_eth0 {
        status = "okay";
        phy-mode = "10gbase-kr";
+
+       fixed-link {
+               speed = <10000>;
+               full-duplex;
+       };
 };
 
 &cp0_eth2 {
 &cp1_eth0 {
        status = "okay";
        phy-mode = "10gbase-kr";
+
+       fixed-link {
+               speed = <10000>;
+               full-duplex;
+       };
 };
 
 &cp1_eth1 {