Commit 77a1a6d9 authored by Tianling Shen's avatar Tianling Shen Committed by Wentao Guan
Browse files

arm64: dts: rockchip: change eth phy mode to rgmii-id for orangepi r1 plus lts

stable inclusion
from stable-v6.6.80
commit be2778b6ddbd931f6d47966adc27c3128c544094
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IBXANC

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=be2778b6ddbd931f6d47966adc27c3128c544094



--------------------------------

commit a6a7cba17c544fb95d5a29ab9d9ed4503029cb29 upstream.

In general the delay should be added by the PHY instead of the MAC,
and this improves network stability on some boards which seem to
need different delay.

Fixes: 387b3bba ("arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS")
Cc: stable@vger.kernel.org # 6.6+
Signed-off-by: default avatarTianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20250119091154.1110762-1-cnsztl@gmail.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
[Fix conflicts due to missing dtsi conversion]
Signed-off-by: default avatarTianling Shen <cnsztl@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit be2778b6ddbd931f6d47966adc27c3128c544094)
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
parent 121a641e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -15,9 +15,11 @@
};

&gmac2io {
	/delete-property/ tx_delay;
	/delete-property/ rx_delay;

	phy-handle = <&yt8531c>;
	tx_delay = <0x19>;
	rx_delay = <0x05>;
	phy-mode = "rgmii-id";

	mdio {
		/delete-node/ ethernet-phy@1;