ARM: dts: msm: Add oemvm qrtr gunyah node for kera

Add the nodes to enable qrtr communication between primary vm and
oemvm on kera.

This adds platform devices and vdevice descriptions to start the
qrtr gunyah transport on both primary vm and oemvm device trees. This
also adds the device tree node to configure qrtr as node id 21 on oem
vm.

Change-Id: Icdcfcb4872351df13561c2c6963f06094f46d8c6
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
This commit is contained in:
Pranav Mahesh Phansalkar
2024-12-01 17:27:42 +05:30
parent 3e0e327ce3
commit f2f6309548
2 changed files with 29 additions and 0 deletions

View File

@@ -171,6 +171,7 @@
peer-default; peer-default;
qcom,label = <0x000000C>; qcom,label = <0x000000C>;
}; };
test-dbl-oemvm { test-dbl-oemvm {
vdevice-type = "doorbell"; vdevice-type = "doorbell";
generate = "/hypervisor/test-dbl-oemvm"; generate = "/hypervisor/test-dbl-oemvm";
@@ -203,6 +204,17 @@
peer-default; peer-default;
}; };
qrtr-shm {
vdevice-type = "shm-doorbell";
generate = "/hypervisor/qrtr-shm";
push-compatible = "qcom,qrtr-gunyah-gen";
peer-default;
memory {
qcom,label = <0x8>;
allocate-base;
};
};
}; };
}; };
@@ -300,6 +312,16 @@
compatible = "qcom,mem-object"; compatible = "qcom,mem-object";
}; };
qcom,qrtr {
compatible = "qcom,qrtr";
qcom,node-id = <21>;
};
qrtr-gunyah {
compatible = "qcom,qrtr-gunyah";
gunyah-label = <8>;
};
qtee_shmbridge { qtee_shmbridge {
compatible = "qcom,tee-shared-memory-bridge"; compatible = "qcom,tee-shared-memory-bridge";
qcom,custom-bridge-size = <512>; qcom,custom-bridge-size = <512>;

View File

@@ -1504,6 +1504,13 @@
}; };
}; };
qcom,qrtr-gunyah-oemvm {
compatible = "qcom,qrtr-gunyah";
qcom,master;
gunyah-label = <8>;
peer-name = <4>;
};
clocks { clocks {
xo_board: xo_board { xo_board: xo_board {
compatible = "fixed-clock"; compatible = "fixed-clock";