summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx8x_hmp_overlay.dts
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/colibri-imx8x_hmp_overlay.dts')
-rw-r--r--overlays/colibri-imx8x_hmp_overlay.dts67
1 files changed, 67 insertions, 0 deletions
diff --git a/overlays/colibri-imx8x_hmp_overlay.dts b/overlays/colibri-imx8x_hmp_overlay.dts
new file mode 100644
index 0000000..e7276fe
--- /dev/null
+++ b/overlays/colibri-imx8x_hmp_overlay.dts
@@ -0,0 +1,67 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2023 Toradex
+ */
+
+// Enable RPMSG for Colibri iMX8X
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,colibri-imx8x";
+};
+
+&{/} {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ rsctable: rsctable@900ff000 {
+ reg = <0 0x900ff000 0 0x1000>;
+ no-map;
+ };
+
+ vdev0vring0: vdev0vring0@90000000 {
+ reg = <0 0x90000000 0 0x8000>;
+ no-map;
+ };
+
+ vdev0vring1: vdev0vring1@90008000 {
+ reg = <0 0x90008000 0 0x8000>;
+ no-map;
+ };
+
+ vdev1vring0: vdev1vring0@90010000 {
+ reg = <0 0x90010000 0 0x8000>;
+ no-map;
+ };
+
+ vdev1vring1: vdev1vring1@90018000 {
+ reg = <0 0x90018000 0 0x8000>;
+ no-map;
+ };
+
+ vdevbuffer: vdevbuffer@90400000 {
+ compatible = "shared-dma-pool";
+ reg = <0 0x90400000 0 0x100000>;
+ no-map;
+ };
+ };
+
+ rpmsg {
+ compatible = "fsl,imx8qxp-rpmsg";
+ reg = <0 0x90000000 0 0x20000>;
+ mbox-names = "tx", "rx", "rxdb";
+ mboxes = <&lsio_mu5 0 1
+ &lsio_mu5 1 1
+ &lsio_mu5 3 1>;
+ memory-region = <&vdevbuffer>;
+ mub-partition = <3>;
+ vdev-nums = <2>;
+ };
+};