Skip to contentSkip to conversation

arm64: dts: freescale: imx95-var: Add Cortex-M7 support

PATCH New Stefano Radaelli 1 participant 1 message Nov 23

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: freescale: imx95-var: Add Cortex-M7 support

From: Stefano Radaelli <[email protected]>

Add a Cortex-M7 configuration for DART-MX95 on Sonata.

Place the reserved memory, remoteproc and MU7 configuration in a common include so other carrier boards using Variscite i.MX95 modules can add M7 variants by reusing this configuration and providing their own peripheral assignments in a board overlay.

Add a Sonata overlay and a combined -m7 DTB for remoteproc and RPMsg support, enabling MU7 only in the M7 configuration.

Reserve eDMA1, eDMA2, FlexCAN1, LPI2C4, LPUART3 and LPUART8 for the remote firmware. Use PIO for the remaining active I2C, SPI and UART controllers, and disable SAI3 and its sound card because eDMA2 is unavailable to Linux.

---
This patch depends on both of the following commits, which are already present 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")

 arch/arm64/boot/dts/freescale/Makefile        |  5 ++
 .../dts/freescale/imx95-var-common-m7.dtsi    | 72 +++++++++++++++++++
 .../freescale/imx95-var-dart-sonata-m7.dtso   | 69 ++++++++++++++++++
 .../boot/dts/freescale/imx95-var-dart.dtsi    |  4 --
 4 files changed, 146 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm64/boot/dts/freescale/imx95-var-common-m7.dtsi
 create mode 100644 arch/arm64/boot/dts/freescale/imx95-var-dart-sonata-m7.dtso
arch/arm64/boot/dts/freescale/Makefile +5 -0
index 4b2081a3290b..aa78f02fdef7 100644
@@ -989,7 +989,12 @@ dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-smarc-dev-ser0-mcu.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-toradex-smarc-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-tqma9596la-mba95xxca.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-tqma9596sa-mb-smarc-2.dtb
+
+imx95-var-dart-sonata-m7-dtbs := imx95-var-dart-sonata.dtb imx95-var-dart-sonata-m7.dtbo
 dtb-$(CONFIG_ARCH_MXC) += imx95-var-dart-sonata.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx95-var-dart-sonata-m7.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx95-var-dart-sonata-m7.dtbo
+
 dtb-$(CONFIG_ARCH_MXC) += imx95-verdin-nonwifi-dahlia.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-verdin-nonwifi-dev.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx95-verdin-nonwifi-ivy.dtb
arch/arm64/boot/dts/freescale/imx95-var-common-m7.dtsi new file +72 -0

72 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx95-var-dart-sonata-m7.dtso new file +69 -0

69 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx95-var-dart.dtsi +0 -4
index 92ff09fe64a7..76145652b295 100644
@@ -173,10 +173,6 @@ bluetooth {
 	};
 };
 
-&mu7 {
-	status = "okay";
-};
-
 &netc_blk_ctrl {
 	status = "okay";
 };

base-commit: 21d2357d5c1ebd2bd7726717e95765d031b55546

Signature · 1 line
2.47.3