No dwc0 on bananapi m1 with Linux 5.10 devicetree

qroxana qroxana at protonmail.com
Sun Apr 11 09:24:47 UTC 2021


It seems the dwc0 no longer works after 6be3386466ab79a84b48429ae66244f21526d3df

dwc0: <A20 Gigabit Ethernet Controller> mem 0x1c50000-0x1c5ffff irq 72 on simplebus0
dwc0: Can't reset DWC.
device_attach: dwc0 attach returned 6

I've tried to revert this change on my bananapi m1 and dwc0 worked again.

commit e7ffa3b5ce04742455c6bd4d8af0fdedd9978c77
Author: Emmanuel Vadot <manu at FreeBSD.org>
Date: Sun Jan 17 19:02:46 2021 +0100

Import devicetree files from Linux 5.10

diff --git a/src/arm/sun7i-a20-bananapi.dts b/src/arm/sun7i-a20-bananapi.dts
index bb3987e..0b3d9ae 100644
--- a/src/arm/sun7i-a20-bananapi.dts
+++ b/src/arm/sun7i-a20-bananapi.dts
@@ -132,7 +132,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
- phy-mode = "rgmii";
+ phy-mode = "rgmii-id";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
};


More information about the freebsd-arm mailing list