From 55aba0a4a2145be1cf0131508d8d8d3a09c2df7b Mon Sep 17 00:00:00 2001 From: Vishwanath Raju K Date: Wed, 11 Nov 2020 14:15:14 +0530 Subject: [PATCH] ARM: dts: msm: Add ion heap for monaco Describe the memory region reserved for the ion allocator. Change-Id: I53ce5c36dc77909fdbd8e1b2b24bd7292e6ef728 --- qcom/monaco-ion.dtsi | 17 +++++++++++++++++ qcom/monaco.dtsi | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 qcom/monaco-ion.dtsi diff --git a/qcom/monaco-ion.dtsi b/qcom/monaco-ion.dtsi new file mode 100644 index 000000000000..a0a50ce4dbd2 --- /dev/null +++ b/qcom/monaco-ion.dtsi @@ -0,0 +1,17 @@ +&soc { + qcom,ion { + compatible = "qcom,msm-ion"; + #address-cells = <1>; + #size-cells = <0>; + + system_heap: qcom,ion-heap@25 { + reg = <25>; + qcom,ion-heap-type = "SYSTEM"; + }; + + system_secure_heap: qcom,ion-heap@9 { + reg = <9>; + qcom,ion-heap-type = "SYSTEM_SECURE"; + }; + }; +}; diff --git a/qcom/monaco.dtsi b/qcom/monaco.dtsi index 864b5e1ab4eb..cc7e290d0da2 100644 --- a/qcom/monaco.dtsi +++ b/qcom/monaco.dtsi @@ -474,3 +474,5 @@ }; #include "monaco-pinctrl.dtsi" +#include "monaco-ion.dtsi" +