arm64: dts: freescale: imx8mp-var: Add Cortex-M7 support
Subsystems (2)
PATCH v2 1/1 arm64: dts: freescale: imx8mp-var: Add Cortex-M7 support
From: Stefano Radaelli <[email protected]>
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.
---v1->v2:
- Use common node names for memory regions
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
arch/arm64/boot/dts/freescale/Makefile +13 -0
@@ -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
arch/arm64/boot/dts/freescale/imx8mp-var-common-m7.dtsi new file +68 -0
68 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx8mp-var-dart-sonata-m7.dtso new file +31 -0
@@ -0,0 +1,31 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Cortex-M7 support for Variscite DART-MX8M-PLUS on Sonata-Board + * + * Link: https://variscite.com/carrier-boards/sonata-board/ + * + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/ + * + */ + +/dts-v1/; +/plugin/; + +#include "imx8mp-var-common-m7.dtsi" + +/* Reserve the peripherals used by the Cortex-M7 firmware. */ +&ecspi1 { + status = "reserved"; +}; + +&flexcan1 { + status = "reserved"; +}; + +&i2c3 { + status = "reserved"; +}; + +&uart3 { + status = "reserved"; +};
arch/arm64/boot/dts/freescale/imx8mp-var-smarc-echo-m7.dtso new file +36 -0
@@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Cortex-M7 support for Variscite VAR-SMARC-MX8M-PLUS on Echo-Board + * + * Link: https://variscite.com/carrier-boards/echo-board/ + * + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/ + * + */ + +/dts-v1/; +/plugin/; + +#include "imx8mp-var-common-m7.dtsi" + +/* Reserve the peripherals used by the Cortex-M7 firmware. */ +&ecspi2 { + status = "reserved"; +}; + +&flexcan1 { + status = "reserved"; +}; + +&i2c2 { + status = "reserved"; +}; + +&uart4 { + status = "reserved"; +}; + +/* The USB-C role controller is on I2C2. */ +&usb_dwc3_0 { + status = "disabled"; +};
arch/arm64/boot/dts/freescale/imx8mp-var-som-symphony-m7.dtso new file +36 -0
@@ -0,0 +1,36 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Cortex-M7 support for Variscite VAR-SOM-MX8M-PLUS on Symphony-Board + * + * Link: https://variscite.com/carrier-boards/symphony-board/ + * + * Copyright (C) 2026 Variscite Ltd. - https://www.variscite.com/ + * + */ + +/dts-v1/; +/plugin/; + +#include "imx8mp-var-common-m7.dtsi" + +/* Reserve the peripherals used by the Cortex-M7 firmware. */ +&ecspi2 { + status = "reserved"; +}; + +&flexcan2 { + status = "reserved"; +}; + +&i2c4 { + status = "reserved"; +}; + +/* The PCIe reset GPIO is provided by the expander on I2C4. */ +&pcie { + status = "disabled"; +}; + +&uart4 { + status = "reserved"; +};
Signature · 1 line
2.47.3
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 8 lines · Stefano Radaelli
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.
[...]
Applied, thanks!
[1/1] arm64: dts: freescale: imx8mp-var: Add Cortex-M7 support
commit: 155719b8c629e560c940e601db9af057fca7282f
Best regards,
Signature · 1 line
Frank Li <[email protected]>