Project 'edgehog/bsp/rockchip/linux-seco-rk' was moved to 'clea-os/bsp/rockchip/linux-seco-rk'. Please update any links and bookmarks that may still have the old path.
[C31][DTS] fix ethernet delays
The current ethernet configuration sets delays in both MAC and PHY. This requires to alter the drivers to allow forcing both delays, which is unnecessary. This commit sets mode to rgmii-id and sets internal delays to tx=2.75ns and rx=1.75ns. How these values were calculated: the RK3399 gmac is capable of a ~5ns delay. The rx_delay and tx_delay properties can have values 0-100, so one step is ~0.05ns. The new values have been tested using iperf3 (0 retr in both rx and tx).
Please register or sign in to comment