Commit cda0c2ea authored by Lucas Tanure's avatar Lucas Tanure Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Fix RX delay for ethernet phy on rk3588s-rock5a



Add network PHY rx delay and change type to rgmii, so
that it is applied. This fixes packet loss when more
than a few packets are exchanged.

Fixes: d1824cf9 ("arm64: dts: rockchip: Add rock-5a board")
Signed-off-by: default avatarLucas Tanure <lucas.tanure@collabora.com>
Link: https://lore.kernel.org/r/20230113130220.662194-1-lucas.tanure@collabora.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 31a47014
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ chosen {
&gmac1 {
	clock_in_out = "output";
	phy-handle = <&rgmii_phy1>;
	phy-mode = "rgmii-rxid";
	phy-mode = "rgmii";
	pinctrl-0 = <&gmac1_miim
		     &gmac1_tx_bus2
		     &gmac1_rx_bus2
@@ -31,6 +31,7 @@ &gmac1_rgmii_clk
		     &gmac1_rgmii_bus>;
	pinctrl-names = "default";
	tx_delay = <0x3a>;
	rx_delay = <0x3e>;
	status = "okay";
};