Mitchel Humpherys | e76078b | 2013-04-04 11:13:58 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Syed Rameez Mustafa | 878892c | 2012-08-23 17:30:32 -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 { |
Syed Rameez Mustafa | 878892c | 2012-08-23 17:30:32 -0700 | [diff] [blame] | 14 | 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 Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 22 | |
Mitchel Humpherys | e76078b | 2013-04-04 11:13:58 -0700 | [diff] [blame] | 23 | qcom,ion-heap@21 { /* SYSTEM CONTIG HEAP */ |
| 24 | reg = <21>; |
| 25 | }; |
| 26 | |
Mitchel Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 27 | qcom,ion-heap@8 { /* CP_MM HEAP */ |
| 28 | compatible = "qcom,msm-ion-reserve"; |
| 29 | reg = <8>; |
| 30 | qcom,heap-align = <0x1000>; |
Laura Abbott | f3196b2 | 2013-03-11 16:22:34 -0700 | [diff] [blame] | 31 | linux,contiguous-region = <&secure_mem>; |
Mitchel Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | qcom,ion-heap@25 { /* IOMMU HEAP */ |
| 35 | reg = <25>; |
| 36 | }; |
| 37 | |
Krupal Divvela | 756ee0f | 2013-06-12 03:42:55 +0530 | [diff] [blame] | 38 | 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 Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 45 | qcom,ion-heap@27 { /* QSECOM HEAP */ |
| 46 | compatible = "qcom,msm-ion-reserve"; |
| 47 | reg = <27>; |
Laura Abbott | 429e82b | 2013-03-25 13:03:06 -0700 | [diff] [blame] | 48 | linux,contiguous-region = <&qsecom_mem>; |
Mitchel Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 49 | }; |
| 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 Desai | 183b33d | 2013-08-09 14:58:38 -0700 | [diff] [blame] | 58 | |
Neeti Desai | 3d0a98b | 2013-04-10 10:41:03 -0700 | [diff] [blame] | 59 | qcom,ion-heap@23 { /* OTHER PIL HEAP */ |
| 60 | compatible = "qcom,msm-ion-reserve"; |
| 61 | reg = <23>; |
| 62 | qcom,heap-align = <0x1000>; |
Neeti Desai | 183b33d | 2013-08-09 14:58:38 -0700 | [diff] [blame] | 63 | qcom,memory-fixed = <0x0dc00000 0x1900000>; |
Neeti Desai | 3d0a98b | 2013-04-10 10:41:03 -0700 | [diff] [blame] | 64 | }; |
| 65 | |
Syed Rameez Mustafa | 878892c | 2012-08-23 17:30:32 -0700 | [diff] [blame] | 66 | }; |
| 67 | }; |