ARM: dts: qcom: msm8974: Add @0 to memory node name

Add the @0 from reg to the node name, so that both dtc warning and dt
validation failure get resolved.

  arch/arm/boot/dts/qcom/qcom-msm8974.dtsi:106.9-109.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

  [..]/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dtb: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0]]}
          from schema $id: http://devicetree.org/schemas/root-node.yaml#

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240318-msm8974-misc2-v1-1-f71668a2b8cd@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Luca Weiss 2024-03-18 10:24:41 +01:00 committed by Bjorn Andersson
parent 8d91a5a4a6
commit cad23ffd46

View File

@ -103,7 +103,7 @@ scm {
};
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0>;
};