boards: mimxrt: add GPIO_PULL_UP flag to button
User switch on mimxrt series boards requires a pull up resistor to ensure the GPIO state does not float Fixes #45129 Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
8d3bf1f930
commit
b6b0dd3f57
5 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button-1 {
|
||||
label = "User SW4";
|
||||
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button-1 {
|
||||
label = "User SW4";
|
||||
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button_0 {
|
||||
label = "User SW8";
|
||||
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button-1 {
|
||||
label = "User SW8";
|
||||
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button-1 {
|
||||
label = "User SW8";
|
||||
gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio5 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue