boards: arc/emsdp: update DTS to new GPIO API

Changes	GPIO_INT_ACTIVE_LOW to GPIO_ACTIVE_LOW.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2019-10-04 16:18:59 -07:00 committed by Carles Cufí
commit 5f04861b83

View file

@ -56,22 +56,22 @@
compatible = "gpio-keys";
switch0: switch_0 {
/* gpio flags need validation */
gpios = <&gpio0 0 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 1";
};
switch1: switch_1 {
/* gpio flags need validation */
gpios = <&gpio0 1 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 2";
};
switch2: switch_2 {
/* gpio flags need validation */
gpios = <&gpio0 2 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 3";
};
switch3: switch_3 {
/* gpio flags need validation */
gpios = <&gpio0 3 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 4";
};
};