From 219394d82fe3d8020d569b09bc1d5c66d6539ab6 Mon Sep 17 00:00:00 2001 From: Arun Kumar Neelakantam Date: Wed, 4 Mar 2020 19:48:57 +0530 Subject: [PATCH] ARM: dts: msm: Add AOP QMP nodes for shima Add the QMP and QMP DEBUGFS node to facilitiate communication with AOP. The QMP driver sends messages using the AOP msgram with a mailbox like protocol. Change-Id: I281738bf848b97bc975bdb892731f729128d8ac2 --- qcom/shima.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index 8527aca8fb64..d33e02c98935 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -740,6 +740,31 @@ qcom,glinkpkt-dev-name = "smd11"; }; }; + + qmp_aop: qcom,qmp-aop@c300000 { + compatible = "qcom,qmp-mbox"; + mboxes = <&ipcc_mproc IPCC_CLIENT_AOP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + mbox-names = "aop_qmp"; + interrupt-parent = <&ipcc_mproc>; + interrupts = ; + reg = <0xc300000 0x400>; + reg-names = "msgram"; + + label = "aop"; + qcom,early-boot; + priority = <0>; + mbox-desc-offset = <0x0>; + #mbox-cells = <1>; + }; + + aop-msg-client { + compatible = "qcom,debugfs-qmp-client"; + mboxes = <&qmp_aop 0>; + mbox-names = "aop"; + }; }; #include "shima-pinctrl.dtsi"