From 985ec5b683ab61d5dc5ed25a935ca67d6fdd4a2d Mon Sep 17 00:00:00 2001 From: Chris Lew Date: Thu, 8 Aug 2019 17:26:16 -0700 Subject: [PATCH] ARM: dts: msm: Add AOP QMP nodes for Lahaina 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: Id67ef57b2895f98a486d5ee2724205f1d6b5e41e --- qcom/lahaina.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index bdf1b2c59aec..3f9728617d22 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -706,6 +706,31 @@ hwlocks = <&tcsr_mutex 3>; }; + 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"; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,lahaina-pdc"; reg = <0xb220000 0x30000>, <0x17c000f0 0x60>;