arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add NMI pushbutton support

RZ/V2H EVK has a user pushbutton connected to the SoC NMI pin, which
can be used to wake up the system from suspend to idle. Add a DT node
in the device tree to instantiate the gpio-keys driver for this button.

Signed-off-by: Ovidiu Panait <ovidiu.panait.rb@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251027140651.18367-1-ovidiu.panait.rb@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Ovidiu Panait
2025-10-27 14:06:51 +00:00
committed by Geert Uytterhoeven
parent 0926e6e698
commit f61c497a91

View File

@@ -9,6 +9,7 @@
#include <dt-bindings/pinctrl/renesas,r9a09g057-pinctrl.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "r9a09g057.dtsi"
/ {
@@ -34,6 +35,18 @@
stdout-path = "serial0:115200n8";
};
keys: keys {
compatible = "gpio-keys";
key-wakeup {
interrupts-extended = <&icu 0 IRQ_TYPE_EDGE_FALLING>;
linux,code = <KEY_WAKEUP>;
label = "NMI_SW";
debounce-interval = <20>;
wakeup-source;
};
};
memory@48000000 {
device_type = "memory";
/* first 128MB is reserved for secure area. */