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:
parent
0b69aed228
commit
de1b581f5a
1 changed files with 7 additions and 7 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue