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>
This commit is contained in:
parent
7ddfc6af46
commit
e0bb942a43
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue