diff mbox series

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

Message ID 1643036751-15957-1-git-send-email-quic_kathirav@quicinc.com (mailing list archive)
State Superseded
Headers show
Series [v3] arm64: dts: qcom: ipq8074: add the reserved-memory node | expand

Commit Message

Kathiravan Thirumoorthy Jan. 24, 2022, 3:05 p.m. UTC
4MB of memory is needed for TZ. So mark that region as reserved
appropriately.

Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
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 mbox series

Patch

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>;