Syed Rameez Mustafa | 3971c14 | 2013-01-09 19:04:53 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 2 | * |
| 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 Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 13 | &soc { |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 14 | qcom,ion { |
| 15 | compatible = "qcom,msm-ion"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | |
Mitchel Humpherys | 355a591 | 2013-10-04 14:01:55 -0700 | [diff] [blame] | 19 | qcom,ion-heap@25 { |
| 20 | reg = <25>; |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 21 | qcom,ion-heap-type = "SYSTEM"; |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 22 | }; |
| 23 | |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 24 | qcom,ion-heap@21 { |
Mitchel Humpherys | 4731ee6 | 2013-04-04 11:15:38 -0700 | [diff] [blame] | 25 | reg = <21>; |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 26 | qcom,ion-heap-type = "SYSTEM_CONTIG"; |
Mitchel Humpherys | 4731ee6 | 2013-04-04 11:15:38 -0700 | [diff] [blame] | 27 | }; |
| 28 | |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 29 | qcom,ion-heap@27 { /* QSECOM HEAP */ |
| 30 | compatible = "qcom,msm-ion-reserve"; |
| 31 | reg = <27>; |
Laura Abbott | 429e82b | 2013-03-25 13:03:06 -0700 | [diff] [blame] | 32 | linux,contiguous-region = <&qsecom_mem>; |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 33 | qcom,ion-heap-type = "DMA"; |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 34 | }; |
Neeti Desai | 2bdaa09 | 2013-05-14 15:23:45 -0700 | [diff] [blame] | 35 | |
| 36 | qcom,ion-heap@23 { /* OTHER PIL HEAP */ |
| 37 | compatible = "qcom,msm-ion-reserve"; |
| 38 | reg = <23>; |
| 39 | qcom,heap-align = <0x1000>; |
Neeti Desai | f48a0fb | 2013-07-18 12:08:23 -0700 | [diff] [blame] | 40 | qcom,memory-fixed = <0x0c500000 0x1300000>; |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 41 | qcom,ion-heap-type = "CARVEOUT"; |
Neeti Desai | 2bdaa09 | 2013-05-14 15:23:45 -0700 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | qcom,ion-heap@26 { /* MODEM HEAP */ |
| 45 | compatible = "qcom,msm-ion-reserve"; |
| 46 | reg = <26>; |
| 47 | qcom,heap-align = <0x1000>; |
Neeti Desai | f48a0fb | 2013-07-18 12:08:23 -0700 | [diff] [blame] | 48 | qcom,memory-fixed = <0x08800000 0x3d00000>; |
Mitchel Humpherys | 5348d14 | 2013-06-14 17:37:23 -0700 | [diff] [blame] | 49 | qcom,ion-heap-type = "CARVEOUT"; |
Neeti Desai | 2bdaa09 | 2013-05-14 15:23:45 -0700 | [diff] [blame] | 50 | }; |
| 51 | |
Neeti Desai | 1d76419 | 2012-10-17 11:19:18 -0700 | [diff] [blame] | 52 | }; |
| 53 | }; |
| 54 | |