OSDN Git Service

arm64: dts: rockchip: fix rock64 gmac2io stability issues
authorKamil Trzciński <ayufan@ayufan.eu>
Mon, 22 Jan 2018 17:46:22 +0000 (18:46 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 12 Feb 2018 08:39:01 +0000 (09:39 +0100)
commit73e42e18669934fa96cf2bb54291da54177076d7
tree9fda71b7be4473f202fca7876047d4c1e7daa94d
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
arm64: dts: rockchip: fix rock64 gmac2io stability issues

This commit enables thresh dma mode as this forces to disable checksuming,
and chooses delay values which make the interface stable.

These changes are needed, because ROCK64 is faced with two problems:
1. tx checksuming does not work with packets larger than 1498,
2. the default delays for tx/rx are not stable when using 1Gbps connection.

Delays were found out with:
https://github.com/ayufan-rock64/linux-build/tree/master/recipes/gmac-delays-test

Signed-off-by: Kamil Trzciński <ayufan@ayufan.eu>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts