pmaports/device/main/linux-postmarketos-allwinner/0012-arm64-dts-allwinner-orangepi-3-fix-ethernet.patch
Arnav Singh 686479bc4d
linux-postmarketos-allwinner: downgrade to 6.7.9_git20240306 (MR 5054)
Kernel 6.8.4 has multiple issues on the pine64-pinephone:

- Incoming calls don't work reliably when the phone is suspended. ( #2734 )

- Audio routing has changed such that it's seemingly not possible to use
  headphones with the builtin mic. ( #2738 )

Kernel 6.7.9 does not have these problems. This commit reverts to that for now
until they're figured out on the new kernel.
2024-04-22 22:29:33 +02:00

38 lines
1.2 KiB
Diff

From bfd8856798954e1afa2eed743bf14e5321c15357 Mon Sep 17 00:00:00 2001
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
index 218c26c594..a424eded00 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
@@ -145,7 +145,7 @@ hdmi_out_con: endpoint {
&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
@@ -155,8 +155,8 @@ &emac {
*/
phy-supply = <&reg_aldo2>;
phy-io-supply = <&reg_gmac_2v5>;
- allwinner,rx-delay-ps = <200>;
- allwinner,tx-delay-ps = <200>;
+ allwinner,rx-delay-ps = <1500>;
+ allwinner,tx-delay-ps = <700>;
status = "okay";
};
--
2.43.0