diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2019-06-25 23:19:41 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-27 17:17:23 +0200 |
commit | a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf (patch) | |
tree | 67d6a6154950e5966e59ff4c9fbd556b94fae668 | |
parent | 096a67796aa760a61b85b8045e8707ee0e953bec (diff) | |
download | upstream-a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf.tar.gz upstream-a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf.tar.bz2 upstream-a353f2ee7fe26a1ed0deaf29dcfb3afac8fe83cf.zip |
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"; |