blob: dfa22c1fa4ad04867e7ff30e38b22a0c58ca4bb6 [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
23 qcom,ion-heap@8 { /* CP_MM HEAP */
24 compatible = "qcom,msm-ion-reserve";
25 reg = <8>;
26 qcom,heap-align = <0x1000>;
Laura Abbott8d972ac2013-02-26 11:06:02 -080027 linux,contiguous-region = <&secure_mem>;
Olav Haugan49173442012-08-01 13:23:18 -070028 };
29
Olav Haugan49173442012-08-01 13:23:18 -070030 qcom,ion-heap@25 { /* IOMMU HEAP */
31 reg = <25>;
32 };
33
34 qcom,ion-heap@27 { /* QSECOM HEAP */
35 compatible = "qcom,msm-ion-reserve";
36 reg = <27>;
37 qcom,heap-align = <0x1000>;
38 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Hariprasad Dhalinarasimha2179bab82013-02-22 16:34:15 -080039 qcom,memory-reservation-size = <0x1100000>;
Olav Haugan49173442012-08-01 13:23:18 -070040 };
41
42 qcom,ion-heap@28 { /* AUDIO HEAP */
43 compatible = "qcom,msm-ion-reserve";
44 reg = <28>;
45 qcom,heap-align = <0x1000>;
46 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Harmandeep Singh6b9f54e2012-08-31 16:47:57 -070047 qcom,memory-reservation-size = <0x314000>;
Olav Haugan49173442012-08-01 13:23:18 -070048 };
49 };
50};