projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096a677
)
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>
Thu, 27 Jun 2019 15:17:23 +0000
(17:17 +0200)
This makes interrupt-based gpio-keys working.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit
110daa16e44bb53941a18396ab6a7d9fdd1fa362
)
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";