diff mbox series

arm64: dts: meson-s4: add gpio_intc node

Message ID 20220310092645.4303-1-qianggui.song@amlogic.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: meson-s4: add gpio_intc node | expand

Commit Message

Qianggui Song March 10, 2022, 9:26 a.m. UTC
Add gpio interrupt controller node

Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
---
 arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Neil Armstrong April 4, 2022, 8:12 a.m. UTC | #1
Hi,

On Thu, 10 Mar 2022 17:26:45 +0800, Qianggui Song wrote:
> Add gpio interrupt controller node
> 
> 

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.19/dt64)

[1/1] arm64: dts: meson-s4: add gpio_intc node
      https://git.kernel.org/amlogic/c/393633936976fb8bd2c26ae76fa8d30822bb7fee
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index bf9ae1e1016b..6972f97e0062 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -85,6 +85,16 @@  apb4: apb4@fe000000 {
 			#size-cells = <2>;
 			ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
 
+			gpio_intc: interrupt-controller@4080 {
+				compatible = "amlogic,meson-s4-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_B: serial@7a000 {
 				compatible = "amlogic,meson-s4-uart",
 					     "amlogic,meson-ao-uart";