mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 08:48:08 +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 110daa16e44bb53941a18396ab6a7d9fdd1fa362)
This commit is contained in:
parent
096a67796a
commit
a353f2ee7f
@ -76,6 +76,9 @@
|
|||||||
compatible = "mtk,mt7621-gpio";
|
compatible = "mtk,mt7621-gpio";
|
||||||
reg = <0x600 0x100>;
|
reg = <0x600 0x100>;
|
||||||
|
|
||||||
|
interrupt-parent = <&gic>;
|
||||||
|
interrupts = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
|
||||||
gpio0: bank@0 {
|
gpio0: bank@0 {
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
compatible = "mtk,mt7621-gpio-bank";
|
compatible = "mtk,mt7621-gpio-bank";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user