diff options
| author | Daniel Golle | 2024-06-25 19:40:59 +0000 |
|---|---|---|
| committer | Daniel Golle | 2024-06-26 01:47:57 +0000 |
| commit | f12cf430291e463bc832eb1a6ab7f96a6832fc9e (patch) | |
| tree | 537be6a3b17cf4cb4eaefd5074923af491a7a0a8 | |
| parent | cc0527b36281e7347f4da1b1169e11e7215c8c60 (diff) | |
| download | openwrt-f12cf430291e463bc832eb1a6ab7f96a6832fc9e.tar.gz | |
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>
(cherry picked from commit 646ebbd32ca4d776c64c31e85c08dc72fec25d7d)
| -rw-r--r-- | target/linux/ramips/dts/mt7621_yuncore_g720.dts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_yuncore_g720.dts b/target/linux/ramips/dts/mt7621_yuncore_g720.dts index 4b88064b49..1e6b8a187e 100644 --- a/target/linux/ramips/dts/mt7621_yuncore_g720.dts +++ b/target/linux/ramips/dts/mt7621_yuncore_g720.dts @@ -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>; }; }; |