Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1649234ybh; Fri, 13 Mar 2020 05:05:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtzDxiuabFAsWglu78JFMQKrbx7inP/efU/yzurv68idFme/alkohlYgUNLsHN1Pd4Bn1k/ X-Received: by 2002:a54:4181:: with SMTP id 1mr6393299oiy.61.1584101131999; Fri, 13 Mar 2020 05:05:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584101131; cv=none; d=google.com; s=arc-20160816; b=1BEbGmU9bEz+vttH3Lk2xwWJ26fg6aO/tmzvpniktU2JY1NFvkT50zq6t9mwZl6/BG rCagib9v4U8r1+3c9GFwTEeZsLProPeIkC7OL3kFgtCRIgiKbJAZa3SC2UQCQZOiUEp1 gXz3WpHAqF7+/pxar2X2Ljn60jeL//hXctvFPmbb33402Vk+zCe1H5OwkBVpHUWpIF4s eCttPyPNs4C6WxrubuyywKeI4MJdC/ph6KPhXGzs4S4vdmgb2PcynXU+gou3QoUlG0ZW z7a1C3yCfJyX+LofQt1bH/42FAcDHMkI7b8e1/r1HT+bAoZ/vZCaH2jkH0gwQMY/mreF DOQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from; bh=jDIo+Q8anM1RJ/woDGI6UzzLosQD1+JQrheAKY7Z2rc=; b=tJOfwX3O9lSkzDyN/DSgbc/BQAHAM9VqiBWMI135k2GdVmjFp3VI+2/NHIxqRO+OB4 70Zmrz2aq2z3u7uaplkbZy6iIZ9o+03eRdlMyyp0+lp0kMdZT28itmpQDSJ5OiDno3F4 vKkfaMgBWzeXcSD2ZYWyHzrpcQt9UYKe5G+2MU7LQTi3BRvvzOHqtPGbk9UewBRZYS6B mLIPCF3IqW88NVKpohapVlhhRlRoZP3DJG5vITwBdmnsLIlBNchfeVBAskyNJIbJVFRn 0A8PFez/qNXPjVS40RcUIJrQ2sQnb3dPWzlwVI2Kr9a17kOsms2Hc9o3xmcsDbqheg/7 rBsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c22si4283824otr.97.2020.03.13.05.05.14; Fri, 13 Mar 2020 05:05:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726795AbgCMMEm (ORCPT + 99 others); Fri, 13 Mar 2020 08:04:42 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52116 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726216AbgCMMEh (ORCPT ); Fri, 13 Mar 2020 08:04:37 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 245C11A13E3; Fri, 13 Mar 2020 13:04:36 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 13F671A1425; Fri, 13 Mar 2020 13:04:36 +0100 (CET) Received: from fsr-fed2164-101.ea.freescale.net (fsr-fed2164-101.ea.freescale.net [10.171.82.91]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id A0E9920465; Fri, 13 Mar 2020 13:04:35 +0100 (CET) From: Madalin Bucur To: davem@davemloft.net, netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, Madalin Bucur Subject: [PATCH net 3/3] arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode Date: Fri, 13 Mar 2020 14:04:25 +0200 Message-Id: <1584101065-3482-4-git-send-email-madalin.bucur@oss.nxp.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1584101065-3482-1-git-send-email-madalin.bucur@oss.nxp.com> References: <1584101065-3482-1-git-send-email-madalin.bucur@oss.nxp.com> Content-Type: text/plain; charset="us-ascii" Reply-to: madalin.bucur@oss.nxp.com X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The correct setting for the RGMII ports on LS1046ARDB is to enable delay on both Rx and Tx so the interface mode used must be PHY_INTERFACE_MODE_RGMII_ID. Since commit 1b3047b5208a80 ("net: phy: realtek: add support for configuring the RX delay on RTL8211F") the Realtek 8211F PHY driver has control over the RGMII RX delay and it is disabling it for RGMII_TXID. The LS1046ARDB uses two such PHYs in RGMII_ID mode but in the device tree the mode was described as "rgmii". Changing the phy-connection-type to "rgmii-id" to address the issue. Fixes: 3fa395d2c48a ("arm64: dts: add LS1046A DPAA FMan nodes") Signed-off-by: Madalin Bucur --- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index dbc23d6cd3b4..d53ccc56bb63 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -131,12 +131,12 @@ &fman0 { ethernet@e4000 { phy-handle = <&rgmii_phy1>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-id"; }; ethernet@e6000 { phy-handle = <&rgmii_phy2>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-id"; }; ethernet@e8000 { -- 2.1.0