summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2019-02-11 02:04:39 +0800
committerHeiko Stuebner <heiko@sntech.de>2019-02-15 10:26:35 +0100
commit4bc4d6013b7f5a957465a22d2c7681f19a0c3e71 (patch)
tree71661fbc4a657c04c870530d8ff71872a8ecaa32
parent6db644c79c8d45d73b56bc389aebd85fc3679beb (diff)
downloadlinux-4bc4d6013b7f5a957465a22d2c7681f19a0c3e71.tar.bz2
arm64: dts: rockchip: fix rk3328-roc-cc gmac2io stability issues
This patch is a port of the fix from commit 73e42e186699 ("arm64: dts: rockchip: fix rock64 gmac2io stability issues") As per that patch, enabling thresh dma mode force disables checksuming. This is necessary as tx checksuming does not work with packets larger than 1498. The rk3328-roc-cc board exhibits tx stability issues with large packets similar to rock64's issues. This patch resolves that issue. Signed-off-by: Peter Geis <pgwipeout@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index 99d0d9912950..33c44e857247 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -104,6 +104,7 @@
phy-mode = "rgmii";
pinctrl-names = "default";
pinctrl-0 = <&rgmiim1_pins>;
+ snps,force_thresh_dma_mode;
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>;