From nobody Thu Jan 20 14:02:33 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 31C6E1969C06 for ; Thu, 20 Jan 2022 14:02:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JfkjP6B1rz55B1 for ; Thu, 20 Jan 2022 14:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AB4EE190A for ; Thu, 20 Jan 2022 14:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20KE2X30092480 for ; Thu, 20 Jan 2022 14:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20KE2Xt7092479 for freebsd-arm@FreeBSD.org; Thu, 20 Jan 2022 14:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 261355] dwc(4) fails to attach on BananaPi A20 Date: Thu, 20 Jan 2022 14:02:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marentoy@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642687353; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d4TjoViIwsytkCprT45nm61geou4CbjTSCwY6twnyn4=; b=a/XyRAHf9+S6+UD8nF8R1atKTX80DAB/clmcz3HHie5sXNki/PbhYsMlI9ymOHogcOLyiU 9WMuwS7t3MrVH7iaPo2CZvMjkaCth9cSq/pbRokvKbdK2UTsrVFF3YZN/vNvVcfcwVI/to u90XjPlruY9p1S5ICh9lhD1w0LO76EYhAbdk/dszT5kXRjfyuGTXp8EmpjhRsLJAgW0Eir LQmeimdHjTM+m7uy0oj2hmBgQrOIeb/X6GfEnke57SLK+f/lITJj2qgaK/d3rXX7X2gmjo tiFvolwcD+h+5Gu3kBLhZzNLtiWrbUKyPZ1ZRro6aIHWHaLxpjvKOnSdH7KmrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642687353; a=rsa-sha256; cv=none; b=ylxjaKsDEHY66c8ZzdzJqZtvnz76aEwZgsVyqo7ETcLTw4YZst7R6W+uAIWKS6jJZC4xdX vJ8R+jdXkuLNx6WpV0w7c70uOaoRrdSjm09LDuD0bT3Pcc9mqnkpecBx/fKRlEWZnNFH1Q ZBqGC8dieES2ey6LD/oTeNiOczjUpNZgvW+/UMpSjYuF4TcbFingGw18G3ZS/9b4OjANmS 66eD/nF2d4MjhKqcxaOnDwVdDnE8OyeqSOLRRf2MU6tab6OAZZeVWdHJ7QSh50bMZlnx5a KPllzOP52xIU9isNU6VU6xXQFAkOJva7Eg9kCD2DnPaekLAL2W8Sihpd5KYFrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 2103 Lines: 58 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: 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: mem 0x1c50000-0x1c5ffff irq 72 on simplebus0 dwc0: MAC clock(ahb-gmac) freq: 160000000 miibus0: on dwc0 rgephy0: 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: 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.=