From 110daa16e44bb53941a18396ab6a7d9fdd1fa362 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Tue, 25 Jun 2019 23:19:41 +0800 Subject: [PATCH] ramips: mt7621: add IRQ for GPIO node This makes interrupt-based gpio-keys working. Signed-off-by: Chuanhong Guo --- target/linux/ramips/dts/mt7621.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 77841a61d2..4f69e0902e 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -76,6 +76,9 @@ compatible = "mtk,mt7621-gpio"; reg = <0x600 0x100>; + interrupt-parent = <&gic>; + interrupts = ; + gpio0: bank@0 { reg = <0>; compatible = "mtk,mt7621-gpio-bank"; -- 2.25.1