Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1295285pxa; Sat, 22 Aug 2020 19:59:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt/Grr1Me14R+nPFMQQIm2RjzTeTdRnOwXmqvmn8WbeFGVCT/EI3EbPz4+jg2iqZ947abc X-Received: by 2002:a17:906:6859:: with SMTP id a25mr325305ejs.524.1598151590120; Sat, 22 Aug 2020 19:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598151590; cv=none; d=google.com; s=arc-20160816; b=U8QW2Ny+DaeRWIs+fIWh7pApE9igJmy2IrakciXQftpAw+sztDzmU2u6U5Z2/X2CoA 80KB1KW6Iul+p2U1J+5uTZEgTWR+u00SxNgfiIW+77ZLog9tWsDI4tA7Qa9MBBB0ooRw eWdv4qWeL5hxj4qgmkGjv1tMD+DcbxoQYKX5wQ8/rgNVTvCm6t+a64SxSKqQ3xzRu5RY LWP+aZ2KzMCxyv1MrcAXDLdbFEFWF8xQeUIhBvrqICZbjl5hmCpWAVZyG1PxdqC1nI5m bHS0IUXOfLJVX6y/0ygaabkQsGHElp0dftjKsLtw8Hg12vDXdSGHQr7NN0C22e7QSFAV IUIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HjidLqGbJG8Me/D9pV5CMHOfGHdBLM7VaSZt6TwM0nE=; b=bUVvUa5URRgMmNXDeu5XTCmHBlKD3v0wRaJf0tP2CHvcIwD3kQRzo8fll4DTfKNsyX VOM4l42HUYKBhcUXVeeEJoqYJsnEbT9r93TtVHmq4okvC5CeKsnIYkdqnhHuUIBXgXPq 1x+hCpiFWtkX3MyY35f8hToHDG/B8GKY4qBod0vpiSeZl90QS7yIPqrwFTJOd3VnFRLs eRWE22bOZAYIiIq6T+7a6GpKuxfAh1VQorYU/xu5oGhEDV6sRYULfcPw+fmeRB9Umjxf enqVGllutThgtC2BT6bw0H8s9mUT9SuuArFEz0ra+76nx2Ko5LLonrV9gPZSvm3mYKXi IJhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dgYnjdt7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si134563edr.11.2020.08.22.19.59.26; Sat, 22 Aug 2020 19:59:50 -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=@gmail.com header.s=20161025 header.b=dgYnjdt7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726903AbgHWCZl (ORCPT + 99 others); Sat, 22 Aug 2020 22:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbgHWCZk (ORCPT ); Sat, 22 Aug 2020 22:25:40 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69B2EC061573; Sat, 22 Aug 2020 19:25:40 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id q1so2458836pjd.1; Sat, 22 Aug 2020 19:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HjidLqGbJG8Me/D9pV5CMHOfGHdBLM7VaSZt6TwM0nE=; b=dgYnjdt7h1nUl7wOnJltPzk+Dxnmy5hZxJcDdq6KydTszr1V744le1tP/k4zmkv5vP z9OuSt/5za8/BFs1vOnN45xhJJ83SkFvFUyMYMLs5HRq0f0GGkn+Jf8QJw3/xcVO1juZ 7TNhl41/LuPQPz1O+TPVDOZvpOju6x6dk5hPLgSz4wTIaZnXU6BCispY4OgHRJFBOhF5 ZXTUN6kEmJo7WoBim8voAy1ZskQQJYoyNkuFYO7ldLF8HtJ1vrKM1J6aZTbP2ihA2BSr jfy5VRJSUh59tMB7dCbpg09/Vz8VpphV8f+yrUktpncOpCHpLL3XPxYa1ZERdJhqGj3I cJLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HjidLqGbJG8Me/D9pV5CMHOfGHdBLM7VaSZt6TwM0nE=; b=qj+szFQ8rRHXa1+zuycdq4cPvHOfbxEQ2XQ3cfVC5NkMEGQcThygbnRq+phO7wk4vB /+qrZA22jukXT8Eqw/Po1U1j4gSJvyft7/WPSGkAjhiLiGv5EsNuaPsBY3gMgPSBkx5h TinrmZERGu99Wl0+97tWfnvatT9h8bds34Zkfdi3Oagb4de7LoW65YHWPNh//xQXDce7 w3GS9bd3itnbEQ6Y6xJzT7L8IOUQRrzAV3iSEwBWmRWCPSMi8+Z/u+EXlNA1/PXrUmgE Z/yJikPGxt3wuzEe++atJT26HPEy2C+UlxmZdIcAWUU5qZK1Up8qzaxn87Lns7w1NrBV HkUQ== X-Gm-Message-State: AOAM530Ind4r+D3RWexCHEVvhBbcucW5MApjTZqOIjpR0V0LZzgjY/6b wXa0CLgdmqcD/fFnzwIMGt8= X-Received: by 2002:a17:902:b098:: with SMTP id p24mr45366plr.255.1598149539171; Sat, 22 Aug 2020 19:25:39 -0700 (PDT) Received: from localhost.localdomain.com ([2605:e000:160b:911f:722f:a74:437d:fd3c]) by smtp.gmail.com with ESMTPSA id k8sm6177710pgt.54.2020.08.22.19.25.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Aug 2020 19:25:38 -0700 (PDT) From: Chris Healy X-Google-Original-From: Chris Healy Subject: [PATCH v2] ARM: dts: imx7d-zii-rmu2: fix rgmii phy-mode for ksz9031 phy Date: Sat, 22 Aug 2020 19:25:05 -0700 Message-Id: <20200823022505.196825-1-cphealy@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Healy Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on the imx7d-zii-rmu2 board. The end result is that network receive behaviour is marginal with lots of RX CRC errors experienced and NFS frequently failing. Quoting the explanation from Andrew Lunn in commit 0672d22a19244 ("ARM: dts: imx: Fix the AR803X phy-mode"): "The problem here is, all the DTs were broken since day 0. However, because the PHY driver was also broken, nobody noticed and it worked. Now that the PHY driver has been fixed, all the bugs in the DTs now become an issue" Fix it by switching to phy-mode = "rgmii-id". Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Signed-off-by: Chris Healy --- arch/arm/boot/dts/imx7d-zii-rmu2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7d-zii-rmu2.dts b/arch/arm/boot/dts/imx7d-zii-rmu2.dts index e5e20b07f184..7cb6153fc650 100644 --- a/arch/arm/boot/dts/imx7d-zii-rmu2.dts +++ b/arch/arm/boot/dts/imx7d-zii-rmu2.dts @@ -58,7 +58,7 @@ &fec1 { <&clks IMX7D_ENET1_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <&fec1_phy>; status = "okay"; -- 2.26.2