mpc85xx: add Enterasys WS-AP3715i reset button
[openwrt/staging/hauke.git] / 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>;