arm64: dts: msm8996: Add rmtfs sharedmem node
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 13 Feb 2018 01:37:24 +0000 (17:37 -0800)
committerAndy Gross <andy.gross@linaro.org>
Fri, 9 Mar 2018 00:35:24 +0000 (18:35 -0600)
A 2MB shared memory region is used on MSM8996 for exchanging sector data
in rmtfs. Add this chunk of reserved memory now that we have the
rmtfs-mem compatible to describe it and its memory protection
properties.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 07bd89978117506edfe0d93d4bb014ff50a04e1f..6cf31fe8c2203b2f74c725e70628d0af39afd791 100644 (file)
                        reg = <0x0 0x86200000 0x0 0x2600000>;
                        no-map;
                };
+
+               rmtfs@86700000 {
+                       compatible = "qcom,rmtfs-mem";
+
+                       size = <0x0 0x200000>;
+                       alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
+                       no-map;
+
+                       qcom,client-id = <1>;
+                       qcom,vmid = <15>;
+               };
        };
 
        cpus {