Olav Haugan | d069af0 | 2013-02-05 13:10:51 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Olav Haugan | 4917344 | 2012-08-01 13:23: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 | |
| 13 | / { |
| 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 | }; |
| 22 | |
| 23 | qcom,ion-heap@8 { /* CP_MM HEAP */ |
| 24 | compatible = "qcom,msm-ion-reserve"; |
| 25 | reg = <8>; |
| 26 | qcom,heap-align = <0x1000>; |
Laura Abbott | 8d972ac | 2013-02-26 11:06:02 -0800 | [diff] [blame] | 27 | linux,contiguous-region = <&secure_mem>; |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 28 | }; |
| 29 | |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 30 | qcom,ion-heap@25 { /* IOMMU HEAP */ |
| 31 | reg = <25>; |
| 32 | }; |
| 33 | |
| 34 | qcom,ion-heap@27 { /* QSECOM HEAP */ |
| 35 | compatible = "qcom,msm-ion-reserve"; |
| 36 | reg = <27>; |
| 37 | qcom,heap-align = <0x1000>; |
| 38 | qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ |
Hariprasad Dhalinarasimha | 2179bab8 | 2013-02-22 16:34:15 -0800 | [diff] [blame] | 39 | qcom,memory-reservation-size = <0x1100000>; |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | qcom,ion-heap@28 { /* AUDIO HEAP */ |
| 43 | compatible = "qcom,msm-ion-reserve"; |
| 44 | reg = <28>; |
| 45 | qcom,heap-align = <0x1000>; |
| 46 | qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ |
Harmandeep Singh | 6b9f54e | 2012-08-31 16:47:57 -0700 | [diff] [blame] | 47 | qcom,memory-reservation-size = <0x314000>; |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | }; |