From 5a345a794351fa9f388d67ee45632d60c041ea5a Mon Sep 17 00:00:00 2001 From: songrui Date: Tue, 7 Nov 2023 10:52:02 +0800 Subject: [PATCH] ARM: dts: qcom: Add configuration for SMMU proxy driver Add message queue and context banks for the SMMU proxy driver. Change-Id: Ic6075e5492cf13c795ad1a2f8bea1cc94c7ce24e Signed-off-by: Cong Zhang Signed-off-by: songrui --- qcom/sun-vm.dtsi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/qcom/sun-vm.dtsi b/qcom/sun-vm.dtsi index 59ee47dd..bf487da6 100644 --- a/qcom/sun-vm.dtsi +++ b/qcom/sun-vm.dtsi @@ -4,6 +4,7 @@ */ #include +#include / { #address-cells = <0x2>; @@ -239,6 +240,15 @@ allocate-base; }; }; + + smmu-proxy-message-queue-pair { + vdevice-type = "message-queue-pair"; + generate = "/hypervisor/smmu-proxy-msgq-pair"; + message-size = <0x000000f0>; + queue-depth = <0x00000008>; + peer-default; + qcom,label = <0xA>; + }; }; }; @@ -354,6 +364,34 @@ clock-frequency = <19200000>; }; + qti,smmu-proxy-camera-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + iommus = <&apps_smmu 0x1810 0x20>, + <&apps_smmu 0x1C10 0x0>, + <&apps_smmu 0x18F0 0x0>; + dma-coherent; + }; + + qti,smmu-proxy-display-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + iommus = <&apps_smmu 0x801 0x0>; + dma-coherent; + }; + + qti,smmu-proxy-eva-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + qcom,iommu-dma-addr-pool = <0x00000000 0xffffffff>; + iommus = <&apps_smmu 0x1927 0x0>; + dma-coherent; + }; + qcom_smcinvoke { compatible = "qcom,smcinvoke"; };