diff --git a/qcom/sm8150-dma-heaps.dtsi b/qcom/sm8150-dma-heaps.dtsi new file mode 100644 index 00000000..3b46c5b0 --- /dev/null +++ b/qcom/sm8150-dma-heaps.dtsi @@ -0,0 +1,52 @@ +#include + +&soc { + qcom,dma-heaps { + compatible = "qcom,dma-heaps"; + + qcom,adsp { + qcom,dma-heap-name = "qcom,adsp"; + qcom,dma-heap-type = ; + memory-region = <&adsp_mem>; + }; + + qcom,secure_cdsp { + qcom,dma-heap-name = "qcom,secure-cdsp"; + qcom,dma-heap-type = ; + memory-region = <&cdsp_sec_mem>; + qcom,token = <0x20000000>; + }; + + qcom,sp_hlos { + qcom,dma-heap-name = "qcom,sp-hlos"; + qcom,dma-heap-type = ; + memory-region = <&sp_mem>; + }; + + qcom,user_contig { + qcom,dma-heap-name = "qcom,user-contig"; + qcom,dma-heap-type = ; + memory-region = <&user_contig_mem>; + }; + + qcom,qseecom { + qcom,dma-heap-name = "qcom,qseecom"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_mem>; + }; + + qcom,qseecom_ta { + qcom,dma-heap-name = "qcom,qseecom-ta"; + qcom,dma-heap-type = ; + memory-region = <&qseecom_ta_mem>; + }; + + qcom,display { + qcom,dma-heap-name = "qcom,display"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&secure_display_memory>; + }; + + }; +}; diff --git a/qcom/sm8150.dtsi b/qcom/sm8150.dtsi index 2ac66ba2..782e95cb 100644 --- a/qcom/sm8150.dtsi +++ b/qcom/sm8150.dtsi @@ -619,3 +619,4 @@ #include "sm8150-regulator.dtsi" #include "sm8150-pinctrl.dtsi" +#include "sm8150-dma-heaps.dtsi"