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

Daniel Palmer daniel at 0x0f.com
Tue Sep 14 03:04:15 PDT 2021


infinity2m chips have the GPI interrupt controller
for GPIOs so add it to the dtsi for infinity2m.

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

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 at 204000 {
 		reg = <0x204000 0x200>;
 		status = "disabled";
 	};
+
+	gpi: interrupt-controller at 207a00 {
+		compatible = "sstar,ssd20xd-gpi";
+		reg = <0x207a00 0x200>;
+		#interrupt-cells = <2>;
+		interrupt-controller;
+		interrupts-extended = <&intc_irq GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+	};
 };
-- 
2.33.0




More information about the linux-arm-kernel mailing list