Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp265216imb; Thu, 28 Feb 2019 23:27:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyIRc0Z6ifW4hfYtdLcTKgBmuqm2AtADNUmZEhY35RZmyoDx7rjs9ZIT0eE913nTHwyTCgB X-Received: by 2002:a63:fe58:: with SMTP id x24mr3477291pgj.255.1551425263455; Thu, 28 Feb 2019 23:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551425263; cv=none; d=google.com; s=arc-20160816; b=x2IZlN9YNNwa8ZrMoL0UOg1Pju1KlJ1s+ea7Qy2cLDmgUXUxJZk6qGscVSKnc45fdQ bPIVpJiMDOmPMvR/h4TVx8M0MtWBOrGLmXzevRlVeI3f43jVam6KvypAtf6u+S0y7SzC QfdrefqBgZrRwSQoGNFz2tp7EtO2dCGpH/Yb/xRvpl9q8jN5LBaeYk/Jx6e9NyIf84wj ik6CxXHRV+jUoIbS7XF6i1EIjxvXQxfa+Z8+8fxC0T5S1CUxTynCyqUdIRY9dpWPxrYI rk+5/jFOwc78baEoXr7migOJ6kHRuvqm0JWGrKcnMPf7bU6zs6yQz5IrFYrSubUcHQeE lFJw== 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=U0/CXybEquAYKSj4JpuTOuLjIaDciCa3HJX7Q0eaTLw=; b=Acu/ta+DpVqxvqGKuwHdCav52nmqwr5kPoklXMutDX4ICcpeyPCM3jlBlHqXlDT3cX kVRS23MwXHqt6lS8VXbU52+f5VHRhVU5FK3dvbDTNfyRCBiV7Itz70oLYCgjH+NKir+d A7czDnlE5UyNjfzbhrnyp0KXauv0pdBiVgaGaygw9eJqs5RECnmahn0v4Q/7u9t8dMuI //avVWmC+oqyENVxZ+zXILufEsjCm38wuM3T8jG0b6EshegfG6pieqcwroJQZyG/STQA p42GGJE0TOeOx2toKH5sqzOPx9ypBzLhDa8jpqJf/t82QIuSunV766VeM6VaoqESTsMO UPkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=TJw38H65; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si19192367plt.77.2019.02.28.23.27.28; Thu, 28 Feb 2019 23:27:43 -0800 (PST) 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; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=TJw38H65; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732374AbfCAH1E (ORCPT + 99 others); Fri, 1 Mar 2019 02:27:04 -0500 Received: from uho.ysoft.cz ([81.19.3.130]:38841 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbfCAH1D (ORCPT ); Fri, 1 Mar 2019 02:27:03 -0500 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 413DFA36C8; Fri, 1 Mar 2019 08:27:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1551425222; bh=U0/CXybEquAYKSj4JpuTOuLjIaDciCa3HJX7Q0eaTLw=; h=From:To:Cc:Subject:Date:From; b=TJw38H653y+kIxfMhNYhyk8GW5zDzsZzzmZWckW+V4ZCAEObbcRhYzM3m+BdOyq+f kfL+BVOo3sjXNUMbVtRODoGHwrfoCXUmjcJmeE5noxHxX5IunVyi3Jkb6HotlXkhmF a5CUkzApBKAU9ncwq/cjwNkMkJTIhJHzFgc6sFRY= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Andrew Lunn , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [PATCH v2] ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port Date: Fri, 1 Mar 2019 08:26:42 +0100 Message-Id: <1551425202-8871-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use rgmii-id phy mode for the CPU port (MAC0) of the QCA8334 switch to add delays to both Tx and Rx clock. It worked with the rgmii mode before because the qca8k driver (incorrectly) enabled delays in that mode and rgmii-id was not implemented at all. Commit 5ecdd77c61c8 ("net: dsa: qca8k: disable delay for RGMII mode") removed the delays from the RGMII mode and hence broke the networking. To fix the problem, commit a968b5e9d587 ("net: dsa: qca8k: Enable delay for RGMII_ID mode") was introduced. Now the correct phy mode is available so use it. Signed-off-by: Michal Vokáč --- Changes in v2: - Reworded commit message - added more details regarding the issue. arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index b715ab0fa1ff..091d829f6b05 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -125,7 +125,7 @@ ethphy0: port@0 { reg = <0>; label = "cpu"; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; ethernet = <&fec>; fixed-link { -- 2.1.4