diff --git a/qcom/lahaina-ion.dtsi b/qcom/lahaina-ion.dtsi new file mode 100644 index 00000000..a0ecefc3 --- /dev/null +++ b/qcom/lahaina-ion.dtsi @@ -0,0 +1,27 @@ +&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"; + }; + + qcom,ion-heap@14 { /* SECURE CARVEOUT HEAP */ + status = "disabled"; + reg = <14>; + qcom,ion-heap-type = "SECURE_CARVEOUT"; + cdsp { + memory-region = <&cdsp_secure_heap>; + token = <0x20000000>; + }; + }; + }; +}; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index cfaa0ece..ff489767 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -687,5 +687,6 @@ #include "lahaina-pinctrl.dtsi" #include "lahaina-smp2p.dtsi" +#include "lahaina-ion.dtsi" #include "msm-arm-smmu-lahaina.dtsi" #include "lahaina-usb.dtsi"