aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-09-27 16:43:54 +0200
committerDavid Bauer <mail@david-bauer.net>2023-09-27 23:14:05 +0200
commit186747a169fe70fb53268cc1ef45952bd75fde4e (patch)
tree4da5200dd223d43fca1c31aad7ecd061238ea399 /target
parent679f89ab652c475d9ccda27c4bc3844d454bfa94 (diff)
downloadupstream-186747a169fe70fb53268cc1ef45952bd75fde4e.tar.gz
upstream-186747a169fe70fb53268cc1ef45952bd75fde4e.tar.bz2
upstream-186747a169fe70fb53268cc1ef45952bd75fde4e.zip
mpc85xx: add Enterasys WS-AP3715i reset button
The reset button was missing from the Enterasys WS-AP3715i DTS. Add the node required for making the reset button work. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 0e8641d3b08bf8b9eac8e3338faf11cc058a5124)
Diffstat (limited to 'target')
-rw-r--r--target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts
index a8a4118b00..af8917ffe1 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later or MIT
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
/include/ "fsl/p1010si-pre.dtsi"
@@ -70,6 +71,16 @@
};
};
+ keys {
+ compatible = "gpio-keys";
+
+ reset {
+ label = "Reset button";
+ gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_RESTART>;
+ };
+ };
+
soc: soc@ffe00000 {
ranges = <0x0 0x0 0xffe00000 0x100000>;