summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sh73a0-kzm9g.dts
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-04-14 12:58:42 +0300
committerSimon Horman <horms+renesas@verge.net.au>2016-04-25 07:10:09 +0300
commit7e2a1bcd2185c9d7d4c9b2910249a1a8fa841341 (patch)
treeeea4793718ef7f17cd26c0b81d43312c345a2151 /arch/arm/boot/dts/sh73a0-kzm9g.dts
parent1ca79699cb958c17b0b08d9f9bd683e5011e7927 (diff)
downloadlinux-7e2a1bcd2185c9d7d4c9b2910249a1a8fa841341.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/sh73a0-kzm9g.dts')
-rw-r--r--arch/arm/boot/dts/sh73a0-kzm9g.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index e40a2f23b6cd..c2d8a080e392 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -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 {