Zhen Kong | 0ebe1bc3 | 2018-01-02 14:53:51 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [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 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 24 | qcom,ion-heap@27 { /* QSEECOM HEAP */ |
| 25 | reg = <27>; |
| 26 | memory-region = <&qseecom_mem>; |
| 27 | qcom,ion-heap-type = "DMA"; |
| 28 | }; |
| 29 | |
Zhen Kong | 0ebe1bc3 | 2018-01-02 14:53:51 -0800 | [diff] [blame] | 30 | qcom,ion-heap@19 { /* QSEECOM TA HEAP */ |
| 31 | reg = <19>; |
| 32 | memory-region = <&qseecom_ta_mem>; |
| 33 | qcom,ion-heap-type = "DMA"; |
| 34 | }; |
| 35 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 36 | qcom,ion-heap@13 { /* SPSS HEAP */ |
| 37 | reg = <13>; |
| 38 | memory-region = <&sp_mem>; |
| 39 | qcom,ion-heap-type = "DMA"; |
| 40 | }; |
| 41 | |
| 42 | qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */ |
| 43 | reg = <10>; |
| 44 | memory-region = <&secure_display_memory>; |
| 45 | qcom,ion-heap-type = "HYP_CMA"; |
| 46 | }; |
| 47 | |
| 48 | qcom,ion-heap@9 { |
| 49 | reg = <9>; |
| 50 | qcom,ion-heap-type = "SYSTEM_SECURE"; |
| 51 | }; |
| 52 | }; |
| 53 | }; |