]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: qcom: msm8960: correct memory base
authorDavid Heidelberg <david@ixit.cz>
Sat, 6 Jul 2024 22:00:30 +0000 (15:00 -0700)
committerBjorn Andersson <andersson@kernel.org>
Sat, 6 Jul 2024 22:04:13 +0000 (17:04 -0500)
DeviceTree validation requires a unit address on the memory node, adjust
the base to match [Ref] and use this as unit address.

The bootloader will update the information with the actual values during
boot.

Ref: https://github.com/msm8916-mainline/lk2nd/blob/main/target/msm8960/rules.mk

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20240706220041.241839-1-david@ixit.cz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

index a9c6d2dbb460a1e760e8bbbbe0f9cdac278c23b5..ebc43c5c6e5f756995a5d48bdee102b0b3c47106 100644 (file)
@@ -47,9 +47,9 @@
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
-               reg = <0x0 0x0>;
+               reg = <0x80000000 0>;
        };
 
        cpu-pmu {