arm64: dts: qcom: sdm630: don't use empty memory node
authorVinod Koul <vkoul@kernel.org>
Mon, 8 Mar 2021 06:08:22 +0000 (11:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 5 Aug 2021 15:27:33 +0000 (10:27 -0500)
We expect bootloader to full memory details but passing empty values
can give warning, so add a default value

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210308060826.3074234-15-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm630.dtsi

index c77d4e4305d62bea0d74b8252d0d49abf40d68b4..e3772fefe03f0defd46b11ee5772007a3dfcd4c5 100644 (file)
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0x0 0x80000000 0x0 0x0>;
        };
 
        pmu {