Date: Thu, 20 Jan 2022 14:02:33 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 261355] dwc(4) fails to attach on BananaPi A20 Message-ID: <bug-261355-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261355 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: freebsd-arm@FreeBSD.org Reporter: marentoy@protonmail.com 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 =3D "default"; pinctrl-0 =3D <&gmac_rgmii_pins>; phy-handle =3D <&phy1>; - phy-mode =3D "rgmii-id"; + phy-mode =3D "rgmii"; phy-supply =3D <®_gmac_3v3>; status =3D "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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261355-7>