Skip to content
Snippets Groups Projects
Commit 62125c3a authored by Jeffery To's avatar Jeffery To Committed by Petr Štetiar
Browse files

ath79: fix button labels for WZR-HP-AG300H and WZR-600DHP


These were present in ar71xx but overlooked when porting to ath79.

Fixes: 480bf282 ("ath79: add support for Buffalo WZR-HP-AG300H")

Signed-off-by: default avatarJeffery To <jeffery.to@gmail.com>
parent eb38af78
No related branches found
No related tags found
No related merge requests found
...@@ -75,24 +75,28 @@ ...@@ -75,24 +75,28 @@
compatible = "gpio-keys"; compatible = "gpio-keys";
reset { reset {
label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio 11 GPIO_ACTIVE_LOW>; gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
usb { usb {
label = "usb";
linux,code = <BTN_2>; linux,code = <BTN_2>;
gpios = <&gpio 3 GPIO_ACTIVE_LOW>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
aoss { aoss {
label = "aoss";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&gpio 5 GPIO_ACTIVE_LOW>; gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
router_auto { router_auto {
label = "router_auto";
linux,code = <BTN_6>; linux,code = <BTN_6>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
gpios = <&gpio 6 GPIO_ACTIVE_LOW>; gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
...@@ -100,6 +104,7 @@ ...@@ -100,6 +104,7 @@
}; };
router_off { router_off {
label = "router_off";
linux,code = <BTN_5>; linux,code = <BTN_5>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
gpios = <&gpio 7 GPIO_ACTIVE_LOW>; gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
...@@ -107,6 +112,7 @@ ...@@ -107,6 +112,7 @@
}; };
movie_engine { movie_engine {
label = "movie_engine";
linux,code = <BTN_7>; linux,code = <BTN_7>;
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment