From: Antony Kurniawan Soemardi <[email protected]> Enable shared memory communication and add the SFPB mutex for MSM8960. These provide the foundation for inter-processor communication with the Riva (BT + Wi-Fi) subsystem.
Tested-by: Rudraksha Gupta <[email protected]> Signed-off-by: Antony Kurniawan Soemardi <[email protected]> --- arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi index bc3fd55e524a..218cf3158dfb 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi @@ -91,6 +91,24 @@ memory@80000000 { reg = <0x80000000 0>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + smem_region: smem@80000000 { + reg = <0x80000000 0x200000>; + no-map; + }; + }; + + smem { + compatible = "qcom,smem"; + memory-region = <&smem_region>; + + hwlocks = <&sfpb_mutex 3>; + }; + soc: soc { compatible = "simple-bus"; ranges; @@ -340,6 +358,12 @@ tsens: thermal-sensor { }; }; + sfpb_mutex: hwmutex@1200600 { + compatible = "qcom,sfpb-mutex"; + reg = <0x01200600 0x100>; + #hwlock-cells = <1>; + }; + intc: interrupt-controller@2000000 { compatible = "qcom,msm-qgic2"; reg = <0x02000000 0x1000>, -- 2.34.1

