Sudarshan Rajagopalan | c3e15fc | 2017-05-17 18:34:42 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
Patrick Daly | e829043 | 2016-10-14 22:26:14 -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 | &soc { |
| 14 | qcom,ion { |
| 15 | compatible = "qcom,msm-ion"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <0>; |
| 18 | |
| 19 | system_heap: qcom,ion-heap@25 { |
| 20 | reg = <25>; |
| 21 | qcom,ion-heap-type = "SYSTEM"; |
| 22 | }; |
| 23 | |
| 24 | qcom,ion-heap@22 { /* ADSP HEAP */ |
| 25 | reg = <22>; |
| 26 | memory-region = <&adsp_mem>; |
| 27 | qcom,ion-heap-type = "DMA"; |
| 28 | }; |
| 29 | |
| 30 | qcom,ion-heap@27 { /* QSEECOM HEAP */ |
| 31 | reg = <27>; |
| 32 | memory-region = <&qseecom_mem>; |
| 33 | qcom,ion-heap-type = "DMA"; |
| 34 | }; |
| 35 | |
Patrick Daly | c5fff41 | 2017-12-06 15:38:32 -0800 | [diff] [blame] | 36 | qcom,ion-heap@19 { /* QSEECOM TA HEAP */ |
| 37 | reg = <19>; |
| 38 | memory-region = <&qseecom_ta_mem>; |
| 39 | qcom,ion-heap-type = "DMA"; |
| 40 | }; |
| 41 | |
Sudarshan Rajagopalan | c3e15fc | 2017-05-17 18:34:42 -0700 | [diff] [blame] | 42 | qcom,ion-heap@13 { /* SECURE SPSS HEAP */ |
Patrick Daly | e829043 | 2016-10-14 22:26:14 -0700 | [diff] [blame] | 43 | reg = <13>; |
Sudarshan Rajagopalan | c3e15fc | 2017-05-17 18:34:42 -0700 | [diff] [blame] | 44 | memory-region = <&secure_sp_mem>; |
| 45 | qcom,ion-heap-type = "HYP_CMA"; |
Patrick Daly | e829043 | 2016-10-14 22:26:14 -0700 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */ |
| 49 | reg = <10>; |
| 50 | memory-region = <&secure_display_memory>; |
| 51 | qcom,ion-heap-type = "HYP_CMA"; |
| 52 | }; |
| 53 | |
| 54 | qcom,ion-heap@9 { |
| 55 | reg = <9>; |
| 56 | qcom,ion-heap-type = "SYSTEM_SECURE"; |
| 57 | }; |
| 58 | }; |
| 59 | }; |