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:
Jan-Niklas Burfeind 2023-03-26 22:50:42 +02:00 committed by David Bauer
parent 967520800a
commit 791550b94f

View File

@ -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 {