aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch')
-rw-r--r--target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch b/target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch
new file mode 100644
index 0000000000..6b0db7092d
--- /dev/null
+++ b/target/linux/ipq807x/patches-5.15/0009-v5.18-arm64-dts-qcom-ipq8074-add-the-reserved-memory-node.patch
@@ -0,0 +1,30 @@
+From 0f1cdeea7f237de21f244c06f2c102f93dbd9c4e Mon Sep 17 00:00:00 2001
+From: Kathiravan T <quic_kathirav@quicinc.com>
+Date: Fri, 7 Jan 2022 18:24:38 +0530
+Subject: [PATCH] arm64: dts: qcom: ipq8074: add the reserved-memory node
+
+On IPQ8074, 4MB of memory is needed for TZ. So mark that region
+as reserved.
+
+Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
+[bjorn: Squash with existing reserved-memory node]
+Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
+Link: https://lore.kernel.org/r/1641560078-860-1-git-send-email-quic_kathirav@quicinc.com
+---
+ arch/arm64/boot/dts/qcom/ipq8074.dtsi | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
++++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+@@ -88,6 +88,11 @@
+
+ hwlocks = <&tcsr_mutex 0>;
+ };
++
++ memory@4ac00000 {
++ no-map;
++ reg = <0x0 0x4ac00000 0x0 0x00400000>;
++ };
+ };
+
+ firmware {