diff mbox series

ARM: dts: qcom: msm8960: correct memory base

Message ID 20240706220041.241839-1-david@ixit.cz (mailing list archive)
State Accepted
Headers show
Series ARM: dts: qcom: msm8960: correct memory base | expand

Commit Message

David Heidelberg July 6, 2024, 10 p.m. UTC
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>
---
 arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bjorn Andersson July 6, 2024, 10:05 p.m. UTC | #1
On Sat, 06 Jul 2024 15:00:30 -0700, David Heidelberg wrote:
> 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
> 
> [...]

Applied, thanks!

[1/1] ARM: dts: qcom: msm8960: correct memory base
      commit: c1842643a3df6004d1bc9df74e34d8b72997d886

Best regards,
diff mbox series

Patch

diff --git ./arch/arm/boot/dts/qcom/qcom-msm8960.dtsi ./arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
index a9c6d2dbb460..ebc43c5c6e5f 100644
--- ./arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
+++ ./arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
@@ -47,9 +47,9 @@  L2: l2-cache {
 		};
 	};
 
-	memory {
+	memory@80000000 {
 		device_type = "memory";
-		reg = <0x0 0x0>;
+		reg = <0x80000000 0>;
 	};
 
 	cpu-pmu {