]>
Commit | Line | Data |
---|---|---|
6d2fc1d5 SL |
1 | From 01e0a08c71b5dc0f302be3ab7c920fd65ff24ac3 Mon Sep 17 00:00:00 2001 |
2 | From: "Leonidas P. Papadakos" <papadakospan@gmail.com> | |
3 | Date: Fri, 1 Mar 2019 00:29:23 +0200 | |
4 | Subject: arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay | |
5 | ||
6 | [ Upstream commit 924726888f660b2a86382a5dd051ec9ca1b18190 ] | |
7 | ||
8 | The rk3328-roc-cc board exhibits tx stability issues with large packets, | |
9 | as does the rock64 board, which was fixed with this patch | |
10 | https://patchwork.kernel.org/patch/10178969/ | |
11 | ||
12 | A similar patch was merged for the rk3328-roc-cc here | |
13 | https://patchwork.kernel.org/patch/10804863/ | |
14 | but it doesn't include the tx/rx_delay tweaks, and I find that they | |
15 | help with an issue where large transfers would bring the ethernet | |
16 | link down, causing a link reset regularly. | |
17 | ||
18 | Signed-off-by: Leonidas P. Papadakos <papadakospan@gmail.com> | |
19 | Signed-off-by: Heiko Stuebner <heiko@sntech.de> | |
20 | Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org> | |
21 | --- | |
22 | arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 4 ++-- | |
23 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
24 | ||
25 | diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | |
26 | index 99d0d9912950..a91f87df662e 100644 | |
27 | --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | |
28 | +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | |
29 | @@ -107,8 +107,8 @@ | |
30 | snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; | |
31 | snps,reset-active-low; | |
32 | snps,reset-delays-us = <0 10000 50000>; | |
33 | - tx_delay = <0x25>; | |
34 | - rx_delay = <0x11>; | |
35 | + tx_delay = <0x24>; | |
36 | + rx_delay = <0x18>; | |
37 | status = "okay"; | |
38 | }; | |
39 | ||
40 | -- | |
41 | 2.20.1 | |
42 |