mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
ARM: dts: msm: Add RM(Resource Manager) device for the trusted VM
Add RM device node to probe RM driver to initialize various hypervisor resources like doorbell and message queues. This node should overlay by RM-VM dynamically when the primary vm load the VM image into memory. Until this support is ready in RMVM, statically maintain the node information in the DT. Change-Id: I8d8c39eb2b7b435f6f99ddc3677003fbd88b5199
This commit is contained in:
parent
51f16c0088
commit
a00d39d0a8
1 changed files with 28 additions and 0 deletions
|
|
@ -193,6 +193,34 @@
|
|||
};
|
||||
};
|
||||
|
||||
/* Temporary node until RM dynamic overlay support present */
|
||||
hypervisor {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
compatible = "qcom,haven-hypervisor-1.0", "qcom,haven-hypervisor", "simple-bus";
|
||||
name = "hypervisor";
|
||||
|
||||
qcom,haven-vm {
|
||||
compatible = "qcom,haven-vm-id-1.0", "qcom,haven-vm-id";
|
||||
qcom,vendor = "Qualcomm Technologies, Inc.";
|
||||
qcom,vmid = <45>;
|
||||
qcom,owner-vmid = <3>;
|
||||
};
|
||||
|
||||
qcom,resource-manager-rpc@0000000000000001 {
|
||||
compatible = "qcom,resource-manager-1-0", "qcom,resource-manager", "qcom,haven-message-queue", "qcom,haven-capability";
|
||||
interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>, /* TX full IRQ */
|
||||
<GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; /* RX empty IRQ */
|
||||
reg = <0x00000000 0x00000000>, <0x00000000 0x00000001>; /* TX, RX cap ids */
|
||||
qcom,is-full-duplex;
|
||||
qcom,free-irq-start = <0>;
|
||||
qcom,tx-queue-depth = <8>;
|
||||
qcom,tx-message-size = <0xf0>;
|
||||
qcom,rx-queue-depth = <8>;
|
||||
qcom,rx-message-size = <0xf0>;
|
||||
};
|
||||
};
|
||||
|
||||
soc: soc { };
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue