blob: 31afd9c0cd2f3ceb0d28721a559eac386a692da8 [file] [log] [blame]
Olav Haugand069af02013-02-05 13:10:51 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Olav Haugan49173442012-08-01 13:23:18 -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/ {
14 qcom,ion {
15 compatible = "qcom,msm-ion";
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 qcom,ion-heap@30 { /* SYSTEM HEAP */
20 reg = <30>;
21 };
22
Mitchel Humpherysb6a11882013-03-22 10:35:34 -070023 qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */
24 reg = <21>;
25 };
26
Olav Haugan49173442012-08-01 13:23:18 -070027 qcom,ion-heap@8 { /* CP_MM HEAP */
28 compatible = "qcom,msm-ion-reserve";
29 reg = <8>;
30 qcom,heap-align = <0x1000>;
Laura Abbott8d972ac2013-02-26 11:06:02 -080031 linux,contiguous-region = <&secure_mem>;
Olav Haugan49173442012-08-01 13:23:18 -070032 };
33
Laura Abbott7795dfa2013-03-05 10:47:44 -080034 qcom,ion-heap@22 { /* adsp heap */
35 compatible = "qcom,msm-ion-reserve";
36 reg = <22>;
37 qcom,heap-align = <0x1000>;
38 linux,contiguous-region = <&adsp_mem>;
39 };
40
Olav Haugan49173442012-08-01 13:23:18 -070041 qcom,ion-heap@25 { /* IOMMU HEAP */
42 reg = <25>;
43 };
44
45 qcom,ion-heap@27 { /* QSECOM HEAP */
46 compatible = "qcom,msm-ion-reserve";
47 reg = <27>;
48 qcom,heap-align = <0x1000>;
49 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Hariprasad Dhalinarasimha2179bab82013-02-22 16:34:15 -080050 qcom,memory-reservation-size = <0x1100000>;
Olav Haugan49173442012-08-01 13:23:18 -070051 };
52
53 qcom,ion-heap@28 { /* AUDIO HEAP */
54 compatible = "qcom,msm-ion-reserve";
55 reg = <28>;
56 qcom,heap-align = <0x1000>;
57 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Harmandeep Singh6b9f54e2012-08-31 16:47:57 -070058 qcom,memory-reservation-size = <0x314000>;
Olav Haugan49173442012-08-01 13:23:18 -070059 };
60 };
61};