Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4835107pxj; Wed, 9 Jun 2021 03:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzu0K2CPVTUGT9gutjJd5Qba5yPMGFkwOWsOVx1ATU7z8ARHyX13eXI9k2HpirePopnygYC X-Received: by 2002:a50:ff0a:: with SMTP id a10mr30024778edu.273.1623233135942; Wed, 09 Jun 2021 03:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623233135; cv=none; d=google.com; s=arc-20160816; b=Qa+GNhC4od4EC+BQSWlMMOijblIZtYuAjRZYynVe18lBTEjrY3kEJx+TRei2cVfjWC BSR4fjD1vGfPFJXncpqF2mFYg+967JnxwzLNzmpdPXre/cYwFXSDlchAt3TB2ZO+j9iK V8z0tUuhhiNmwrD3NxMRo6tipobMZiFDxTRBpp6KLQhqHFpSy3IZe8IGeItjbnKgnjqc mjUtIRnBdWmPJJzVFILpwOXxFvAtxdf45Z3ZcYCOSJqdZbB8esda6j+v7509qrI9ZWL2 0JgsiJ1cSi2UKf3FJNSSgciTrVRQ4b2oUFjYC8f+Kxnu3lNr1l6MRsZOCKGKtV6d/u37 2ITQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Quh/m3zkDvEhf5LlanZQwUAychKtC3DlQ88TAEboEi0=; b=TaqaXy79QJewaQP7BVww7XGkV/xT3rTHe2UrMhQxtMNNLghqSpVoqOCnBOWhAM2qaR 0AHg+9geWNvauxKArMtdXzkuCYP5IQIsJKFYipQwZ6GdWU+ki1vRcfOcBzKNCVxsIBVQ /nSEQafJahQAVvacPH5W1Jrchc4LeYMB9MDoUtiqxVE17A2dp9iX9XBhsOUieH6TdpxR 7dsHtAr8XP2La4zyBpLp1GmIHJ2Mmk8bsDjPuCPLmJvc8biZfvolW8fVYZZkxZenbhko ZST2PMMFvUckgSkODtjLKxdIhh22msC79oxk1XSN84MOhSP8Y5APtyasGu5Sz1zRkDxO xW5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RLQ7ggk5; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 10si2063583ejj.654.2021.06.09.03.05.09; Wed, 09 Jun 2021 03:05:35 -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=@linuxfoundation.org header.s=korg header.b=RLQ7ggk5; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236316AbhFHSuk (ORCPT + 99 others); Tue, 8 Jun 2021 14:50:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:43310 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235986AbhFHSpl (ORCPT ); Tue, 8 Jun 2021 14:45:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 27A84613C0; Tue, 8 Jun 2021 18:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623177429; bh=rn0ZDWajCLVB6mjeat+w3nNIyKcpESD7f63+rbmiRJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RLQ7ggk5Z5sSQJYROg1aalAnP1gQ7KQg+UAqOVckoW/U64dpYO19UWC8XnZCRrZ18 8y15nRGofdwp6RFR9lUWUfm8J1dkpM+WyEyD+Q51nZGi6DoT6iadcl8g+g/C5VLgRC jyAh4x+a+ykbT/JSuPCRd3vNkOV78Q1nfEAIuQ18= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= , Andrew Lunn , Shawn Guo Subject: [PATCH 5.4 49/78] ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch Date: Tue, 8 Jun 2021 20:27:18 +0200 Message-Id: <20210608175936.936933510@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175935.254388043@linuxfoundation.org> References: <20210608175935.254388043@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Michal Vokáč commit 0e4a4a08cd78efcaddbc2e4c5ed86b5a5cb8a15e upstream. 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 Signed-off-by: Michal Vokáč Reviewed-by: Andrew Lunn Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -99,9 +99,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>;