
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. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
30 lines
990 B
Diff
30 lines
990 B
Diff
From bc9111d1b82684123e6c48817c04d0f8a08669bf Mon Sep 17 00:00:00 2001
|
|
From: Tianling Shen <cnsztl@gmail.com>
|
|
Date: Sun, 19 Jan 2025 16:24:10 +0800
|
|
Subject: [PATCH] arm64: dts: rockchip: change eth phy mode to rgmii-id for
|
|
orangepi r1 plus lts
|
|
|
|
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: 387b3bbac5ea ("arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS")
|
|
Cc: stable@vger.kernel.org # 6.6+
|
|
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts
|
|
@@ -16,8 +16,7 @@
|
|
|
|
&gmac2io {
|
|
phy-handle = <&yt8531c>;
|
|
- tx_delay = <0x19>;
|
|
- rx_delay = <0x05>;
|
|
+ phy-mode = "rgmii-id";
|
|
|
|
mdio {
|
|
/delete-node/ ethernet-phy@1;
|