From efca67983d4fc01c14619efcaa632220bd28826e Mon Sep 17 00:00:00 2001 From: David Yang Date: Sun, 25 Jul 2021 21:21:02 +0800 Subject: [PATCH] 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 --- target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"; }; }; -- 2.30.2