ARM: dts: msm: Enable dma-heaps on OEMVM

Enable dma-heaps driver on OEMVM, as well as bringing in other features
such as virtio mem and large-dma buf support.

Change-Id: I7f679c061ba65237541363bd0b406bb4e58e697e
Signed-off-by: Patrick Daly <quic_pdaly@quicinc.com>
This commit is contained in:
Patrick Daly
2024-05-02 10:56:23 -07:00
parent c811ad67a6
commit 25f36f4f2a

View File

@@ -205,7 +205,7 @@
}; };
firmware: firmware { firmware: firmware {
scm { qcom_scm: scm {
compatible = "qcom,scm"; compatible = "qcom,scm";
}; };
}; };
@@ -247,6 +247,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>;
}; };
@@ -255,6 +257,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,test-dbl-oemvm { qcom,test-dbl-oemvm {
compatible = "qcom,gh-dbl"; compatible = "qcom,gh-dbl";
qcom,label = <0x5>; qcom,label = <0x5>;
@@ -300,3 +310,4 @@
msgq-label = <3>; msgq-label = <3>;
}; };
}; };
#include "sun-vm-dma-heaps.dtsi"