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: Sean Wang <sean.wang@mediatek.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
Sean Wang 2018-05-21 01:01:53 +08:00 committed by Matthias Brugger
parent ce397d215c
commit 3409310430
2 changed files with 8 additions and 2 deletions

View File

@ -34,7 +34,7 @@ cpu@1 {
};
gpio-keys {
compatible = "gpio-keys-polled";
compatible = "gpio-keys";
poll-interval = <100>;
factory {

View File

@ -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 {