]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq5424: Add smem and tcsr_mutex nodes
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Wed, 16 Oct 2024 15:15:28 +0000 (20:45 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 6 Nov 2024 00:44:40 +0000 (16:44 -0800)
The smem is necessary for the socinfo driver. Additionally
smem requires the tcsr_mutex node. Therefore add both the nodes.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20241016151528.2893599-4-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5424.dtsi

index 76af0d87e9a8f7fa6d5fca5b4beab02ca81669c6..5e219f9004123caa45e5e9e303662e3e92a56c57 100644 (file)
                        reg = <0x0 0x8a600000 0x0 0x200000>;
                        no-map;
                };
+
+               smem@8a800000 {
+                       compatible = "qcom,smem";
+                       reg = <0x0 0x8a800000 0x0 0x32000>;
+                       no-map;
+
+                       hwlocks = <&tcsr_mutex 3>;
+               };
        };
 
        soc@0 {
                        #interconnect-cells = <1>;
                };
 
+               tcsr_mutex: hwlock@1905000 {
+                       compatible = "qcom,tcsr-mutex";
+                       reg = <0 0x01905000 0 0x20000>;
+                       #hwlock-cells = <1>;
+               };
+
                qupv3: geniqup@1ac0000 {
                        compatible = "qcom,geni-se-qup";
                        reg = <0 0x01ac0000 0 0x2000>;