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

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

Change-Id: I6baa1a7d00b26f1a885e9c85c57b7c30745dd5f6
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
This commit is contained in:
Vijayanand Jitta
2024-10-14 12:44:47 +05:30
parent 3c86c8cc2a
commit a7ce6b1cb4

View File

@@ -217,6 +217,8 @@
qcom,mem-buf { qcom,mem-buf {
compatible = "qcom,mem-buf"; compatible = "qcom,mem-buf";
qcom,mem-buf-capabilities = "consumer"; 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>; qcom,vmid = <49>;
}; };
@@ -225,6 +227,14 @@
qcom,msgq-names = "oem_vm"; 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 { qcom_smcinvoke {
compatible = "qcom,smcinvoke"; compatible = "qcom,smcinvoke";
}; };