From 791550b94fc791866e486e52d3c4d1d0378966ff Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Sun, 26 Mar 2023 22:50:42 +0200 Subject: [PATCH] ipq40xx: add reset button for Google WiFi (Gale) Add the external reset button for use with OpenWrt. Co-authored-by: Brian Norris Signed-off-by: Jan-Niklas Burfeind Reviewed-by: Brian Norris Tested-by: Brian Norris Signed-off-by: David Bauer --- .../files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts index 65f5933305..e4f47431e5 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts @@ -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 = ; + }; + }; }; &tlmm { - fw_pinmux { + fw_pinmux: fw_pinmux { wp { pins = "gpio53"; output-low; }; recovery { pins = "gpio57"; + function = "gpio"; bias-none; }; developer { -- 2.30.2