From patchwork Thu Apr 22 17:31:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 425874 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp564888jao; Thu, 22 Apr 2021 10:31:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtZSUYJF1YS3e6BRdlY6CfMSAVc4GAA0XMiRzFO+JCKEniZq7I+uARTG56ZsbQNMjWVV4N X-Received: by 2002:a17:902:e745:b029:ec:9091:d096 with SMTP id p5-20020a170902e745b02900ec9091d096mr4524762plf.53.1619112716595; Thu, 22 Apr 2021 10:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619112716; cv=none; d=google.com; s=arc-20160816; b=MmmKDrZbAT21HvzLWYmC2ATQq9dSdPJVzHSWR+hZ8xLjd9J0WqxxMK/uW2eQ3XXUFR cOuj2YAlmoR1I0D7hl1ORjQsXAn24v/XkPZpBN00rj1LyD/0oa4DleocPEvOR6htUlSF 0yqwXt/fhKuC0rmwWhkX03WRO9bMRFZwZnVd3Z4PMi8IUh23k/f0Q7S5FzrUMMS5PWjs pYXspEc/foQyTm/z7aezFydGI/T0VlcxzOF3U2nARIf0DYfyMb8dsa/OIn8V+cvouezE iV2g+qffLD17ddIFJ9eUXiYbCVVUQwn2T1hhtugEBtw6Hg3+jhWZNBNFg3Xj7sRNIep8 IzoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=QDtSSgZVXUqfyWpdHOV1axRCLbVChJXaLjMjSAQd3+o=; b=bw/m/NYjmcOUiuSwKpk24oMEPEQ8qfmy+jwvAQx6Uyxgf/Jfgyxsm50KAtBx/OTYGc 7rANwMBbijBWWdxRj/Zgs78nL8CLVPtKKnq9EA9tv2tzbnJtPktmfUG1s5026wj8GgXa auhc2Oj9S6NHJ8OhZ1T4cyFkWF9C0qKAQCNdpkaNWHRrTorO6VMT6j7Wh8pXgqMnaoWh sOAt2Kc5smrR5PLb26JJENWbb2Ai47YL1gcryBpZlnum/19zUYX73AlDe0ixbQrzBlgx NhKK6RDNmQ7aWwmicnyP1LR9zsvC0cms5udbqlShKwP6wivf0E8tWsoCUnMScDhK0KCq DKIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si3381811pfk.182.2021.04.22.10.31.56; Thu, 22 Apr 2021 10:31:56 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236287AbhDVRc3 (ORCPT + 6 others); Thu, 22 Apr 2021 13:32:29 -0400 Received: from mx.socionext.com ([202.248.49.38]:46699 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236660AbhDVRc1 (ORCPT ); Thu, 22 Apr 2021 13:32:27 -0400 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 23 Apr 2021 02:31:52 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 08F5A205902A; Fri, 23 Apr 2021 02:31:52 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 23 Apr 2021 02:31:51 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 825CAB1D40; Fri, 23 Apr 2021 02:31:51 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Masami Hiramatsu , Jassi Brar , Kunihiko Hayashi Subject: [PATCH net v2 1/2] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Fri, 23 Apr 2021 02:31:48 +0900 Message-Id: <1619112709-13234-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1619112709-13234-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1619112709-13234-1-git-send-email-hayashi.kunihiko@socionext.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org UniPhier PXs2 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: e3cc931921d2 ("ARM: dts: uniphier: add AVE ethernet node") Signed-off-by: Kunihiko Hayashi --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi index 4d9f69a..5ba831e 100644 --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi @@ -583,7 +583,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>;