aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/qoriq/files/arch
diff options
context:
space:
mode:
authorThibaut VARÈNE <hacks@slashdirt.org>2022-06-14 15:54:48 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2022-07-01 13:39:04 +0300
commit04091ffd686160c02a373dc784601207745c3054 (patch)
tree4c950db6e9b55197c6734f66a7b59bbbc96ad853 /target/linux/qoriq/files/arch
parentc7673625d9b29d99c32e4ae1b9c15a7d4faebd9e (diff)
downloadupstream-04091ffd686160c02a373dc784601207745c3054.tar.gz
upstream-04091ffd686160c02a373dc784601207745c3054.tar.bz2
upstream-04091ffd686160c02a373dc784601207745c3054.zip
qoriq: define reset button for Firebox M300
This patch provides support for the Firebox M300 reset button. Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> (cherry picked from commit 19231cf83835db563ee7431b502fe1695ef1f559)
Diffstat (limited to 'target/linux/qoriq/files/arch')
-rw-r--r--target/linux/qoriq/files/arch/powerpc/boot/dts/fsl/watchguard-firebox-m300.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/qoriq/files/arch/powerpc/boot/dts/fsl/watchguard-firebox-m300.dts b/target/linux/qoriq/files/arch/powerpc/boot/dts/fsl/watchguard-firebox-m300.dts
index 4ba30a3c0f..15dc5f445e 100644
--- a/target/linux/qoriq/files/arch/powerpc/boot/dts/fsl/watchguard-firebox-m300.dts
+++ b/target/linux/qoriq/files/arch/powerpc/boot/dts/fsl/watchguard-firebox-m300.dts
@@ -8,6 +8,7 @@
*/
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
/include/ "t208xsi-pre.dtsi"
/include/ "t208xqds.dtsi"
@@ -333,6 +334,16 @@
};
};
+ keys {
+ compatible = "gpio-keys";
+
+ reset {
+ linux,code = <KEY_RESTART>;
+ gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
+ debounce-interval = <60>;
+ };
+ };
+
leds {
compatible = "gpio-leds";