ath79: fix button types for WZR-HP-AG300H and WZR-600DHP
Router and Movie "keys" are actually switches for both devices
according to the manual. This has been properly implemented in ar71xx,
but overlooked when porting to ath79.
Fixes: 480bf28273
("ath79: add support for Buffalo WZR-HP-AG300H")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
25f2f66eea
commit
947bfc62d0
1 changed files with 3 additions and 0 deletions
|
@ -94,18 +94,21 @@
|
||||||
|
|
||||||
router_auto {
|
router_auto {
|
||||||
linux,code = <BTN_6>;
|
linux,code = <BTN_6>;
|
||||||
|
linux,input-type = <EV_SW>;
|
||||||
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|
||||||
router_off {
|
router_off {
|
||||||
linux,code = <BTN_5>;
|
linux,code = <BTN_5>;
|
||||||
|
linux,input-type = <EV_SW>;
|
||||||
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|
||||||
movie_engine {
|
movie_engine {
|
||||||
linux,code = <BTN_7>;
|
linux,code = <BTN_7>;
|
||||||
|
linux,input-type = <EV_SW>;
|
||||||
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
||||||
debounce-interval = <60>;
|
debounce-interval = <60>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue