diff options
author | Abel Vesa <abel.vesa@linaro.org> | 2022-09-02 14:43:08 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2022-09-06 14:13:43 +0300 |
commit | 9cae566afb7c076dee6986598114ea8f3b560db1 (patch) | |
tree | d0475302ea311dfa54b461a3ad06d9082c4e6cdb | |
parent | 8ba00699c6b7f8c05f5cc58336039ca12c615513 (diff) |
arm64: dts: qcom: sm8250: Add ADSP heap and VMIDsfastrpc/audiopd
Add adsp_mem_heap region and attach it to the adsp fastrpc node.
Also add the VMIDs.
Co-developed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm8250.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index bc773e210023..edc3173cadbf 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -818,6 +818,14 @@ reg = <0x0 0x8bf00000 0x0 0x4600000>; no-map; }; + + adsp_mem_heap: adsp_heap_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0xC00000>; + }; }; smem { @@ -4832,10 +4840,12 @@ fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; + memory-region = <&adsp_mem_heap>; label = "adsp"; qcom,non-secure-domain; #address-cells = <1>; #size-cells = <0>; + qcom,vmids = <22 37>; compute-cb@3 { compatible = "qcom,fastrpc-compute-cb"; |