ARM: dts: msm: Add AOP QMP nodes for Kona
Add the QMP node to facilitiate communication with AOP. The QMP driver
sends messages using the AOP msgram with a mailbox like protocol.
Change-Id: Ic8ec22a18d929be77a6c6f23772cb5b8dec09e90
Signed-off-by: Chris Lew <clew@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/kona.dtsi b/arch/arm64/boot/dts/qcom/kona.dtsi
index 97c09ce..4d93832 100644
--- a/arch/arm64/boot/dts/qcom/kona.dtsi
+++ b/arch/arm64/boot/dts/qcom/kona.dtsi
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
- * Copyright (c) 2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*/
#include "skeleton64.dtsi"
@@ -1603,6 +1603,25 @@
};
};
+ 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 = <IPCC_CLIENT_AOP
+ IPCC_MPROC_SIGNAL_GLINK_QMP
+ IRQ_TYPE_EDGE_RISING>;
+ reg = <0xc300000 0x1000>;
+ reg-names = "msgram";
+
+ label = "aop";
+ qcom,early-boot;
+ priority = <0>;
+ mbox-desc-offset = <0x0>;
+ #mbox-cells = <1>;
+ };
+
qcom,lpass@17300000 {
compatible = "qcom,pil-tz-generic";
reg = <0x17300000 0x00100>;