boards: arc/em_starterkit: 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:35 -07:00 committed by Carles Cufí
commit de1b581f5a

View file

@ -61,37 +61,37 @@
compatible = "gpio-keys";
button0: button_0 {
/* gpio flags need validation */
gpios = <&gpio0 0 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
label = "Push button switch 0";
};
button1: button_1 {
/* gpio flags need validation */
gpios = <&gpio0 1 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
label = "Push button switch 1";
};
button2: button_2 {
/* gpio flags need validation */
gpios = <&gpio0 2 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
label = "Push button switch 2";
};
switch0: switch_0 {
/* gpio flags need validation */
gpios = <&gpio2 0 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 1";
};
switch1: switch_1 {
/* gpio flags need validation */
gpios = <&gpio2 1 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 2";
};
switch2: switch_2 {
/* gpio flags need validation */
gpios = <&gpio2 2 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 3";
};
switch3: switch_3 {
/* gpio flags need validation */
gpios = <&gpio2 3 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
label = "DIP SW1 - Switch 4";
};
};