arm/dt: ion: Add entry for memory hole and relocatable pil heaps
Add the address and size information of the memory corresponding to
the hole, which is to be removed by memblock-remove, in order to get
rid of dependancy with bootloader.
Add the entry for relocatable pil Heaps to be loaded using ion
framework.
Change-Id: Ic498a362958664f1f632bbec849414cce55886f7
Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
diff --git a/arch/arm/boot/dts/msm8974-ion.dtsi b/arch/arm/boot/dts/msm8974-ion.dtsi
index 9b5aaac..634ac43 100644
--- a/arch/arm/boot/dts/msm8974-ion.dtsi
+++ b/arch/arm/boot/dts/msm8974-ion.dtsi
@@ -45,6 +45,13 @@
qcom,memory-reservation-size = <0x2000>;
};
+ qcom,ion-heap@23 { /* PIL1 HEAP */
+ compatible = "qcom,msm-ion-reserve";
+ reg = <23>;
+ qcom,heap-align = <0x10000>;
+ qcom,memory-fixed = <0xd200000 0x2800000>;
+ };
+
qcom,ion-heap@24 { /* SF HEAP */
compatible = "qcom,msm-ion-reserve";
reg = <24>;
@@ -57,6 +64,13 @@
reg = <25>;
};
+ qcom,ion-heap@26 { /* PIL2 HEAP */
+ compatible = "qcom,msm-ion-reserve";
+ reg = <26>;
+ qcom,heap-align = <0x10000>;
+ qcom,memory-fixed = <0x8400000 0x4e00000>;
+ };
+
qcom,ion-heap@27 { /* QSECOM HEAP */
compatible = "qcom,msm-ion-reserve";
reg = <27>;
diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi
index 8d54585..e327d49 100644
--- a/arch/arm/boot/dts/msm8974.dtsi
+++ b/arch/arm/boot/dts/msm8974.dtsi
@@ -1094,7 +1094,10 @@
compatible = "qcom,msm-wdog-debug";
reg = <0xfc401000 0x1000>;
};
-
+ qcom,msm-mem-hole {
+ compatible = "qcom,msm-mem-hole";
+ qcom,memblock-remove = <0x8400000 0x7b00000>; /* Address and Size of Hole */
+ };
};
/include/ "msm-pm8x41-rpm-regulator.dtsi"