From: Jan-Niklas Burfeind <[email protected]>

add the external button (GPIO 57) as reset button

Signed-off-by: Jan-Niklas Burfeind <[email protected]>
---

Good afternoon everyone.
This is just a minor addition to the google wifi router
OpenWrt supports.

I hope I didn't miss anything.

Yours
aiyion


 .../files/arch/arm/boot/dts/qcom-ipq4019-wifi.dts      | 10 ++++++++++
 1 file changed, 10 insertions(+)

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..85ce73afb3 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,6 +49,16 @@
                        };
                };
        };
+
+       keys {
+               compatible = "gpio-keys";
+
+               reset {
+                       label = "reset";
+                       gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
+               };
+       };
 };
 
 &tlmm {
-- 
2.40.0


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to