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 {