Skip to content

Commit

Permalink
arm64: dts: msm8994-angler: fix the memory map
Browse files Browse the repository at this point in the history
[ Upstream commit 380cd3a ]

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 <petr.vorel@gmail.com>
Signed-off-by: Dominik Kobinski <dominikkobinski314@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221230194845.57780-1-dominikkobinski314@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Dominduchami authored and gregkh committed Feb 6, 2023
1 parent ea2be0c commit 1d34087
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
Expand Up @@ -8,9 +8,6 @@

#include "msm8994.dtsi"

/* Angler's firmware does not report where the memory is allocated */
/delete-node/ &cont_splash_mem;

/ {
model = "Huawei Nexus 6P";
compatible = "huawei,angler", "qcom,msm8994";
Expand All @@ -27,6 +24,22 @@
chosen {
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 {
Expand Down

0 comments on commit 1d34087

Please sign in to comment.