summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/freescale/imx8dx-mek.dts12
-rw-r--r--arch/arm64/boot/dts/freescale/imx8dxl-evk.dts10
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp.dtsi10
3 files changed, 28 insertions, 4 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8dx-mek.dts b/arch/arm64/boot/dts/freescale/imx8dx-mek.dts
index c257279496fc..807d8cdc9a41 100644
--- a/arch/arm64/boot/dts/freescale/imx8dx-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8dx-mek.dts
@@ -12,11 +12,19 @@
compatible = "fsl,imx8dx-mek", "fsl,imx8dx", "fsl,imx8qxp";
reserved-memory {
+/*
+ * Memory reserved for optee usage. Please do not use.
+ * This will be automaticky added to dtb if OP-TEE is installed.
+ * optee@96000000 {
+ * reg = <0 0x96000000 0 0x2000000>;
+ * no-map;
+ * };
+ */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x14000000>;
- alloc-ranges = <0 0x96000000 0 0x14000000>;
+ alloc-ranges = <0 0x98000000 0 0x14000000>;
linux,cma-default;
};
};
@@ -37,4 +45,4 @@
&imx8_gpu_ss {
reg = <0x80000000 0x40000000>, <0x0 0x08000000>;
reg-names = "phys_baseaddr", "contiguous_mem";
-}; \ No newline at end of file
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
index 20e6dd830c0f..7392b68346c0 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts
@@ -46,12 +46,20 @@
reg = <0 0x90400000 0 0x100000>;
};
+/*
+ * Memory reserved for optee usage. Please do not use.
+ * This will be automaticky added to dtb if OP-TEE is installed.
+ * optee@96000000 {
+ * reg = <0 0x96000000 0 0x2000000>;
+ * no-map;
+ * };
+ */
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x3c000000>;
- alloc-ranges = <0 0x96000000 0 0x3c000000>;
+ alloc-ranges = <0 0x98000000 0 0x3c000000>;
linux,cma-default;
};
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index f437eee5ba9d..31a5b74d5619 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -178,7 +178,15 @@
#address-cells = <2>;
#size-cells = <2>;
ranges;
-
+
+/*
+ * Memory reserved for optee usage. Please do not use.
+ * This will be automaticky added to dtb if OP-TEE is installed.
+ * optee@56000000 {
+ * reg = <0 0x56000000 0 0x2000000>;
+ * no-map;
+ * };
+ */
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";