ARM: dts: kzm9g: Configure NMI key as wake-up source

Add a GPIO key with wake-up capability for the NMI button.
This allows to wake up the system from s2ram without relying on the
buttons on the optional switch board.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Geert Uytterhoeven 2016-04-14 11:58:42 +02:00 коммит произвёл Simon Horman
Родитель 1ca79699cb
Коммит 7e2a1bcd21
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -149,6 +149,13 @@
label = "SW1";
wakeup-source;
};
wakeup-key {
gpios = <&pfc 159 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WAKEUP>;
label = "NMI";
wakeup-source;
};
};
sound {