Skip to content

Commit fdad7b4

Browse files
committed
boards: arc/em_starterkit: update DTS to new GPIO API
Changes GPIO_INT_ACTIVE_LOW to GPIO_ACTIVE_LOW. Signed-off-by: Daniel Leung <[email protected]>
1 parent ab0a30b commit fdad7b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

boards/arc/em_starterkit/board.dtsi

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,37 +61,37 @@
6161
compatible = "gpio-keys";
6262
button0: button_0 {
6363
/* gpio flags need validation */
64-
gpios = <&gpio0 0 GPIO_INT_ACTIVE_LOW>;
64+
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
6565
label = "Push button switch 0";
6666
};
6767
button1: button_1 {
6868
/* gpio flags need validation */
69-
gpios = <&gpio0 1 GPIO_INT_ACTIVE_LOW>;
69+
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
7070
label = "Push button switch 1";
7171
};
7272
button2: button_2 {
7373
/* gpio flags need validation */
74-
gpios = <&gpio0 2 GPIO_INT_ACTIVE_LOW>;
74+
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
7575
label = "Push button switch 2";
7676
};
7777
switch0: switch_0 {
7878
/* gpio flags need validation */
79-
gpios = <&gpio2 0 GPIO_INT_ACTIVE_LOW>;
79+
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
8080
label = "DIP SW1 - Switch 1";
8181
};
8282
switch1: switch_1 {
8383
/* gpio flags need validation */
84-
gpios = <&gpio2 1 GPIO_INT_ACTIVE_LOW>;
84+
gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
8585
label = "DIP SW1 - Switch 2";
8686
};
8787
switch2: switch_2 {
8888
/* gpio flags need validation */
89-
gpios = <&gpio2 2 GPIO_INT_ACTIVE_LOW>;
89+
gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
9090
label = "DIP SW1 - Switch 3";
9191
};
9292
switch3: switch_3 {
9393
/* gpio flags need validation */
94-
gpios = <&gpio2 3 GPIO_INT_ACTIVE_LOW>;
94+
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
9595
label = "DIP SW1 - Switch 4";
9696
};
9797
};

0 commit comments

Comments
 (0)