blob: 601f8edd25cdccc8f36b0ad22d87530fd874222d [file] [log] [blame]
Syed Rameez Mustafa3971c142013-01-09 19:04:53 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Neeti Desai1d764192012-10-17 11:19: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
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070013&soc {
Neeti Desai1d764192012-10-17 11:19:18 -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";
Neeti Desai1d764192012-10-17 11:19:18 -070022 };
23
Mitchel Humpherys5348d142013-06-14 17:37:23 -070024 qcom,ion-heap@21 {
Mitchel Humpherys4731ee62013-04-04 11:15:38 -070025 reg = <21>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070026 qcom,ion-heap-type = "SYSTEM_CONTIG";
Mitchel Humpherys4731ee62013-04-04 11:15:38 -070027 };
28
Neeti Desai1d764192012-10-17 11:19:18 -070029 qcom,ion-heap@27 { /* QSECOM HEAP */
30 compatible = "qcom,msm-ion-reserve";
31 reg = <27>;
Laura Abbott429e82b2013-03-25 13:03:06 -070032 linux,contiguous-region = <&qsecom_mem>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070033 qcom,ion-heap-type = "DMA";
Neeti Desai1d764192012-10-17 11:19:18 -070034 };
Neeti Desai2bdaa092013-05-14 15:23:45 -070035
36 qcom,ion-heap@23 { /* OTHER PIL HEAP */
37 compatible = "qcom,msm-ion-reserve";
38 reg = <23>;
39 qcom,heap-align = <0x1000>;
Neeti Desaif48a0fb2013-07-18 12:08:23 -070040 qcom,memory-fixed = <0x0c500000 0x1300000>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070041 qcom,ion-heap-type = "CARVEOUT";
Neeti Desai2bdaa092013-05-14 15:23:45 -070042 };
43
44 qcom,ion-heap@26 { /* MODEM HEAP */
45 compatible = "qcom,msm-ion-reserve";
46 reg = <26>;
47 qcom,heap-align = <0x1000>;
Neeti Desaif48a0fb2013-07-18 12:08:23 -070048 qcom,memory-fixed = <0x08800000 0x3d00000>;
Mitchel Humpherys5348d142013-06-14 17:37:23 -070049 qcom,ion-heap-type = "CARVEOUT";
Neeti Desai2bdaa092013-05-14 15:23:45 -070050 };
51
Neeti Desai1d764192012-10-17 11:19:18 -070052 };
53};
54