diff mbox series

[3/3] ARM: dts: mstar: Add gpi interrupt controller to i2m

Message ID 20210914100415.1549208-4-daniel@0x0f.com (mailing list archive)
State New, archived
Headers show
Series SigmaStar SSD20XD GPIO interrupt controller | expand

Commit Message

Daniel Palmer Sept. 14, 2021, 10:04 a.m. UTC
infinity2m chips have the GPI interrupt controller
for GPIOs so add it to the dtsi for infinity2m.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
 arch/arm/boot/dts/mstar-infinity2m.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi
index 6d4d1d224e96..0ec8e4cadf5c 100644
--- a/arch/arm/boot/dts/mstar-infinity2m.dtsi
+++ b/arch/arm/boot/dts/mstar-infinity2m.dtsi
@@ -19,4 +19,12 @@  smpctrl: smpctrl@204000 {
 		reg = <0x204000 0x200>;
 		status = "disabled";
 	};
+
+	gpi: interrupt-controller@207a00 {
+		compatible = "sstar,ssd20xd-gpi";
+		reg = <0x207a00 0x200>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&intc_irq GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+	};
 };