mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-18 16:40:29 +00:00
ramips: mt7621: add IRQ for GPIO node
This makes interrupt-based gpio-keys working. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
571d2fe539
commit
110daa16e4
@ -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