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
1 changed files with 14 additions and 1 deletions
|
@ -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 {
|
&tlmm {
|
||||||
fw_pinmux {
|
fw_pinmux: fw_pinmux {
|
||||||
wp {
|
wp {
|
||||||
pins = "gpio53";
|
pins = "gpio53";
|
||||||
output-low;
|
output-low;
|
||||||
};
|
};
|
||||||
recovery {
|
recovery {
|
||||||
pins = "gpio57";
|
pins = "gpio57";
|
||||||
|
function = "gpio";
|
||||||
bias-none;
|
bias-none;
|
||||||
};
|
};
|
||||||
developer {
|
developer {
|
||||||
|
|
Loading…
Reference in a new issue