aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPhi Nguyen <phind.uet@gmail.com>2020-07-23 11:03:52 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-23 12:56:58 +0200
commiteda9751d86927672bb86f895e31a5b8bea76cdfc (patch)
tree43e1aced4da3a10783c60a1693fa2a267c436728 /target
parentfca3bf4f4c35ceea0b36a5898bdb1ee4d7ab23dc (diff)
downloadupstream-eda9751d86927672bb86f895e31a5b8bea76cdfc.tar.gz
upstream-eda9751d86927672bb86f895e31a5b8bea76cdfc.tar.bz2
upstream-eda9751d86927672bb86f895e31a5b8bea76cdfc.zip
ipq40xx: support reset button for WPJ419
Compex WPJ419 has a reset button on a GPIO pin. Signed-off-by: Phi Nguyen <phind.uet@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
index 3a0e0b8cfa..e8b7d3a89a 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
@@ -348,6 +348,16 @@
status = "okay";
};
};
+
+ keys {
+ compatible = "gpio-keys";
+
+ reset {
+ label = "reset";
+ gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ };
+ };
};
&gmac0 {