Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4317137pxj; Wed, 12 May 2021 02:58:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSI5dlvaZ9JScInNfbipll/wVBDJasA7ap0AGMgbtK1FyDsDCztTxvUp6N8IBj971jVkz6 X-Received: by 2002:a05:6402:781:: with SMTP id d1mr43510389edy.32.1620813518918; Wed, 12 May 2021 02:58:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620813518; cv=none; d=google.com; s=arc-20160816; b=N1K+dJciWJG9vBEbUP1ehySfRZOgol9F3hvFRfIelCc7RSn9M2s6IilGZQlI2XjJZF m4uUvjhbaXDHqKq2WZ+Q2HaiGLJuiQ75hQ6yQEgZkSnsfCR+DHvEdWk/VCM+nphDQFn1 TEjz/Oe4fYaI1aoBvmeFHVhAyDkbHGKR8Y/a0E4cPior3Yb7DHllv1Pw7I76NeoE6WXe jvbn4ckVph4RwvdV2ZhEoLrubUUSEPF9YfdROL4FSpiSMdtzwcTHINjr0CMLsLqMJCo2 TGh0YKUidg0/Ks8W8bNAs87F1comzc/d9NDuBt5Vc6rl/QVtUldpU+1s3H3NNHo2RNjo QYvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SG2y18C7JNfTDUdkAYTD8f+Wpft0cnGU4jaSxzMgYBs=; b=dxIq430PEW22feGr496YLXiT/Myzcl8Wv4AZ/vCEip/0dQdkYJI84Q7RKY/ytiytzm OohIJorA3VAOVnVoBmd/SeAcEb0iY3jXOfJo15i8zK6HodIMwCG5wkcSHzdMmh89kBQK jl9GHuuDK0aMNkO1hSZEbOZKSRWF99BFTrRFSj81pGSCl3gyU18XxNVk2+cWLCn4mPM+ Fu5zcUqito3uxBXlI28ajR9XgQmOHFN1Z0H4TrfAfY4wMAp1TSv4TCZJTNdbyoliLPtS g2AeCJn0JmD5Hzf16hma8pOi+0NdKbZGHs6RcAI4Z9kvaCLm5C9A4ebKiiMBtFrRHEwW ASgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=SLG6Qg+D; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg28si18248887ejc.618.2021.05.12.02.58.15; Wed, 12 May 2021 02:58:38 -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 (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=SLG6Qg+D; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230293AbhELJ56 (ORCPT + 99 others); Wed, 12 May 2021 05:57:58 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:44770 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbhELJ5w (ORCPT ); Wed, 12 May 2021 05:57:52 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 79B1CA02C2; Wed, 12 May 2021 11:56:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1620813403; bh=SG2y18C7JNfTDUdkAYTD8f+Wpft0cnGU4jaSxzMgYBs=; h=From:To:Cc:Subject:Date:From; b=SLG6Qg+DJ3GzlTGeJV5O/TAGbWajSJHZA2UDlj1BauYIPr/TZYYwq1dQkqQq/ewg/ hmeuX44ONiwt4v4KOnTKGoyZ/BkZ4aVXA0EqpoOKJ6pMniALPv7JOTVBGzYDvaQwux JEg7TRCTb7UyzbYfWFZqEBxqBQXHjlp5/e5gOcqc= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Shawn Guo Cc: Rob Herring , Fabio Estevam , devicetree@vger.kernel.org, Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-kernel@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= , stable@vger.kernel.org Subject: [PATCH RESEND] ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch Date: Wed, 12 May 2021 11:56:32 +0200 Message-Id: <1620813392-30933-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The FEC does not have a PHY so it should not have a phy-handle. It is connected to the switch at RGMII level so we need a fixed-link sub-node on both ends. This was not a problem until the qca8k.c driver was converted to PHYLINK by commit b3591c2a3661 ("net: dsa: qca8k: Switch to PHYLINK instead of PHYLIB"). That commit revealed the FEC configuration was not correct. Fixes: 87489ec3a77f ("ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards") Cc: stable@vger.kernel.org Reviewed-by: Andrew Lunn Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index 111d4d331f98..686dab57a1e4 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -121,9 +121,13 @@ phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; phy-reset-duration = <20>; phy-supply = <&sw2_reg>; - phy-handle = <ðphy0>; status = "okay"; + fixed-link { + speed = <1000>; + full-duplex; + }; + mdio { #address-cells = <1>; #size-cells = <0>; -- 2.1.4