mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 11:39:02 +00:00
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 110daa16e4
)
This commit is contained in:
parent
096a67796a
commit
a353f2ee7f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user