diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2019-06-25 23:19:41 +0800 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-26 07:41:54 +0200 |
commit | 110daa16e44bb53941a18396ab6a7d9fdd1fa362 (patch) | |
tree | 739dfbdf52d2c3ef7f5677f29f870c52da1173ae /target/linux/ramips/dts/mt7621.dtsi | |
parent | 571d2fe539c5dfdfe227f3cdc76a6263f436eece (diff) | |
download | upstream-110daa16e44bb53941a18396ab6a7d9fdd1fa362.tar.gz upstream-110daa16e44bb53941a18396ab6a7d9fdd1fa362.tar.bz2 upstream-110daa16e44bb53941a18396ab6a7d9fdd1fa362.zip |
ramips: mt7621: add IRQ for GPIO node
This makes interrupt-based gpio-keys working.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621.dtsi')
-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"; |