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 | |
| 38 | qcom,ion-heap@27 { /* QSECOM HEAP */ |
| 39 | compatible = "qcom,msm-ion-reserve"; |
| 40 | reg = <27>; |
Laura Abbott | 429e82b | 2013-03-25 13:03:06 -0700 | [diff] [blame] | 41 | linux,contiguous-region = <&qsecom_mem>; |
Mitchel Humpherys | 52ffaec | 2012-10-09 15:40:13 -0700 | [diff] [blame] | 42 | }; |
| 43 | |
| 44 | qcom,ion-heap@28 { /* AUDIO HEAP */ |
| 45 | compatible = "qcom,msm-ion-reserve"; |
| 46 | reg = <28>; |
| 47 | qcom,heap-align = <0x1000>; |
| 48 | qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ |
| 49 | qcom,memory-reservation-size = <0x314000>; |
| 50 | }; |
Neeti Desai | 3d0a98b | 2013-04-10 10:41:03 -0700 | [diff] [blame] | 51 | qcom,ion-heap@23 { /* OTHER PIL HEAP */ |
| 52 | compatible = "qcom,msm-ion-reserve"; |
| 53 | reg = <23>; |
| 54 | qcom,heap-align = <0x1000>; |
| 55 | qcom,memory-fixed = <0x06400000 0x2000000>; |
| 56 | }; |
| 57 | qcom,ion-heap@26 { /* MODEM PIL HEAP */ |
| 58 | compatible = "qcom,msm-ion-reserve"; |
| 59 | reg = <26>; |
| 60 | qcom,heap-align = <0x1000>; |
| 61 | qcom,memory-fixed = <0x08400000 0x4E00000>; |
| 62 | |
| 63 | }; |
| 64 | |
Syed Rameez Mustafa | 878892c | 2012-08-23 17:30:32 -0700 | [diff] [blame] | 65 | }; |
| 66 | }; |