Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp347780pxj; Thu, 20 May 2021 10:40:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxedVA168KshmT2ZxFvnyNlNQbqdEit2wpBidruuz9K9a76pZhFmIHcNZhGlL7Q0Mgw+T8 X-Received: by 2002:a17:906:57c3:: with SMTP id u3mr6015633ejr.162.1621532429996; Thu, 20 May 2021 10:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621532429; cv=none; d=google.com; s=arc-20160816; b=FiFdi9jLOZcQ828hxARQ5LW2+em22mdPCwu2QtZ9FpbaksDdoJwY5GJeW439kgdsLk wn7LyX+/Nij3+chMsEBQCLBWRZ9CXMvacT/dunP/uHMDuHUkwJSs8ecL/2Kgym3PlII2 4uxjPfh8fU4SWo4LoYIvNziFXDdH0ZgIy1BUFRrz53athVxp/n7chy3KK23lIIRuslIG 2v0MA0IfSUW2pLgvj2rHdomdTbGC6fNyVVNmCAKUpteJT4z2mkmWxaGWn/JGM0Mzg78h mGP5ndDbnlx9xtXs5XlYrEgpPG5SUypsY+9KIBV1KqD0RZcw2ZQHtLtlLb9h7Q/aK0Qk hSoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=d5PLtrLEKDV1RXzkkHyxfpRIHVhKbThCsilw3fv3TDY=; b=WJvzoW6RJeUaEXChK6pnF2yBY3eCZryUXVmVr5pMiGSNT+T3lTGfuceepqFPs1ij2i BJPHnITcNSWznDDis76WYzUq9lCCeQxaFrsIei1ulS42HJWbcsiMJI5ul4OOhltb1g3G +jUf+hJ+oWEMJ3agihoOiSWpG1nLiflNvgLH4RfeIqaPjD+6lt4cBBzUS2AmTJElMW1C jAmuVHfb8+5yeLNzKAAbBJe7S6DuxVrRwfxurKg0lyPTa+uHw8OE70b8IbQLjufY4+3+ 5MkG18+w+s7auKF+ZbjZq9pkmUcWp9NbyxUL96rl7sM156xR9q35EumnelpgW5MU6cgC ARuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=K+orVuCN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si3065427edy.138.2021.05.20.10.40.06; Thu, 20 May 2021 10:40:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=K+orVuCN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235273AbhETKHp (ORCPT + 99 others); Thu, 20 May 2021 06:07:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:37296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235070AbhETKB5 (ORCPT ); Thu, 20 May 2021 06:01:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C27206191A; Thu, 20 May 2021 09:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503586; bh=ASGJPZPeFCP9rp26YdylwYW+y6pwyxyA0FP0Uh4iQzk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K+orVuCN5GG0Tza9nX0Ev/Sn7T7VVLOXRWS/skj7u7wAUAI1O+0Xd5YQ+AeM/NP18 oVbLUEPvl4IO8L6NW1QhDUAzogCLS3NcjrHII3X/oeii6ldcq7W4L08dHUvI2OBKzy S+JjjchERbbG+BiIvXybKrSPD5wOREg1WI1tgcv8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kunihiko Hayashi , "David S. Miller" , Sasha Levin Subject: [PATCH 4.19 287/425] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Thu, 20 May 2021 11:20:56 +0200 Message-Id: <20210520092140.875643411@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092131.308959589@linuxfoundation.org> References: <20210520092131.308959589@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kunihiko Hayashi [ Upstream commit dcabb06bf127b3e0d3fbc94a2b65dd56c2725851 ] UniPhier LD20 and PXs3 boards have RTL8211E ethernet phy, and the phy have the RX/TX delays of RGMII interface using pull-ups on the RXDLY and TXDLY pins. After the commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), the delays are working correctly, however, "rgmii" means no delay and the phy doesn't work. So need to set the phy-mode to "rgmii-id" to show that RX/TX delays are enabled. Fixes: c73730ee4c9a ("arm64: dts: uniphier: add AVE ethernet node") Signed-off-by: Kunihiko Hayashi Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +- arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index caf112629caa..62429c412b33 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -610,7 +610,7 @@ clocks = <&sys_clk 6>; reset-names = "ether"; resets = <&sys_rst 6>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 0>; diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index 2a4cf427f5d3..8fe9a57b9562 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -416,7 +416,7 @@ clocks = <&sys_clk 6>; reset-names = "ether"; resets = <&sys_rst 6>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 0>; @@ -437,7 +437,7 @@ clocks = <&sys_clk 7>; reset-names = "ether"; resets = <&sys_rst 7>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; local-mac-address = [00 00 00 00 00 00]; socionext,syscon-phy-mode = <&soc_glue 1>; -- 2.30.2