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>
This commit is contained in:
parent
ad6b077049
commit
efca67983d
@ -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";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user