From patchwork Mon Aug 30 15:16:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= X-Patchwork-Id: 12465443 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A95EC432BE for ; Mon, 30 Aug 2021 15:25:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B9F360E98 for ; Mon, 30 Aug 2021 15:25:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3B9F360E98 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=pkh.me Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=v+jr93/PLeOMppazSOCyaG3py0noa0TquKoXA936vH8=; b=e9ORvEHhau0Ed/ Eu0p1ShjpkT/3gUketTciLpqvsU8JqrptdWiuqO9PDvkfTaJpL6Ndp9MxS2nw+qL3tap3ZGxIjABM L00r81x5rhttSH9jt5SgR+Xw2ZueTkfm+Xd4pNH9MoG5KZRNCaxGjC5d977n96Frri1v9sYrZSwiR 53RAXK7bSI8Xk+WsH0prAfzS8gPpoI/kW8lQYmdK8sE/gkAFPdvP5AQvHBolJL3AnVL7Pinfa3s2n 2JDZk+QZMZyCiusEn8pW8f+8If1Fn9i5F720zAlSYi4odpXMpiVLxwALtXU7hxFVfsmPNnLMu3mVX i9LkYit3IXejM0FA864Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKj8M-00HWiE-Lq; Mon, 30 Aug 2021 15:23:38 +0000 Received: from laubervilliers-656-1-228-164.w92-154.abo.wanadoo.fr ([92.154.28.164] helo=ssq0.pkh.me) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mKj8F-00HWhJ-TI for linux-arm-kernel@lists.infradead.org; Mon, 30 Aug 2021 15:23:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pkh.me; s=selector1; t=1630336609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=q/K70fg2XIvSdORvPi9aHyTtzWbQf+QQawoUXEWMd/E=; b=BZVV6u9tZoUsx/H0kQ6mrX9GBObotQ65MfZtbXpsBqN+t2k9eWuf0lW6vh5Y0UA5mZTTIx TorU492aRWcFIIvaFxLGElhB/or0VGa2Y3yac+WTKZb0pTIl/AvEubbH/ETL9q+vDjxqcI 4K8McbevrH/Wfq7ix71LKsDm0iLfvJk= Received: from localhost (ssq0.pkh.me [local]) by ssq0.pkh.me (OpenSMTPD) with ESMTPA id 02164e4b; Mon, 30 Aug 2021 15:16:49 +0000 (UTC) From: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: Willy Liu , Rob Herring , "David S. Miller" , Andrew Lunn , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= Subject: [PATCH] arm64: dts: sun50i: h5: NanoPI Neo 2: phy-mode rgmii-id Date: Mon, 30 Aug 2021 17:16:45 +0200 Message-Id: <20210830151645.18018-1-u@pkh.me> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210830_082332_264490_9BC79F40 X-CRM114-Status: GOOD ( 12.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") network is broken on the NanoPi Neo 2. This patch changes the phy-mode to use internal delays both for RX and TX as has been done for other boards affected by the same commit. Fixes: bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") Signed-off-by: Clément Bœsch Reviewed-by: Jernej Skrabec Reviewed-by: Andrew Lunn --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts index 02f8e72f0cad..05486cccee1c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts @@ -75,7 +75,7 @@ &emac { pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; };