Merge "ARM: dts: msm: Add ipcc_mproc_ns1 for kera TUIVM"

This commit is contained in:
QCTECMDR Service
2024-12-04 02:08:14 -08:00
committed by Gerrit - the friendly Code Review server
3 changed files with 62 additions and 1 deletions

View File

@@ -204,6 +204,15 @@
peer-default; peer-default;
}; };
msgqsock-msgq-pair {
vdevice-type = "message-queue-pair";
generate = "/hypervisor/msgqsock-msgq-pair";
message-size = <0xf0>;
queue-depth = <0x8>;
peer = "vm-name:qcom,trustedvm";
qcom,label = <0x3>;
};
qrtr-shm { qrtr-shm {
vdevice-type = "shm-doorbell"; vdevice-type = "shm-doorbell";
generate = "/hypervisor/qrtr-shm"; generate = "/hypervisor/qrtr-shm";
@@ -312,6 +321,11 @@
compatible = "qcom,mem-object"; compatible = "qcom,mem-object";
}; };
qmsgq-gunyah {
compatible = "qcom,qmsgq-gh";
msgq-label = <3>;
};
qcom,qrtr { qcom,qrtr {
compatible = "qcom,qrtr"; compatible = "qcom,qrtr";
qcom,node-id = <21>; qcom,node-id = <21>;

View File

@@ -96,7 +96,8 @@
vm-attrs = "context-dump", "crash-restart"; vm-attrs = "context-dump", "crash-restart";
iomemory-ranges = <0x0 0xa24000 0x0 0xa24000 0x0 0x4000 0x0 iomemory-ranges = <0x0 0xa24000 0x0 0xa24000 0x0 0x4000 0x0
0x0 0x824000 0x0 0x824000 0x0 0x4000 0x0>; 0x0 0x824000 0x0 0x824000 0x0 0x4000 0x0
0x0 0x407000 0x0 0x407000 0x0 0x1000 0x0>;
/* For LEVM por usecases is QUP1_SE4 and QUP2_SE7. /* For LEVM por usecases is QUP1_SE4 and QUP2_SE7.
* QUP1_SE4: GPII5 : IRQ_316 * QUP1_SE4: GPII5 : IRQ_316
@@ -214,6 +215,26 @@
allocate-base; allocate-base;
}; };
qrtr-shm {
vdevice-type = "shm-doorbell";
generate = "/hypervisor/qrtr-shm";
push-compatible = "qcom,qrtr-gunyah-gen";
peer-default;
memory {
qcom,label = <0x3>;
allocate-base;
};
};
msgqsock-msgq {
vdevice-type = "message-queue-pair";
generate = "/hypervisor/msgqsock-msgq-pair";
message-size = <0xf0>;
queue-depth = <0x8>;
peer = "vm-name:qcom,oemvm";
qcom,label = <0x3>;
};
mem-buf-message-queue-pair { mem-buf-message-queue-pair {
vdevice-type = "message-queue-pair"; vdevice-type = "message-queue-pair";
generate = "/hypervisor/membuf-msgq-pair"; generate = "/hypervisor/membuf-msgq-pair";
@@ -385,6 +406,15 @@
method = "smc"; method = "smc";
}; };
ipcc_mproc_ns1: qcom,ipcc@407000 {
compatible = "qcom,ipcc";
reg = <0x407000 0x1000>;
interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <3>;
#mbox-cells = <2>;
};
vgic: interrupt-controller@17100000 { vgic: interrupt-controller@17100000 {
compatible = "arm,gic-v3"; compatible = "arm,gic-v3";
interrupt-controller; interrupt-controller;
@@ -462,6 +492,16 @@
qcom,msgq-names = "trusted_vm"; qcom,msgq-names = "trusted_vm";
}; };
qmsgq-gunyah {
compatible = "qcom,qmsgq-gh";
msgq-label = <3>;
};
qrtr-gunyah {
compatible = "qcom,qrtr-gunyah";
gunyah-label = <3>;
};
virtio_mem_device { virtio_mem_device {
compatible = "qcom,virtio-mem"; compatible = "qcom,virtio-mem";
depends-on-supply = <&mem_buf_msgq>; depends-on-supply = <&mem_buf_msgq>;

View File

@@ -1621,6 +1621,13 @@
peer-name = <4>; peer-name = <4>;
}; };
qcom,qrtr-gunyah-tuivm {
compatible = "qcom,qrtr-gunyah";
qcom,master;
gunyah-label = <3>;
peer-name = <2>;
};
clocks { clocks {
xo_board: xo_board { xo_board: xo_board {
compatible = "fixed-clock"; compatible = "fixed-clock";