boards: arm: stm32u5a9j-dk: fix switch gpio config
The user switch on the board require a pull down on mcu side and is active high. Signed-off-by: Guillaume Galeazzi <guillaume.galeazzi@gmail.com>
This commit is contained in:
parent
ec43b64c16
commit
d02f86a754
|
@ -37,7 +37,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button_0 {
|
||||
label = "User";
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpioc 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
|
||||
zephyr,code = <INPUT_KEY_0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue