blob: 443334e4d58943d742ea6166b76c3da9f53573df [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
Mitchel Humpherys355a5912013-10-04 14:01:55 -070019 qcom,ion-heap@25 {
20 reg = <25>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070021 qcom,ion-heap-type = "SYSTEM";
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -070022 };
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070023
Mitchel Humpherys5348d142013-06-14 17:37:23 -070024 qcom,ion-heap@21 {
Mitchel Humpheryse76078b2013-04-04 11:13:58 -070025 reg = <21>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070026 qcom,ion-heap-type = "SYSTEM_CONTIG";
Mitchel Humpheryse76078b2013-04-04 11:13:58 -070027 };
28
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070029 qcom,ion-heap@8 { /* CP_MM HEAP */
30 compatible = "qcom,msm-ion-reserve";
31 reg = <8>;
32 qcom,heap-align = <0x1000>;
Laura Abbottf3196b22013-03-11 16:22:34 -070033 linux,contiguous-region = <&secure_mem>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070034 qcom,ion-heap-type = "SECURE_DMA";
Laura Abbott7772e022013-10-01 18:39:26 -070035 qcom,default-prefetch-size = <0x3c00000>;
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070036 };
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>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070043 qcom,ion-heap-type = "DMA";
Krupal Divvela756ee0f2013-06-12 03:42:55 +053044 };
45
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070046 qcom,ion-heap@27 { /* QSECOM HEAP */
47 compatible = "qcom,msm-ion-reserve";
48 reg = <27>;
Laura Abbott429e82b2013-03-25 13:03:06 -070049 linux,contiguous-region = <&qsecom_mem>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070050 qcom,ion-heap-type = "DMA";
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070051 };
52
53 qcom,ion-heap@28 { /* AUDIO HEAP */
54 compatible = "qcom,msm-ion-reserve";
55 reg = <28>;
56 qcom,heap-align = <0x1000>;
57 qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
58 qcom,memory-reservation-size = <0x314000>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070059 qcom,ion-heap-type = "CARVEOUT";
Mitchel Humpherys52ffaec2012-10-09 15:40:13 -070060 };
Neeti Desai183b33d2013-08-09 14:58:38 -070061
Neeti Desai3d0a98b2013-04-10 10:41:03 -070062 qcom,ion-heap@23 { /* OTHER PIL HEAP */
63 compatible = "qcom,msm-ion-reserve";
64 reg = <23>;
65 qcom,heap-align = <0x1000>;
Neeti Desai183b33d2013-08-09 14:58:38 -070066 qcom,memory-fixed = <0x0dc00000 0x1900000>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070067 qcom,ion-heap-type = "CARVEOUT";
Neeti Desai3d0a98b2013-04-10 10:41:03 -070068 };
69
Syed Rameez Mustafa878892c2012-08-23 17:30:32 -070070 };
71};