arm64: dts: armada-3720-espressobin: Set mv88e6341 cpu port as RGMII-ID
authorRemi Pommarel <repk@triplefau.lt>
Mon, 28 Jan 2019 20:07:28 +0000 (21:07 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 8 Feb 2019 20:58:58 +0000 (21:58 +0100)
The mv88e6341 ethernet switch needs the cpu port control register to be
set with TX and RX internal delay in order to work.

This fixes ethernet support on system booted via a bootloader that
has not already configured this register (e.g. mainline u-boot, or
vendor u-boot compiled without ethernet support).

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts

index dcb6109..67fa84b 100644 (file)
                                reg = <0>;
                                label = "cpu";
                                ethernet = <&eth0>;
+                               phy-mode = "rgmii-id";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
                        };
 
                        port@1 {