diff options
author | David Yang <mmyangfl@gmail.com> | 2021-07-25 21:21:02 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-08-17 18:41:17 +0200 |
commit | efca67983d4fc01c14619efcaa632220bd28826e (patch) | |
tree | 3d151b34c6791fa9533fa345e8db8ced9d0405c8 /target/linux/ramips | |
parent | ad6b0770493e0fd332db9a7fe09f9214342c578b (diff) | |
download | upstream-efca67983d4fc01c14619efcaa632220bd28826e.tar.gz upstream-efca67983d4fc01c14619efcaa632220bd28826e.tar.bz2 upstream-efca67983d4fc01c14619efcaa632220bd28826e.zip |
ramips: add WPS button for newifi d1
This device has a WPS button under WiFi antenna cover, add it to dts.
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts index ddd46befe6..e8069ec394 100644 --- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts +++ b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts @@ -47,6 +47,12 @@ gpios = <&gpio 15 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; + + wps { + label = "wps"; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; + linux,code = <KEY_WPS_BUTTON>; + }; }; gpio_export { @@ -159,7 +165,7 @@ &state_default { gpio { - groups = "jtag", "uart2"; + groups = "jtag", "uart2", "wdt"; function = "gpio"; }; }; |