Commit 380cd3a3 authored by Dominik Kobinski's avatar Dominik Kobinski Committed by Bjorn Andersson

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: default avatarPetr Vorel <petr.vorel@gmail.com>
Signed-off-by: default avatarDominik Kobinski <dominikkobinski314@gmail.com>
Reviewed-by: default avatarPetr Vorel <petr.vorel@gmail.com>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221230194845.57780-1-dominikkobinski314@gmail.com
parent 74b91a1b
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
#include "msm8994.dtsi" #include "msm8994.dtsi"
/* Angler's firmware does not report where the memory is allocated */
/delete-node/ &cont_splash_mem;
/ { / {
model = "Huawei Nexus 6P"; model = "Huawei Nexus 6P";
compatible = "huawei,angler", "qcom,msm8994"; compatible = "huawei,angler", "qcom,msm8994";
...@@ -28,6 +25,22 @@ aliases { ...@@ -28,6 +25,22 @@ aliases {
chosen { chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
tzapp_mem: tzapp@4800000 {
reg = <0 0x04800000 0 0x1900000>;
no-map;
};
removed_region: reserved@6300000 {
reg = <0 0x06300000 0 0xD00000>;
no-map;
};
};
}; };
&blsp1_uart2 { &blsp1_uart2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment