diff --git a/qcom/sun-dma-heaps.dtsi b/qcom/sun-dma-heaps.dtsi index 2b46e4bc..3dbc99dd 100644 --- a/qcom/sun-dma-heaps.dtsi +++ b/qcom/sun-dma-heaps.dtsi @@ -19,5 +19,25 @@ qcom,dma-heap-type = ; memory-region = <&qseecom_ta_mem>; }; + + qcom,sp_hlos { + qcom,dma-heap-name = "qcom,sp-hlos"; + qcom,dma-heap-type = ; + memory-region = <&spss_region_mem>; + }; + + qcom,secure_sp_tz { + qcom,dma-heap-name = "qcom,secure-sp-tz"; + qcom,dma-heap-type = ; + memory-region = <&spu_tz_shared_mem>; + qcom,token = <0x01000000>; + }; + + qcom,secure_sp_modem { + qcom,dma-heap-name = "qcom,secure-sp-modem"; + qcom,dma-heap-type = ; + memory-region = <&spu_modem_shared_mem>; + qcom,token = <0x10800000>; + }; }; }; diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 532b90e4..6e42008c 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -2567,14 +2567,21 @@ reg = <0x0 0x9b09a000 0x0 0x2000>; }; - spss_region_mem: spss_region_region@9b0a0000 { + spss_region_mem: spss_region_region@9b0a0000 { no-map; - reg = <0x0 0x9b0a0000 0x0 0x180000>; + reg = <0x0 0x9b0a0000 0x0 0x1e0000>; }; - spu_secure_shared_memory_mem: spu_secure_shared_memory_region@9b280000 { + /* First part of the "SPU secure shared memory" region */ + spu_tz_shared_mem: spu_secure_shared_memory_region@9b280000 { no-map; - reg = <0x0 0x9b280000 0x0 0x80000>; + reg = <0x0 0x9b280000 0x0 0x40000>; + }; + + /* Second part of the "SPU secure shared memory" region */ + spu_modem_shared_mem: spu_secure_shared_memory_region@9b2c0000 { + no-map; + reg = <0x0 0x9b2c0000 0x0 0x40000>; }; camera_mem: camera_region@9b300000 {