From patchwork Tue Mar 9 00:37:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 395937 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp2290460ejz; Mon, 8 Mar 2021 16:48:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDcxMxNMBs6vOOvuvy8dFpKLhR4Gyp/alPuIYII7JoA0sIGs0j/L2BOg6+dZVg+QvAOL8G X-Received: by 2002:a17:906:1408:: with SMTP id p8mr17298965ejc.89.1615250890476; Mon, 08 Mar 2021 16:48:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615250890; cv=none; d=google.com; s=arc-20160816; b=lQoozcy7U6MqUeYQm2bMIDZ6sNKozudrsSKoFJA0qY4KVl9HbZkPXlfgbl+TZQpxWa 9+nWwVAfRGy2fpxawa8JdXbkmanCLco6bvRMzVQgzUHtAd46aR8byRhU15vALp5A5vXH C2uvCb7RyHsTVp6atZf2nVEiQpzS3fpcySq7wwaSwcmGNDVL2gJxrk23GYp8Vv42IbZj 4kMqxk2Ioqeh2tK6VodciqXRKs+8lDJasJpdEVG93zHa0q9IRBWKryC4E1hNbhWWQ04W rOYa04SxcK6JxZ/uFLIAYZp4uCu2N3otIu3YnJPo0/h/Yhe9kLnCroyPK2Egf2Hu/nue +pBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=7czqJtsWQbCjxR3ONWOBeK+KEgxxMgDGZFdageeujRg=; b=fo5VLp6RRVqrXSxeyARhIOwua+gY/NZlc/9UkGRIm4ynvxwPVWPb7xmITfHKvbtpGL 5SuqzC6ELyFnJRh76tQle2tg69Sh8hudNAkTJbrNrbr4SiVgU8TVoyoMz9KUeCDGf67w c/bef+KN6z3N78Cd8VeHMKf1TH5hnst4RncPYsW+nPwZu3ynO/l72ZX4KJza2Yd+ypeI 4wwDiKJbeffI8AxLVrVU85lCj2Q8WWXmT5cHv4OhuhOcxNdQaPMy5H4wZXKv3AabRnjG Je8dXuq+WhBd3kvddhZaErPb9zv5NYwVkcFHTcGYFnqUZc8OvgespWsRUMMVRR/a+sYI CCpA== 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 u10si7755491ejb.59.2021.03.08.16.48.09; Mon, 08 Mar 2021 16:48:10 -0800 (PST) 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 S229951AbhCIAri (ORCPT + 6 others); Mon, 8 Mar 2021 19:47:38 -0500 Received: from mx.socionext.com ([202.248.49.38]:24398 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbhCIArS (ORCPT ); Mon, 8 Mar 2021 19:47:18 -0500 X-Greylist: delayed 580 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Mar 2021 19:47:15 EST Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 09 Mar 2021 09:37:34 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 972062059035; Tue, 9 Mar 2021 09:37:34 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 9 Mar 2021 09:37:34 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 40D94B1D40; Tue, 9 Mar 2021 09:37:34 +0900 (JST) From: Kunihiko Hayashi To: Rob Herring , Arnd Bergmann Cc: Masami Hiramatsu , Jassi Brar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 1/2] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Tue, 9 Mar 2021 09:37:15 +0900 Message-Id: <1615250236-11349-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org After applying the commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"), the configuration register for TXDLY and RXDLY is set correctly. Although PXs2 boards have RTL8211E for gigabit network PHY, it turrned out that the phy-mode should be RGMII-ID mode. This changes 'phy-mode' property to 'rgmii-id' as default. 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>;