mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-23 10:24:11 +00:00
ipq40xx: add reset button for Google WiFi (Gale)
Add the external reset button for use with OpenWrt. Co-authored-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me> Reviewed-by: Brian Norris <computersforpeace@gmail.com> Tested-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
967520800a
commit
791550b94f
@ -49,16 +49,29 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <&fw_pinmux>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
reset {
|
||||
label = "reset";
|
||||
gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
fw_pinmux {
|
||||
fw_pinmux: fw_pinmux {
|
||||
wp {
|
||||
pins = "gpio53";
|
||||
output-low;
|
||||
};
|
||||
recovery {
|
||||
pins = "gpio57";
|
||||
function = "gpio";
|
||||
bias-none;
|
||||
};
|
||||
developer {
|
||||
|
Loading…
x
Reference in New Issue
Block a user