[openwrt/openwrt] mpc85xx: add Enterasys WS-AP3715i reset button
LEDE Commits
lede-commits at lists.infradead.org
Wed Sep 27 14:14:13 PDT 2023
blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/186747a169fe70fb53268cc1ef45952bd75fde4e
commit 186747a169fe70fb53268cc1ef45952bd75fde4e
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed Sep 27 16:43:54 2023 +0200
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 at david-bauer.net>
(cherry picked from commit 0e8641d3b08bf8b9eac8e3338faf11cc058a5124)
---
.../linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
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 at ffe00000 {
ranges = <0x0 0x0 0xffe00000 0x100000>;
More information about the lede-commits
mailing list