summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorBai Ping <ping.bai@nxp.com>2017-12-05 10:04:50 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:29:38 +0800
commita4d696e2a17e503e69b4d0272b76fc669a951f8e (patch)
tree2961d48d97e7bbf2905381e3e2add49cef09383f /arch/arm/boot
parentd9bf1eef6a6353c31e61e58c8e7f517ac34c95f8 (diff)
MLK-17082-02 ARM: dts: imx: Add dedicated dts for optee support on imx6sl/sll
Add dedicated dts file to support optee on imx6sl/sll. The OCRAM is resized to make sure the OCRAM space used by TEE side is not visiable to no-secure linux kernel side. Signed-off-by: Bai Ping <ping.bai@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/Makefile2
-rw-r--r--arch/arm/boot/dts/imx6sl-evk-optee.dts13
-rw-r--r--arch/arm/boot/dts/imx6sll-evk-optee.dts13
3 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index c6e0bd57891a..5fbae2e9ade8 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -509,6 +509,7 @@ dtb-$(CONFIG_SOC_IMX6SL) += \
imx6sl-evk-ldo.dtb \
imx6sl-evk-csi.dtb \
imx6sl-evk-uart.dtb \
+ imx6sl-evk-optee.dtb \
imx6sl-warp.dtb
dtb-$(CONFIG_SOC_IMX6SX) += \
imx6sx-nitrogen6sx.dtb \
@@ -611,6 +612,7 @@ dtb-$(CONFIG_SOC_IMX6SLL) += \
imx6sll-lpddr3-arm2-spdif.dtb \
imx6sll-evk.dtb \
imx6sll-evk-reva.dtb \
+ imx6sll-evk-optee.dtb \
imx6sll-evk-btwifi.dtb
dtb-$(CONFIG_SOC_IMX7D) += \
imx7d-cl-som-imx7.dtb \
diff --git a/arch/arm/boot/dts/imx6sl-evk-optee.dts b/arch/arm/boot/dts/imx6sl-evk-optee.dts
new file mode 100644
index 000000000000..10a57b8ae859
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sl-evk-optee.dts
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2017 NXP.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sl-evk.dts"
+
+&ocram {
+ reg = <0x00905000 0x13000>;
+};
diff --git a/arch/arm/boot/dts/imx6sll-evk-optee.dts b/arch/arm/boot/dts/imx6sll-evk-optee.dts
new file mode 100644
index 000000000000..c71a89b93cbe
--- /dev/null
+++ b/arch/arm/boot/dts/imx6sll-evk-optee.dts
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2017 NXP.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sll-evk.dts"
+
+&ocram {
+ reg = <0x00905000 0x13000>;
+};