projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571d2fe
)
ramips: mt7621: add IRQ for GPIO node
author
Chuanhong Guo
<gch981213@gmail.com>
Tue, 25 Jun 2019 15:19:41 +0000
(23:19 +0800)
committer
Petr Štetiar
<ynezz@true.cz>
Wed, 26 Jun 2019 05:41:54 +0000
(07:41 +0200)
This makes interrupt-based gpio-keys working.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/dts/mt7621.dtsi
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/mt7621.dtsi
b/target/linux/ramips/dts/mt7621.dtsi
index 77841a61d297cf2ccb32429d6bc6d4f7994bce86..4f69e0902e451ba73973583539724cbab895c364 100644
(file)
--- 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";