msm: copper: Add msm-gpio as an int-ctrl in Device Tree
All irq chip drivers must register with Device Tree. This allows
for translation of included interrupts, and irq_domain allocation
of the msm-gpio range on the system.
Change-Id: Ic587a810e28eac4b1216e885a22139681fe1c158
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
diff --git a/arch/arm/boot/dts/msmcopper.dts b/arch/arm/boot/dts/msmcopper.dts
index fea1c52..57ad77a 100644
--- a/arch/arm/boot/dts/msmcopper.dts
+++ b/arch/arm/boot/dts/msmcopper.dts
@@ -15,6 +15,13 @@
<0xF9002000 0x1000>;
};
+ msmgpio: gpio@fd400000 {
+ compatible = "qcom,msm-gpio";
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ reg = <0xfd400000 0x4000>;
+ };
+
timer {
compatible = "qcom,msm-qtimer";
interrupts = <1 2 0>;