mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-14 01:59:07 +01:00
ramips: yuncore_g720: fix buttons
Turns out the device got two buttons, while the currently listed on is actually WPS, and the other (will hidden) button is intended as RESET. Update DT accordingly. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
1029340353
commit
646ebbd32c
1 changed files with 7 additions and 1 deletions
|
|
@ -33,9 +33,15 @@
|
|||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
wps {
|
||||
label = "wps";
|
||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
};
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue