From: Remi Pommarel Date: Mon, 28 Jan 2019 20:07:28 +0000 (+0100) Subject: arm64: dts: armada-3720-espressobin: Set mv88e6341 cpu port as RGMII-ID X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5228^2~27^2~5 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=99ce97875973ab83a4f894a56cf7f59afdc3943f;p=linux.git arm64: dts: armada-3720-espressobin: Set mv88e6341 cpu port as RGMII-ID 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 Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts index dcb610933bc7..67fa84bf8686 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts @@ -158,6 +158,11 @@ reg = <0>; label = "cpu"; ethernet = <ð0>; + phy-mode = "rgmii-id"; + fixed-link { + speed = <1000>; + full-duplex; + }; }; port@1 {