ARM: dts: msm: Enable virtio-mem device for oemvm on kera

Describe the properties of the memory region virtio-mem supports.
Also reserve the IPA space for dmabuf buffers.

Change-Id: Ifd864cae74e337c1803f764b7b14bd517ee65374
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
This commit is contained in:
Vijayanand Jitta
2024-11-12 09:20:32 +05:30
parent 5b02d1a930
commit 724100dc9d

View File

@@ -217,6 +217,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>;
};
@@ -225,6 +227,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_smcinvoke {
compatible = "qcom,smcinvoke";
};