Skip to content

Commit d02f86a

Browse files
gzzicarlescufi
authored andcommitted
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 <[email protected]>
1 parent ec43b64 commit d02f86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/arm/stm32u5a9j_dk/stm32u5a9j_dk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
compatible = "gpio-keys";
3838
user_button: button_0 {
3939
label = "User";
40-
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
40+
gpios = <&gpioc 13 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
4141
zephyr,code = <INPUT_KEY_0>;
4242
};
4343
};

0 commit comments

Comments
 (0)