blob: 3fd122901f914337695d5a46c31c43593c16217b [file] [log] [blame]
Zhen Kong0ebe1bc32018-01-02 14:53:51 -08001/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +05302 *
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
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +053024 qcom,ion-heap@27 { /* QSEECOM HEAP */
25 reg = <27>;
26 memory-region = <&qseecom_mem>;
27 qcom,ion-heap-type = "DMA";
28 };
29
Zhen Kong0ebe1bc32018-01-02 14:53:51 -080030 qcom,ion-heap@19 { /* QSEECOM TA HEAP */
31 reg = <19>;
32 memory-region = <&qseecom_ta_mem>;
33 qcom,ion-heap-type = "DMA";
34 };
35
Vijayanand Jittaa1ee7862017-06-07 12:06:39 +053036 qcom,ion-heap@13 { /* SPSS HEAP */
37 reg = <13>;
38 memory-region = <&sp_mem>;
39 qcom,ion-heap-type = "DMA";
40 };
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};