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 2B257C61DA4 for ; Fri, 24 Feb 2023 16:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbjBXQAY (ORCPT ); Fri, 24 Feb 2023 11:00:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbjBXQAL (ORCPT ); Fri, 24 Feb 2023 11:00:11 -0500 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2082.outbound.protection.outlook.com [40.107.13.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C67143469; Fri, 24 Feb 2023 08:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kelYe4BkPy00pkjcTlfKzENhuQ9mbUXV/ctzV9/fazSE4fLxbYafD9qGOy+oxQX58Yo6djOTqi6eAa4c1S7halxZvZDVfs1bns+mLEHYVbR18cZZU8umCOKElbFLlxrLLvnrb1TQGZv0LFtWRggmgJvP8dv79srx7eTUulK/BDQz/1/2wdwK6kCeRC5QhB4hRZiloUiMVpUfw5xCj361ehZxsXKe/28yoWFthLUqTSoNqWfbhgaYqfgBGz8vlkUPbSp6VBQXl6G7WItEkrrLXHeVTmoJoTimJBauN/x0ap6v0Bzf4ZWE3crcbRQEaNiRuP3o3k+hQPKxysEAf3u+mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FIYHdptRHVmWHjgk1ifqAIlt3EsFIrCM1LT+xKdCZgA=; b=lllMY3h2n0LfjnllAcB5XNbMXzpNW8UjA4OOHGlx5KhVHHOOo2hEeGZ7PJVkdTX/QrimnM7HTKrNgCAhEEw18NFq6L79ss/Ldx6nalvoOCuF7FLoVsqC23viwNNobCZR8IsjJtJ21+xH1+C0hSH3YFkd3Bl+xs/kX4GxesfMPBCEem6UwXdYNNJXfCoyxFV2YjvmmuQK7QhyX+9p48Xm/7bMf5JpZVFXZUdisk2TgQ8zy+DaXlPIDzVkfSWg/C/FVNqWsPce85YWddN4N/7i/6QOyLYLwmeKyZURq7y4Bdw6OQmh1an8j7pD6woXbxZtGMEQ1/z/7iudFC1AelD4KQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FIYHdptRHVmWHjgk1ifqAIlt3EsFIrCM1LT+xKdCZgA=; b=ADhe5ZmNGjAlMv5aVeqxK2WhvQmyOK4W4YBKafxci5VqSgG1Y0mfBc0+F2WBcHzXGFdF+0jEUJfWjAgHPVMcKnHYaIRXdmn/sx9HpKH78U/whuK3Q5CaH7KoH0EFzKOe8sV1dvucjPQi83Jyzf9El4LD1p82LWv8libhMklfb70= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by AM8PR04MB8003.eurprd04.prod.outlook.com (2603:10a6:20b:240::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24; Fri, 24 Feb 2023 15:59:59 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::29a3:120c:7d42:3ca8%4]) with mapi id 15.20.6134.019; Fri, 24 Feb 2023 15:59:59 +0000 From: Vladimir Oltean To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org Cc: Rob Herring , Krzysztof Kozlowski , Nicholas Piggin , Christophe Leroy , Maxim Kochetkov , Maxim Kiselev , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 2/2] powerpc: dts: t1040rdb: enable both CPU ports Date: Fri, 24 Feb 2023 17:59:40 +0200 Message-Id: <20230224155941.514638-3-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224155941.514638-1-vladimir.oltean@nxp.com> References: <20230224155941.514638-1-vladimir.oltean@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BE1P281CA0092.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:79::6) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|AM8PR04MB8003:EE_ X-MS-Office365-Filtering-Correlation-Id: 596ce244-5209-4f9b-5ddb-08db16802e9e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XfriU+vATHuv62hGHnGhvmOFcoqoBjx3cvH/v+szycf14vDvd35wkBXiWUObg8FaMiJ3nwb2+0NgY8TYwJWuU/mSrn7PK3DW9cM2SCNVkJsYQhaFAO5swbBdnLpcFBw/4kLF1yCjE441AtFJLhHwq9L6E3wufzLPVklyUpEN1NY4ViVUbQLnNOYUUWA++FxhNkcLetCLw3qPx1nrKH1hPScWQnypYiEynknEMML+zJkWtfn54Gywk2kcBFgFJ+kBC4E/P0Mdm42hMczrqvAbwcR9U2/4qLNoZ/QpuIBpqmHnMfVTVv/VUDPgUBG3vHje+TFaF+SXWbkz3E7cLon1hmWuL7yd2V4uS2J/j0Xv7uIc9loJ2Yukzkl4KmEC4+y2a0Fw2YIYJVV0rdDJDcolfHBDEtsu35ONfsgGYlyNA0oF8jiD5Q+O5pR4BOF69dLci9ScDyp4vjII6C+2BdCizbvto9sTKbbfZthbzsycGX4ILy03ytqdYgXhK147WhkrIfKIiGCiDkcRliLv0EW5lWFtfZiOWml2K+CM6oqw8JpSp4wRjQeO1pnI4AVq9MeKR5GtubYUz4qorfukeZinUToF5qfCy/keWqc9xsWxHRO/1tU3TFbeyGb89LtVgixk7un40JIhb/zsmtL9UPxLTlbu5KV8csw0dbelGPoQsEf02G5zVGXEV9rA2GVDaa6mIORCyZaXA31HAo+hM+J8MQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(39860400002)(136003)(376002)(366004)(346002)(451199018)(66476007)(6666004)(36756003)(8676002)(54906003)(478600001)(316002)(38100700002)(38350700002)(86362001)(7416002)(2906002)(44832011)(66946007)(4326008)(66556008)(5660300002)(83380400001)(2616005)(52116002)(6486002)(8936002)(1076003)(41300700001)(26005)(6512007)(186003)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Gxb/AyoRxXN5cKVg4JzCofoXtQwj0RHpks+mOM0LViMuvpe3POSpuhF4X4WY?= =?us-ascii?Q?uUghDdM7O3McDrhqFCJwCXevgMvbp5gCGtS0V1FQkUoYe4zmIE+nHGdnwz5X?= =?us-ascii?Q?v9+Gvdt7FOrHPH+Af153ugW2KFORsmm8BTibN2eVtVWhkiCQKeRQ4VrtA9Nd?= =?us-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ac9p3yh4OpvP3l9HiduUcXlsrEmhDL?= =?us-ascii?Q?Jatly7aRjcrm18/IXZhlRAy0qPRCWf0LrVEu8MzyuuYJ0/YOheP+BT5KaxH7?= =?us-ascii?Q?PIzNmDrY+jS9rKHFq49Cpm3qow7E8Cnr8IASt9V+SZN8HE4WpQ4RGDf+xmjj?= =?us-ascii?Q?NUdGLixra4FFsldNYmX8X9k+3uQwu13TIjoZk6ZLbSZQ/a1l/32qiMX5mWIR?= =?us-ascii?Q?BO/FHr0oOE3/HLHMNGnpf1T7UW5wlzDg9/drgL3PfLmJcYhFzyzuksZKinTL?= =?us-ascii?Q?ZR4jqqQkd6qVX98Fw4govbUsovbD7d6T2/EGZItpZgPISRt/hbm6nWX83s+A?= =?us-ascii?Q?fp/febidr6XhDXMt3EUFeIQE6lAPLtx6CxS7m6uk45TV0keG5C3KUIy+Ezvl?= =?us-ascii?Q?sgXZgfKYTvCPMdAEiFFHqeJq8+42KTOX7D5nsyhSyxQJfCRAWrMMEbpmwXvP?= =?us-ascii?Q?k0Wiczc6s07GH7wBoS1TX9YlRayLQ4jsR7ewSZJdp2d+uNaje908Rx9d2pMU?= =?us-ascii?Q?okvR8/XVyRT0tDiVbvZ8MtzNtp4wSBEZmq63sAZU0PMcn73jVdiKa8yfumP6?= =?us-ascii?Q?bg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 596ce244-5209-4f9b-5ddb-08db16802e9e X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 15:59:59.8531 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: roWyg8Scf939uM/C1LFamgfEWGtcsyGcFfKoWQ6sl0/0MWW16U5VpB/PGTKFaKCLDs3farSe/t1/gE7zUFwdKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB8003 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit eca70102cfb1 ("net: dsa: felix: add support for changing DSA master") included in kernel v6.1, the driver supports 2 CPU ports, and they can be put in a LAG, for example (see Documentation/networking/dsa/configuration.rst for more details). Defining the second CPU port in the device tree should not cause any compatibility issue, because the default CPU port was &seville_port8 before this change, and still is &seville_port8 now (the numerically first CPU port is used by default). Signed-off-by: Vladimir Oltean --- arch/powerpc/boot/dts/fsl/t1040rdb.dts | 5 ++++- arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/fsl/t1040rdb.dts b/arch/powerpc/boot/dts/fsl/t1040rdb.dts index b6733e7e6580..dd3aab81e9de 100644 --- a/arch/powerpc/boot/dts/fsl/t1040rdb.dts +++ b/arch/powerpc/boot/dts/fsl/t1040rdb.dts @@ -180,6 +180,9 @@ &seville_port7 { }; &seville_port8 { - ethernet = <&enet0>; + status = "okay"; +}; + +&seville_port9 { status = "okay"; }; diff --git a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi index f58eb820eb5e..ad0ab33336b8 100644 --- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi @@ -686,6 +686,7 @@ seville_port7: port@7 { seville_port8: port@8 { reg = <8>; phy-mode = "internal"; + ethernet = <&enet0>; status = "disabled"; fixed-link { @@ -697,6 +698,7 @@ fixed-link { seville_port9: port@9 { reg = <9>; phy-mode = "internal"; + ethernet = <&enet1>; status = "disabled"; fixed-link { -- 2.34.1