boards: stm32: Update board definition using new GPIO api
Move GPIO_ACTIVE_INT_HIGH/LOW to GPIO_ACTIVE_HIGH/LOW. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
e88cdffcd6
commit
31ed7e931b
60 changed files with 214 additions and 215 deletions
|
@ -21,11 +21,11 @@
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
green_led_0: led_0 {
|
||||
gpios = <&gpioc 13 GPIO_INT_ACTIVE_HIGH>;
|
||||
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
||||
label = "USR0 LED";
|
||||
};
|
||||
green_led_1: led_1 {
|
||||
gpios = <&gpiob 2 GPIO_INT_ACTIVE_HIGH>;
|
||||
gpios = <&gpiob 2 GPIO_ACTIVE_HIGH>;
|
||||
label = "USR1 LED";
|
||||
};
|
||||
};
|
||||
|
@ -34,7 +34,7 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button: button {
|
||||
label = "User";
|
||||
gpios = <&gpioa 2 GPIO_INT_ACTIVE_LOW>;
|
||||
gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
compatible = "st,hts221";
|
||||
reg = <0x5f>;
|
||||
label = "HTS221";
|
||||
drdy-gpios = <&gpioa 2 GPIO_INT_ACTIVE_LOW>;
|
||||
drdy-gpios = <&gpioa 2 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
lps22hb-press@5d {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue