[tip:,irq/core] arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs

Message ID 170862186740.398.15170945026800873163.tip-bot2@tip-bot2
State New
Headers
Series [tip:,irq/core] arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs |

Commit Message

tip-bot2 for Thomas Gleixner Feb. 22, 2024, 5:11 p.m. UTC
  The following commit has been merged into the irq/core branch of tip:

Commit-ID:     3f734564a03df595c671316314b65a465d333f4a
Gitweb:        https://git.kernel.org/tip/3f734564a03df595c671316314b65a465d333f4a
Author:        Huqiang Qin <huqiang.qin@amlogic.com>
AuthorDate:    Thu, 22 Feb 2024 15:46:39 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 22 Feb 2024 18:04:43 +01:00

arm64: dts: Add gpio_intc node for Amlogic-T7 SoCs

Add GPIO interrupt controller device.

Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240222074640.1866284-4-huqiang.qin@amlogic.com

---
 arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
  

Patch

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
index a03c766..2bfe2c4 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
@@ -171,6 +171,16 @@ 
 				};
 			};
 
+			gpio_intc: interrupt-controller@4080 {
+				compatible = "amlogic,t7-gpio-intc",
+					     "amlogic,meson-gpio-intc";
+				reg = <0x0 0x4080 0x0 0x20>;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				amlogic,channel-interrupts =
+					<10 11 12 13 14 15 16 17 18 19 20 21>;
+			};
+
 			uart_a: serial@78000 {
 				compatible = "amlogic,t7-uart", "amlogic,meson-s4-uart";
 				reg = <0x0 0x78000 0x0 0x18>;