mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
ARM: dts: msm: Add ion support for SDMSHRIKE
Add ION support for SDMSHRIKE and reserved memory changes. Change-Id: I418bfa88f995e4ea48747346570c3f2668eb2199
This commit is contained in:
parent
056344fd56
commit
22227dd0aa
2 changed files with 56 additions and 0 deletions
55
qcom/sdmshrike-ion.dtsi
Normal file
55
qcom/sdmshrike-ion.dtsi
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
#include <dt-bindings/arm/msm/msm_ion_ids.h>
|
||||
|
||||
&soc {
|
||||
qcom,ion {
|
||||
compatible = "qcom,msm-ion";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
system_heap: qcom,ion-heap-sys {
|
||||
reg = <ION_SYSTEM_HEAP_ID>;
|
||||
qcom,ion-heap-type = "MSM_SYSTEM";
|
||||
};
|
||||
|
||||
qcom,ion-heap-adsp { /* ADSP HEAP */
|
||||
reg = <ION_ADSP_HEAP_ID>;
|
||||
memory-region = <&adsp_mem>;
|
||||
qcom,ion-heap-type = "DMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-user { /* USER CONTIG HEAP */
|
||||
reg = <ION_USER_CONTIG_HEAP_ID>;
|
||||
memory-region = <&user_contig_mem>;
|
||||
qcom,ion-heap-type = "DMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-qsee { /* QSEECOM HEAP */
|
||||
reg = <ION_QSECOM_HEAP_ID>;
|
||||
memory-region = <&qseecom_mem>;
|
||||
qcom,ion-heap-type = "DMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-qseeta { /* QSEECOM TA HEAP */
|
||||
reg = <ION_QSECOM_TA_HEAP_ID>;
|
||||
memory-region = <&qseecom_ta_mem>;
|
||||
qcom,ion-heap-type = "DMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-spss { /* SPSS HEAP */
|
||||
reg = <ION_SPSS_HEAP_ID>;
|
||||
memory-region = <&sp_mem>;
|
||||
qcom,ion-heap-type = "HYP_CMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-secdisp { /* SECURE DISPLAY HEAP */
|
||||
reg = <ION_SECURE_DISPLAY_HEAP_ID>;
|
||||
memory-region = <&secure_display_memory>;
|
||||
qcom,ion-heap-type = "HYP_CMA";
|
||||
};
|
||||
|
||||
qcom,ion-heap-syssecure {
|
||||
reg = <ION_SECURE_HEAP_ID>;
|
||||
qcom,ion-heap-type = "SYSTEM_SECURE";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -1434,6 +1434,7 @@
|
|||
#include "sa8195-gdsc.dtsi"
|
||||
#include "msm-arm-smmu-sdmshrike.dtsi"
|
||||
#include "sm8150-slpi-pinctrl.dtsi"
|
||||
#include "sdmshrike-ion.dtsi"
|
||||
|
||||
&emac_gdsc {
|
||||
status = "ok"
|
||||
|
|
|
|||
Loading…
Reference in a new issue