diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2023-11-25 15:19:27 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-12-09 06:32:00 +0300 |
commit | 24187868e195202c67c38bcc3ae28f9c6a663fb4 (patch) | |
tree | 14de15dec94e90301e1b37bbb8ae217f0266e8bc /arch/arm64/boot/dts/qcom/msm8953.dtsi | |
parent | 9b07340c55a8e918f2667fb911e9b2edc428793c (diff) | |
download | linux-24187868e195202c67c38bcc3ae28f9c6a663fb4.tar.xz |
arm64: dts: qcom: msm8953: Set initial address for memory
The dtbs_check really doesn't like having memory without reg set.
The base address depends on the amount of RAM you have:
<= 2.00 GiB RAM: 0x80000000
= 3.00 GiB RAM: 0x40000000
= 3.75 GiB RAM: 0x10000000
(more does not fit into the 32-bit physical address space)
So, let's pick one of the values, 0x10000000 which is used on devices
with 3.75 GiB RAM. Since the bootloader will update it to what's present
on the device it doesn't matter too much.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231125-msm8953-misc-fixes-v2-1-df86655841d9@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8953.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 1a73bbbb43bc..ad2f8cf9c966 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -174,10 +174,10 @@ }; }; - memory { + memory@10000000 { device_type = "memory"; /* We expect the bootloader to fill in the reg */ - reg = <0 0 0 0>; + reg = <0 0x10000000 0 0>; }; pmu { |