From: Frank Li <Frank.li@oss.nxp.com>
To: Stefano Radaelli <stefano.radaelli21@gmail.com>
Cc: 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,
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 v1 1/1] arm64: dts: freescale: imx8mp-var: Add Cortex-M7 support
Date: Fri, 20 Nov 2026 11:07:59 -0600 [thread overview]
Message-ID: <awB-b1P9sX1FwNeT@SMW015318> (raw)
In-Reply-To: <20261120143241.17297-1-stefano.r@variscite.com>
On Fri, Nov 20, 2026 at 03:32:41PM +0100, Stefano Radaelli wrote:
> From: Stefano Radaelli <stefano.r@variscite.com>
>
> Add Cortex-M7 configurations for DART-MX8M-PLUS on Sonata,
> VAR-SOM-MX8M-PLUS on Symphony and VAR-SMARC-MX8M-PLUS on Echo.
>
> Share the reserved memory and remoteproc configuration through a common
> include, and add board overlays and combined -m7 DTBs for remoteproc and
> RPMsg support.
>
> Mark the UART, I2C, SPI and CAN controllers used by the Cortex-M7 firmware
> with "reserved" status. Disable PCIe on Symphony and USB-C on Echo,
> since their reset and role controllers depend on the I2C buses reserved
> for the M7.
>
> Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
> ---
> arch/arm64/boot/dts/freescale/Makefile | 13 ++++
> .../dts/freescale/imx8mp-var-common-m7.dtsi | 68 +++++++++++++++++++
> .../freescale/imx8mp-var-dart-sonata-m7.dtso | 31 +++++++++
> .../freescale/imx8mp-var-smarc-echo-m7.dtso | 36 ++++++++++
> .../freescale/imx8mp-var-som-symphony-m7.dtso | 36 ++++++++++
> 5 files changed, 184 insertions(+)
> create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-var-common-m7.dtsi
> create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-var-dart-sonata-m7.dtso
> create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-var-smarc-echo-m7.dtso
> create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony-m7.dtso
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index ae28e6b02a5c..3745688a5b4a 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -723,9 +723,22 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-tx8p-ml81-moduline-display-106-av101hdt-a10.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-tx8p-ml81-moduline-display-106-av123z7m-n17.dtb
>
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-ultra-mach-sbc.dtb
> +
> +imx8mp-var-dart-sonata-m7-dtbs := imx8mp-var-dart-sonata.dtb imx8mp-var-dart-sonata-m7.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-dart-sonata.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-dart-sonata-m7.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-dart-sonata-m7.dtbo
> +
> +imx8mp-var-smarc-echo-m7-dtbs := imx8mp-var-smarc-echo.dtb imx8mp-var-smarc-echo-m7.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-smarc-echo.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-smarc-echo-m7.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-smarc-echo-m7.dtbo
> +
> +imx8mp-var-som-symphony-m7-dtbs := imx8mp-var-som-symphony.dtb imx8mp-var-som-symphony-m7.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-som-symphony.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-som-symphony-m7.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx8mp-var-som-symphony-m7.dtbo
> +
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw71xx-2x.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw72xx-2x.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx8mp-venice-gw73xx-2x.dtb
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-var-common-m7.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-var-common-m7.dtsi
> new file mode 100644
> index 000000000000..9d554a175fbf
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-var-common-m7.dtsi
> @@ -0,0 +1,68 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Common Cortex-M7 configuration for Variscite i.MX8M Plus modules
> + *
> + * Link: https://www.variscite.com/
> + *
> + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/
> + *
> + */
> +
> +#include <dt-bindings/clock/imx8mp-clock.h>
> +
> +&{/} {
> + #address-cells = <2>;
> + #size-cells = <2>;
> +
> + reserved-memory {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + vdev0vring0: vdev0vring0@40000000 {
> + reg = <0 0x40000000 0 0x8000>;
> + no-map;
> + };
> +
> + vdev0vring1: vdev0vring1@40008000 {
> + reg = <0 0x40008000 0 0x8000>;
> + no-map;
> + };
> +
> + rsc_table: rsc-table@400ff000 {
> + reg = <0 0x400ff000 0 0x1000>;
> + no-map;
> + };
> +
> + vdev0buffer: vdev0buffer@40400000 {
> + compatible = "shared-dma-pool";
> + reg = <0 0x40400000 0 0x100000>;
> + no-map;
> + };
> +
> + /*
> + * Keep this region aligned with the Cortex-M7 DDR region in the
> + * boot firmware's RDC configuration.
> + *
> + * RDC DDR addresses are encoded as:
> + * (physical address - 0x40000000) >> 1.
> + */
> + m7_reserved: m7@7b000000 {
> + reg = <0 0x7b000000 0 0x1000000>;
> + no-map;
> + };
because we already use memory-region-names, node name can use common node name
memory@...
Frank
prev parent reply other threads:[~2026-11-20 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 14:32 [PATCH v1 1/1] arm64: dts: freescale: imx8mp-var: Add Cortex-M7 support Stefano Radaelli
2026-11-20 17:07 ` Frank Li [this message]
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=awB-b1P9sX1FwNeT@SMW015318 \
--to=frank.li@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.