From 23a03965875cb9989241e6de8feb6861aa3ba045 Mon Sep 17 00:00:00 2001 From: Faiyaz Mohammed Date: Tue, 1 Sep 2020 10:19:20 +0530 Subject: [PATCH] ARM: dts: msm: Add the offlineable memory sizes for Shima Add the device-tree node for the mem-offline driver to convey the sizes of the offlineable memory. Change-Id: If70f8bb53c238410f7d9ad307d7e42d78bcb6ec5 --- qcom/shima.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 4af7105c1cbf..acae77e45002 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -33,6 +33,15 @@ #size-cells = <2>; memory { device_type = "memory"; reg = <0 0 0 0>; }; + mem-offline { + compatible = "qcom,mem-offline"; + offline-sizes = <0x1 0x40000000 0x0 0x40000000>, + <0x1 0xc0000000 0x0 0x80000000>, + <0x2 0xc0000000 0x1 0x40000000>; + granule = <512>; + mboxes = <&qmp_aop 0>; + }; + aliases { ufshc1 = &ufshc_mem; /* Embedded UFS Slot */ sdhc1 = &sdhc_1; /*SDC1 eMMC slot*/