diff options
| author | Chuanhong Guo | 2019-06-25 15:19:41 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-06-27 15:17:23 +0000 |
| commit | a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf (patch) | |
| tree | 67d6a6154950e5966e59ff4c9fbd556b94fae668 | |
| parent | 096a67796aa760a61b85b8045e8707ee0e953bec (diff) | |
| download | openwrt-a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf.tar.gz | |
ramips: mt7621: add IRQ for GPIO node
This makes interrupt-based gpio-keys working.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit 110daa16e44bb53941a18396ab6a7d9fdd1fa362)
| -rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 3 |
1 files changed, 3 insertions, 0 deletions
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 = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>; + gpio0: bank@0 { reg = <0>; compatible = "mtk,mt7621-gpio-bank"; |