2022-04-24 12:03:12 +00:00
|
|
|
From a337472571ea8d154e22325a2c06a8b982716fb0 Mon Sep 17 00:00:00 2001
|
2021-09-04 12:05:25 +00:00
|
|
|
From: Maxim Karasev <begs@disroot.org>
|
|
|
|
Date: Sat, 4 Sep 2021 14:56:01 +0300
|
|
|
|
Subject: [PATCH] arm64: dts: allwinner: orangepi-3: fix ethernet
|
|
|
|
|
|
|
|
This patch will apply only over Megi's tree. It's based on a larger
|
|
|
|
patch from LibreELEC tree.
|
|
|
|
---
|
|
|
|
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
|
2022-04-24 12:03:12 +00:00
|
|
|
index adf2134ec1a4..82740a8aef9b 100644
|
2021-09-04 12:05:25 +00:00
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
|
|
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
|
2022-04-24 12:03:12 +00:00
|
|
|
@@ -141,7 +141,7 @@ hdmi_out_con: endpoint {
|
2021-09-04 12:05:25 +00:00
|
|
|
&emac {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&ext_rgmii_pins>;
|
|
|
|
- phy-mode = "rgmii-id";
|
|
|
|
+ phy-mode = "rgmii-txid";
|
|
|
|
phy-handle = <&ext_rgmii_phy>;
|
|
|
|
/*
|
|
|
|
* The board uses 2.5V RGMII signalling. Power sequence to enable
|
2022-04-24 12:03:12 +00:00
|
|
|
@@ -151,8 +151,8 @@ &emac {
|
2021-09-04 12:05:25 +00:00
|
|
|
*/
|
|
|
|
phy-supply = <®_aldo2>;
|
|
|
|
phy-io-supply = <®_gmac_2v5>;
|
|
|
|
- allwinner,rx-delay-ps = <200>;
|
|
|
|
- allwinner,tx-delay-ps = <200>;
|
|
|
|
+ allwinner,rx-delay-ps = <1500>;
|
|
|
|
+ allwinner,tx-delay-ps = <700>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
--
|
2022-04-24 12:03:12 +00:00
|
|
|
2.33.0
|
2021-09-04 12:05:25 +00:00
|
|
|
|