From: Daniel Baluta <daniel.baluta@oss.nxp.com>
To: Stefano Radaelli <stefano.radaelli21@gmail.com>,
Frank Li <Frank.Li@nxp.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org
Cc: pierluigi.p@variscite.com,
Stefano Radaelli <stefano.r@variscite.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Subject: Re: [PATCH v2 1/1] arm64: dts: freescale: imx93-var: Add Cortex-M33 configurations
Date: Thu, 19 Nov 2026 11:18:45 +0200 [thread overview]
Message-ID: <be20af64-e729-4d1e-aba1-c8512ac6e775@oss.nxp.com> (raw)
In-Reply-To: <20261119090600.9257-1-stefano.r@variscite.com>
On 11/19/26 11:06, Stefano Radaelli wrote:
> From: Stefano Radaelli <stefano.r@variscite.com>
>
> Add Cortex-M33 overlays and combined DTBs for DART-MX93 on Sonata and
> VAR-SOM-MX93 on Symphony.
>
> Share the remoteproc and mailbox configuration through a common include.
> Reuse the reserved memory from each carrier DTS, preserving the different
> resource table addresses.
>
> Move the existing DART-MX93 remoteproc and MU1 configuration out of the
> module DTSI so that they are enabled only by the M33 overlay. Use the
> -m33 DTB when remoteproc support is needed.
>
> Reserve the peripherals used by the M33 firmware and disable Wi-Fi,
> Bluetooth and the devices depending on GPIO4. On Sonata, also disable USB
> OTG1 because its USB-C role controller is unavailable.
>
> Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
> ---
> Changes in v2:
> - Remove the cm33 and mu1 overrides from imx93-var-dart.dtsi,
> enabling them only through the M33 overlay.
>
> This patch uses the memory-region-names binding and driver support from
> the following commits, both already in linux-next:
>
> - ebb21cc5d1c0 ("dt-bindings: remoteproc: imx_rproc: Document
> memory-region-names to avoid implicit ABI")
> - 8396089f91fa ("remoteproc: imx_rpoc: Use memory-region-names to avoid
> implicit ABI")
>
> For dtbs_check on older trees, commit cebd1c0961d8 ("dt-bindings: gpio:
> vf610: fix clock requirements per SoC"), also in linux-next, fixes the
> pre-existing GPIO clock validation errors.
>
> arch/arm64/boot/dts/freescale/Makefile | 9 +++
> .../dts/freescale/imx93-var-common-m33.dtsi | 24 ++++++++
> .../freescale/imx93-var-dart-sonata-m33.dtso | 55 +++++++++++++++++++
> .../dts/freescale/imx93-var-dart-sonata.dts | 2 +-
> .../boot/dts/freescale/imx93-var-dart.dtsi | 14 -----
> .../freescale/imx93-var-som-symphony-m33.dtso | 50 +++++++++++++++++
> 6 files changed, 139 insertions(+), 15 deletions(-)
> create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-common-m33.dtsi
> create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-dart-sonata-m33.dtso
> create mode 100644 arch/arm64/boot/dts/freescale/imx93-var-som-symphony-m33.dtso
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index cfd548284358..05a7556e9de9 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -956,8 +956,17 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxca-lvds-tm070jvhg33.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla-lvds-tm070jvhg33.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla-mini-ezurio-wlan.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93-tqma9352-mba93xxla-mini-lvds-tm070jvhg33.dtb
> +
> +imx93-var-dart-sonata-m33-dtbs := imx93-var-dart-sonata.dtb imx93-var-dart-sonata-m33.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx93-var-dart-sonata.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx93-var-dart-sonata-m33.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx93-var-dart-sonata-m33.dtbo
> +
> +imx93-var-som-symphony-m33-dtbs := imx93-var-som-symphony.dtb imx93-var-som-symphony-m33.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony-m33.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx93-var-som-symphony-m33.dtbo
> +
> dtb-$(CONFIG_ARCH_MXC) += imx93w-evk.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx93w-frdm.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx943-evk.dtb
> diff --git a/arch/arm64/boot/dts/freescale/imx93-var-common-m33.dtsi b/arch/arm64/boot/dts/freescale/imx93-var-common-m33.dtsi
> new file mode 100644
> index 000000000000..51b4cfe143d4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-var-common-m33.dtsi
> @@ -0,0 +1,24 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Common Cortex-M33 configuration for Variscite i.MX93 modules
> + *
> + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/
> + *
> + */
> +
> +/* Use the reserved memory and resource table address from the carrier DTS. */
> +&cm33 {
> + mbox-names = "tx", "rx", "rxdb";
> + mboxes = <&mu1 0 1
> + &mu1 1 1
> + &mu1 3 1>;
> + memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>,
> + <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>;
> + memory-region-names = "vdev0buffer", "vdev0vring0", "vdev0vring1",
> + "vdev1vring0", "vdev1vring1", "rsc-table";
> + status = "okay";
> +};
> +
> +&mu1 {
> + status = "okay";
> +};
> diff --git a/arch/arm64/boot/dts/freescale/imx93-var-dart-sonata-m33.dtso b/arch/arm64/boot/dts/freescale/imx93-var-dart-sonata-m33.dtso
> new file mode 100644
> index 000000000000..d97da9916ef4
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx93-var-dart-sonata-m33.dtso
> @@ -0,0 +1,55 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Cortex-M33 support for Variscite DART-MX93 on Sonata-Board
> + *
> + * Link: https://variscite.com/carrier-boards/sonata-board/
> + *
> + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/
> + *
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +#include "imx93-var-common-m33.dtsi"
> +
> +/* Reserve the peripherals used by the Cortex-M33 firmware. */
Use "reserved" instead of "disabled" for all the nodes that need not to probe
on the Application processor because they are used by the M33 FW.
Also, instead of disable in the commit message I think it is better to say "reserve".
next prev parent reply other threads:[~2026-11-19 9:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 9:06 [PATCH v2 1/1] arm64: dts: freescale: imx93-var: Add Cortex-M33 configurations Stefano Radaelli
2026-11-19 9:18 ` Daniel Baluta [this message]
2026-11-19 9:28 ` Stefano Radaelli
2026-11-19 9:42 ` Daniel Baluta
2026-11-19 9:58 ` Stefano Radaelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be20af64-e729-4d1e-aba1-c8512ac6e775@oss.nxp.com \
--to=daniel.baluta@oss.nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pierluigi.p@variscite.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=stefano.r@variscite.com \
--cc=stefano.radaelli21@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox