Skip to content

Commit

Permalink
boards: nxp: frdm_mcxw71: Adding Pull Up flag
Browse files Browse the repository at this point in the history
The SW2 needs the PULL UP flag to be set to be
enabled.

Signed-off-by: Emilio Benavente <[email protected]>
  • Loading branch information
EmilioCBen committed Mar 7, 2025
1 parent fb4bb5d commit 080cbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/nxp/frdm_mcxw71/frdm_mcxw71.dts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
compatible = "gpio-keys";
user_button_0: button_0 {
label = "User SW2";
gpios = <&gpioc 6 GPIO_ACTIVE_LOW>;
gpios = <&gpioc 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
zephyr,code = <INPUT_KEY_0>;
status = "okay";
};
Expand Down

0 comments on commit 080cbba

Please sign in to comment.