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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B907ECAAD5 for ; Sat, 27 Aug 2022 18:43:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4RJgU6eJSR694g3byGSvHxMbIzJ/y6F61DsiMRgrt6A=; b=a9ZtttAWyQi99Z Yo5xTRmeMLYY612TMtStXWT/T3I/YuLiRDaNEhSi3ej5auWDmmmLbPng+1KmH7uHSAqSc3oY3ipkL assiWHkt8fgXL5C6o195moy0LL/XkoC+DFjnnLB4pGaBf8AQREvkVB81g5U5ls88FxLlKS/fiJNdS ne0HARKqVs73xkaqg80Rk2PHiAXT/7LAUs+40Bi6vtrLV6B/ub9wS/gQl9uLvAYS42BKgyFdpmwZY OG4SASBfgqZ0QTY+mulTzVufFFWDTVnQF+L1b0nOK/S0wmrasiKEdnN4+YBGmnK8K6Al8MfMPkiqs yDoOQxxalRIpbRfDwKmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oS0l1-00H47E-3E; Sat, 27 Aug 2022 18:42:11 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oS0ky-00H3wE-I1 for linux-arm-kernel@lists.infradead.org; Sat, 27 Aug 2022 18:42:09 +0000 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-Disposition: inline In-Reply-To: <20220825122102.18634-1-pali@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220827_114208_623392_E2F1AA5D X-CRM114-Status: GOOD ( 17.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 25, 2022 at 02:21:02PM +0200, Pali Roh=E1r wrote: > Switch port 6 is connected to eth0, so add appropriate device tree node f= or it. > = > Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") > Signed-off-by: Pali Roh=E1r > --- > 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/boo= t/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 =3D <6>; > + label =3D "cpu"; > + ethernet =3D <ð0>; > + phy-mode =3D "rgmii-id"; > + > + fixed-link { > + speed =3D <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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 93329ECAAD1 for ; Sat, 27 Aug 2022 18:42:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229932AbiH0SmG (ORCPT ); Sat, 27 Aug 2022 14:42:06 -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> Precedence: bulk List-ID: X-Mailing-List: devicetree@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