Skip to content

Commit 380cd3a

Browse files
Dominduchamiandersson
authored andcommitted
arm64: dts: msm8994-angler: fix the memory map
Add reserved regions for memory hole and tz app mem to prevent rebooting. Also enable cont_splash_mem, it is the same as the generic 8994 one. Reported-by: Petr Vorel <[email protected]> Signed-off-by: Dominik Kobinski <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 74b91a1 commit 380cd3a

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
#include "msm8994.dtsi"
1111

12-
/* Angler's firmware does not report where the memory is allocated */
13-
/delete-node/ &cont_splash_mem;
14-
1512
/ {
1613
model = "Huawei Nexus 6P";
1714
compatible = "huawei,angler", "qcom,msm8994";
@@ -28,6 +25,22 @@
2825
chosen {
2926
stdout-path = "serial0:115200n8";
3027
};
28+
29+
reserved-memory {
30+
#address-cells = <2>;
31+
#size-cells = <2>;
32+
ranges;
33+
34+
tzapp_mem: tzapp@4800000 {
35+
reg = <0 0x04800000 0 0x1900000>;
36+
no-map;
37+
};
38+
39+
removed_region: reserved@6300000 {
40+
reg = <0 0x06300000 0 0xD00000>;
41+
no-map;
42+
};
43+
};
3144
};
3245

3346
&blsp1_uart2 {

0 commit comments

Comments
 (0)