Skip to content

Commit e0bb942

Browse files
EmilioCBenhenrikbrixandersen
authored andcommitted
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>
1 parent 7ddfc6a commit e0bb942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/nxp/frdm_mcxw71/frdm_mcxw71.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
compatible = "gpio-keys";
5757
user_button_0: button_0 {
5858
label = "User SW2";
59-
gpios = <&gpioc 6 GPIO_ACTIVE_LOW>;
59+
gpios = <&gpioc 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
6060
zephyr,code = <INPUT_KEY_0>;
6161
status = "okay";
6262
};

0 commit comments

Comments
 (0)