From f2f6309548a10c212466a36dcfd7207271bda27f Mon Sep 17 00:00:00 2001 From: Pranav Mahesh Phansalkar Date: Sun, 1 Dec 2024 17:27:42 +0530 Subject: [PATCH] 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 --- qcom/kera-oemvm.dtsi | 22 ++++++++++++++++++++++ qcom/kera.dtsi | 7 +++++++ 2 files changed, 29 insertions(+) diff --git a/qcom/kera-oemvm.dtsi b/qcom/kera-oemvm.dtsi index a3ed2097..e72a7363 100644 --- a/qcom/kera-oemvm.dtsi +++ b/qcom/kera-oemvm.dtsi @@ -171,6 +171,7 @@ peer-default; qcom,label = <0x000000C>; }; + test-dbl-oemvm { vdevice-type = "doorbell"; generate = "/hypervisor/test-dbl-oemvm"; @@ -203,6 +204,17 @@ 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"; }; + qcom,qrtr { + compatible = "qcom,qrtr"; + qcom,node-id = <21>; + }; + + qrtr-gunyah { + compatible = "qcom,qrtr-gunyah"; + gunyah-label = <8>; + }; + qtee_shmbridge { compatible = "qcom,tee-shared-memory-bridge"; qcom,custom-bridge-size = <512>; diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index 6f4b359f..f66e7bd1 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -1504,6 +1504,13 @@ }; }; + qcom,qrtr-gunyah-oemvm { + compatible = "qcom,qrtr-gunyah"; + qcom,master; + gunyah-label = <8>; + peer-name = <4>; + }; + clocks { xo_board: xo_board { compatible = "fixed-clock";