Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2169844pxb; Mon, 8 Mar 2021 16:39:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhhdb+6prXMhv3Lbp6I1ja8+SAfgLXT3FIRSS//AIANzqOdOI+ShHi72juRtJ4YRvDy/rh X-Received: by 2002:a17:906:22d2:: with SMTP id q18mr17516784eja.437.1615250384394; Mon, 08 Mar 2021 16:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615250384; cv=none; d=google.com; s=arc-20160816; b=lscHBbKUcgphvXmZ0Mi7/OGRG/S5nPyvWnHl3Kunqu+011fI8w8X4pp/D1EXIP4HNB ZFHY71lhECPx6i9qzaRkGnBasX+2jF9a28nQLwW3Xqz9gaY9zwSZGIJjaCeuhqM/8mMy ztjOZ7ozomn4hK0XtRbaS0I+hmBRZhAiPzd60msP9Ev1dSLAHCMCDP2wvo1wOHF4Yuxz hP6jeL3GaYXZc4dVE425kXTz4u3DLJ2n7Mws02EjcuFlbf4yHVOL5fuLoe4ZpjR6/Lp2 DYWp43Xp4+tyAAR0PBsyc7nj7PUhpS9Ts1mb0Bc8ueC+ltWznp7SiDWuUpK7/JlfFqMi BXiw== 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=5bX1dIl3NC+BPRBI/h2IDEzgG9qM0/m0j/jt4p0I0Aw=; b=ifssAngFl4ChILOzTZt/978DaTaOQvPbpP3lkhjdPAfEoZe0BB5AyvDBwsFB0AWW1p LEhIaSqU5dJLkD6PHb+jOQStQ/5Z6p6P0PacseBM0HOExBEL/5zQMl6rphjNXEbWG0r6 lU38EPgXPWL/KR1VWBjrdkZg1zlruR49NhBnDaOUb2k5ngyKEOmBMk6Zpnpf4Z0o5Yos 2d2hN3oFyjFS7GPknPVvIGRzYtoRi6dlsOOTYiDi/keMlk/h6zLdWsLe0udX8SgWO4L4 9EsYWSAkCggrW4e3C9H/UbtUX8x7ctGsxaAv7AolTwqS2SUiutzqenLaE+uy0Hu4y3jv CnAw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si8065839eju.321.2021.03.08.16.39.22; Mon, 08 Mar 2021 16:39:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231334AbhCIAiD (ORCPT + 99 others); Mon, 8 Mar 2021 19:38:03 -0500 Received: from mx.socionext.com ([202.248.49.38]:24263 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230512AbhCIAhg (ORCPT ); Mon, 8 Mar 2021 19:37:36 -0500 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 09 Mar 2021 09:37:35 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id A6F852059035; Tue, 9 Mar 2021 09:37:35 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 9 Mar 2021 09:37:35 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 3C59AB1D40; Tue, 9 Mar 2021 09:37:35 +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 2/2] arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E Date: Tue, 9 Mar 2021 09:37:16 +0900 Message-Id: <1615250236-11349-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615250236-11349-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1615250236-11349-1-git-send-email-hayashi.kunihiko@socionext.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 some 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/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 52dee61..bd9959f 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -806,7 +806,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 80e2597..2038f51 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -564,7 +564,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>; @@ -585,7 +585,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.7.4