blob: 829dfcc12ccf0a59a811a8830f7abaff96002200 [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
Sudarshan Rajagopalanc3e15fc2017-05-17 18:34:42 -070036 qcom,ion-heap@13 { /* SECURE SPSS HEAP */
Patrick Dalye8290432016-10-14 22:26:14 -070037 reg = <13>;
Sudarshan Rajagopalanc3e15fc2017-05-17 18:34:42 -070038 memory-region = <&secure_sp_mem>;
39 qcom,ion-heap-type = "HYP_CMA";
Patrick Dalye8290432016-10-14 22:26:14 -070040 };
41
42 qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
43 reg = <10>;
44 memory-region = <&secure_display_memory>;
45 qcom,ion-heap-type = "HYP_CMA";
46 };
47
48 qcom,ion-heap@9 {
49 reg = <9>;
50 qcom,ion-heap-type = "SYSTEM_SECURE";
51 };
52 };
53};