-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: rockchip: fix gmac PHY attach error on ROCK Pi E
this fixes following error: rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) Signed-off-by: FUKAUMI Naoki <[email protected]>
- Loading branch information
1 parent
5c38df3
commit b1cbd00
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
...ive/rockchip64-6.10/board-rockpie-0001-arm64-dts-rockchip-fix-gmac-PHY-attach-error.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: FUKAUMI Naoki <[email protected]> | ||
Date: Tue, 10 Sep 2024 19:33:28 +0000 | ||
Subject: arm64: dts: rockchip: fix gmac PHY attach error on ROCK Pi E | ||
|
||
Signed-off-by: FUKAUMI Naoki <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
index f2616bfe3843..4fa44218447e 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
@@ -165,10 +165,11 @@ mdio { | ||
compatible = "snps,dwmac-mdio"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
rtl8211: ethernet-phy@1 { | ||
+ compatible = "ethernet-phy-id001c.c916"; | ||
reg = <1>; | ||
pinctrl-0 = <ð_phy_int_pin>, <ð_phy_reset_pin>; | ||
pinctrl-names = "default"; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <24 IRQ_TYPE_LEVEL_LOW>; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|
33 changes: 33 additions & 0 deletions
33
...hive/rockchip64-6.6/board-rockpie-0001-arm64-dts-rockchip-fix-gmac-PHY-attach-error.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: FUKAUMI Naoki <[email protected]> | ||
Date: Tue, 10 Sep 2024 02:49:42 +0000 | ||
Subject: arm64: dts: rockchip: fix gmac PHY attach error on ROCK Pi E | ||
|
||
this fixes following error: | ||
|
||
rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) | ||
|
||
Signed-off-by: FUKAUMI Naoki <[email protected]> | ||
--- | ||
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
index 98f391f675df..ebb3617395ec 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
@@ -163,10 +163,11 @@ mdio { | ||
compatible = "snps,dwmac-mdio"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
rtl8211e: ethernet-phy@1 { | ||
+ compatible = "ethernet-phy-id001c.c916"; | ||
reg = <1>; | ||
pinctrl-0 = <ð_phy_int_pin>, <ð_phy_reset_pin>; | ||
pinctrl-names = "default"; | ||
interrupt-parent = <&gpio1>; | ||
interrupts = <24 IRQ_TYPE_LEVEL_LOW>; | ||
-- | ||
Created with Armbian build tools https://github.com/armbian/build | ||
|