From: David Yang Date: Sun, 25 Jul 2021 13:21:02 +0000 (+0800) Subject: ramips: add WPS button for newifi d1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=efca67983d4fc01c14619efcaa632220bd28826e;p=openwrt%2Fstaging%2Fxback.git 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 --- 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 = ; }; + + wps { + label = "wps"; + gpios = <&gpio 18 GPIO_ACTIVE_LOW>; + linux,code = ; + }; }; gpio_export { @@ -159,7 +165,7 @@ &state_default { gpio { - groups = "jtag", "uart2"; + groups = "jtag", "uart2", "wdt"; function = "gpio"; }; };