https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261355
Bug ID: 261355
Summary: dwc(4) fails to attach on BananaPi A20
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: [email protected]
Reporter: [email protected]
It's running 14.0-CURRENT d106f982a54cd299671ccad58bc456138a22ae7b
dwc0: <A20 Gigabit Ethernet Controller> mem 0x1c50000-0x1c5ffff irq 72 on
simplebus0
dwc0: MAC clock(ahb-gmac) freq: 160000000
dwc0: Can't reset DWC.
device_attach: dwc0 attach returned 6
after changing phy-mode back to rgmii in sun7i-a20-bananapi.dts, it works
again.
diff --git a/sys/contrib/device-tree/src/arm/sun7i-a20-bananapi.dts
b/sys/contrib/device-tree/src/arm/sun7i-a20-bananapi.dts
index 9d792d7a0f92..87cef1fc7dfd 100644
--- a/sys/contrib/device-tree/src/arm/sun7i-a20-bananapi.dts
+++ b/sys/contrib/device-tree/src/arm/sun7i-a20-bananapi.dts
@@ -132,7 +132,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
- phy-mode = "rgmii-id";
+ phy-mode = "rgmii";
phy-supply = <®_gmac_3v3>;
status = "okay";
};
dwc0: <A20 Gigabit Ethernet Controller> mem 0x1c50000-0x1c5ffff irq 72 on
simplebus0
dwc0: MAC clock(ahb-gmac) freq: 160000000
miibus0: <MII bus> on dwc0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: OUI 0x00e04c, model 0x0011, rev. 5
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: OUI 0x00e04c, model 0x0011, rev. 5
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
dwc0: bpf attached
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.