main/linux-postmarketos-allwinner: fix ethernet for Orange Pi 3 (MR 2487)
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
26e7c79323
commit
64bc486aea
2 changed files with 41 additions and 1 deletions
|
@ -0,0 +1,38 @@
|
|||
From a337472571ea8d154e22325a2c06a8b982716fb0 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 adf2134ec1a4..82740a8aef9b 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts
|
||||
@@ -141,7 +141,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
|
||||
@@ -151,8 +151,8 @@ &emac {
|
||||
*/
|
||||
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";
|
||||
};
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
|
@ -7,7 +7,7 @@ _flavor=postmarketos-allwinner
|
|||
_config="config-$_flavor.$CARCH"
|
||||
pkgname=linux-$_flavor
|
||||
pkgver=5.13.12_git2021819
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_tag="orange-pi-5.13-20210819-1611"
|
||||
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
|
||||
arch="aarch64 armv7"
|
||||
|
@ -49,6 +49,7 @@ source="$pkgname-$_tag.tar.gz::https://github.com/megous/linux/archive/$_tag.tar
|
|||
0011-drm-panel-simple-Add-Hannstar-HSD070IDW1-A.patch
|
||||
0012-ARM-dts-sun6i-Add-Lark-FreeMe-70.2S-tablet.patch
|
||||
0013-sunxi-mmc-h6-fix.patch
|
||||
0014-arm64-dts-allwinner-orangepi-3-fix-ethernet.patch
|
||||
"
|
||||
subpackages="$pkgname-dev"
|
||||
builddir="$srcdir/linux-$_tag"
|
||||
|
@ -112,4 +113,5 @@ c61d4f86eddecca99df1ea1323f988e575f9c49130b64a0c50d61028ff96e24aaa3131fb3731e62e
|
|||
71fad7ecff66a2cb692f3dd3d02301c4b419873f27693de81f50226b8ab93c229299e7dc663fdd07a7e8f03a6541527f3bb449626f865fcfde6a780ef1b91976 0011-drm-panel-simple-Add-Hannstar-HSD070IDW1-A.patch
|
||||
902708a5a8dd8a815d3d1793933d307c551e3c10368d1805431b70691ee5d4438b7146c466549f457468e365f94073a35ae3304928af7581e5dc91ba5c8fa682 0012-ARM-dts-sun6i-Add-Lark-FreeMe-70.2S-tablet.patch
|
||||
2aec51b4cbe6349193c5db705b6788282844623930135be26dc62abf1a56c33e42538fde65c43cf0fb23677a71c9a929220baf3ba2ec89b2c485ffd9a6b1683f 0013-sunxi-mmc-h6-fix.patch
|
||||
22af33264090dac027ee054b4345a07f0b2ee077e2ae1620e83960bfeea096169aec710973fdd50531ed4f1db6cfd59b5796cd235316cb3512aee034f741a694 0014-arm64-dts-allwinner-orangepi-3-fix-ethernet.patch
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue