From 263d3731ee2e178b9079c75b29c749259a3c573f Mon Sep 17 00:00:00 2001 From: Pranav Mahesh Phansalkar Date: Mon, 13 May 2024 10:03:06 +0530 Subject: [PATCH] ARM: dts: msm: Add smem nodes for tuna Add smem nodes for tuna SoC. Change-Id: If87321e31c1ddddef4370657029dc82e0778a021 Signed-off-by: Pranav Mahesh Phansalkar --- qcom/tuna-reserved-memory.dtsi | 4 +++- qcom/tuna.dtsi | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/qcom/tuna-reserved-memory.dtsi b/qcom/tuna-reserved-memory.dtsi index 8c9df41b..b990fbcb 100644 --- a/qcom/tuna-reserved-memory.dtsi +++ b/qcom/tuna-reserved-memory.dtsi @@ -66,8 +66,10 @@ }; smem_mem: smem_region@81d00000 { - no-map; + compatible = "qcom,smem"; reg = <0x0 0x81d00000 0x0 0x200000>; + hwlocks = <&tcsr_mutex 3>; + no-map; }; pdp_ns_shared_mem: pdp_ns_shared_region@81f00000 { diff --git a/qcom/tuna.dtsi b/qcom/tuna.dtsi index 59675080..eaaff929 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -473,6 +473,17 @@ wakeup-parent = <&pdc>; }; + tcsr_mutex_block: syscon@1f40000 { + compatible = "syscon"; + reg = <0x1f40000 0x20000>; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_block 0 0x1000>; + #hwlock-cells = <1>; + }; + ipcc_mproc: qcom,ipcc@406000 { compatible = "qcom,ipcc"; reg = <0x406000 0x1000>;