From 25812289779f471143cf1a2cc34c245c603bd941 Mon Sep 17 00:00:00 2001 From: Benjamin Perseghetti Date: Fri, 5 Apr 2024 12:49:36 -0400 Subject: [PATCH] boards: nxp: vmu_rt1170: dts use gpio-keys Fix vmu_rt1170 board input tests by adding gpio-keys to dts. Signed-off-by: Benjamin Perseghetti --- boards/nxp/vmu_rt1170/vmu_rt1170.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/nxp/vmu_rt1170/vmu_rt1170.dts b/boards/nxp/vmu_rt1170/vmu_rt1170.dts index dc60deb2e18..564164c5ae4 100644 --- a/boards/nxp/vmu_rt1170/vmu_rt1170.dts +++ b/boards/nxp/vmu_rt1170/vmu_rt1170.dts @@ -9,6 +9,7 @@ #include #include #include "vmu_rt1170.dtsi" +#include / { model = "NXP VMU RT1170"; @@ -35,12 +36,13 @@ zephyr,code-partition = &slot0_partition; }; - /* This is the Button on the included GPS module for 10 pin JST-GH */ - buttons { + /* This is the Arming Button on the included GPS module for 10 pin JST-GH */ + gpio_keys { compatible = "gpio-keys"; arming_button: button_0 { label = "Arming Switch"; gpios = <&gpio1 24 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>; + zephyr,code = ; }; };