From patchwork Thu Jul 25 09:44:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yashwanth Varakala X-Patchwork-Id: 13741694 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 D1006C3DA5D for ; Thu, 25 Jul 2024 09:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=N9IZTLOFxohbBXJE5t2P447y65sqbnzKjabHbjNsbV0=; b=Xng0VBn9+5H059sV0dLQszYXhu aMCbwu1+FRlCEGMZbecX3dF5pvFNBjdyMHZp23JMFyQqMADplyIWMhD/qrSxa6QHUYmfmI5d3vRpr PSIZtY970uu6PplfEEP0k+SA6/ZfUnxabHQH05RpkdeUFuGa95uBe4I9z9vpO4BVHZaA/n6GUrFya ATM61gSzWezNwy2vOLcf4WKIfWgLR9BBDE9Z59oM5ApzawCvnyeX5x9QBTNwTNhgJNTu5DU2LZ6+2 /TkOAriouHQmURND/Pt7SQ0mW+JSi9ed1xgf3yiZu7eLeGG9tX6kGZG22ILxRLuuvrIODAt0Vw0nV JdVS8w+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv3p-00000000WU7-1Paz; Thu, 25 Jul 2024 09:46:57 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv32-00000000WDy-15px for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 09:46:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1721900762; x=1724492762; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OjGsfnkMfigVY2rFR4PTqE+kw96fhC6Bh4QLDVT7IyA=; b=eTYe/t3co+ECMkE2Z0oP+LbJyvHTm6z3MfntHny3XWdZ3rtokN9jq6oPrc8DlA7A MraFLjJCSBuadoRMZmO4Vn1BBogZ3DHXEFCDAZFZkXbdc9weVR0TPuRe+CYfz7Wd VBmCAgy1VovuWhK8WTgxEmsx5HEb7oWepYg8ABFzt7c=; X-AuditID: ac14000a-03251700000021bc-ee-66a21edaf421 Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id B3.CC.08636.ADE12A66; Thu, 25 Jul 2024 11:46:02 +0200 (CEST) Received: from llp-varakala.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Thu, 25 Jul 2024 11:46:01 +0200 From: Yashwanth Varakala To: , , , , , , CC: , , , , , Subject: [PATCH 1/3] arm64: dts: freescale: imx8mp-phycore: Add no-rtc overlay Date: Thu, 25 Jul 2024 11:44:55 +0200 Message-ID: <20240725094457.37739-2-y.varakala@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240725094457.37739-1-y.varakala@phytec.de> References: <20240725094457.37739-1-y.varakala@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42JZI8nAq3tLblGawe01nBZr9p5jsph/5Byr xcOr/hYz77WyWayaupPF4uWse2wWmx5fY7W4vGsOm8X/PTvYLf5u38Ri8WKLuEX3O3UHHo+d s+6ye2xa1cnmsXlJvceLzTMZPfq7W1g9+v8aeHzeJBfAHsVlk5Kak1mWWqRvl8CV8fHVW/aC 2XwVN9t3sjQwHuLpYuTkkBAwkZg0aSpzFyMXh5DAEiaJXY9nMoIkhASeMkocmCoMYrMJ6Eus WLeIFaRIRGAZo8S3090sIA6zwHZGiRMT3zGBVAkL+En8f70drJtFQFXi7q8WZhCbV8BS4k7j EhaIdfIS+w+eBYtzClhJXP/TxASxzVLiX8seNoh6QYmTM5+A1TMD1Tdvnc0MYUtIHHzxghmi XlHi/cMOdpiZ0869ZoawQyXmr/nOPoFRaBaSUbOQjJqFZNQCRuZVjEK5mcnZqUWZ2XoFGZUl qcl6KambGEHxJMLAtYOxb47HIUYmDsZDjBIczEoivMvuL0wT4k1JrKxKLcqPLyrNSS0+xCjN waIkzru6IzhVSCA9sSQ1OzW1ILUIJsvEwSnVwGg0P+nN8RA2hg+NMhklJs03Z11Yw7pz+17n evE6k21lakvfHV1xfqUVJ9tWTv3etVM7ed9lZz9pfNsSVrqgq+0cF/tJdh+GSBHOE19Vs5fL vq5Onh/cySytfGGjQljZ6dNPJh93+r2ytj1xu29n4HpVvjNnJkZvDN8SlV1+3IHhu8KLzUbi h5RYijMSDbWYi4oTAbehGduVAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_024608_756909_D1543C81 X-CRM114-Status: GOOD ( 13.84 ) 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 Add devicetree overlay to disable rtc for boards that are not supported. Signed-off-by: Yashwanth Varakala --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../boot/dts/freescale/imx8mp-phycore-no-rtc.dtso | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phycore-no-rtc.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index c1fca1fcedc5..8f41db93c3d9 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -175,7 +175,9 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-navqp.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phyboard-pollux-rdk-no-eth-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-eth.dtbo +imx8mp-phyboard-pollux-rdk-no-rtc-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-rtc.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-eth.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-rtc.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-hdmi.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-lt6.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-mi1010ait-1cp1.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-rtc.dtso b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-rtc.dtso new file mode 100644 index 000000000000..396ffd9951b8 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-rtc.dtso @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +&rv3028 { + status = "disabled"; +}; From patchwork Thu Jul 25 09:44:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yashwanth Varakala X-Patchwork-Id: 13741695 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 0A288C3DA49 for ; Thu, 25 Jul 2024 09:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=+wLYRV1AKZVC5p5qnvPDIcsR6gLt0rH7jkV8mtVA4c8=; b=wo3LrR79McZBYfQ1ihqNfD3CLa 6Mq48hPRKfIkr8c7pvYGDsCMBWnQQhs97G3TvRfpd7Z2km6+IQBY1b9yCRFTn7OpHKAutmhV9R2bW 61TmINMtvYiGtbwk4+dfvnAsbIYWeAPhrtlqYcxm7YbzrhOIGvMGLNXh7K32pHdFdThFtFlwEMgJx ug33qCURLqCIhHkVlZBEn7TWuPYO/IbldiiY6zvs6pDHCbkROODHLxX4GbC+fls5ON8htLSpb1Sa0 K8d4cC0BhjEHu2JKBxoiu1zrjgj++0gHgTFce2O/bHc+OhJTn/flNfWV5Pq/JJN/6XyCGx9ah4PmG dnnhvIJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv4B-00000000WcO-37o0; Thu, 25 Jul 2024 09:47:19 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv36-00000000WDx-04Jr for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 09:46:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1721900762; x=1724492762; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EWlCTrmr78RmYQSLYt3TEjJuFQwHsJj1/kxDPH9sF8E=; b=Gw/EF7mlG4jmHVogcoYKPq5v2WBNrC+6x5OuMkRbBDIZTqABLfGH4FoCeurP7GQR Y3JRuOauRGVnIwIW8s8MplhPkDVOoaUrdUe1bFJsLVRdfmHs2dpQ1rw188ExEUZl meu1REZiXdDX9oDUYpd6G/NqsXkBPTFGvond34zqjUo=; X-AuditID: ac14000a-03e52700000021bc-ef-66a21eda37a0 Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 45.CC.08636.ADE12A66; Thu, 25 Jul 2024 11:46:02 +0200 (CEST) Received: from llp-varakala.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Thu, 25 Jul 2024 11:46:02 +0200 From: Yashwanth Varakala To: , , , , , , CC: , , , , , Subject: [PATCH 2/3] arm64: boot: dts: freescale: Add no-spiflash overlay Date: Thu, 25 Jul 2024 11:44:56 +0200 Message-ID: <20240725094457.37739-3-y.varakala@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240725094457.37739-1-y.varakala@phytec.de> References: <20240725094457.37739-1-y.varakala@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmkeLIzCtJLcpLzFFi42JZI8nAq3tLblGaweq7whZr9p5jsph/5Byr xcOr/hYz77WyWayaupPF4uWse2wWmx5fY7W4vGsOm8X/PTvYLf5u38Ri8WKLuEX3O3UHHo+d s+6ye2xa1cnmsXlJvceLzTMZPfq7W1g9+v8aeHzeJBfAHsVlk5Kak1mWWqRvl8CVsendH9aC boGKGZ0PWBsYp/J1MXJySAiYSPw6c5Oli5GLQ0hgCZPEtfdvGSGcp4wSq25/ZgapYhPQl1ix bhErSEJEYBmjxLfT3WAtzALbGSVOTHzHBFIlLOAp8e3BYjCbRUBVouHrBXYQm1fAUmLR5JlM EPvkJfYfPAs2lVPASuL6nyawuBBQzb+WPWwQ9YISJ2c+YQGxmYHqm7fOZoawJSQOvnjBDFGv KPH+YQc7zMxp514zQ9ihEvPXfGefwCg0C8moWUhGzUIyagEj8ypGodzM5OzUosxsvYKMypLU ZL2U1E2MoIgSYeDawdg3x+MQIxMH4yFGCQ5mJRHeZfcXpgnxpiRWVqUW5ccXleakFh9ilOZg URLnXd0RnCokkJ5YkpqdmlqQWgSTZeLglGpgLL7rdt8jZfuhB4qyhhNTot7PfLNu/rGYy/vW ipT8mDylmqGy68CTsKV/1nssuaGW+VpzWYZkf+3i7IecM1M3nVp+ISvK8e9nq60hEo3Rjvu2 NvKHLI6/oJiYVjvF/Un1hRkmYRrfzk35OknH14pbhIVvR0idzkv+L9OjlbLcX138L2Gkkj4h SImlOCPRUIu5qDgRAD+odZ2WAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_024612_223742_85470D06 X-CRM114-Status: GOOD ( 14.37 ) 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 Add devicetree overlay to disable SPI NOR if the module does not supports or not equipped with SPI NOR flash. Signed-off-by: Yashwanth Varakala --- arch/arm64/boot/dts/freescale/Makefile | 2 ++ .../freescale/imx8mp-phycore-no-spiflash.dtso | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phycore-no-spiflash.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 8f41db93c3d9..dedea4b5c319 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -176,8 +176,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-navqp.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phyboard-pollux-rdk-no-eth-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-eth.dtbo imx8mp-phyboard-pollux-rdk-no-rtc-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-rtc.dtbo +imx8mp-phyboard-pollux-rdk-no-spiflash-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-spiflash.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-eth.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-rtc.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-spiflash.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-hdmi.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-lt6.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-mi1010ait-1cp1.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-spiflash.dtso b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-spiflash.dtso new file mode 100644 index 000000000000..95329282d559 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-no-spiflash.dtso @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +&flexspi { + status = "disabled"; +}; + +&som_flash { + status = "disabled"; +}; From patchwork Thu Jul 25 09:44:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yashwanth Varakala X-Patchwork-Id: 13741697 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 0B110C3DA5D for ; Thu, 25 Jul 2024 09:47: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:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=TtpjFaeUG8/c8Q0ZE+eB20/eRdme7Rx69tU8WTEhAIs=; b=nycXz21AKqydiC0rynfjPYyjt0 zRjfKzLnhMQswlAVdE5dG6Iwel+z4QIptAdvW88Oi0dd3tvMx1jTL8Ncw3fEH8NAdaJ/qLWNRP7sq nHO3i738eEa51ngr4YaDCPrKQRh6WwmGdAkjL0FIfKjw6YpH3ty5nkPv6c6QxWYw3PzyOiloY5oe5 owYRDNUzWkEJVDidCr9+koYhePIS9yRZFR3M9nmVSozVx8BO+XNqbRzTQ8p39Ej2etAev3run8Fnb nG0obskufHqmOLobHg+EnUh/RPixZEEBTzmJ/WQMtL2Bo7UX1rs+FnH+2iA0Ye2CjyYBgje5F8Qgg t3SArIfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv4Z-00000000Wm5-0wbT; Thu, 25 Jul 2024 09:47:43 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sWv36-00000000WDy-1u5K for linux-arm-kernel@lists.infradead.org; Thu, 25 Jul 2024 09:46:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1721900762; x=1724492762; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=knpkfnvnvwcrz9cZx6YcJrflh2oifIF3IzZO/sdQ7vI=; b=RXDyVU6N/Yiojvuln01aUvNBIfe20PWmzTIDp+2irDR1WqvCWZ59NT+SU512KucS RJQN2wunka0JxbyhzFAuQr/kbBO66x1EUEy3HQG3uXexzmyNS5QZv0MjjslmYCXN KgsEw3VwzZw9W+HDuIfLHSVFJLVTeJtdegp8AD2tbhY=; X-AuditID: ac14000a-03251700000021bc-f0-66a21edaf27f Received: from florix.phytec.de (Unknown_Domain [172.25.0.13]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 16.CC.08636.ADE12A66; Thu, 25 Jul 2024 11:46:02 +0200 (CEST) Received: from llp-varakala.phytec.de (172.25.0.11) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Thu, 25 Jul 2024 11:46:02 +0200 From: Yashwanth Varakala To: , , , , , , CC: , , , , , Subject: [PATCH 3/3] arm64: dts: Add phyBOARD-Pollux dts for rpmsg Date: Thu, 25 Jul 2024 11:44:57 +0200 Message-ID: <20240725094457.37739-4-y.varakala@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240725094457.37739-1-y.varakala@phytec.de> References: <20240725094457.37739-1-y.varakala@phytec.de> MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Florix.phytec.de (172.25.0.13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42JZI8nAq3tLblGawaV1ChZr9p5jsph/5Byr xcOr/hYz77WyWayaupPF4uWse2wWmx5fY7W4vGsOm8X/PTvYLf5u38Ri8WKLuEX3O3UHHo+d s+6ye2xa1cnmsXlJvceLzTMZPfq7W1g9+v8aeHzeJBfAHsVlk5Kak1mWWqRvl8CVseubU0Gv RMXJ3SeYGhh3i3QxcnJICJhI/J15nqWLkYtDSGAJk8TiA/vZIZynjBKrbn9mBqliE9CXWLFu EStIQkRgGaPEt9PdYC3MAtsZJU5MfMcEUiUs4CRxZ1oXO4jNIqAq0dz7EKybV8BSYt2qI6wQ ++Ql9h88CxbnFLCSuP6nCaxXCKjmX8seNoh6QYmTM5+wgNjMQPXNW2czQ9gSEgdfvGCGqFeU eP+wgx1m5rRzr5kh7FCJ+Wu+s09gFJqFZNQsJKNmIRm1gJF5FaNQbmZydmpRZrZeQUZlSWqy XkrqJkZQPIkwcO1g7JvjcYiRiYPxEKMEB7OSCO+y+wvThHhTEiurUovy44tKc1KLDzFKc7Ao ifOu7ghOFRJITyxJzU5NLUgtgskycXBKNTCGmTrdWiJfsSzj5N0u3bRfvFvdXBlS9mSf1T// s079ZdmCee4xZ6JSe3dPEe5tV45gyNu3aO+hKV4bIw++4b6VZrWedfbFSq/dSoaHW3T0Ew77 JHg9iD6xSOZ+ttP9spccfAkanXYa/HcNN5kITE/+l3H+h0tngaeTWOnX4EvLAjl32wS/W6bE UpyRaKjFXFScCABv7KTTlQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240725_024612_664534_99AF22B1 X-CRM114-Status: GOOD ( 14.57 ) 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 Adds a devicetree containing reserved memory regions used for intercore communication between A53 and M7 cores. Signed-off-by: Yashwanth Varakala --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../dts/freescale/imx8mp-phycore-rpmsg.dtso | 57 +++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phycore-rpmsg.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index dedea4b5c319..80cc87d50301 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -177,9 +177,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phyboard-pollux-rdk-no-eth-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-eth.dtbo imx8mp-phyboard-pollux-rdk-no-rtc-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-rtc.dtbo imx8mp-phyboard-pollux-rdk-no-spiflash-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-no-spiflash.dtbo +imx8mp-phyboard-pollux-rdk-rpmsg-dtbs += imx8mp-phyboard-pollux-rdk.dtb imx8mp-phycore-rpmsg.dtbo dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-eth.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-rtc.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-no-spiflash.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk-rpmsg.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-hdmi.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-lt6.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-mi1010ait-1cp1.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-rpmsg.dtso b/arch/arm64/boot/dts/freescale/imx8mp-phycore-rpmsg.dtso new file mode 100644 index 000000000000..a5694f3aecaa --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-rpmsg.dtso @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2024 PHYTEC Messtechnik GmbH + * Author: Dominik Haller + * Cem Tenruh + */ + +/dts-v1/; +/plugin/; + +#include + +&{/} { + imx8mp-cm7 { + compatible = "fsl,imx8mn-cm7"; + clocks = <&clk IMX8MP_CLK_M7_DIV>; + mboxes = <&mu 0 1 + &mu 1 1 + &mu 3 1>; + mbox-names = "tx", "rx", "rxdb"; + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, <&rsc_table>; + rsc-da = <0x55000000>; + status = "okay"; + }; + + reserved-memory { + ranges; + #address-cells = <2>; + #size-cells = <2>; + + m7_reserved: m7@0x80000000 { + no-map; + reg = <0 0x80000000 0 0x1000000>; + }; + + rsc_table: rsc_table@550ff000 { + no-map; + reg = <0 0x550ff000 0 0x1000>; + }; + + vdevbuffer: vdevbuffer@55400000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0 0x55400000 0 0x100000>; + }; + + vdev0vring0: vdev0vring0@55000000 { + no-map; + reg = <0 0x55000000 0 0x8000>; + }; + + vdev0vring1: vdev0vring1@55008000 { + no-map; + reg = <0 0x55008000 0 0x8000>; + }; + }; +};