OSDN Git Service

arm64: dts: rockchip: fix rk3328-roc-cc gmac2io stability issues
authorPeter Geis <pgwipeout@gmail.com>
Sun, 10 Feb 2019 18:04:39 +0000 (02:04 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 15 Feb 2019 09:26:35 +0000 (10:26 +0100)
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>
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts

index 99d0d99..33c44e8 100644 (file)
        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>;