Browse Source

boards: nxp: frdm_mcxw71: Adding Pull Up flag

The SW2 needs the PULL UP flag to be set to be
enabled.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
pull/86439/head
Emilio Benavente 4 months ago committed by Henrik Brix Andersen
parent
commit
e0bb942a43
  1. 2
      boards/nxp/frdm_mcxw71/frdm_mcxw71.dts

2
boards/nxp/frdm_mcxw71/frdm_mcxw71.dts

@ -56,7 +56,7 @@
compatible = "gpio-keys"; compatible = "gpio-keys";
user_button_0: button_0 { user_button_0: button_0 {
label = "User SW2"; label = "User SW2";
gpios = <&gpioc 6 GPIO_ACTIVE_LOW>; gpios = <&gpioc 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
zephyr,code = <INPUT_KEY_0>; zephyr,code = <INPUT_KEY_0>;
status = "okay"; status = "okay";
}; };

Loading…
Cancel
Save