Message ID | 20230224155941.514638-3-vladimir.oltean@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp996424wrd; Fri, 24 Feb 2023 08:09:39 -0800 (PST) X-Google-Smtp-Source: AK7set9X9gtAlFJReKzl5La7ivdUFGKfnUnueMk2BL4u4uFl9OHjQuzJWtSq/8y7L9Ong4NH0BXq X-Received: by 2002:a05:6402:88c:b0:4af:5ff1:8756 with SMTP id e12-20020a056402088c00b004af5ff18756mr10115163edy.0.1677254978928; Fri, 24 Feb 2023 08:09:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677254978; cv=pass; d=google.com; s=arc-20160816; b=iethJK1RHVYHqYw4RpIU/XbhDHpUp7h1fnYAeM8nVJ60Pdg2ZbP7IJtKADucVh0M/0 Mhf4+ZqW378pXzmCZqaBuSO+5E9Cus1ZF+pOJGlpOv+oRpCAbvtsowzZ7ZYq+13WZt9G RJx2OE8QIu0++8FdItpBwzKS9Wr71BmMswF8iwyRa8sTy3v73M+J4oJaVYblleQ92Eg7 zjSu+1T5m1s1A2T2J3YFOe1eHrnPp2k3AMIBiyrkLVa5wESasPMIkdCJqnNKW48XGljQ uYxAxOHmx54jrrv4V6Afb+soxsjJHTWsTjuJCkCBhZ2wVnP2/FSv2PZXROeHqjTgA9X6 hurg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FIYHdptRHVmWHjgk1ifqAIlt3EsFIrCM1LT+xKdCZgA=; b=Vfk3qRncTfZrK1eZHK4oDlaktbOr0/+D/Bkj/6ft970c1DFQj7XsLchL0jLuTZvqL8 OZXGdmjQk7kEcU8IkFk0VDKW2+CtyEXwfT49ZjNaAwwIygb9ud/JAXJnS3MLoYjs/AiL LpzAqjdQ6G4BznSDFz0gzBXzWXCo+YjvO1bKf+nDu7dOL+DNCJVGVAB0j7k3IV4SdJTt pgODKfzYOnbYWKs4Du5GU3mGMejWmtau26WYslkwYR5tyK6ychOfvxEiEYFIio2bUfnj LysFlMtwWPeEhICtGiAdkg7VwO3LZnTyWZDNog+jOOKY9igkjG3xxn7/Tv0/65QpwVsd idew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ADhe5ZmN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a056402121400b004abdba04e7dsi11584812edw.393.2023.02.24.08.08.41; Fri, 24 Feb 2023 08:09:38 -0800 (PST) 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=@nxp.com header.s=selector2 header.b=ADhe5ZmN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbjBXQAY (ORCPT <rfc822;jeff.pang.chn@gmail.com> + 99 others); 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <vladimir.oltean@nxp.com> To: Michael Ellerman <mpe@ellerman.id.au>, linuxppc-dev@lists.ozlabs.org Cc: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Maxim Kochetkov <fido_max@inbox.ru>, Maxim Kiselev <bigunclemax@gmail.com>, 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: Gxb/AyoRxXN5cKVg4JzCofoXtQwj0RHpks+mOM0LViMuvpe3POSpuhF4X4WYuUghDdM7O3McDrhqFCJwCXevgMvbp5gCGtS0V1FQkUoYe4zmIE+nHGdnwz5Xv9+Gvdt7FOrHPH+Af153ugW2KFORsmm8BTibN2eVtVWhkiCQKeRQ4VrtA9NdvxgdBRU4FKN2yzLxgPq2C2giEXYdLFYNVmbHgzG1dwxyA9KgtwMlqY1LGthMxYSbm4Ix58qZp4zgD0LyIcDPvG7BU8GfboMOXWVhdztH404F2JG3LID20loEZR9SU3NIhVyg8w8GJrXnGm/BcrR33/SLoRkZi1EcNxfGKuExNVQcEOwbfPbODOFMjJxP8uHQKGWyKPoS7OpwNpa6H+ds/P0xeq5Y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D5nsyhSyxQJfCRAWrMMEbpmwXvPk0Wiczc6s07GH7wBoS1TX9YlRayLQ4jsR7ewSZJdp2d+uNaje908Rx9d2pMUokvR8/XVyRT0tDiVbvZ8MtzNtp4wSBEZmq63sAZU0PMcn73jVdiKa8yfumP6bg== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758729316698370485?= X-GMAIL-MSGID: =?utf-8?q?1758729316698370485?= |
Series |
Freescale T1040RDB DTS updates
|
|
Commit Message
Vladimir Oltean
Feb. 24, 2023, 3:59 p.m. UTC
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 <vladimir.oltean@nxp.com>
---
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 {