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 | |
Laura Abbott | 7795dfa | 2013-03-05 10:47:44 -0800 | [diff] [blame] | 30 | qcom,ion-heap@22 { /* adsp heap */ |
| 31 | compatible = "qcom,msm-ion-reserve"; |
| 32 | reg = <22>; |
| 33 | qcom,heap-align = <0x1000>; |
| 34 | linux,contiguous-region = <&adsp_mem>; |
| 35 | }; |
| 36 | |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 37 | qcom,ion-heap@25 { /* IOMMU HEAP */ |
| 38 | reg = <25>; |
| 39 | }; |
| 40 | |
| 41 | qcom,ion-heap@27 { /* QSECOM HEAP */ |
| 42 | compatible = "qcom,msm-ion-reserve"; |
| 43 | reg = <27>; |
| 44 | qcom,heap-align = <0x1000>; |
| 45 | qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ |
Hariprasad Dhalinarasimha | 2179bab8 | 2013-02-22 16:34:15 -0800 | [diff] [blame] | 46 | qcom,memory-reservation-size = <0x1100000>; |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 47 | }; |
| 48 | |
| 49 | qcom,ion-heap@28 { /* AUDIO HEAP */ |
| 50 | compatible = "qcom,msm-ion-reserve"; |
| 51 | reg = <28>; |
| 52 | qcom,heap-align = <0x1000>; |
| 53 | qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */ |
Harmandeep Singh | 6b9f54e | 2012-08-31 16:47:57 -0700 | [diff] [blame] | 54 | qcom,memory-reservation-size = <0x314000>; |
Olav Haugan | 4917344 | 2012-08-01 13:23:18 -0700 | [diff] [blame] | 55 | }; |
| 56 | }; |
| 57 | }; |