arm64: dts: qcom: ipq9574: Add SMEM support
authorPoovendhan Selvaraj <quic_poovendh@quicinc.com>
Thu, 11 May 2023 07:58:14 +0000 (13:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 11 May 2023 16:49:48 +0000 (09:49 -0700)
Add the required nodes to support SMEM

Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230511075814.2370-3-quic_poovendh@quicinc.com
arch/arm64/boot/dts/qcom/ipq9574.dtsi

index 4d41c01..b65d948 100644 (file)
                        reg = <0x0 0x4a600000 0x0 0x400000>;
                        no-map;
                };
+
+               smem@4aa00000 {
+                       compatible = "qcom,smem";
+                       reg = <0x0 0x4aa00000 0x0 0x00100000>;
+                       hwlocks = <&tcsr_mutex 0>;
+                       no-map;
+               };
        };
 
        soc: soc@0 {
                        #power-domain-cells = <1>;
                };
 
+               tcsr_mutex: hwlock@1905000 {
+                       compatible = "qcom,tcsr-mutex";
+                       reg = <0x01905000 0x20000>;
+                       #hwlock-cells = <1>;
+               };
+
                tcsr: syscon@1937000 {
                        compatible = "qcom,tcsr-ipq9574", "syscon";
                        reg = <0x01937000 0x21000>;