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

Add the nodes for enable qrtr communication between primary vm and
oemvm on sun.

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: I1575853a67fe9edbcb751dbb71062b6da624d9be
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
This commit is contained in:
Kishore Kumar Ravi
2023-11-09 14:38:23 +05:30
parent a7c4d9e70b
commit b228b1409c
2 changed files with 28 additions and 0 deletions

View File

@@ -167,6 +167,17 @@
qcom,label = <0x5>; qcom,label = <0x5>;
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;
};
};
}; };
}; };
@@ -229,4 +240,14 @@
interrupt-names = "qcom,qtmr-intr"; interrupt-names = "qcom,qtmr-intr";
qcom,secondary; qcom,secondary;
}; };
qcom,qrtr {
compatible = "qcom,qrtr";
qcom,node-id = <21>;
};
qrtr-gunyah {
compatible = "qcom,qrtr-gunyah";
gunyah-label = <8>;
};
}; };

View File

@@ -2959,6 +2959,13 @@
qcom,count-unit = <0x10000>; qcom,count-unit = <0x10000>;
qcom,target-dev = <&qcom_llcc_dcvs_hw>; qcom,target-dev = <&qcom_llcc_dcvs_hw>;
}; };
qcom,qrtr-gunyah-oemvm {
compatible = "qcom,qrtr-gunyah";
qcom,master;
gunyah-label = <8>;
peer-name = <4>;
};
}; };
&reserved_memory { &reserved_memory {