blob: b1f39d1a5e6871680bc7b087ea1970c46be012fe [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
Laura Abbott7795dfa2013-03-05 10:47:44 -080030 qcom,ion-heap@22 { /* adsp heap */
31 compatible = "qcom,msm-ion-reserve";
32 reg = <22>;
33 qcom,heap-align = <0x1000>;
34 linux,contiguous-region = <&adsp_mem>;
35 };
36
Olav Haugan49173442012-08-01 13:23:18 -070037 qcom,ion-heap@25 { /* IOMMU HEAP */
38 reg = <25>;
39 };
40
41 qcom,ion-heap@27 { /* QSECOM HEAP */
42 compatible = "qcom,msm-ion-reserve";
43 reg = <27>;
44 qcom,heap-align = <0x1000>;
45 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Hariprasad Dhalinarasimha2179bab82013-02-22 16:34:15 -080046 qcom,memory-reservation-size = <0x1100000>;
Olav Haugan49173442012-08-01 13:23:18 -070047 };
48
49 qcom,ion-heap@28 { /* AUDIO HEAP */
50 compatible = "qcom,msm-ion-reserve";
51 reg = <28>;
52 qcom,heap-align = <0x1000>;
53 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
Harmandeep Singh6b9f54e2012-08-31 16:47:57 -070054 qcom,memory-reservation-size = <0x314000>;
Olav Haugan49173442012-08-01 13:23:18 -070055 };
56 };
57};