mpc85xx: add Enterasys WS-AP3715i reset button
authorDavid Bauer <mail@david-bauer.net>
Wed, 27 Sep 2023 14:43:54 +0000 (16:43 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 27 Sep 2023 21:13:36 +0000 (23:13 +0200)
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>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts

index a8a4118b003cd993a1a7e0fba474c50c9c0bfa9b..af8917ffe1ab4d40008b9e518422c0c76e7c57f8 100644 (file)
@@ -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"
 
                };
        };
 
+       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>;