[PATCH] ipq40xx: google (gale) add reset button
openwrt at aiyionpri.me
openwrt at aiyionpri.me
Sun Mar 26 06:29:13 PDT 2023
From: Jan-Niklas Burfeind <git at aiyionpri.me>
add the external button (GPIO 57) as reset button
Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>
---
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
More information about the openwrt-devel
mailing list