From 133de4ce4ef30df383df5d724e5d45063b9dd1dc Mon Sep 17 00:00:00 2001 From: Manoj Prabhu B Date: Fri, 24 Jul 2020 13:09:25 +0530 Subject: [PATCH] ARM: dts: msm: Add memshare for shima Memshare driver allocates and share the memory with the modem clients for their use. The device tree information for memshare driver on shima are added to specify client details. Change-Id: Ia252c3b353f2f30354f0a53489ecbc3fb2e3252b --- qcom/shima.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 9f55f95df385..26a043976cf9 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -576,6 +576,33 @@ compatible = "qcom,secure-buffer"; }; + qcom,memshare { + compatible = "qcom,memshare"; + + qcom,client_1 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x0>; + qcom,client-id = <0>; + qcom,allocate-boot-time; + label = "modem"; + }; + + qcom,client_2 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x0>; + qcom,client-id = <2>; + label = "modem"; + }; + + qcom,client_3 { + compatible = "qcom,memshare-peripheral"; + qcom,peripheral-size = <0x500000>; + qcom,client-id = <1>; + qcom,allocate-on-request; + label = "modem"; + }; + }; + qcom,msm-imem@146aa000 { compatible = "qcom,msm-imem"; reg = <0x146aa000 0x1000>;