From nobody Sun Feb 8 23:06:12 2026 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E90D31196A; Mon, 27 Oct 2025 14:07:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761574025; cv=none; b=HOFHY7+TrEgfC3gbPqUGKa5czSRl4Tp61Vq13cX5rRLaXsvk+csaR6KrFp75L/qur6tDUiq+yJ+Cb3UCseSKSo8u9OVbBR4hJ5JdA2o9rVKK8wSWY1M2Am7jIJ4zi1ugXp8wGMkU4XSj2FRLEjLO0/mAxF1LYgIJGKI6j5opn9I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761574025; c=relaxed/simple; bh=gcVbKAqtB0mg/BJ3362VqIdt9dAcOjtsxlKosHR2Sdw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E2MIqd9K9RYkN+v1+KGt/XbZkTgXAFnD9FcKtetAsWfUAa3u0u57raNUrQDE+EWTvD3Km4DUIgArwHf074bGpz3yZsWdSeUAj2kmtbYLRgYoAbb3jGwl4nY9w08SOiWtJnbqBEUdwZNqCX3xD0sFKToe8eIAzf+VnXULoQPWKQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: 5UsIOpgoS8KyghiYWtNzAA== X-CSE-MsgGUID: nl20hn6CR8yLSPFSL3vi1A== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 27 Oct 2025 23:06:55 +0900 Received: from vm01.adwin.renesas.com (unknown [10.226.92.214]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 219FD41D9331; Mon, 27 Oct 2025 23:06:52 +0900 (JST) From: Ovidiu Panait To: geert+renesas@glider.be, magnus.damm@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Add NMI pushbutton support Date: Mon, 27 Oct 2025 14:06:51 +0000 Message-ID: <20251027140651.18367-1-ovidiu.panait.rb@renesas.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Geert Uytterhoeven --- .../dts/renesas/r9a09g057h44-rzv2h-evk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts b/arch/= arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts index 5c06bce3d5b4..7fff8bea9494 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g057h44-rzv2h-evk.dts @@ -9,6 +9,7 @@ =20 #include #include +#include #include "r9a09g057.dtsi" =20 / { @@ -34,6 +35,20 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 + keys: keys { + compatible =3D "gpio-keys"; + pinctrl-0 =3D <&nmi_pins>; + pinctrl-names =3D "default"; + + key-wakeup { + interrupts-extended =3D <&icu 0 IRQ_TYPE_EDGE_FALLING>; + linux,code =3D ; + label =3D "NMI_SW"; + debounce-interval =3D <20>; + wakeup-source; + }; + }; + memory@48000000 { device_type =3D "memory"; /* first 128MB is reserved for secure area. */ @@ -320,6 +335,10 @@ i2c8_pins: i2c8 { ; /* I2C8_SCL */ }; =20 + nmi_pins: nmi { + pins =3D "NMI"; + }; + scif_pins: scif { pins =3D "SCIF_TXD", "SCIF_RXD"; renesas,output-impedance =3D <1>; --=20 2.51.0