[PATCH v3] arm64: dts: qcom: ipq8074: add the reserved-memory node

From: Kathiravan T
Date: Mon Jan 24 2022 - 10:06:07 EST


4MB of memory is needed for TZ. So mark that region as reserved
appropriately.

Signed-off-by: Kathiravan T <quic_kathirav@xxxxxxxxxxx>
---
Changes since v2:
* Rebased on top of v5.17-rc1
* Reworded the commit message and title
Changes since v1:
* Fixed the commit title

arch/arm64/boot/dts/qcom/ipq8074.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index e6cc261201ef..26ba7ce9222c 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -82,6 +82,17 @@
};
};

+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ memory@4ac00000 {
+ no-map;
+ reg = <0x0 0x4ac00000 0x0 0x00400000>;
+ };
+ };
+
soc: soc {
#address-cells = <0x1>;
#size-cells = <0x1>;
--
2.7.4