提交 34093104 编写于 作者: S Sean Wang 提交者: Matthias Brugger

arm64: dts: mt7622: add EINT support to pinctrl

Add EINT support to pinctrl and set those GPIO keys as interrupt-driven
keys.
Signed-off-by: NSean Wang <sean.wang@mediatek.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NMatthias Brugger <matthias.bgg@gmail.com>
上级 ce397d21
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
}; };
gpio-keys { gpio-keys {
compatible = "gpio-keys-polled"; compatible = "gpio-keys";
poll-interval = <100>; poll-interval = <100>;
factory { factory {
......
...@@ -286,9 +286,15 @@ ...@@ -286,9 +286,15 @@
pio: pinctrl@10211000 { pio: pinctrl@10211000 {
compatible = "mediatek,mt7622-pinctrl"; compatible = "mediatek,mt7622-pinctrl";
reg = <0 0x10211000 0 0x1000>; reg = <0 0x10211000 0 0x1000>,
<0 0x10005000 0 0x1000>;
reg-names = "base", "eint";
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller;
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
#interrupt-cells = <2>;
}; };
watchdog: watchdog@10212000 { watchdog: watchdog@10212000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册