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:
parent
de1b581f5a
commit
5f04861b83
1 changed files with 4 additions and 4 deletions
|
@ -56,22 +56,22 @@
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
switch0: switch_0 {
|
switch0: switch_0 {
|
||||||
/* gpio flags need validation */
|
/* gpio flags need validation */
|
||||||
gpios = <&gpio0 0 GPIO_INT_ACTIVE_LOW>;
|
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
||||||
label = "DIP SW1 - Switch 1";
|
label = "DIP SW1 - Switch 1";
|
||||||
};
|
};
|
||||||
switch1: switch_1 {
|
switch1: switch_1 {
|
||||||
/* gpio flags need validation */
|
/* gpio flags need validation */
|
||||||
gpios = <&gpio0 1 GPIO_INT_ACTIVE_LOW>;
|
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
||||||
label = "DIP SW1 - Switch 2";
|
label = "DIP SW1 - Switch 2";
|
||||||
};
|
};
|
||||||
switch2: switch_2 {
|
switch2: switch_2 {
|
||||||
/* gpio flags need validation */
|
/* gpio flags need validation */
|
||||||
gpios = <&gpio0 2 GPIO_INT_ACTIVE_LOW>;
|
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
|
||||||
label = "DIP SW1 - Switch 3";
|
label = "DIP SW1 - Switch 3";
|
||||||
};
|
};
|
||||||
switch3: switch_3 {
|
switch3: switch_3 {
|
||||||
/* gpio flags need validation */
|
/* gpio flags need validation */
|
||||||
gpios = <&gpio0 3 GPIO_INT_ACTIVE_LOW>;
|
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
||||||
label = "DIP SW1 - Switch 4";
|
label = "DIP SW1 - Switch 4";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue