blob: 30c3209fc0dd71e1da6698833764b7050e4a0d62 [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
Krupal Divvela756ee0f2013-06-12 03:42:55 +053038 qcom,ion-heap@22 { /* adsp heap */
39 compatible = "qcom,msm-ion-reserve";
40 reg = <22>;
41 qcom,heap-align = <0x1000>;
42 linux,contiguous-region = <&adsp_mem>;
43 };
44
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070045 qcom,ion-heap@27 { /* QSECOM HEAP */
46 compatible = "qcom,msm-ion-reserve";
47 reg = <27>;
Laura Abbott429e82b2013-03-25 13:03:06 -070048 linux,contiguous-region = <&qsecom_mem>;
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070049 };
50
51 qcom,ion-heap@28 { /* AUDIO HEAP */
52 compatible = "qcom,msm-ion-reserve";
53 reg = <28>;
54 qcom,heap-align = <0x1000>;
55 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
56 qcom,memory-reservation-size = <0x314000>;
57 };
Neeti Desai183b33d2013-08-09 14:58:38 -070058
Neeti Desai3d0a98b2013-04-10 10:41:03 -070059 qcom,ion-heap@23 { /* OTHER PIL HEAP */
60 compatible = "qcom,msm-ion-reserve";
61 reg = <23>;
62 qcom,heap-align = <0x1000>;
Neeti Desai183b33d2013-08-09 14:58:38 -070063 qcom,memory-fixed = <0x0dc00000 0x1900000>;
Neeti Desai3d0a98b2013-04-10 10:41:03 -070064 };
65
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -070066 };
67};