From patchwork Wed Aug 31 16:01:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12961005 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 7B807ECAAD1 for ; Wed, 31 Aug 2022 16:02:55 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=iOF+IM/BqlPxNatKvHdw5EsW6czXgRXul7hQuVebj0Y=; b=Or9CoRsMUZutnd wAUVaJ50v0Cd4B9yGocV9fMkcFMaPiotmLIcDAyqDDT/MQXstkZ13ZYs0Ere06KF9eZSN9XuLOvJU 9aIJkdTmsbLXKXSMSLBTLesvl4J+HkFWRYm3kUkHX4Ohb3eB3+oC0lQXsecwzBJKfUO/GrpfQieYI j1qHj2OIQu/zfLIkt+7Hx6dD1WoVAybJYIL03VX5rUqQIpP5N9bOLOqVU7u3XOFVtdN6xV3L35BcJ eoAdk8Ii1lDrGsAAJ4hdo/dGrrQnkWfyMvm9F2mSVJtsMstUuhqNJloE4lVqYiT5p4XO7PlXnb9XA WBNCwMcmLfukYq+nmBPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9p-0079YT-3a; Wed, 31 Aug 2022 16:01:37 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9m-0079M4-9w for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 16:01:35 +0000 Received: by mail-ed1-x533.google.com with SMTP id z2so19022905edc.1 for ; Wed, 31 Aug 2022 09:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=S1sQqh7aVGxhRu+Xon140SackMTmmwu0lxm8zTTRpgI=; b=CDLTcAAyrWQVBsqaZ5liQIJj98AoAttQ0XYjdaJBnPejldTJRrOU6LUmARex4lHgFQ WtD7ILUHb/YWFhTR+2cY35yLkTo5inc2K+XNO77RHnhZWjjSnHR/0qXOgF/YhPf7xlz0 i20msxUzAphWJREiDKEDk64iQ+a11NHfMtw1oKz3QldDiQ/TSIDkdK0CXuA14pQPhjrz gfvxyFcORnrikow4dlENinicNQfBU/i7I1g83a+oeJh/yxF/H00KfVAz1yKR5a6WzU67 N6gwbYPPBqAmAoEii168si7RmXefE8IrILo/zK383TotI1VGEtL+HMrU7aboQucZ2cFT fOpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=S1sQqh7aVGxhRu+Xon140SackMTmmwu0lxm8zTTRpgI=; b=omIYu4AWHamg+VNUGJ2SQF+Eppun4S7HiGYC2GvvpiwtXXqHWhOvyEMhEFQg6kh4Hx oynvmO+Wv9pTeo36JrMfbiuWoZrZp7W3HiNhUUStuFpw4yNQl6Gc2g7Xx7KD2Yar3aeT TfJHFUb31Rgm3KQdcmKYL5ZNQ/Si3lNoPjOxpXYHu4d5dRNFrPmZYaZvDKHUf9nPKgrW JF7ZJsWtWlxKC1V/pIq5adAtm2RvrpKi4XHujvhQH/P18BDaABK/bCoQPsXQAJSOiDkl zvLfHKJh6ihMOOwJEAs5PxDkEIwN8bixj/p25nk88N230wCHRDp5AeNLh6ZaJ8uoMpo7 dOXQ== X-Gm-Message-State: ACgBeo1MUqrh+TK9XUGkjcxo+cvAzKUp+JddjOdNmuduft2pnc6F1PTi 8qiR0YCP2JVEddnziiRsGM0= X-Google-Smtp-Source: AA6agR5uivc3gBlTpjogcVNIm/eBU0c15flYBV2OCs+D4FrNIFa5rcR+W7N0f1vmJFc3HCBqYt4u7A== X-Received: by 2002:a05:6402:270b:b0:448:76f0:4f55 with SMTP id y11-20020a056402270b00b0044876f04f55mr12381355edd.215.1661961688118; Wed, 31 Aug 2022 09:01:28 -0700 (PDT) Received: from localhost.localdomain ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id b5-20020a17090630c500b0073dde7c1767sm7277537ejb.175.2022.08.31.09.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 09:01:27 -0700 (PDT) From: Vladimir Oltean To: devicetree@vger.kernel.org Cc: netdev@vger.kernel.org, Shawn Guo , Li Yang , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michael Walle Subject: [PATCH v2 devicetree 0/3] NXP LS1028A DT changes for multiple switch CPU ports Date: Wed, 31 Aug 2022 19:01:21 +0300 Message-Id: <20220831160124.914453-1-olteanv@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_090134_365654_016BD067 X-CRM114-Status: GOOD ( 11.39 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Ethernet switch embedded within the NXP LS1028A has 2 Ethernet ports towards the host, for local packet termination. In current device trees, only the first port is enabled. Enabling the second port allows having a higher termination throughput. Care has been taken that this change does not produce regressions when using updated device trees with old kernels that do not support multiple DSA CPU ports. The only difference for old kernels will be the appearance of a new net device (for &enetc_port3) which will not be very useful for much of anything. Vladimir Oltean (3): arm64: dts: ls1028a: move DSA CPU port property to the common SoC dtsi arm64: dts: ls1028a: mark enetc port 3 as a DSA master too arm64: dts: ls1028a: enable swp5 and eno3 for all boards .../dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 9 ++++++++- .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 9 ++++++++- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 9 ++++++++- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 ++ 4 files changed, 26 insertions(+), 3 deletions(-)