Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4363691pxj; Tue, 8 Jun 2021 12:27:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEq/2OXd5ZwamWotS7+lVJBhcU2m4Qm2dFzQR7IO/olEKXBWqo3Gcf5RY4nkqz5DL8o5NB X-Received: by 2002:a17:906:530e:: with SMTP id h14mr25150545ejo.165.1623180478123; Tue, 08 Jun 2021 12:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623180478; cv=none; d=google.com; s=arc-20160816; b=SRDQkQlCKHsTgwrzMIAZMy395qknVHk62d87rRpa0x8769/xKpgI2uKLbHwRnECgaM TkZ7fRpl7k8XfPCfcurcx+LJ1SzfAV+4W4YmjsygTXO+jWG4JOPDSzGqepxhZr2i1yPd 4CHE7GrjPdxEitgQf4ydwq/TDpZAfOVXsOMXT28RLJ1sKhVN9feqgdMg8zNluB3RL1gR xx1Ifn9ciBOu44uG3RdhcEqQ2dXI6sDdaEnkDC+7V8F/zyLpCDWW5UUo0UaCiTsOWQZG zA6heVI0TZkGiWOcr5xGbCs30DlcilKDpG3O25JOEChfGnt4+rieCS1tWm+vdIU8fJMS B96Q== 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=iA7phwhHk8zPpSw14FH41P+Y5giS+ae8vVkiC1bkcq8=; b=bsLbN6UL9OUJrKrPTEVm/CKv09RzuupvfzRiePBENXdnqgehZxp1cBG9p+W11RvKnR Mpyc1w5I8B77dRyEmMVDHxr3ta3doef3qFBNU+D/vl2OeU/onfJQScFZoILhjlHgwzmv IjeHbeNcBBYYbLILla/cBRtxn9i+K9swcfP2y+oYkUPvF6BQSIxa7LWYJhEpt6R3JutA ifIqyWB59JZSYZRw4L8ZZW4cPdQR8TJNfRgnsaBk9VnLTlZpIGO3epUQ2f0kes608oAU fmeUEyMJtvzYl/W1csBZdfax6pX6ObUOPUghurDkOys9183eQ1AETk/a/m0M/CXLv1F6 9XTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iaEFsejS; 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 gj23si574336ejb.7.2021.06.08.12.27.34; Tue, 08 Jun 2021 12:27:58 -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=iaEFsejS; 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 S236469AbhFHTZu (ORCPT + 99 others); Tue, 8 Jun 2021 15:25:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237000AbhFHTOF (ORCPT ); Tue, 8 Jun 2021 15:14:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 81C976195E; Tue, 8 Jun 2021 18:50:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623178204; bh=nZrT3fieOAgx0W68wom3CT2u2lo1QSQHplfGTL3oKaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iaEFsejSRrjbg9GQBB2zOQLS+kDRmnoJhiN6oqAYvDybOCwilTvkYJMpkQ2bZRyrh YsPepaJR4NAmZY+HSOcPAKW5hAAP58lDOxS8bk7uDTw/RIIJNXzJ7Xd8mmjGZiiHHX sU6T+P3ttvxMcup9QTjc+vjWycyi686n1M1+3ddY= 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.12 114/161] ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch Date: Tue, 8 Jun 2021 20:27:24 +0200 Message-Id: <20210608175949.311455757@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175945.476074951@linuxfoundation.org> References: <20210608175945.476074951@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 @@ -105,9 +105,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>;