diff --git a/qcom/sun-oemvm.dtsi b/qcom/sun-oemvm.dtsi index 364cf637..ba365ab6 100644 --- a/qcom/sun-oemvm.dtsi +++ b/qcom/sun-oemvm.dtsi @@ -205,7 +205,7 @@ }; firmware: firmware { - scm { + qcom_scm: scm { compatible = "qcom,scm"; }; }; @@ -247,6 +247,8 @@ qcom,mem-buf { compatible = "qcom,mem-buf"; qcom,mem-buf-capabilities = "consumer"; + qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>; + qcom,dmabuf-ipa-size = <0x1 0x00000000>; /* 4GB IPA space for dmabuf */ qcom,vmid = <49>; }; @@ -255,6 +257,14 @@ qcom,msgq-names = "oem_vm"; }; + virtio_mem_device { + compatible = "qcom,virtio-mem"; + /* Must be memory_block_size_bytes() aligned */ + qcom,max-size = <0x0 0x10000000>; + qcom,ipa-range = <0x0 0x0 0xf 0xffffffff>; + qcom,block-size = <0x400000>; + }; + qcom,test-dbl-oemvm { compatible = "qcom,gh-dbl"; qcom,label = <0x5>; @@ -300,3 +310,4 @@ msgq-label = <3>; }; }; +#include "sun-vm-dma-heaps.dtsi"