ARM: dts: msm: Add virt-io support for Ravelin

Add nodes to support virt-io based IO virtualization for trusted_ui VM.

Change-Id: Ifa44d8f2ad14bd7d8747f858c30d3c2812c55e86
This commit is contained in:
Tengfei Fan
2022-05-24 17:06:14 +08:00
committed by Gerrit - the friendly Code Review server
parent 7d022132ec
commit c936de9cee
2 changed files with 25 additions and 0 deletions

View File

@@ -129,6 +129,18 @@
reg = <0x0 0xe55f3000 0x0 0x9000>;
};
trust_ui_vm_vblk0_ring: trust_ui_vm_vblk0_ring@e55fc000 {
no-map;
reg = <0x0 0xe55fc000 0x0 0x4000>;
gunyah-label = <0x11>;
};
trust_ui_vm_swiotlb: trust_ui_vm_swiotlb@e5600000 {
no-map;
reg = <0x0 0xe5600000 0x0 0x100000>;
gunyah-label = <0x12>;
};
tz_stat_mem: tz_stat_region@e8800000 {
no-map;
reg = <0x0 0xe8800000 0x0 0x100000>;

View File

@@ -1816,6 +1816,19 @@
peer-name = <2>;
shared-buffer = <&trust_ui_vm_qrtr>;
};
trust_ui_vm: qcom,trust_ui_vm@e55fc000 {
reg = <0xe55fc000 0x104000>;
vm_name = "trustedvm";
shared-buffers = <&trust_ui_vm_vblk0_ring &trust_ui_vm_swiotlb>;
};
qcom,virtio_backend@0 {
compatible = "qcom,virtio_backend";
qcom,vm = <&trust_ui_vm>;
qcom,label = <0x11>;
};
};
#include "ravelin-pinctrl.dtsi"