boards: remove usage of deprecated GPIO flags from .dts
Replace usage of deprecated GPIO_INT_ACTIVE_LOW, GPIO_INT_ACTIVE_HIGH, GPIO_PUD_PULL_UP flags with a new equivalent in a few boards that were added after 2.2 release. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
2f835332eb
commit
c48206d5ee
3 changed files with 6 additions and 6 deletions
|
|
@ -23,7 +23,7 @@
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
led: led {
|
||||
gpios = <&gpioc 1 GPIO_INT_ACTIVE_HIGH>;
|
||||
gpios = <&gpioc 1 GPIO_ACTIVE_HIGH>;
|
||||
label = "User LED";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -35,15 +35,15 @@
|
|||
compatible = "gpio-keys";
|
||||
user_button_1: button_0 {
|
||||
label = "User SW1";
|
||||
gpios = <&gpio0 5 GPIO_INT_ACTIVE_LOW>;
|
||||
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
user_button_2: button_1 {
|
||||
label = "User SW2";
|
||||
gpios = <&gpio1 18 GPIO_INT_ACTIVE_LOW>;
|
||||
gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
user_button_3: button_2 {
|
||||
label = "User SW3";
|
||||
gpios = <&gpio1 9 GPIO_INT_ACTIVE_LOW>;
|
||||
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
compatible = "gpio-keys";
|
||||
|
||||
button0: button_0 {
|
||||
gpios = <&gpio0 31 GPIO_PUD_PULL_UP>;
|
||||
gpios = <&gpio0 31 GPIO_PULL_UP>;
|
||||
label = "Button 0";
|
||||
};
|
||||
};
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
hts221@5f {
|
||||
compatible = "st,hts221";
|
||||
reg = <0x5f>;
|
||||
drdy-gpios = <&gpio0 3 GPIO_INT_ACTIVE_HIGH>;
|
||||
drdy-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
|
||||
label = "HTS221";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue