Skip to content

Commit 8b983aa

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

boards/arc/emsdp/board.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,22 @@
5656
compatible = "gpio-keys";
5757
switch0: switch_0 {
5858
/* gpio flags need validation */
59-
gpios = <&gpio0 0 GPIO_INT_ACTIVE_LOW>;
59+
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
6060
label = "DIP SW1 - Switch 1";
6161
};
6262
switch1: switch_1 {
6363
/* gpio flags need validation */
64-
gpios = <&gpio0 1 GPIO_INT_ACTIVE_LOW>;
64+
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
6565
label = "DIP SW1 - Switch 2";
6666
};
6767
switch2: switch_2 {
6868
/* gpio flags need validation */
69-
gpios = <&gpio0 2 GPIO_INT_ACTIVE_LOW>;
69+
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
7070
label = "DIP SW1 - Switch 3";
7171
};
7272
switch3: switch_3 {
7373
/* gpio flags need validation */
74-
gpios = <&gpio0 3 GPIO_INT_ACTIVE_LOW>;
74+
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
7575
label = "DIP SW1 - Switch 4";
7676
};
7777
};

0 commit comments

Comments
 (0)