Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1636760rwe; Sat, 27 Aug 2022 12:43:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR5PdmNg8vVSlnI1Ccl1tvBC//AyPzk89wnMKpumqeQfeSf9tgO41Qx8O25tfWl7MBe3Fa44 X-Received: by 2002:a17:907:a06e:b0:734:b5b5:96ed with SMTP id ia14-20020a170907a06e00b00734b5b596edmr1676330ejc.251.1661629426571; Sat, 27 Aug 2022 12:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661629426; cv=none; d=google.com; s=arc-20160816; b=g9iyM2/084XuvgBFXHY4DbV86e9xXpV4PSYNRbHn+3La1fvhChFhrgzXLLKL1ny0ED 4TlQ9gfLSv20VadqKBO7hQyhLZmZOi3UkTkMP9YBcZK8zNHfamXdCXFSy2rQldwHpET+ 13QHaZXxg9Y+eEP+eoFADOz7ZKa692x4K0lcXAj04jh8/fpJHMnz2LyUJ7klmhhZqG9O p4MqFfWV6ag/h48OprVyoY4c7n1AuaBccPhnJWYwX68w6+4jXSxNuC365sNmhOMlHTU8 7OOSqRIfr2H0aVwHyxX31TCQOrwCnop6qlO5NThdvKrYwuN9HlsPOPUUgVUBkcd52vyz Eahg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3Ti0t5W7laQ1yjP95FI+9j22q4zm/p9DmlBYb1A7/2g=; b=V4cn5BTRk4m4QJy9qoVcnuwugXVOwgYtT/dUhPKrC0uIhVjlddkBSrFW+3MXRjRLMI M24KHyr5Cx5ljak09+stnjmNcIstZwGjuP6Yt6DDBjzcrlX+F4HYB7ryBVodCsqtotpo lWcPmhmvVLrCqdRW90wp0i4kNytDlaZJ6bBJ5lJGys0btM/I95afmMLnc/bEilbDXewm qKjfazvfNlNICUOJjmGM9UN9HsDcu50GARgqUVAtRSlAHFlOpcOXu906VO6ytDBRd2cP 8mP8/BiZTqlMUsMPKTDktQAL0OcA+Fv21tQcNaBACQ3k3HGGA4ZYNfJGWgX5uR7FuwC9 8Vig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=CMBcyoL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a170906714f00b0072b3cde0ce8si3180122ejj.471.2022.08.27.12.43.20; Sat, 27 Aug 2022 12:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=CMBcyoL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231201AbiH0SmH (ORCPT + 99 others); Sat, 27 Aug 2022 14:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbiH0SmG (ORCPT ); Sat, 27 Aug 2022 14:42:06 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F78B2666; Sat, 27 Aug 2022 11:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding: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=3Ti0t5W7laQ1yjP95FI+9j22q4zm/p9DmlBYb1A7/2g=; b=CM BcyoL5ZQWWkvC3ubN8x8Xt7Rk2wQvNlMETx4shXIKb0R9mRl6cYMwqvDUYh48QEeRgmdVqEets16Q rupibFX4LACnmY5f3Ny2CaEiBqeE7CxWaBhpqkhz8ANqtb38U19/HzoNNxbKMD4CzCCp+W6mry35o za9s5+tqjK50jkg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oS0kp-00EnQE-Vx; Sat, 27 Aug 2022 20:41:59 +0200 Date: Sat, 27 Aug 2022 20:41:59 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH] ARM: dts: turris-omnia: Add switch port 6 node Message-ID: References: <20220825122102.18634-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220825122102.18634-1-pali@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2022 at 02:21:02PM +0200, Pali Roh?r wrote: > Switch port 6 is connected to eth0, so add appropriate device tree node for it. > > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > Signed-off-by: Pali Roh?r > --- > arch/arm/boot/dts/armada-385-turris-omnia.dts | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts > index f655e9229d68..8215ffb6a795 100644 > --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts > +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts > @@ -463,7 +463,17 @@ > }; > }; > > - /* port 6 is connected to eth0 */ > + ports@6 { > + reg = <6>; > + label = "cpu"; > + ethernet = <ð0>; > + phy-mode = "rgmii-id"; > + > + fixed-link { > + speed = <1000>; > + full-duplex; > + }; > + }; Hi Pali I've not been following Vladimirs work on multiple CPU ports. Is it clearly defined, both for old and new kernels, what happens where there are multiple CPU ports defined? Andrew