build/patch/kernel/archive/sunxi-5.15/patches.megous/arm64-dts-rk3566-qaurtz64-a-Fix-ethernet-performance.patch

31 lines
1.1 KiB
Diff

From d91ed9c25222f58e1dfde5f5c87c008e240212d4 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Sun, 21 Nov 2021 19:52:47 +0100
Subject: [PATCH 474/478] arm64: dts: rk3566-qaurtz64-a: Fix ethernet
performance
Ethernet controller handles the delays, phy doesn't need to, otherwise
TX performance sucks (4mbit/s).
Signed-off-by: Ondrej Jirman <megous@megous.com>
---
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
index f3075d4c1dc6..8176c4427191 100644
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
@@ -265,7 +265,7 @@ &gmac1 {
assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
clock_in_out = "input";
phy-supply = <&vcc_3v3>;
- phy-mode = "rgmii-id";
+ phy-mode = "rgmii";
pinctrl-names = "default";
pinctrl-0 = <&gmac1m0_miim
&gmac1m0_tx_bus2
--
2.35.3