Message ID | TYAP286MB0315443025BE66CFF11F8897BCC3A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Aq9VDPEe; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=outlook.com header.i=@outlook.com header.a=rsa-sha256 header.s=selector1 header.b=TwGGIylE; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RvzHq0jmzz1ypD for <incoming@patchwork.ozlabs.org>; Tue, 26 Sep 2023 22:16:38 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jn3hPV4dCdN+aeZpuL421g4pSmRk//v0ca7l+tw/Md4=; b=Aq9VDPEev7CVZJ upPpGC6bg5UgM0oWLW2cwWYWry9KaXrPzNXx9WUhxYJHPugKgh3RGrOD57rzNIPIerE+Anf+MA9gz qHPPV+ZGBjLWT8RBy4xCBbHQh05/EtU4CggbWV7qqcLDn4WXA1SS88yiMgvw8/n/lyyajixDCrjPI ENuuJyvWIfLnphuvRbAt+mFUMXowYVqJW7kJTGjTip01KoBXR4RcOzDS3yYAapeauY3n1IQcCeWoV wy/SeoL3Sz5JFHDEaBoCz+eM64NurO/fovhMds6BVa9XxD/2tUWVmFAqM3FUYeo0gcYEES5NNK/jD IsQYulaABHtjoDKBfO2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ql6wF-00GL42-1D; Tue, 26 Sep 2023 12:13:15 +0000 Received: from mail-tycjpn01olkn20801.outbound.protection.outlook.com ([2a01:111:f403:7010::801] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ql6w9-00GL3N-0D for openwrt-devel@lists.openwrt.org; Tue, 26 Sep 2023 12:13:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hepu7oAi2feQUIs4y1ZzVN7GvdvKog2j6KjTDgHS4yY8OclZU7+QXarmhOcSaMPjx0qNT56s0bhMphDP2r/xBAMAxi9nkTP1gTgtTrpUPgYiBj0Y2YFTun49/YBexAPp9CZ3Te4Z1CFOi3bhx75BIHhAyQpa+jW+/LDYTuBIjbPeFkukr3iEsQXgB3BSqEARmRmg/IE/AYYVf4YYQshaXxpa9tlilNI0LybIqwwnHS7SIfNez4USpJrZKEDzX8h+cjxjJhktGef+yXGebRe+bFNQecLN0aE3ywB8Eg/piCNKv6hThChayiwOmP41PWlIQ6kdK6cDAwo4ycEYBWEa1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5riKreg6Xn7LXVqMZiZHGpylGQQgYQht5zrBZ9IVwMQ=; b=LD1Xgi4zAricj8bE9piaSk8Lu9Gm/JNqYkZ1neyOShqAyiGEAAoK6yZMOyoZxu3xJa1wDAjH9MH1r5yJ/kNdkm1ULDu0hQnCYVMygOH2gW4fBbYSYRVA0HNefWatv9WH2QgFKaSyGC57oOlUHKWVAhEbq7WinJVWzkf7tN1bcW4u/8APQIpaRcf94QB1xpANWfmTRJSAaGtjfqbDXugfstAu6pXKb+Erohmx3PzHHDbkCnqACac8kxCSmtA7HGDek1ShiCcUHSd/cKjgpl57q30tYYuamfcAGVXOZkkkgQMPsqdtXCLW5mrfvNn0nabBvrJcGihL4gBATTU9ragx0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5riKreg6Xn7LXVqMZiZHGpylGQQgYQht5zrBZ9IVwMQ=; b=TwGGIylEBTnMsHtPh5+cOLt4Znu1b26A3Dl5zeEeUd68jGvCBAzhLnlK8edb61Uo2ZW16nZVGMxUQwxIqY7BrioTtJ3e2mlmACy/H7sQx9hF2iyDa6ejarFo1YBgTaNr87SlajRlZA6ZgHn+ZKwpmemTK+W4VhMymXLJESX7DDR4yxhbGL+EGseqw5zA8ueRCchEdFBhF3Oj+Chhr7hPzDg4kODwlWeSJfqiXQb434jcIKziiSfLl1XHgF8pMDgUFMXQ2TcwYqpndx4asr/0+Jcl0FxRTIiNRJ2swN/S/KjSgRkzvqJ3rzPrC/xE15OeEXWygQwjzQ+95nB2Xr7cgA== Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) by OS7P286MB3790.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:23a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.19; Tue, 26 Sep 2023 12:13:02 +0000 Received: from TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::bbb1:a301:f7b6:744a]) by TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM ([fe80::bbb1:a301:f7b6:744a%4]) with mapi id 15.20.6838.016; Tue, 26 Sep 2023 12:13:02 +0000 From: Shiji Yang <yangshiji66@outlook.com> To: openwrt-devel@lists.openwrt.org Cc: Hauke Mehrtens <hauke@hauke-m.de>, Michael Pratt <mcpratt@pm.me>, Shiji Yang <yangshiji66@qq.com> Subject: [PATCH] ramips: fix Gigabit Ethernet port of the HiWiFi HC5861 Date: Tue, 26 Sep 2023 20:12:45 +0800 Message-ID: <TYAP286MB0315443025BE66CFF11F8897BCC3A@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.39.2 X-TMN: [TZ5PxNsOYFYgBX2vGo44nBb8SrDLUHWF] X-ClientProxiedBy: TYXPR01CA0066.jpnprd01.prod.outlook.com (2603:1096:403:a::36) To TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8041::8) X-Microsoft-Original-Message-ID: <20230926121245.4487-1-yangshiji66@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYAP286MB0315:EE_|OS7P286MB3790:EE_ X-MS-Office365-Filtering-Correlation-Id: f21a9589-c10c-4d66-404a-08dbbe89edf3 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: buW0XYAL4KauKG4npfLyjOKrG17WCNjv80LmVzplETMmK/tM70STBQl99LMH7aJIA44/xMKFD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d/37TePgQwmFeVuiJRBGYTW9a2vrhx14R5Igc8C1kPDA7VIV1cTLTmm0y8oGZYvdLR6QDJqqA4bNFOEQE+AO/RBfzrfCWF7bW4eDHemdBHiLTiG6kqIT1GA3Cvs8fL547IRCBp47DfmIfnNsBYt3Eh5BDySL9RwVYHli3JtoT+Vr0hjW1btybDbXmangJvkGfAwxUKG9pefSeSINmGmzStSx9Qh/0+x1swdNaBnf3vuivAe8ADqHVd8Z9z1x9yZz4KHuPVNTdnLewGeGDHzrfBpePxXXdxKPHdwfLhn6ixzaIShkP/4q+5Q/gV9SVzk1Y2aHMxiKdM5M7OmWJZtxzPNu8yNdcK3WT15ND2Lml823uQIXZL91ijDwyujsPuOQdCfLG0OXW0FDtTd3Zr5sByuxG10u8AUt6/Vwt0nXlG0XaEaRj6/Umd9p/jFDdmtNzr2tihG1WWXfg1P2DxpG9ABgf3eqpK14ypxx0ME0Qrl1DGGPWsROdKkoUSfIMUs9twBqEUbDcx6Zj1tGmmoqzbaYUN6WSkgrQmvIP5pD1//MVkEwMf+tiw+gPxFxdTKmOqhBG+0i+8nsM55GJ3dIlNR797K1zv3B4rWwOrVj/LFFxg+Wx+LxY1b25ZOknjCpmVbUVCUsuhw8tQuHiB+Cc+djPgzfVt/2ct+FpOzJv0p9BM01AHfp5AaQ0VgTcNIyN2fJTNwbpEK3NC3yhMZBIcdscYtkacZIdz0X9eUIYDhyvAUo= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f21a9589-c10c-4d66-404a-08dbbe89edf3 X-MS-Exchange-CrossTenant-AuthSource: TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2023 12:13:02.7135 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS7P286MB3790 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230926_051309_131563_05A879C7 X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Shiji Yang HiWiFi HC5861 has a GbE port which connected to the RTL8211E PHY chip. This patch adds the missing Realtek PHY driver package and sets the correct external PHYs base address to make it work again. Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [yangshiji66[at]outlook.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [yangshiji66[at]outlook.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
ramips: fix Gigabit Ethernet port of the HiWiFi HC5861
|
expand
|
diff --git a/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts b/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts index 87eacb13d7..8b37162f26 100644 --- a/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts +++ b/target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts @@ -70,7 +70,7 @@ ðernet { pinctrl-names = "default"; - pinctrl-0 = <&rgmii1_pins &mdio_pins>; + pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>; nvmem-cells = <&macaddr_factory_4>; nvmem-cell-names = "mac-address"; @@ -93,6 +93,10 @@ }; }; +&gsw { + mediatek,ephy-base = /bits/ 8 <12>; +}; + &pcie { status = "okay"; }; diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index f3f4873d76..f85f3c8521 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -578,7 +578,7 @@ define Device/hiwifi_hc5861 DEVICE_VENDOR := HiWiFi DEVICE_MODEL := HC5861 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \ - kmod-usb-ledtrig-usbport + kmod-phy-realtek kmod-usb-ledtrig-usbport SUPPORTED_DEVICES += hc5861 endef TARGET_DEVICES += hiwifi_hc5861