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>;