From patchwork Wed Aug 31 16:01:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12961006 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 900CAECAAD1 for ; Wed, 31 Aug 2022 16:02:57 +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:References:In-Reply-To: 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: List-Owner; bh=I/HojfoMByja8svY28ipcKU+1kKfBu6C9uS5tJyToQA=; b=UWYH6uTI169ZWh 67LzF9VtVYN+YEUUb5/T/dnJEdGAGArOscz1aPb1PwViPisrQUZsaEZ0I7Hqll3VZEwq4X5E+lL4S V20AYB+tnP1nalueZU/H7LpJO5EjJxYxi18gHGzhv+dcVtqp/E5vMqFlvA+jPxzRwBiIBcXMjA+jz fgoXy8hBK4bKRa2Psze/gpMOuupi2tyEuuGmINyRSTvaiWVUcnRogiPyJo5MS1tUcuBhzMdAG5duY sBOpHhNHgSpg0h1u2yMrjip8dRBo0V3eGbyseDhYg4xx8maGgZOnJACDEBG/pXligP7jw2AsTCOJU wgPkh3uS7q/JkeoynIJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9x-0079aU-CH; Wed, 31 Aug 2022 16:01:45 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9m-0079NB-Qe for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 16:01:36 +0000 Received: by mail-ed1-x532.google.com with SMTP id w2so3508438edc.0 for ; Wed, 31 Aug 2022 09:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=jTX8ciu6MM6kgsSC213n8sDxvwY7rre4HofaV+9C3Tw=; b=D58ojdePdXla0PutIXEtK2KoSd7YzyWkO7OU9M8mpMr2HK/UyAXGrh3WQYbTUIFMoh LsIiOgH97zEUuxmutMd+jUZTxayGsn8e+RVk3+2yCb4hgRG/AvHFwUxcFmu5gpi8XT4E BrjV8SSxl7Gqc/tkd/jYOBMTIKnwfy2iwcZH9NfR35v+S9V6rIacaQQqduTFmET1HJNe pUWfRJ7HvWmqnmrZ2zVa5TcnPAgOAVg8V+lx6/SUpwDML4fX8mWsqD59W5SzX4m7dBgF FLNRNPMIs9/DZK6Tx/PJt13STT6t/xkqqyCMr6gdOXx4Lz0WqC2TptBGBJcA2n4a6+cH gcaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=jTX8ciu6MM6kgsSC213n8sDxvwY7rre4HofaV+9C3Tw=; b=UdYJoxaHwBL2VeGYugh9oZQuM74DezxfGIJlILCgeQbZJiBfQ0nzUolX7R+kcHwNgN 6eTtT3eJoZW7QRYaEU5XIj+jM9BesYWpiuX4tzz3MfUUAEHh5fFq3Ik/1xbmpjILOPcx A9ATEWXjZVX/IEdlQJ9XMWvfJmBXu1o46mO38v7aJO7AjlSbdhAOU4VHnEcdVeUXK/c/ MDN6QWdLIVsFHXBF7MocvKgO0nIGGY/iBFaNocx3BbiTtYRKvl0jEOu3Wn7TI1+YzMx1 +/J//pMU2EpaPlJx2YHjzQZHGCCz52ihla/lNoaJwaU9KX6GOD81eB5TLj9rsVcOLe+L 7u1Q== X-Gm-Message-State: ACgBeo1CrCmt2DPQj43Xv/wz3A1oks3a5OSdAXGnsYqn3TzWi3LwuXnq 7DTuk693S8YRkK+WxHYQrQs= X-Google-Smtp-Source: AA6agR6q5o4JKOXL+5ezK2ZEW9QodxCl2btvVUaDRDOLyaPHsj1w2IWXS+22BDWupvAbUY7pkFH75g== X-Received: by 2002:a05:6402:4517:b0:443:7fe1:2d60 with SMTP id ez23-20020a056402451700b004437fe12d60mr25340103edb.133.1661961690054; Wed, 31 Aug 2022 09:01:30 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 09:01:29 -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 , Vladimir Oltean Subject: [PATCH v2 devicetree 1/3] arm64: dts: ls1028a: move DSA CPU port property to the common SoC dtsi Date: Wed, 31 Aug 2022 19:01:22 +0300 Message-Id: <20220831160124.914453-2-olteanv@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220831160124.914453-1-olteanv@gmail.com> References: <20220831160124.914453-1-olteanv@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_090134_885378_1ADBC2EE X-CRM114-Status: GOOD ( 13.94 ) 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 From: Vladimir Oltean Since the CPU port 4 of the switch is hardwired inside the SoC to go to the enetc port 2, this shouldn't be something that the board files need to set (but whether that CPU port is used or not is another discussion). So move the DSA "ethernet" property to the common dtsi. Signed-off-by: Vladimir Oltean Acked-by: Michael Walle --- v1->v2: keep 'status' property last .../boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 1 - arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 1 - arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 1 - arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts index 6b575efd84a7..52ef2e8e5492 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts @@ -104,7 +104,6 @@ &mscc_felix_port3 { }; &mscc_felix_port4 { - ethernet = <&enetc_port2>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts index 330e34f933a3..37c20cb6c152 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts @@ -60,6 +60,5 @@ &mscc_felix_port1 { }; &mscc_felix_port4 { - ethernet = <&enetc_port2>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index e0cd1516d05b..7285bdcf2302 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -278,7 +278,6 @@ &mscc_felix_port3 { }; &mscc_felix_port4 { - ethernet = <&enetc_port2>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 5627dd7734f3..1215fcdf70fa 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -1156,6 +1156,7 @@ mscc_felix_port3: port@3 { mscc_felix_port4: port@4 { reg = <4>; phy-mode = "internal"; + ethernet = <&enetc_port2>; status = "disabled"; fixed-link { From patchwork Wed Aug 31 16:01:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12961007 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 B011CECAAD1 for ; Wed, 31 Aug 2022 16:03:02 +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:References:In-Reply-To: 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: List-Owner; bh=AbUaouWhKSWeVLxf9mFsP5axpJaqv+DjUie35VlKatE=; b=CgrLOQE7w6ULt4 mV64gs8FsFAyc2yyStm2kHFV4QX0r5pLJxxX6Og4HI8cPrl5hc9BfmI57++amdW3G7Ae8s+XhomWo kEOsTaMq13DtEmHA6MZ/GHlQYtZQb3ud2MT97hrC4dBHkrgtO5IfzJQFZ/ZPC17JkOm9LsaAJrElg AW83rmtdUQdMTeUgrnFGFjKAE9uqxGVeOf0kkhpg43Tfdn2C5BOUoiJNDSH5KjCa10sufSLmb48lF 9GOkqqBW/YlZgoZm4wfpJxX7/6WjKRXhLL4A4/xFW0J5IUH5xw8Cbjo+wWQYJ/rQ9iO8I2DCe11o1 RaJXmEoWHKDg9SkiF+NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQA7-0079eQ-My; Wed, 31 Aug 2022 16:01:55 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9o-0079Nm-9L for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 16:01:37 +0000 Received: by mail-ed1-x529.google.com with SMTP id b16so19003674edd.4 for ; Wed, 31 Aug 2022 09:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=zOcOZ3dEJs/GiAU0RutnwDCQ7L9W0T3xRCFO1jLQMhw=; b=FsrOa/4KhJrWIqKbhDQ5cQXxMI7mRI9fZz88vMcgeKMxPoSHKB75WZlHxft72mIC6q sE8w5/DHzchsFiWLITL6slEwVfL0+vgBnFnulLMkqKJrB4RLO7DJgZhzlmhxxV2YYixN I/p7qWSeKqpQRlzQ2Y9Qlmu54/ntgrApHoz84QEiKKiW2Y29XZl2FXW20E0ui+qF9IiK rSKOgyuV4V5cjMIB+1jcdDUg5KdodWYneHH9Ptz6CzkcHPUe0V9DcVEp3REk6gy0Dx+I swR1aboZf8iZBsExOpZqgjqdKGHOxcqpJhOtYGkFuSVL2Xnq8MfUdxWIM2qLSExdyl33 QvHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=zOcOZ3dEJs/GiAU0RutnwDCQ7L9W0T3xRCFO1jLQMhw=; b=i30CluF1NpdIeAmZgwfch7n7KMMteGFsJVJx6BGNs9VBdk2QFOJCqJzZrtT3AVZUIJ WKm9ym8qtToRt14KW0ubD7Bj9rdYQL3KMtxzynOw50HFEWFtohcy22jaZuxIRwdIuOny DObiLtGePBEC37EvWFypAqok3cvx7EaRoSW+lMUPy3QKjNTMxYox0bnpxyfDAcflmjz9 tZC5zNwABBr0FXHbbjjneXuWZQUSTzBsqykgx5IDSmwxluzWAPY92LuTKF+sstq+Skpj N7dPiDrqJdVc06OqZ0CWH60K9aveOeE+OGgkYprjc+GeQ+ypuGJzgMj91/FZnM3kq9EO hemA== X-Gm-Message-State: ACgBeo1e2h8+8qqFIY5DOYkXnUwtZfiVjFYlVRxIXzizQJgejtxjX8a1 6YWXwJ6Bd9/HWirDKCPbsIA= X-Google-Smtp-Source: AA6agR6nF6kH968KCqC+W/3X6AHNaQ8Viv4BBeTqmTVELDWmPpb4qyGLt6cOzf0GlVJKLo/7ub2dzw== X-Received: by 2002:a05:6402:428e:b0:443:8279:13ea with SMTP id g14-20020a056402428e00b00443827913eamr25438115edc.294.1661961692583; Wed, 31 Aug 2022 09:01:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 09:01:31 -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 , Vladimir Oltean Subject: [PATCH v2 devicetree 2/3] arm64: dts: ls1028a: mark enetc port 3 as a DSA master too Date: Wed, 31 Aug 2022 19:01:23 +0300 Message-Id: <20220831160124.914453-3-olteanv@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220831160124.914453-1-olteanv@gmail.com> References: <20220831160124.914453-1-olteanv@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_090136_346032_CF4D8F6D X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. 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 From: Vladimir Oltean The LS1028A switch has 2 internal links to the ENETC controller. With DSA's ability to support multiple CPU ports, we should mark both ENETC ports as DSA masters. Signed-off-by: Vladimir Oltean Reviewed-by: Michael Walle --- v1->v2: keep 'status' property last arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 1215fcdf70fa..ac1c3a7e5f7a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -1169,6 +1169,7 @@ fixed-link { mscc_felix_port5: port@5 { reg = <5>; phy-mode = "internal"; + ethernet = <&enetc_port3>; status = "disabled"; fixed-link { From patchwork Wed Aug 31 16:01:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12961008 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 31318ECAAD3 for ; Wed, 31 Aug 2022 16:03:09 +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:References:In-Reply-To: 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: List-Owner; bh=swPdSAP2EA4A7n6nqtEaTtiN3HlWhdRDqBFwlDYwgz8=; b=KpADXwYUamMvTP GznH0Ei2bHITre5g7BgVuV7od/jQS1mp+jxGFNMg/r//TH37Uty1Zqlo5YpJGbOlyXMHRSdWNji+X PbLH5j1mXIYlVoAm65K2wORpWNaRx2fjsCg6g0zcisQxZRG7Bq1PxEQ9Xg5hPstziBKbPVUPgL9Ml RfzHgvuCe3NB/cmAxcgWE5cZ2pupMID1Us6XNlbxaRTdAFAJunA6OR1YaA3oUaHKm+KgBvPJOd6Ty NNf5/Y8TnFMNDU4CtUBJ0waIm0yZtzT4/MFqPFiRLwsn6aeHMl5I26BO90m+QVFGQjzU1q8Tm+77C o7KPg4s6mJ1F2S6kaVrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQAH-0079qE-02; Wed, 31 Aug 2022 16:02:05 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTQ9o-0079RJ-NY for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2022 16:01:38 +0000 Received: by mail-ed1-x52d.google.com with SMTP id s11so18963566edd.13 for ; Wed, 31 Aug 2022 09:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=EmNOHW8dOBfji1wkjcTQmmq1Mj0tjVV6eLhD3GgRB/g=; b=iPzGBtmsyIlRowO01qTXhasG0NLWdlzZwl/O3IlBP3urBRqmLeHlHQUduHBqbN8eaz IFCcNdL5ccd6/YBh5OykW9i1vXKvhwh2kSqjAzExcad5bYMzLp8Dq6apPeHQmj+WAAPg uZc1knE24OFoP2zfsEiWGxdV4qKioFaCqC/UI2OXh3xhW3xyTtqbIfrMiFcdL05NI24n x+oD4RwT5biLqIx8PQh/w+/Z9DwWZOh3Pm2gDg6dXcdOdt9oDruOcVBYvyYXQvsvIHMt Z10YmakIfVehoTPiJBvbK97UwOFjbkEop6dTgWUx7kso/mwhsESEG+8PcWEWrVMlu+f6 p0VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=EmNOHW8dOBfji1wkjcTQmmq1Mj0tjVV6eLhD3GgRB/g=; b=WCVn02g5yLxgbbz9X0KfimJSExTOkTOIyKF/2KYDRCj+ctUeRFXoGsjKjr6OyZOnN8 QCa9quyNrCCV3Udun6QfnGS3fCl3VjrOTKWWzjKYclPhejLH1EIkmKKnnExL8cdDHmPf B/5BM5sJp+C9ZvSdjDxPb7aKWgIeP8nKJEA569u8A1k/l34/eSfS4pyeYA2dpZptKfLd COo4+N7M6xpmIUFUUOEZKPFV+EdPZ5dawoxLIj2dbWNrdxSRx+v12B6nrmiWbXnXxlEf BO2pB6/tkjpyOrC7EQaJFomM15zzPcC8VquDX7tk000z8nX/55Hsn3a0M4FbSaMuurTE acnQ== X-Gm-Message-State: ACgBeo3L/Z6VHsHuabVMws4k4tHpyAhoVk8wsGWaQXkjBh7krgObBUhw uqIZa+hszPMXL/wBSvjoqOQ= X-Google-Smtp-Source: AA6agR7/mG+nWnFFyl//A8+WrZ8yAr1i9FETVTqXy2AMVt9YUhAeyE8y0SOWAJQjm5QcsfsWpYrtlw== X-Received: by 2002:aa7:c3c2:0:b0:447:7d68:7187 with SMTP id l2-20020aa7c3c2000000b004477d687187mr24775177edr.400.1661961694515; Wed, 31 Aug 2022 09:01:34 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 09:01:33 -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 , Vladimir Oltean Subject: [PATCH v2 devicetree 3/3] arm64: dts: ls1028a: enable swp5 and eno3 for all boards Date: Wed, 31 Aug 2022 19:01:24 +0300 Message-Id: <20220831160124.914453-4-olteanv@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220831160124.914453-1-olteanv@gmail.com> References: <20220831160124.914453-1-olteanv@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220831_090136_792670_178A425A X-CRM114-Status: GOOD ( 13.28 ) 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 From: Vladimir Oltean In order for the LS1028A based boards to benefit from support for multiple CPU ports, the second DSA master and its associated CPU port must be enabled in the device trees. This does not change the default CPU port from the current port 4. Signed-off-by: Vladimir Oltean Acked-by: Michael Walle --- v1->v2: none .../dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts | 8 ++++++++ .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts index 52ef2e8e5492..73eb6061c73e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts @@ -59,6 +59,10 @@ &enetc_port2 { status = "okay"; }; +&enetc_port3 { + status = "okay"; +}; + &i2c3 { eeprom@57 { compatible = "atmel,24c32"; @@ -107,6 +111,10 @@ &mscc_felix_port4 { status = "okay"; }; +&mscc_felix_port5 { + status = "okay"; +}; + &sata { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts index 37c20cb6c152..113b1df74bf8 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts @@ -39,6 +39,10 @@ &enetc_port2 { status = "okay"; }; +&enetc_port3 { + status = "okay"; +}; + &mscc_felix { status = "okay"; }; @@ -62,3 +66,7 @@ &mscc_felix_port1 { &mscc_felix_port4 { status = "okay"; }; + +&mscc_felix_port5 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 7285bdcf2302..e33725c60169 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -151,6 +151,10 @@ &enetc_port2 { status = "okay"; }; +&enetc_port3 { + status = "okay"; +}; + &esdhc { sd-uhs-sdr104; sd-uhs-sdr50; @@ -281,6 +285,10 @@ &mscc_felix_port4 { status = "okay"; }; +&mscc_felix_port5 { + status = "okay"; +}; + &optee { status = "okay"; };