From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADEC9C4321E for ; Fri, 2 Dec 2022 13:09:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232651AbiLBNJ0 (ORCPT ); Fri, 2 Dec 2022 08:09:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233717AbiLBNJR (ORCPT ); Fri, 2 Dec 2022 08:09:17 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA73AB0A1C for ; Fri, 2 Dec 2022 05:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=LoFowH61SmY8vTQrd3MPZqzoBl8jG/gdtPUUk/v8Al4=; b=T4U5Om7iQCpOXCjq/QS/TLC3Ih a+5rEUAr1FpfcoWsFsUvYe+MH9rX3QtmgYYNx8GP6cQPN+mx1tk4a6oO86rUalkPXv6Fkdaaz7Nvn K6/4+HkUHZORVphbfN9mgL5gCrIHTd5uw+caVNYgIcHpqj5/rAntw7CeDW5MfMh3RTsY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1p15mQ-004AxZ-7C; Fri, 02 Dec 2022 14:08:38 +0100 Date: Fri, 2 Dec 2022 14:08:38 +0100 From: Andrew Lunn To: Fabio Estevam Cc: Tim Harvey , Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Shawn Guo , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vladimir Oltean Subject: Re: [PATCH 1/2] ARM: dts: imx6qdl-gw5904: add internal mdio nodes Message-ID: References: <20221201003109.448693-1-tharvey@gateworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, Dec 01, 2022 at 10:02:08PM -0300, Fabio Estevam wrote: > Hi Tim, > > [Adding Andrew] It is not wrong, but it should also mostly not be needed. The switch driver can link internal PHYs to ports. > > port@5 { > > reg = <5>; > > label = "cpu"; > > ethernet = <&fec>; > > + phy-mode = "rgmii-id"; > > + > > + fixed-link { > > + speed = <1000>; > > + full-duplex; > > + }; > > }; This part is needed to make a warning go away. Does the SoC network interface have phy-mode = "rgmii"; ? Andrew