2022-01-07 12:54:54

by Kathiravan Thirumoorthy

[permalink] [raw]
Subject: [PATCH v2] arm64: dts: 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 <[email protected]>
---
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 6c6a0f853669..b4d813c27230 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



2022-02-02 16:05:47

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH v2] arm64: dts: ipq8074: add the reserved-memory node

On Fri, 7 Jan 2022 18:24:38 +0530, Kathiravan T wrote:
> On IPQ8074, 4MB of memory is needed for TZ. So mark that region
> as reserved.
>
>

Applied, thanks!

[1/1] arm64: dts: ipq8074: add the reserved-memory node
commit: e4a4fdcf70854de2bd9bb774a0985aa9dafd2e1c

Best regards,
--
Bjorn Andersson <[email protected]>