arm64: dts: qcom: sm8350: Drop standalone smem node
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 19 Dec 2022 16:26:18 +0000 (17:26 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 11 Jan 2023 04:40:43 +0000 (22:40 -0600)
SM8350 is one of the last SoCs whose DTSI escaped the smem node
conversion. Use the newer memory-node binding instead of a memory *and*
smem node.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221219162618.873117-1-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 334ac22..5f10c15 100644 (file)
                        no-map;
                };
 
-               smem_mem: memory@80900000 {
+               smem@80900000 {
+                       compatible = "qcom,smem";
                        reg = <0x0 0x80900000 0x0 0x200000>;
+                       hwlocks = <&tcsr_mutex 3>;
                        no-map;
                };
 
                };
        };
 
-       smem: qcom,smem {
-               compatible = "qcom,smem";
-               memory-region = <&smem_mem>;
-               hwlocks = <&tcsr_mutex 3>;
-       };
-
        smp2p-adsp {
                compatible = "qcom,smp2p";
                qcom,smem = <443>, <429>;