blob: 7d8318497c507a31c79574d5ee08fb262b5e4d24 [file] [log] [blame]
Sudarshan Rajagopalanc3e15fc2017-05-17 18:34:42 -07001/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
Patrick Dalye8290432016-10-14 22:26:14 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13&soc {
14 qcom,ion {
15 compatible = "qcom,msm-ion";
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 system_heap: qcom,ion-heap@25 {
20 reg = <25>;
21 qcom,ion-heap-type = "SYSTEM";
22 };
23
24 qcom,ion-heap@22 { /* ADSP HEAP */
25 reg = <22>;
26 memory-region = <&adsp_mem>;
27 qcom,ion-heap-type = "DMA";
28 };
29
30 qcom,ion-heap@27 { /* QSEECOM HEAP */
31 reg = <27>;
32 memory-region = <&qseecom_mem>;
33 qcom,ion-heap-type = "DMA";
34 };
35
Patrick Dalyc5fff412017-12-06 15:38:32 -080036 qcom,ion-heap@19 { /* QSEECOM TA HEAP */
37 reg = <19>;
38 memory-region = <&qseecom_ta_mem>;
39 qcom,ion-heap-type = "DMA";
40 };
41
Sudarshan Rajagopalanc3e15fc2017-05-17 18:34:42 -070042 qcom,ion-heap@13 { /* SECURE SPSS HEAP */
Patrick Dalye8290432016-10-14 22:26:14 -070043 reg = <13>;
Sudarshan Rajagopalanc3e15fc2017-05-17 18:34:42 -070044 memory-region = <&secure_sp_mem>;
45 qcom,ion-heap-type = "HYP_CMA";
Patrick Dalye8290432016-10-14 22:26:14 -070046 };
47
48 qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
49 reg = <10>;
50 memory-region = <&secure_display_memory>;
51 qcom,ion-heap-type = "HYP_CMA";
52 };
53
54 qcom,ion-heap@9 {
55 reg = <9>;
56 qcom,ion-heap-type = "SYSTEM_SECURE";
57 };
58 };
59};