From c989bbec1eb306e33fb5683bb59db957bab620c8 Mon Sep 17 00:00:00 2001 From: Pranav Mahesh Phansalkar Date: Thu, 24 Oct 2024 14:45:02 +0530 Subject: [PATCH] ARM: dts: msm: Add oemvm qrtr gunyah node for tuna Add the nodes for enable qrtr communication between primary vm and oemvm on tuna. 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: I8697478e2e1b8269aa3b93f940a8c98f03b7c9b2 Signed-off-by: Pranav Mahesh Phansalkar --- qcom/tuna-oemvm.dtsi | 21 +++++++++++++++++++++ qcom/tuna.dtsi | 8 ++++++++ 2 files changed, 29 insertions(+) diff --git a/qcom/tuna-oemvm.dtsi b/qcom/tuna-oemvm.dtsi index 96d6d622..103554ce 100644 --- a/qcom/tuna-oemvm.dtsi +++ b/qcom/tuna-oemvm.dtsi @@ -157,6 +157,17 @@ }; }; + qrtr-shm { + vdevice-type = "shm-doorbell"; + generate = "/hypervisor/qrtr-shm"; + push-compatible = "qcom,qrtr-gunyah-gen"; + peer-default; + memory { + qcom,label = <0x8>; + allocate-base; + }; + }; + vrtc { vdevice-type = "vrtc-pl031"; peer-default; @@ -239,6 +250,16 @@ compatible = "qcom,smcinvoke"; }; + 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/tuna.dtsi b/qcom/tuna.dtsi index ff413ab8..dd5b85ca 100644 --- a/qcom/tuna.dtsi +++ b/qcom/tuna.dtsi @@ -2519,6 +2519,14 @@ }; }; + + qcom,qrtr-gunyah-oemvm { + compatible = "qcom,qrtr-gunyah"; + qcom,master; + gunyah-label = <8>; + peer-name = <4>; + }; + trust_ui_vm_vblk0_ring: trust_ui_vm_vblk0_ring { size = <0x4000>; gunyah-label = <0x11>;