1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/interrupt-controller/qcom,mpm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcom MPM Interrupt Controller
10 - Shawn Guo <shawn.guo@linaro.org>
13 Qualcomm Technologies Inc. SoCs based on the RPM architecture have a
14 MSM Power Manager (MPM) that is in always-on domain. In addition to managing
15 resources during sleep, the hardware also has an interrupt controller that
16 monitors the interrupts when the system is asleep, wakes up the APSS when
17 one of these interrupts occur and replays it to GIC interrupt controller
18 after GIC becomes operational.
21 - $ref: /schemas/interrupt-controller.yaml#
31 Specifies the base address and size of vMPM registers in RPM MSG RAM.
35 $ref: /schemas/types.yaml#/definitions/phandle
37 Phandle to the APSS MPM slice of the RPM Message RAM
42 Specify the IRQ used by RPM to wakeup APSS.
47 Specify the mailbox used to notify RPM for writing vMPM registers.
49 interrupt-controller: true
54 The first cell is the MPM pin number for the interrupt, and the second
59 Specify the total MPM pin count that a SoC supports.
60 $ref: /schemas/types.yaml#/definitions/uint32
64 A set of MPM pin numbers and the corresponding GIC SPIs.
65 $ref: /schemas/types.yaml#/definitions/uint32-matrix
68 - description: MPM pin number
69 - description: GIC SPI number for the MPM pin
71 '#power-domain-cells':
78 - interrupt-controller
84 additionalProperties: false
88 #include <dt-bindings/interrupt-controller/arm-gic.h>
91 compatible = "qcom,msm8998-rpm-proc", "qcom,rpm-proc";
94 compatible = "qcom,glink-rpm";
96 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
97 qcom,rpm-msg-ram = <&rpm_msg_ram>;
98 mboxes = <&apcs_glb 0>;
101 mpm: interrupt-controller {
102 compatible = "qcom,mpm";
103 qcom,rpm-msg-ram = <&apss_mpm>;
104 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
105 mboxes = <&apcs_glb 1>;
106 interrupt-controller;
107 #interrupt-cells = <2>;
108 interrupt-parent = <&intc>;
109 qcom,mpm-pin-count = <96>;
110 qcom,mpm-pin-map = <2 275>,
116 #power-domain-cells = <0>;