blob: dee64e538c92c9c17e5dbb1a946e2292d2d10df8 [file] [log] [blame]
Mitchel Humpheryse76078b2013-04-04 11:13:58 -07001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -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
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070013&soc {
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -070014 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 };
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070022
Mitchel Humpheryse76078b2013-04-04 11:13:58 -070023 qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */
24 reg = <21>;
25 };
26
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070027 qcom,ion-heap@8 { /* CP_MM HEAP */
28 compatible = "qcom,msm-ion-reserve";
29 reg = <8>;
30 qcom,heap-align = <0x1000>;
Laura Abbottf3196b22013-03-11 16:22:34 -070031 linux,contiguous-region = <&secure_mem>;
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070032 };
33
34 qcom,ion-heap@25 { /* IOMMU HEAP */
35 reg = <25>;
36 };
37
38 qcom,ion-heap@27 { /* QSECOM HEAP */
39 compatible = "qcom,msm-ion-reserve";
40 reg = <27>;
Laura Abbott429e82b2013-03-25 13:03:06 -070041 linux,contiguous-region = <&qsecom_mem>;
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070042 };
43
44 qcom,ion-heap@28 { /* AUDIO HEAP */
45 compatible = "qcom,msm-ion-reserve";
46 reg = <28>;
47 qcom,heap-align = <0x1000>;
48 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
49 qcom,memory-reservation-size = <0x314000>;
50 };
Neeti Desai3d0a98b2013-04-10 10:41:03 -070051 qcom,ion-heap@23 { /* OTHER PIL HEAP */
52 compatible = "qcom,msm-ion-reserve";
53 reg = <23>;
54 qcom,heap-align = <0x1000>;
55 qcom,memory-fixed = <0x06400000 0x2000000>;
56 };
57 qcom,ion-heap@26 { /* MODEM PIL HEAP */
58 compatible = "qcom,msm-ion-reserve";
59 reg = <26>;
60 qcom,heap-align = <0x1000>;
61 qcom,memory-fixed = <0x08400000 0x4E00000>;
62
63 };
64
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -070065 };
66};