blob: 1893ae40dbb58c88ab5a87e4ab0975f6fef4b153 [file] [log] [blame]
Olav Haugan49173442012-08-01 13:23:18 -07001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
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
23 qcom,ion-heap@8 { /* CP_MM HEAP */
24 compatible = "qcom,msm-ion-reserve";
25 reg = <8>;
26 qcom,heap-align = <0x1000>;
27 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
28 qcom,memory-reservation-size = <0x7800000>;
29 };
30
31 qcom,ion-heap@29 { /* FIRMWARE HEAP */
32 compatible = "qcom,msm-ion-reserve";
33 reg = <29>;
34 qcom,heap-align = <0x20000>;
35 qcom,heap-adjacent = <8>;
36 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
37 qcom,memory-reservation-size = <0xA00000>;
38 };
39
40 qcom,ion-heap@12 { /* MFC HEAP */
41 compatible = "qcom,msm-ion-reserve";
42 reg = <12>;
43 qcom,heap-align = <0x1000>;
44 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
45 qcom,memory-reservation-size = <0x2000>;
46 };
47
48 qcom,ion-heap@24 { /* SF HEAP */
49 compatible = "qcom,msm-ion-reserve";
50 reg = <24>;
51 qcom,heap-align = <0x1000>;
52 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
53 qcom,memory-reservation-size = <0x2800000>;
54 };
55
56 qcom,ion-heap@25 { /* IOMMU HEAP */
57 reg = <25>;
58 };
59
60 qcom,ion-heap@27 { /* QSECOM HEAP */
61 compatible = "qcom,msm-ion-reserve";
62 reg = <27>;
63 qcom,heap-align = <0x1000>;
64 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
65 qcom,memory-reservation-size = <0x600000>;
66 };
67
68 qcom,ion-heap@28 { /* AUDIO HEAP */
69 compatible = "qcom,msm-ion-reserve";
70 reg = <28>;
71 qcom,heap-align = <0x1000>;
72 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
73 qcom,memory-reservation-size = <0x2B4000>;
74 };
75 };
76};