diff options
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8916-512mb-ion.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916-512mb-ion.dtsi | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-512mb-ion.dtsi b/arch/arm64/boot/dts/qcom/msm8916-512mb-ion.dtsi new file mode 100644 index 00000000000..b988aed4bb2 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-512mb-ion.dtsi @@ -0,0 +1,57 @@ +/* Copyright (c) 2014, Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +&soc { + qcom,ion { + compatible = "qcom,msm-ion"; + #address-cells = <1>; + #size-cells = <0>; + + qcom,ion-heap@25 { + reg = <25>; + qcom,ion-heap-type = "SYSTEM"; + }; + + qcom,ion-heap@21 { + reg = <21>; + qcom,ion-heap-type = "SYSTEM_CONTIG"; + }; + + qcom,ion-heap@27 { /* QSEECOM HEAP */ + compatible = "qcom,msm-ion-reserve"; + reg = <27>; + memory-region = <&venus_qseecom_mem>; + qcom,ion-heap-type = "DMA"; + }; + + qcom,ion-heap@28 { /* AUDIO HEAP */ + compatible = "qcom,msm-ion-reserve"; + reg = <28>; + memory-region = <&audio_mem>; + qcom,ion-heap-type = "DMA"; + }; + + qcom,ion-heap@23 { /* OTHER PIL HEAP */ + compatible = "qcom,msm-ion-reserve"; + reg = <23>; + memory-region = <&peripheral_mem>; + qcom,ion-heap-type = "DMA"; + }; + + qcom,ion-heap@26 { /* MODEM HEAP */ + compatible = "qcom,msm-ion-reserve"; + reg = <26>; + memory-region = <&modem_adsp_mem>; + qcom,ion-heap-type = "DMA"; + }; + }; +}; |