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 A861DC4332F for ; Fri, 2 Dec 2022 17:31:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234088AbiLBRbR (ORCPT ); Fri, 2 Dec 2022 12:31:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232519AbiLBRbQ (ORCPT ); Fri, 2 Dec 2022 12:31:16 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDD8A205 for ; Fri, 2 Dec 2022 09:31:15 -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=2Gv6bCtKKiCcVWitMkHgLgpTWvqjbeWSixTRqZ0jen0=; b=LaO7ceC1rKIv/hBCf0OdRgayCh f5GzZfX8uhxjb+bQhNT5UuuHexSMjXSqxy799Fbi/HHNV4ou/nNAMFtKjr5XroRTh2fl7gdFCP0UB 2JMUWU0YJo9Nr/S/G+pe/h3s7ksWfTO+bmw71G/l+lBZ8OiFaXSeALH0RNCgZSklYO1A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1p19sC-004CTq-Av; Fri, 02 Dec 2022 18:30:52 +0100 Date: Fri, 2 Dec 2022 18:30:52 +0100 From: Andrew Lunn To: Tim Harvey Cc: Fabio Estevam , 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 > > > > 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"; ? > > No, it looks like this: > > &fec { > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_enet>; > phy-mode = "rgmii-id"; > Is something here wrong? It suggests both ends should insert RGMII delays. So you will end up with double delays. Have one end say plain "rgmii" and the other "rgmii-id". I would probably go with the FEC being "rgmii". Andrew