Commit 34093104 authored by Sean Wang's avatar Sean Wang Committed by 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: default avatarSean Wang <sean.wang@mediatek.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent ce397d21
......@@ -34,7 +34,7 @@ cpu@1 {
};
gpio-keys {
compatible = "gpio-keys-polled";
compatible = "gpio-keys";
poll-interval = <100>;
factory {
......
......@@ -286,9 +286,15 @@ rng: rng@1020f000 {
pio: pinctrl@10211000 {
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-cells = <2>;
interrupt-controller;
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
#interrupt-cells = <2>;
};
watchdog: watchdog@10212000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment